From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b2e7372a7548cbd3 X-Google-Attributes: gid111c93,public From: "B. James Phillippe" Subject: Re: ipmasq on 2.0.35 Date: 1998/08/06 Message-ID: #1/1 X-Deja-AN: 378445220 References: To: "J. Daniel Powell" X-Subliminal-Message: Use Linux Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Terran.ORG/LinuxWorld.NET Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha On 3 Aug 1998, J. Daniel Powell wrote: > fine. It is when I try ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0 > that I get ipfwadm: setsockopt failed: Invalid argument. Any help is > appreciated. There is a bug in glibc in that has the packet and byte counters hard-coded at 32-bit ints (u_int32_t), whereas the kernel defines and expects "long" for those values. This makes the glibc-structure too small and setsockopt() returns EINVAL. You can use the ipfwadm from RedHat-5.0 or the one from ftp.terran.org. cheers, -bp -- B. James Phillippe Linux Software Engineer, WGT Inc. http://earth.terran.org/~bryan