Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bi-directional aggregation - guard output #34

Closed
thezoggy opened this issue May 23, 2024 · 1 comment
Closed

bi-directional aggregation - guard output #34

thezoggy opened this issue May 23, 2024 · 1 comment

Comments

@thezoggy
Copy link
Contributor

With nfsen, doing list flows > bi-directional with outputs other than auto/line/long it fails due to unknown output mode 'bi###' unless its auto/line/long.

Screen Shot 2024-05-23 at 4 25 09 PM

Figure there was no plans to add the other bi-output formats, so perhaps at:
https://github.com/phaag/nfsen/blob/main/html/process.php#L70

Have guard to only do -o bi$format if format matches line/long?
if ( $is_bidir && (in_array($format, array("line", "long") ) {

@phaag
Copy link
Owner

phaag commented Jun 1, 2024

Well - bigline is not supported, however my recommendation would be to create all output formats of your choice in ndfump.conf. The guard may be possible, but at some point we should compile the available output formats from what is available and configured in nfdump.

@phaag phaag closed this as completed Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants