Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "B. James Phillippe" <bryan@terran.org>
To: Michael Weber <Michael.Weber@Post.rwth-aachen.de>
Subject: Re: ipfwadm NONAME alpha
Date: 1998/08/01	[thread overview]
Message-ID: <Pine.LNX.3.96.980801154021.15463E-100000@earth.terran.org> (raw)
In-Reply-To: 35C2618A.1075938D@Post.rwth-aachen.de

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 <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan




      reply	other threads:[~1998-08-01  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-01  4:00 ipfwadm NONAME alpha Michael Weber
1998-08-01  4:00 ` B. James Phillippe [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox