Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* ipfwadm no worky
@ 1999-01-19  5:00 epsilon
  1999-01-19  5:00 ` Remi Frenay
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: epsilon @ 1999-01-19  5:00 UTC (permalink / raw)


For some reason, with the stock 5.2 alpha release, ipfwadm doesn't
work (2.0.35). So I downloaded the 2.0.36 source and turned on ip
forwarding and most of the others I thought I needed, and it compiled
fine, but still, ipfwadm comes up with this error:

ipfwadm failed: setsockopt failed: protocol not available

Any ideas? Anyone using this with a dec alphastation 200?




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ipfwadm no worky
  1999-01-19  5:00 ipfwadm no worky epsilon
  1999-01-19  5:00 ` Remi Frenay
  1999-01-19  5:00 ` Paul Slootman
@ 1999-01-19  5:00 ` warp
  1999-01-20  5:00   ` Jon Spreha
  2 siblings, 1 reply; 7+ messages in thread
From: warp @ 1999-01-19  5:00 UTC (permalink / raw)


epsilon@NoSpAm.jungle.net wrote:
> 
> For some reason, with the stock 5.2 alpha release, ipfwadm doesn't
> work (2.0.35). So I downloaded the 2.0.36 source and turned on ip
> forwarding and most of the others I thought I needed, and it compiled
> fine, but still, ipfwadm comes up with this error:
> 
> ipfwadm failed: setsockopt failed: protocol not available
> 
> Any ideas? Anyone using this with a dec alphastation 200?

Ipfwadm is broken in RH 5.1 and 5.2, get the one from 5.0
from your nearest mirror...

Regards,
Antoine



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ipfwadm no worky
  1999-01-19  5:00 ipfwadm no worky epsilon
@ 1999-01-19  5:00 ` Remi Frenay
  1999-01-19  5:00 ` Paul Slootman
  1999-01-19  5:00 ` warp
  2 siblings, 0 replies; 7+ messages in thread
From: Remi Frenay @ 1999-01-19  5:00 UTC (permalink / raw)


On Tue, 19 Jan 1999 05:10:52 GMT, epsilon@NoSpAm.jungle.net wrote:

>For some reason, with the stock 5.2 alpha release, ipfwadm doesn't
>work (2.0.35). So I downloaded the 2.0.36 source and turned on ip
>forwarding and most of the others I thought I needed, and it compiled
>fine, but still, ipfwadm comes up with this error:
>
>ipfwadm failed: setsockopt failed: protocol not available
>
>Any ideas? Anyone using this with a dec alphastation 200?

Your kernel isn't the problem here, but ipfwadm of RedHat 5.2 and 5.1
is broke.
Try to get ipfwadm from RedHat 5.0, then it should work again.

Best Regards,
 Remi Frenay
 frenay@bigfoot.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ipfwadm no worky
  1999-01-19  5:00 ipfwadm no worky epsilon
  1999-01-19  5:00 ` Remi Frenay
@ 1999-01-19  5:00 ` Paul Slootman
  1999-01-19  5:00   ` Christopher
  1999-01-19  5:00 ` warp
  2 siblings, 1 reply; 7+ messages in thread
From: Paul Slootman @ 1999-01-19  5:00 UTC (permalink / raw)


 <epsilon@NoSpAm.jungle.net> wrote:
>For some reason, with the stock 5.2 alpha release, ipfwadm doesn't
>work (2.0.35). So I downloaded the 2.0.36 source and turned on ip
>forwarding and most of the others I thought I needed, and it compiled
>fine, but still, ipfwadm comes up with this error:

I found a ref in dejanews on how to fix this. netinet/ip_fw.h apparently
defines byte and packet counters as 32-bit values, while they are 64-bit
on Alpha.  This is fixed in the debian alpha version; if you compile
ipfwadm yourself, first change the stuff in netinet/ip_fw.h before
compiling, and it should work.

>Any ideas? Anyone using this with a dec alphastation 200?

It's not related in any way to any specific alpha hardware.


Paul Slootman
-- 
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software,   Enschede,   the Netherlands



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ipfwadm no worky
  1999-01-19  5:00 ` Paul Slootman
@ 1999-01-19  5:00   ` Christopher
  1999-01-24  5:00     ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher @ 1999-01-19  5:00 UTC (permalink / raw)


I had a similar problem with ipfwadm. I installed an older RPM (2_3_0-5) of
ipfwadm and the older version works with no errors.

I have the information for changing the header file for the 2_3_0-6 version
of ipfwadm. I would like to use the newer version of ipfwadm. But as I am a
newbie to the linux community and haven't quite figured out how to compile
an application such as ipfwadm yet. If somebody could help out and post the
command line for such a thing. It would be greatly appreciated.

Thanks
Christopher

Paul Slootman wrote in message ...
> <epsilon@NoSpAm.jungle.net> wrote:
>>For some reason, with the stock 5.2 alpha release, ipfwadm doesn't
>>work (2.0.35). So I downloaded the 2.0.36 source and turned on ip
>>forwarding and most of the others I thought I needed, and it compiled
>>fine, but still, ipfwadm comes up with this error:
>
>I found a ref in dejanews on how to fix this. netinet/ip_fw.h apparently
>defines byte and packet counters as 32-bit values, while they are 64-bit
>on Alpha.  This is fixed in the debian alpha version; if you compile
>ipfwadm yourself, first change the stuff in netinet/ip_fw.h before
>compiling, and it should work.
>
>>Any ideas? Anyone using this with a dec alphastation 200?
>
>It's not related in any way to any specific alpha hardware.
>
>
>Paul Slootman
>--
>home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
>http://www.wurtel.demon.nl | Murphy Software,   Enschede,   the Netherlands





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ipfwadm no worky
  1999-01-19  5:00 ` warp
@ 1999-01-20  5:00   ` Jon Spreha
  0 siblings, 0 replies; 7+ messages in thread
From: Jon Spreha @ 1999-01-20  5:00 UTC (permalink / raw)


>
> Ipfwadm is broken in RH 5.1 and 5.2, get the one from 5.0
> from your nearest mirror...
>
> Regards,
> Antoine

Well, this makes me feel better.  I had the exact same problem on my new
multia.

I wanted to run ipfwadm on it and then have my main linux/win95 machine
behind it.  I got annoyed with ipfwadm on the multia, checked it on my old
486 which allowed me to execute the command without the error and just
decided to run the ip forwarding on that machine.

I thought I was going something wrong . . .

Oh well.  I think I like the setup I have now better anyway.  That way I
have one stand-along 486 doing nothing but ip-masq and keeping my internet
connection.  While the multia (UDB, truthfully) & my p2-350 can work
through the gateway.

One question:   would I be better off to have the multia handle the
ip-forwarding?  Or would there be no performance differences between the
486 and the multia.

(BTW, the 486 is a dx4-100 with 32mb RAM, my multia runs with 32mb ram as
well.)

tia.

Jon




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ipfwadm no worky
  1999-01-19  5:00   ` Christopher
@ 1999-01-24  5:00     ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
  0 siblings, 0 replies; 7+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1999-01-24  5:00 UTC (permalink / raw)


>>>>> "C" == Christopher  <chrish@doitnow.com> writes:

    C> But as I am a newbie to the linux community and haven't quite
    C> figured out how to compile an application such as ipfwadm yet.
    C> If somebody could help out and post the command line for such a
    C> thing.  It would be greatly appreciated.

If you can find the SRPM, building a binary for installation is easy.
"su" to root, download the SRPM, do "rpm -i foo.srpm" to install it
under /usr/src/redhat, do "rpm -bb /usr/src/redhat/SPECS/foo.spec" to
build the binary RPM, then do "rpm -Uvh
/usr/src/redhat/RPMS/alpha/foo.alpha.rpm" to install/upgrade.

-- 
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"When I was a kid, I used to think that Dammit was God's last name, just like
Christ is Jesus' last name." - Kimberly Chapman in rec.humor.oracle.d



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-01-24  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-19  5:00 ipfwadm no worky epsilon
1999-01-19  5:00 ` Remi Frenay
1999-01-19  5:00 ` Paul Slootman
1999-01-19  5:00   ` Christopher
1999-01-24  5:00     ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1999-01-19  5:00 ` warp
1999-01-20  5:00   ` Jon Spreha

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