Re: How to disable logging of certain packets
From: Marcus Lauer (reply@via.newsgroup)
Date: 01/31/03
- Next message: Marcus Lauer: "Re: Does this work? ( iptables )"
- Previous message: sputnic: "possible DoS attack"
- In reply to: Smitty: "How to disable logging of certain packets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Marcus Lauer <reply@via.newsgroup> Date: Thu, 30 Jan 2003 18:41:43 -0800
Smitty wrote:
> How would I set iptables to not log udp packets to port 137 which is the
> ms netbios port?
> Smitty
Find the rule in your firewall script which is logging udp packets,
then add this rule (or the equivalent) just before it:
iptables -A INPUT -p udp --destination-port 137 -j DROP (or REJECT)
In other words, create a rule which drops/rejects the packet without logging
it, and make sure that it applies first.
Marcus
- Next message: Marcus Lauer: "Re: Does this work? ( iptables )"
- Previous message: sputnic: "possible DoS attack"
- In reply to: Smitty: "How to disable logging of certain packets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|