* Re: Masquerading and FTP
@ 1997-07-31 0:03 Michal Jaegermann
0 siblings, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 1997-07-31 0:03 UTC (permalink / raw)
>
> I don't know much about firewalls but I did read the manual that comes
> with RH 4.2. It explicitly states modules are not supported.
Sigh! Not again!
DON'T believe in everything which is written in computer manuals.
If that would be true that a number of things which I run on Linux/Alpha
(masquerading included) would not work. Surprise! It does.
This was hashed on this list so many times....
> You must
> use a monolithic kernel.
Some of the stuff works ONLY as modules.
> If you have those fixes great, but if you're using the standard kernel
> source from RedHat, I don't think inserting modules works.
It does. Just strip debugging informatin from modules.
--mj
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <202911182211.OAA12065@icarus.icarus.com>]
[parent not found: <Pine.LNX.3.95.970730180641.15833A-100000@bax.davmar.bog>]
* Re: Masquerading and FTP
[not found] <Pine.LNX.3.95.970730180641.15833A-100000@bax.davmar.bog>
@ 1997-07-31 7:43 ` Ferdy Hanssen
0 siblings, 0 replies; 10+ messages in thread
From: Ferdy Hanssen @ 1997-07-31 7:43 UTC (permalink / raw)
On Wed, 30 Jul 1997, David R. McGown wrote:
> I believe this is a problem associated with the modutils package with RH
> 4.2. I am have the same setup (using a UDB as a firewall), and was able
> to get the ip_mask_* modules loaded *and* working properly by running
> `strip -x *.o` on the modules in the ipv4 directory and using insmod
> from the modutils package from RH 4.1.
I tried this and it works, now I have the firewall up and running with the
same functionality as the Intel before.
Thanks to all who replied.
Ferdy T.Y. Hanssen, Student at Dept. of Computer Science, University of Twente
E-mail: hanssen@cs.utwente.nl or hanssen@ovidius.student.utwente.nl
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Masquerading and FTP
@ 1997-07-31 0:49 wsb
0 siblings, 0 replies; 10+ messages in thread
From: wsb @ 1997-07-31 0:49 UTC (permalink / raw)
OK, sounds like some of you have modules working. That's great. I bought
my PC164 a month ago and RH 4.2 CD came with it. I know for sure that
the standard kernel make procedure does not correctly handle modules.
I tried it with my tulip DD as that is the way I run things on Intel.
I'll try the suggestion of updating the packages and see if that
corrects the problem. I've wanted to use modules but it was
failing miserably when I first built the kernel.
Guess the manual was at least accurate for the CD's it was with.
Thanks for the info....
Out of curiousity, how did you all figure out 'strip' would fix the
problem? I didn't see much diagnostics when I tried modprobe on the
tulip module.
Wes
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Masquerading and FTP
@ 1997-07-30 22:28 Rick Windham
0 siblings, 0 replies; 10+ messages in thread
From: Rick Windham @ 1997-07-30 22:28 UTC (permalink / raw)
On Wed, 30 Jul 1997 wsb@VNET.IBM.COM wrote:
> I don't know much about firewalls but I did read the manual that comes
> with RH 4.2. It explicitly states modules are not supported. You must
> use a monolithic kernel. I know some people have gotten modules to
> work by using previous versions/patches of the relevant source code.
> If you have those fixes great, but if you're using the standard kernel
> source from RedHat, I don't think inserting modules works. Note this
> is a Alpha specific problem.
I am running Red Hat 4.2 on a UDB with the Masquerade modules functioning
perfectly. I had to upgrade to:
modutils-2.1.34-1 and (this is RH 4.2)
binutils-970127-1
to get them to work. I also don't run kerneld, I /sbin/modprobe each
module in /etc/rc.local Then set up my ipfwadm rules. So if you get the
new binutils and recompile your kernel it will work.
The Masquerading modules WILL NOT work built into the kernel. I tried it
first.
Cheers, Rick.
+-------------------------------------------+
| "No matter where you go...there you are." |
| -Buckaroo Banzai |
+-------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <Pine.LNX.3.95.970730202148.4503A-100000@ovidius.student.utwente.nl>]
* Re: Masquerading and FTP
[not found] <Pine.LNX.3.95.970730202148.4503A-100000@ovidius.student.utwente.nl>
@ 1997-07-30 22:18 ` David R. McGown
0 siblings, 0 replies; 10+ messages in thread
From: David R. McGown @ 1997-07-30 22:18 UTC (permalink / raw)
I believe this is a problem associated with the modutils package with RH
4.2. I am have the same setup (using a UDB as a firewall), and was able
to get the ip_mask_* modules loaded *and* working properly by running
`strip -x *.o` on the modules in the ipv4 directory and using insmod
from the modutils package from RH 4.1.
David
On Wed, 30 Jul 1997, Ferdy Hanssen wrote:
>
> Then, in order to get FTP working, I insmod the relevant module:
>
> /sbin/insmod /lib/modules/`uname -r`/ipv4/ip_masq_ftp.o
>
> But still, from within the firewall, FTP only works using passive mode,
> but this module should enable active FTP as well.
>
> It worked when the firewall was an Intel machine, but that changed
> recently.
>
> I'm using RedHat 4.2, with a self-compiled kernel with as few modules as
> possible (all usually needed stuff is compiled in, only the ip_masq_*
> modules as left, of which I only use the ip_masq_ftp module. The kernel
> is a pristine 2.0.30 with axp-diffs applied.
>
> Does anyone have an idea? Did anyone get this to work? I could use a few
> hints :)
>
> Ferdy T.Y. Hanssen, Student at Dept. of Computer Science, University of Twente
> E-mail: hanssen@cs.utwente.nl or hanssen@ovidius.student.utwente.nl
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
======================================================================
David R. McGown
dmcgown@access.digex.net -o-O-o- LINUX INSIDE!
Home: (703)683-1599 206 Adams Ave ALPHA GENERATION!
Work: (703)416-1240 Alexandria, VA 22301
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Masquerading and FTP
@ 1997-07-30 21:23 Ferdy Hanssen
0 siblings, 0 replies; 10+ messages in thread
From: Ferdy Hanssen @ 1997-07-30 21:23 UTC (permalink / raw)
On Wed, 30 Jul 1997 wsb@VNET.IBM.COM wrote:
> I don't know much about firewalls but I did read the manual that comes
> with RH 4.2. It explicitly states modules are not supported. You must
> use a monolithic kernel. I know some people have gotten modules to
> work by using previous versions/patches of the relevant source code.
> If you have those fixes great, but if you're using the standard kernel
> source from RedHat, I don't think inserting modules works. Note this
> is a Alpha specific problem.
The problem here is that the FTP masquerading stuff is automatically built
as a module. Putting this into the monolithic kernel as well will mean
some kernel patching of the relevant module, the masquerading source files
and the net Makefile. It's a bit of work, I'll get to that tomorrow. I
just don't know the networking code that well, but, what the heck, it's
fun doing anyway.
Ferdy T.Y. Hanssen, Student at Dept. of Computer Science, University of Twente
E-mail: hanssen@cs.utwente.nl or hanssen@ovidius.student.utwente.nl
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Masquerading and FTP
@ 1997-07-30 20:05 wsb
0 siblings, 0 replies; 10+ messages in thread
From: wsb @ 1997-07-30 20:05 UTC (permalink / raw)
Ferdy,
I don't know much about firewalls but I did read the manual that comes
with RH 4.2. It explicitly states modules are not supported. You must
use a monolithic kernel. I know some people have gotten modules to
work by using previous versions/patches of the relevant source code.
If you have those fixes great, but if you're using the standard kernel
source from RedHat, I don't think inserting modules works. Note this
is a Alpha specific problem.
Might try building your options into the static kernel. The other thing
is to figure out how to fix the problem. Someone on the list may have
suggestions.
Wes
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Masquerading and FTP
@ 1997-07-30 19:18 Stephen Williams
0 siblings, 0 replies; 10+ messages in thread
From: Stephen Williams @ 1997-07-30 19:18 UTC (permalink / raw)
wsb@VNET.IBM.COM said:
> I don't know much about firewalls but I did read the manual that
> comes with RH 4.2. It explicitly states modules are not supported.
> You must use a monolithic kernel.
Loading modules most certainly does work in the kernel as distributed
by RedHat, *autoloading* with kerneld does not work.
However, even that seems to not be the case with the very latest RedHat
release (with appropriate updates) as the kernel on my alpha autoloads
a few things.
Note that turning on kernel symbol versioning seems to not work.
--
Steve Williams
steve@icarus.com
steve@picturel.com
"The woods are lovely, dark and deep. But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Masquerading and FTP
@ 1997-07-30 18:43 Ferdy Hanssen
0 siblings, 0 replies; 10+ messages in thread
From: Ferdy Hanssen @ 1997-07-30 18:43 UTC (permalink / raw)
Hello,
I'm currently using my Alpha running Linux as a firewall between the
internet and my private network. Most things work, but I'm trying to get
FTP working. I activated my firewall using the following commands (my
real internet IP-address is a.b.c.d, my private network uses the addresses
10.0.0.x with a netmask of 255.255.255.0, the IP-adress at the private
network side of the firewall is 10.0.0.1):
/sbin/ipfwadm -I -p accept
/sbin/ipfwadm -I -f
/sbin/ipfwadm -O -p accept
/sbin/ipfwadm -O -f
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -f
/sbin/ipfwadm -F -a masquerade -P all -S 10.0.0.0/24 -D 0.0.0.0/0
This is run after both networking cards are configured using ifconfig and
route like this:
ifconfig eth0 a.b.c.d netmask 255.255.0.0 broadcast a.b.255.255
route add -net a.b.0.0 netmask 255.255.0.0 dev eth0
ifconfig eth1 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
route add -net 10.0.0.0 netmask 255.255.255.0 dev eth1
route add default gw a.b.p.q dev eth0
Then, in order to get FTP working, I insmod the relevant module:
/sbin/insmod /lib/modules/`uname -r`/ipv4/ip_masq_ftp.o
But still, from within the firewall, FTP only works using passive mode,
but this module should enable active FTP as well.
It worked when the firewall was an Intel machine, but that changed
recently.
I'm using RedHat 4.2, with a self-compiled kernel with as few modules as
possible (all usually needed stuff is compiled in, only the ip_masq_*
modules as left, of which I only use the ip_masq_ftp module. The kernel
is a pristine 2.0.30 with axp-diffs applied.
Does anyone have an idea? Did anyone get this to work? I could use a few
hints :)
Ferdy T.Y. Hanssen, Student at Dept. of Computer Science, University of Twente
E-mail: hanssen@cs.utwente.nl or hanssen@ovidius.student.utwente.nl
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~1997-08-01 23:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-31 0:03 Masquerading and FTP Michal Jaegermann
[not found] <202911182211.OAA12065@icarus.icarus.com>
1997-08-01 23:11 ` Giritharan Rashiyamany
[not found] <Pine.LNX.3.95.970730180641.15833A-100000@bax.davmar.bog>
1997-07-31 7:43 ` Ferdy Hanssen
-- strict thread matches above, loose matches on Subject: below --
1997-07-31 0:49 wsb
1997-07-30 22:28 Rick Windham
[not found] <Pine.LNX.3.95.970730202148.4503A-100000@ovidius.student.utwente.nl>
1997-07-30 22:18 ` David R. McGown
1997-07-30 21:23 Ferdy Hanssen
1997-07-30 20:05 wsb
1997-07-30 19:18 Stephen Williams
1997-07-30 18:43 Ferdy Hanssen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox