After having upgraded from FreeBSD4.5-STABLE to 4.7, everything works fine except ipfilter: e.g. ping and ssh from "ibook" via modem worked perfectly before:

1. ping packets do no longer match the rule

pass in quick on tun0 proto icmp from any to myipaddr/32 icmp-type echo keep state
They match if I suppress  ``icmp-type echo''


2. ssh packets do no longer match the rule

pass in quick on tun0 proto tcp from any to myipaddr/32 port = 22 flags S/FSRPAU keep state
They match if I replace S/FSRPAU by S/S (or if I suppress the flags entirely).

The ibook (MacOSX) has received no update of any kind since summer time, so I must believe that the change has come with the upgrade to 4.7.
Re-installing FreeBSD4.7 from scratch isn't a satisfactory solution, is it?

What else could I do? Has ipf's flags (and icmp) processing changed since 4.5 ?

3. In addition, I have discovered from the beginning that the (cvsup'd) kernel source does no longer compile with the IPFILTER options:

ed-stack-boundary=2  ../../contrib/ipfilter/netinet/fil.c
../../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

Stop in /usr/local/src/sys/compile/ALGOL.
Item 3. is not really annoying (because ipf does run as a loadable kernel module), but strange.

Thanks for any help or hint.

Harald


Reply via email to