From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b86aeb54a57cda56 X-Google-Attributes: gid111c93,public From: "B. James Phillippe" Subject: Re: ipfwadm NONAME alpha Date: 1998/08/01 Message-ID: #1/1 X-Deja-AN: 377072253 References: <35C2618A.1075938D@Post.rwth-aachen.de> To: Michael Weber 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 Sat, 1 Aug 1998, Michael Weber wrote: > ipfwadm -F -a m -Smydomain.de/24 -D0/0 > fails with: > "setsockopt failed". > > Oh, I used RH5.1 ipfwadm > > Any ideas? Does anyone have a working setup? You can use the ipfwadm from RedHat-5.0 or the one from ftp.terran.org. The problem with the RedHat-5.1 one is that glibc includes aren't right. Some of them (in this case, netinet/ip_fw.h) define packet and byte counts as u_int32_t, wherease the kernel defines them as "long". long and u_int32_t are not the same size on Alpha, so the struct is short, making it an invalid argument to setsockopt. cheers, -bp -- B. James Phillippe Linux Software Engineer, WGT Inc. http://earth.terran.org/~bryan