[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ipmasqadm -portfw, SPARC & linux 2.2.20



Hi,

Firstly I would like to thank (and congratulate) the team who documented the build process for Debian on SPARC. I followed the notes and performed a network installation (network booting) without any issues whatsoever. It has been one of my more memorable experiences in following system build instructions.

I am hoping to get some help with a small problem I am having using ipmasqadm and the portfw option, which I believe to be caused by not having inserted the portfw [ip_masq_portfw.o] module into my running kernel. I have searched for the module (on my computer), but have been unsuccessful in tracking it down. I have looked through my module options using modconf for this, also with no luck. Is this even available for my kernel? (I can't run 2.4 on my hardware, it's too old!)

Any help on this subject would be very much appreciated. Following is some information which may help explain my issue, and provide more detail on my system.

hostname:~# ipmasqadm portfw -a -P "tcp" -L 192.168.1.2 80 -R 192.168.1.70 80
portfw: setsockopt failed: Invalid argument

hostname:~# ls -la /lib/modules/2.2.20/ipv4/
total 88
drwxr-xr-x    2 root     root         4096 Jan 30 23:08 .
drwxr-xr-x   10 root     root         4096 Jan 30 23:08 ..
-rw-r--r--    1 root     root        13440 Nov 17  2001 ip_gre.o
-rw-r--r-- 1 root root 3464 Nov 17 2001 ip_masq_cuseeme.o
-rw-r--r--    1 root     root         7940 Nov 17  2001 ip_masq_ftp.o
-rw-r--r--    1 root     root         5196 Nov 17  2001 ip_masq_irc.o
-rw-r--r--    1 root     root         3944 Nov 17  2001 ip_masq_quake.o
-rw-r--r--    1 root     root         6280 Nov 17  2001 ip_masq_raudio.o
-rw-r--r--    1 root     root         6400 Nov 17  2001 ip_masq_user.o
-rw-r--r-- 1 root root 3780 Nov 17 2001 ip_masq_vdolive.o
-rw-r--r--    1 root     root        11120 Nov 17  2001 ipip.o
-rw-r--r--    1 root     root         7344 Nov 17  2001 rarp.o

hostname:/# uname -a
Linux hostname 2.2.20 #1 Fri Nov 16 15:48:02 EST 2001 sparc unknown

hostname:/proc/sys/net/ipv4# more ip_*
::::::::::::::
ip_always_defrag
::::::::::::::
6
::::::::::::::
ip_autoconfig
::::::::::::::
0
::::::::::::::
ip_default_ttl
::::::::::::::
64
::::::::::::::
ip_dynaddr
::::::::::::::
0
::::::::::::::
ip_forward
::::::::::::::
1
::::::::::::::
ip_local_port_range
::::::::::::::
1024    4999
::::::::::::::
ip_masq_debug
::::::::::::::
0
::::::::::::::
ip_masq_udp_dloose
::::::::::::::
0
::::::::::::::
ip_no_pmtu_disc
::::::::::::::
0

// Trav



Reply to: