Darren Reed wrote:
In some mail from Harald Weis, sie said:

Something in ipfilter must have changed between FreeBSD4.5-STABLE and 4.7-STABLE.

#1. ping packets do no longer match with the rule

pass in quick on tun0 proto icmp from any to my_ip_addr/32 icmp-type echo keep state

They do match if I delete ``icmp-type echo''.

#2. ssh packets do no longer match with the rule

pass in quick on tun0 proto tcp from any to my_ip_addr/32 port = 22 flags S/FSRPAU keep state

They do match if I replace S/FSRPAU by S/S or if I suppress flags entirely.

#3. Probably unrelated, the kernel does not compile with IPFILTER options:


../../contrib/ipfilter/netinet/fil.c: In function `fr_makefrip':
../../contrib/ipfilter/netinet/fil.c:267: structure has no member named `fin_misc'
../../contrib/ipfilter/netinet/fil.c: In function `fr_check':
../../contrib/ipfilter/netinet/fil.c:1082: too few arguments to function `ipfr_newfrag'
../../contrib/ipfilter/netinet/fil.c:1092: too many arguments to function `fr_addstate'
*** Error code 1

ok, this is just strange.

Do the IPFilter header files in /usr/include/netinet match those
in /sys/contrib/ipfilter/netinet ?

I haven't seen anyone else with this problem...

Darren


No, they don't. I've updated the IPFilter header files in /usr/include/netinet with those in /sys/contrib/ipfilter/netinet.

Now the kernel compiles alright with the IPFILTER options.
Thank you very much, Darren, for your help.
So, item #3 is solved. Can this missing update be considered as a bug in the upgrade procedure ?

But items #1 and #2 stay as before, whether IPFilter is compiled into the kernel or not. Something else must be wrong with 4.7-STABLE because nothing whatsoever has changed on the remote MacOSX ibook, always connected via modem to the same ISP (www.freesbee.fr).

Thanks to everybody in advance for further help.

Harald


Reply via email to