First off, 40a30 has a small typo in the makefile:

--- ipf40a30-orig/OSF/Makefile Sat Dec 28 09:03:08 2002
+++ ipf40a30-tnn/OSF/Makefile Sat Jan 25 23:16:33 2003
@@ -236,3 +236,3 @@
$(TOP)/ip_ftp_pxy.c $(TOP)/ip_rcmd_pxy.c $(TOP)/ip_raudio_pxy.c \
- $(TOP)/ip_rpcb_pxy.c $(TOP)/ip_ipsec_pxy.c $(TOP)/ip_nat.h
+ $(TOP)/ip_rpcb_pxy.c $(TOP)/ip_ipsec_pxy.c $(TOP)/ip_nat.h \
$(TOP)/ip_nat.h $(TOP)/ip_fil.h

After applying that, make and make install work fine.
It is possible to load rules with ipf -f ipf.conf, and
the system seems to filter packets correctly.

However, all other userland apps/functions seem to lead into
a cpu-eating infinite loop somewhere. For example ipf -V, in dbx:
...
[opendevice:179 ,0x120007354] return fd;
(dbx) s
[opendevice:180 ,0x12000735c] }
(dbx) s
[get_flags:195 ,0x1200073c4] (ioctl(fd, SIOCGETFF, &i) == -1)) {
(dbx) s

At this point nothing more happens, ipf process consumes 99% cpu.
Now, hitting ctrl-c:

Interrupt
signal Interrupt at >*[__ioctl, 0x3ff800d2764] call_pal callsys
(dbx)

It seems that an infinite loop or somesuch occurs within the kernel ioctl call?

Finally some observations regarding NAT. NAT seems to be half-operational.
Packets can get out of the private network, new NAT-sessions show up with the
ipnat tool, but no packets seem to be able to return back into the private net.
(icmp echo requests observed with tcpdump at remote host, but no replies at local)

--
Tobias Nygren
[EMAIL PROTECTED]


Reply via email to