phaag / nfsen

Legacy NfSen code
Other
23 stars 9 forks source link

ERROR: Illegal value 'xxx' for 'DefaultFilter'! #18

Closed tfmotu closed 1 year ago

tfmotu commented 1 year ago

Hi, firstly thanks for the work done with nfsen. I want to share with you an issue that I have. If I create a filter and I try to use it an error is shown. For example, I create a filter named TCP: "ERROR: Illegal value 'TCP' for 'DefaultFilter'!" I have used other filter names, for example using numbers, but with no luck. nfsen is installed on debian 12, PHP 8.2.7 with: --enable-nfprofile --enable-sflow --enable-nfpcapd --enable-maxmind -enable-nsel --enable-nftrack --enable-readpcap

Thanks in advance.

gondimcodes commented 1 year ago

@tfmotu Are you able to create new profiles in nfsen? If yes, could you tell me if you are using the Debian 12 nfdump packages or did you use version 1.7.2 from the git here?

phaag commented 1 year ago

Can you clear the cookie from the nfsen web page and try again?

phaag commented 1 year ago

Fixed for newer php versions. Use main repo.