* masquerading with 2.0.35
@ 1998-12-10 5:00 Marco Benton
1998-12-10 5:00 ` mw52
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Marco Benton @ 1998-12-10 5:00 UTC (permalink / raw)
has anyone got ip forwarding or masquerading to work under Linux/Alpha? i
must have tried 4 different kernels, 3 different kinds of Alphas with no
avail! keep getting: setsockopt failed: Invalid argument
help!?
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: masquerading with 2.0.35
1998-12-10 5:00 masquerading with 2.0.35 Marco Benton
@ 1998-12-10 5:00 ` mw52
1998-12-11 5:00 ` Huib Verweij
1998-12-12 5:00 ` masquerading with 2.0.35 Raymond Doetjes
2 siblings, 0 replies; 9+ messages in thread
From: mw52 @ 1998-12-10 5:00 UTC (permalink / raw)
the ipfwadm rpm package in RH5.1 and RH5.2 is BAD. you need to get either
the source to the package and compile it yourself, or find the ipfwadm rpm
that was in the RH5.0 distribution.
it's not a kernel prob. :)
wags
Marco Benton <marco@os2rulez.shr.dec.com> wrote:
: has anyone got ip forwarding or masquerading to work under Linux/Alpha? i
: must have tried 4 different kernels, 3 different kinds of Alphas with no
: avail! keep getting: setsockopt failed: Invalid argument
: help!?
--
----------------------------------
the SYSTEM owns you
SYSTEM, n.:
1: a regular union of principles or parts forming one entire thing.
2: the economic/capitalistic entity that exploits *your* life.
3: that strange attractor in your perception of the world that you
have dubbed as, "they".
wags@driver8.org http://www.driver8.org/
http://www.mw.driver8.org/
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: masquerading with 2.0.35
1998-12-10 5:00 masquerading with 2.0.35 Marco Benton
1998-12-10 5:00 ` mw52
@ 1998-12-11 5:00 ` Huib Verweij
1998-12-11 5:00 ` ipfwadm (Was: masquerading with 2.0.35) Dragos-Anton Manolescu
1998-12-12 5:00 ` masquerading with 2.0.35 Raymond Doetjes
2 siblings, 1 reply; 9+ messages in thread
From: Huib Verweij @ 1998-12-11 5:00 UTC (permalink / raw)
In message <74ovh7$hpr$1@sniff.shr.dec.com>
"Marco Benton" <marco@os2rulez.shr.dec.com> wrote:
> has anyone got ip forwarding or masquerading to work under Linux/Alpha? i
> must have tried 4 different kernels, 3 different kinds of Alphas with no
> avail! keep getting: setsockopt failed: Invalid argument
Try the 2.3.0-5 rpm from RedHat.
Huib.
^ permalink raw reply [flat|nested] 9+ messages in thread* ipfwadm (Was: masquerading with 2.0.35)
1998-12-11 5:00 ` Huib Verweij
@ 1998-12-11 5:00 ` Dragos-Anton Manolescu
1998-12-12 5:00 ` Huib Verweij
0 siblings, 1 reply; 9+ messages in thread
From: Dragos-Anton Manolescu @ 1998-12-11 5:00 UTC (permalink / raw)
>>> Huib Verweij writes:
Hi,
>> has anyone got ip forwarding or masquerading to work under Linux/Alpha? i
>> must have tried 4 different kernels, 3 different kinds of Alphas with no
>> avail! keep getting: setsockopt failed: Invalid argument
hv> Try the 2.3.0-5 rpm from RedHat.
Well, I got the source rpm, compiled it on a RH5.2 and I still get the
same error:
# ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
ipfwadm: setsockopt failed: Invalid argument
I'm running the 2.0.36 kernel compiled with the options mentioned in
IP-Masquerading mini-HOWTO. Here's the log for the ipfwadm build:
# rpm --rebuild ipfwadm-2.3.0-5.src.rpm
Installing ipfwadm-2.3.0-5.src.rpm
Executing: %prep
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf ipfwadm-2.3.0
+ /bin/gzip -dc /usr/src/redhat/SOURCES/ipfwadm-2.3.0.tar.gz
+ tar -xvvf -
drwxrwxr-x root/root 0 1996-07-30 06:54 ipfwadm-2.3.0/
-rw-r--r-- root/root 17982 1996-07-30 06:54 ipfwadm-2.3.0/COPYING
-rw-r--r-- root/root 4049 1996-07-30 06:54 ipfwadm-2.3.0/ChangeLog
-rw-r--r-- root/root 1544 1996-07-30 06:54 ipfwadm-2.3.0/Makefile
-rw-r--r-- root/root 3780 1996-07-30 06:54 ipfwadm-2.3.0/README
-rw-r--r-- root/root 19365 1996-07-30 06:54 ipfwadm-2.3.0/ipfw.4
-rw-r--r-- root/root 13022 1996-07-30 06:54 ipfwadm-2.3.0/ipfwadm.8
-rw-r--r-- root/root 51930 1996-07-30 06:54 ipfwadm-2.3.0/ipfwadm.c
-rw-r--r-- root/root 423 1996-07-30 06:54 ipfwadm-2.3.0/ipfwadm.lsm
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd ipfwadm-2.3.0
+ chown -R root .
+ chgrp -R root .
+ chmod -R a+rX,g-w,o-w .
+ echo Patch #0:
Patch #0:
+ patch -p1 -s
+ exit 0
Executing: %build
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ipfwadm-2.3.0
+ make COPTS=-O2
gcc -Wall -O2 -o ipfwadm ipfwadm.c
ipfwadm.c: In function `read_procinfo':
ipfwadm.c:1635: warning: long unsigned int format, different type arg (arg 12)
ipfwadm.c:1635: warning: long unsigned int format, different type arg (arg 13)
+ exit 0
Executing: %install
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ipfwadm-2.3.0
+ rm -rf /var/tmp/ipfwadm-root
+ mkdir -p /var/tmp/ipfwadm-root/sbin
+ mkdir -p /var/tmp/ipfwadm-root/usr/man/man4
+ mkdir -p /var/tmp/ipfwadm-root/usr/man/man8
+ install -m 755 ipfwadm /var/tmp/ipfwadm-root/sbin
+ install -m 755 ipfw.4 /var/tmp/ipfwadm-root/usr/man/man4
+ install -m 755 ipfwadm.8 /var/tmp/ipfwadm-root/usr/man/man8
+ exit 0
Processing files: ipfwadm
Executing: %doc
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ipfwadm-2.3.0
+ DOCDIR=/var/tmp/ipfwadm-root/usr/doc/ipfwadm-2.3.0
+ export DOCDIR
+ rm -rf /var/tmp/ipfwadm-root/usr/doc/ipfwadm-2.3.0
+ /bin/mkdir -p /var/tmp/ipfwadm-root/usr/doc/ipfwadm-2.3.0
+ cp -pr COPYING ChangeLog README ipfwadm.lsm /var/tmp/ipfwadm-root/usr/doc/ipfwadm-2.3.0
+ exit 0
Finding provides...
Finding requires...
Requires: ld-linux.so.2 libc.so.6.1
Wrote: /usr/src/redhat/RPMS/alpha/ipfwadm-2.3.0-5.alpha.rpm
Executing: %clean
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd ipfwadm-2.3.0
+ rm -rf /var/tmp/ipfwadm-root
+ exit 0
Executing: --clean
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf ipfwadm-2.3.0
+ exit 0
Any clues?
TIA,
-Dragos
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ipfwadm (Was: masquerading with 2.0.35)
1998-12-11 5:00 ` ipfwadm (Was: masquerading with 2.0.35) Dragos-Anton Manolescu
@ 1998-12-12 5:00 ` Huib Verweij
1998-12-16 5:00 ` Mike Powers
0 siblings, 1 reply; 9+ messages in thread
From: Huib Verweij @ 1998-12-12 5:00 UTC (permalink / raw)
In message <m3lnketh84.fsf_-_@hoth.ncsa.uiuc.edu>
Dragos-Anton Manolescu <dragos.manolescu@acm.org> wrote:
> >>> Huib Verweij writes:
>
> Hi,
>
> >> has anyone got ip forwarding or masquerading to work under Linux/Alpha? i
> >> must have tried 4 different kernels, 3 different kinds of Alphas with no
> >> avail! keep getting: setsockopt failed: Invalid argument
>
> hv> Try the 2.3.0-5 rpm from RedHat.
>
> Well, I got the source rpm, compiled it on a RH5.2 and I still get the
> same error:
>
> # ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
> ipfwadm: setsockopt failed: Invalid argument
Aha, the trick is to use the binary, not compile the source, because the
source is the same, that is, it's ipfwadm 2.3.0. I guess it's a lib problem
and when you compile the source again it uses, apparently, the 'wrong' lib.
I guess.
Huib.
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: ipfwadm (Was: masquerading with 2.0.35)
1998-12-12 5:00 ` Huib Verweij
@ 1998-12-16 5:00 ` Mike Powers
1998-12-16 5:00 ` Richard Payne
0 siblings, 1 reply; 9+ messages in thread
From: Mike Powers @ 1998-12-16 5:00 UTC (permalink / raw)
aak! Help! I have the same problem. I didn't follow the discussion
therefore I do not undertand the solution. I have a 5.2 machine, what
should I do to get ipfwadm working? I don't know what you mean by binary.
Huib Verweij wrote in message ...
>In message <m3lnketh84.fsf_-_@hoth.ncsa.uiuc.edu>
> Dragos-Anton Manolescu <dragos.manolescu@acm.org> wrote:
>
>> >>> Huib Verweij writes:
>>
>> Hi,
>>
>> >> has anyone got ip forwarding or masquerading to work under
Linux/Alpha? i
>> >> must have tried 4 different kernels, 3 different kinds of Alphas with
no
>> >> avail! keep getting: setsockopt failed: Invalid argument
>>
>> hv> Try the 2.3.0-5 rpm from RedHat.
>>
>> Well, I got the source rpm, compiled it on a RH5.2 and I still get the
>> same error:
>>
>> # ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
>> ipfwadm: setsockopt failed: Invalid argument
>
>Aha, the trick is to use the binary, not compile the source, because the
>source is the same, that is, it's ipfwadm 2.3.0. I guess it's a lib problem
>and when you compile the source again it uses, apparently, the 'wrong' lib.
>I guess.
>
>Huib.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: ipfwadm (Was: masquerading with 2.0.35)
1998-12-16 5:00 ` Mike Powers
@ 1998-12-16 5:00 ` Richard Payne
0 siblings, 0 replies; 9+ messages in thread
From: Richard Payne @ 1998-12-16 5:00 UTC (permalink / raw)
He means to get the ipfwadm file that has a .alpha.rpm
on the end instead of a .src.rpm (binary vs source).
I think the rpm from RH 5.0 will work.
--
Rich Payne
(Speaking for myself, not my employer)
payner at timken dot com
Looking for Alpha-Linux info?
http://www.alphalinux.org
Mike Powers wrote in message <7592ig$g66$1@ash.prod.itd.earthlink.net>...
>aak! Help! I have the same problem. I didn't follow the discussion
>therefore I do not undertand the solution. I have a 5.2 machine, what
>should I do to get ipfwadm working? I don't know what you mean by binary.
>
>Huib Verweij wrote in message ...
>>In message <m3lnketh84.fsf_-_@hoth.ncsa.uiuc.edu>
>> Dragos-Anton Manolescu <dragos.manolescu@acm.org> wrote:
>>
>>> >>> Huib Verweij writes:
>>>
>>> Hi,
>>>
>>> >> has anyone got ip forwarding or masquerading to work under
>Linux/Alpha? i
>>> >> must have tried 4 different kernels, 3 different kinds of Alphas with
>no
>>> >> avail! keep getting: setsockopt failed: Invalid argument
>>>
>>> hv> Try the 2.3.0-5 rpm from RedHat.
>>>
>>> Well, I got the source rpm, compiled it on a RH5.2 and I still get the
>>> same error:
>>>
>>> # ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
>>> ipfwadm: setsockopt failed: Invalid argument
>>
>>Aha, the trick is to use the binary, not compile the source, because the
>>source is the same, that is, it's ipfwadm 2.3.0. I guess it's a lib
problem
>>and when you compile the source again it uses, apparently, the 'wrong'
lib.
>>I guess.
>>
>>Huib.
>>
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: masquerading with 2.0.35
1998-12-10 5:00 masquerading with 2.0.35 Marco Benton
1998-12-10 5:00 ` mw52
1998-12-11 5:00 ` Huib Verweij
@ 1998-12-12 5:00 ` Raymond Doetjes
1998-12-14 5:00 ` Marco Benton
2 siblings, 1 reply; 9+ messages in thread
From: Raymond Doetjes @ 1998-12-12 5:00 UTC (permalink / raw)
Go to http://www.xos.nl and get the "new" ipfwadm sources RedHat is very M$
like and can't seem to test their shit before selling it. It did'nt work in
5.1 and still not in 5.2
Raymond
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1998-12-16 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-10 5:00 masquerading with 2.0.35 Marco Benton
1998-12-10 5:00 ` mw52
1998-12-11 5:00 ` Huib Verweij
1998-12-11 5:00 ` ipfwadm (Was: masquerading with 2.0.35) Dragos-Anton Manolescu
1998-12-12 5:00 ` Huib Verweij
1998-12-16 5:00 ` Mike Powers
1998-12-16 5:00 ` Richard Payne
1998-12-12 5:00 ` masquerading with 2.0.35 Raymond Doetjes
1998-12-14 5:00 ` Marco Benton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox