Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Koos van den Hout _U nix and we all_ <koos@pizza.hvu.nl>
Subject: firewalling failing ?
Date: Mon, 10 Nov 1997 18:29:14 +0100 (MET)	[thread overview]
Message-ID: <199711101729.SAA17086@pizza.hvu.nl> (raw)

I'm using Redhat 4.2 on an Alpha (multia) system. Since this machine is
used as a masquerading router, I wanted to use firewalling to block
certain 'dangerous' ports from accessing them from the Internet.

But, firewalling rules don't seem to work. For example when I test the
following :

$ /sbin/ipfwadm -Il
IP firewall input rules, default policy: accept
acc   tcp  127.0.0.0/8          anywhere             any -> sunrpc
acc   tcp  HomeNetwork/24       anywhere             any -> sunrpc
rej   tcp  anywhere             anywhere             any -> sunrpc
acc   udp  127.0.0.0/8          anywhere             any -> sunrpc
acc   udp  HomeNetwork/24       anywhere             any -> sunrpc
rej   udp  anywhere             anywhere             any -> sunrpc

Which should disallow access to the portmapper from outside, but I can
still talk to the portmapper from wherever.

I tested with setting the default policy to deny and trying to set
'accept' rules, which didn't work either. The 'deny' worked perfectly, but
what I set to accept wasn't accepted.

The machine is a Multia, Redhat 4.2, kernel :
Linux morris 2.0.30 #1 Sun Nov 9 01:36:52 CET 1997 alpha unknown

(from the linux-source rpm with rh4.2).

Any idea what is going wrong and how to fix this ?

                                     Koos van den Hout

-- 
  Koos van den Hout,     Internetter, Unix freak, ISFJ and BBS SysOp at large
  koos@pizza.hvu.nl (Work)  <-- finger -l for PGPkey      Fax: +31-30-2586290
  koos@kzdoos.xs4all.nl (Home)                      Workphone: +31-30-2586287
  http://www.cetis.hvu.nl/~koos/   Looking for a license plate with "RFC 822"

-- 
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

             reply	other threads:[~1997-11-10 17:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-10 17:29 Koos van den Hout _U nix and we all_ [this message]
1997-11-11  1:11 ` firewalling failing ? Christopher Curtis
     [not found] <Pine.GSO.3.96.971110200904.17455A-100000@yacht.ee.fit.edu>
1997-11-12  3:43 ` Michael Tibor
     [not found] <Pine.LNX.3.96.971111183447.14288E-100000@asimov.lib.uaa.alaska.edu>
1997-11-12 22:52 ` Christopher Curtis
     [not found] <Pine.GSO.3.96.971112174502.1572B-100000@yacht.ee.fit.edu>
1997-11-13  4:39 ` Michael Tibor
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