From: "B. James Phillippe" <bryan@terran.org>
To: "J. Daniel Powell" <jdpowel2@unity.ncsu.edu>
Subject: Re: ipmasq on 2.0.35
Date: 1998/08/06 [thread overview]
Message-ID: <Pine.LNX.3.96.980806002125.13083K-100000@earth.terran.org> (raw)
In-Reply-To: m3af5l6169.fsf@alpha.brickwall.org
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 <netinet/ip_fw.h> 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 <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan
prev parent reply other threads:[~1998-08-06 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-03 4:00 ipmasq on 2.0.35 J. Daniel Powell
1998-08-06 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