From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,c367066385edd661 X-Google-Attributes: gid111c93,public From: Huib Verweij Subject: Re: ipfwadm (Was: masquerading with 2.0.35) Date: 1998/12/12 Message-ID: #1/1 X-Deja-AN: 421469472 References: <74ovh7$hpr$1@sniff.shr.dec.com> <33e67fb248%hhv@node102bd.A2000.nl> X-Posting-Agent: RISC OS Newsbase 0.61b X-NNTP-Poster: NewsHound v1.29 Organization: Home Newsgroups: comp.os.linux.alpha In message Dragos-Anton Manolescu wrote: > >>> Huib Verweij writes: > > Hi, > > >> has anyone got ip forwarding or masquerading to work under Linux/Alpha? i > >> must have tried 4 different kernels, 3 different kinds of Alphas with no > >> avail! keep getting: setsockopt failed: Invalid argument > > hv> Try the 2.3.0-5 rpm from RedHat. > > Well, I got the source rpm, compiled it on a RH5.2 and I still get the > same error: > > # ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0 > ipfwadm: setsockopt failed: Invalid argument Aha, the trick is to use the binary, not compile the source, because the source is the same, that is, it's ipfwadm 2.3.0. I guess it's a lib problem and when you compile the source again it uses, apparently, the 'wrong' lib. I guess. Huib.