From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,69331b8b40dac006 X-Google-Attributes: gid111c93,public X-Google-Thread: 10669a,69331b8b40dac006 X-Google-Attributes: gid10669a,public From: Dan Watson Subject: Re: ip-masquerading Date: 1999/01/17 Message-ID: #1/1 X-Deja-AN: 433834894 References: <77o7tj$fql$2@remarQ.com> <77qvjr$8m0$1@pulp.ucs.ualberta.ca> X-Sender: watsond@agony.ucdavis.edu Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of California, Davis Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.os.linux.networking On 16 Jan 1999, Michal Jaegermann wrote: > Christopher (chrish@doitnow.com) wrote: > > : The problem I am having is when I try to the following command > : /sbin/ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0 > > : I get the error message > : ipfwadm: setsockopt failed: Invalid argument > > ipfwadm distributed with 5.1 (and 5.2) Red Hat on Alpha has broken > binaries. They are recompiled with wrong headers. Recompile yourself > or use binaries from 5.0 distribution. They are ok. > > This was reported to Red Hat numerous times. It is their sweet > mystery why they are choosing to ignore that. Another solution is to get a 2.1 kernel and install ipchains. The ipfwadm scheme has been completely rewritten in the newer kernels and now uses a package called ipchains. It's a little harder to configure, but a lot more useful. Plus, you're going to have to do it eventually anyways. That's what I ended up doing and it might be a good idea if you're comfortable using a 2.1 kernel.