phaag / nfsen

Legacy NfSen code
Other
23 stars 11 forks source link

Undefined var $nfdump_version in install.pl #3

Closed hentheor closed 1 year ago

hentheor commented 1 year ago

In master nfsen's install.pl the var $nfdump_version may be undefined. (a fact for nfdump >= 1.7.x) The relevant regexps in VerifyConfig() need modification.

(Produces warnings in syslog after issuing nfsen status/start ...)

Thank you

phaag commented 1 year ago

Tested with nfdump-1.7.x as well as github master and it works. $nfdump_version = 7. The regex is rather simple.

hentheor commented 1 year ago

You are right. I'm using nfdump 1.7.1-1~bpo11+1 from bullseye-backports. They altered the nfdump -V output! It reads: nfdump: Version: NSEL-NEL1.7.1 in comparison with master's: nfdump: Version: 1.7.1-release NSEL-NEL, Date:...

Thanks.