Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick IPTables log question?

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
US
My iptables firewall seems to be holding its own. But I have all access to ports 137:138 (smb) blocked and each block gets logged. How can I suppress the logging of these blocks?

Thx
 
To log the action, there is proabaly a --logdrop command on the rule that is blocking. Since processing stops when a rule match is made, put a block rule without the log command higher up in the rule list. That should prevent the logging.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top