* Masquerading problem on alpha
@ 1999-11-27 5:00 Rudy Zijlstra
1999-11-27 5:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 3+ messages in thread
From: Rudy Zijlstra @ 1999-11-27 5:00 UTC (permalink / raw)
Help
Configuration:
Alpha noname CPU running RedHat 5.2 with 2.0.38 kernel.
kernel compiled with following masq options:
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
CONFIG_INET=y
CONFIG_IP_FORWARD=y
CONFIG_IP_MULTICAST=y
# CONFIG_SYN_COOKIES is not set
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_VERBOSE=y
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_IPAUTOFW=y
CONFIG_IP_MASQUERADE_PPTP=y
CONFIG_IP_MASQUERADE_PPTP_MULTICLIENT=y
DEBUG_IP_MASQUERADE_PPTP=y
DEBUG_IP_MASQUERADE_PPTP_VERBOSE=y
# CONFIG_IP_MASQUERADE_IPSEC is not set
CONFIG_IP_MASQUERADE_ICMP=y
# CONFIG_IP_TRANSPARENT_PROXY is not set
CONFIG_IP_ALWAYS_DEFRAG=y
IP forwarding is enabled
[root@janus linux]# cat /proc/sys/net/ipv4/ip_forward
1
the command
[root@janus linux]# ipfwadm -F -a accept -m -S 192.168.1.0/255.255.255.0
ipfwadm: setsockopt failed: Invalid argument
Or, more fully,
[root@janus linux]# ipfwadm -F -a accept -m -S 192.168.1.0/255.255.255.0
-D 0.0.0.0/0
ipfwadm: setsockopt failed: Invalid argument
It is clear I am missing something. but what?
ISDN is configured for auto dial out. This is working on both the 16.3c
and the Eicon diehl Diva. Apparently the problem is in the kernel.
Any help greatly appreciated.
Rudy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Masquerading problem on alpha
1999-11-27 5:00 Masquerading problem on alpha Rudy Zijlstra
@ 1999-11-27 5:00 ` Serguei Patchkovskii
1999-11-29 5:00 ` Paul Slootman
0 siblings, 1 reply; 3+ messages in thread
From: Serguei Patchkovskii @ 1999-11-27 5:00 UTC (permalink / raw)
Rudy Zijlstra (rudy@edsons.demon.nl) wrote:
: ipfwadm: setsockopt failed: Invalid argument
: It is clear I am missing something. but what?
ipfwadm which came with RH 5.2 alpha distribution is broken.
Either upgrade, or compile your own, paying careful attention
to structure alignments.
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Masquerading problem on alpha
1999-11-27 5:00 ` Serguei Patchkovskii
@ 1999-11-29 5:00 ` Paul Slootman
0 siblings, 0 replies; 3+ messages in thread
From: Paul Slootman @ 1999-11-29 5:00 UTC (permalink / raw)
Serguei Patchkovskii <patchkov@acs1.acs.ucalgary.ca> wrote:
>Rudy Zijlstra (rudy@edsons.demon.nl) wrote:
>: ipfwadm: setsockopt failed: Invalid argument
>
>: It is clear I am missing something. but what?
>
>ipfwadm which came with RH 5.2 alpha distribution is broken.
>Either upgrade, or compile your own, paying careful attention
>to structure alignments.
FYI it's not an alignment problem, but that the definition for a struct
uses "unsigned long" for a field where it actually needs "unsigned int".
On intel those are the same size, but on alpha they're not.
Paul Slootman
--
home: paul@wurtel.demon.nl http://www.wurtel.demon.nl/
work: paul@murphy.nl http://www.murphy.nl/
debian: paul@debian.org http://www.debian.org/
isdn4linux: paul@isdn4linux.de http://www.isdn4linux.de/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-11-29 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-11-27 5:00 Masquerading problem on alpha Rudy Zijlstra
1999-11-27 5:00 ` Serguei Patchkovskii
1999-11-29 5:00 ` Paul Slootman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox