* [LARTC] simple ipchain filter
@ 2002-02-14 17:47 chris
2002-02-15 15:28 ` bert hubert
2002-02-15 18:02 ` chris
0 siblings, 2 replies; 3+ messages in thread
From: chris @ 2002-02-14 17:47 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 677 bytes --]
I am new to the world of ipchains. I wanted to know if the following rule would deny all snmp traffic
on my Internet link(Serial4), but let me use snmp internally.
The problem is that with the latest bug in snmp, even shutting it off doesnt help in some cases. I also rely on snmp for network health info. I would like to just block all snmp traffic at the border. Since this linux router is acting as my border router, this seems to be the best place to start
ipchains -A input -i Serial4 -p udp -d 0/0 161 -j DENY --log
ipchains -A input -i Serial4 -p udp -d 0/0 162 -j DENY --log
Is there a better way to stop all snmp traffic at the border?
Thanks,
Chris
[-- Attachment #2: Type: text/html, Size: 1517 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] simple ipchain filter
2002-02-14 17:47 [LARTC] simple ipchain filter chris
@ 2002-02-15 15:28 ` bert hubert
2002-02-15 18:02 ` chris
1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2002-02-15 15:28 UTC (permalink / raw)
To: lartc
On Thu, Feb 14, 2002 at 09:47:47AM -0800, chris wrote:
> The problem is that with the latest bug in snmp, even shutting it off
> doesnt help in some cases. I also rely on snmp for network health info. I
> would like to just block all snmp traffic at the border. Since this linux
> router is acting as my border router, this seems to be the best place to
> start
>
> ipchains -A input -i Serial4 -p udp -d 0/0 161 -j DENY --log
> ipchains -A input -i Serial4 -p udp -d 0/0 162 -j DENY --log
Looks good.
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] simple ipchain filter
2002-02-14 17:47 [LARTC] simple ipchain filter chris
2002-02-15 15:28 ` bert hubert
@ 2002-02-15 18:02 ` chris
1 sibling, 0 replies; 3+ messages in thread
From: chris @ 2002-02-15 18:02 UTC (permalink / raw)
To: lartc
What I ended up doing was this:
# Disable snmp from the outside world
/sbin/ipchains -A input -i Serial4 -p udp -d 0/0 161:162 -j DENY --log
# This is an entry for my paranoia...
# If someone locally were running a socks server(for example), I wouldnt
want the outside world
# to bounce off it and still gain entry. I lock down the eth0 to accept only
from my monitoring
# host.
/sbin/ipchains -A input -i eth0 -p udp -s ! my.good.host.local/32 -d 0/0
161:162 -j DENY --log
It seems to works fine with the tests I have made.
----- Original Message -----
From: "bert hubert" <ahu@ds9a.nl>
To: "chris" <lists@powernet.net>
Cc: <LARTC@mailman.ds9a.nl>
Sent: Friday, February 15, 2002 7:28 AM
Subject: Re: [LARTC] simple ipchain filter
> On Thu, Feb 14, 2002 at 09:47:47AM -0800, chris wrote:
>
> > The problem is that with the latest bug in snmp, even shutting it off
> > doesnt help in some cases. I also rely on snmp for network health info.
I
> > would like to just block all snmp traffic at the border. Since this
linux
> > router is acting as my border router, this seems to be the best place to
> > start
> >
> > ipchains -A input -i Serial4 -p udp -d 0/0 161 -j DENY --log
> > ipchains -A input -i Serial4 -p udp -d 0/0 162 -j DENY --log
>
> Looks good.
>
> --
> http://www.PowerDNS.com Versatile DNS Software & Services
> http://www.tk the dot in .tk
> Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
> Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-15 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-14 17:47 [LARTC] simple ipchain filter chris
2002-02-15 15:28 ` bert hubert
2002-02-15 18:02 ` chris
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.