faisal gillani wrote:
i am trying to use ipfilter on my freebsd 5.2 box but when i am applying rules on it it gives our this
error message
ipf -Fa -f /etc/ipf.rules ioctl(SIOCGETFS): Invalid argument
User/kernel version check failed
wat can be the problem ?
Have you recently upgraded IP Filter?
Both the admin commands and the ipf kernel module are compiled with the same IPFILTER_VERSION from ipl.h.
If you are using an older version of the admin commands or kernel module, the command fails and you get this type of error.
Information from these commands should match.
(user)
# ipf -V
ipf: IP Filter: v4.0beta18 (592)
Kernel: IP Filter: v4.0beta18 Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
(kernel) # modinfo | grep ipf 138 13743c8 235d0 228 1 ipf (IP Filter: v4.0beta18)
-Mike
