Changeset 2614 for trunk/server


Ignore:
Timestamp:
Sep 14, 2014, 10:23:55 PM (10 years ago)
Author:
quentin
Message:
Configure iptables for logging user-generated direct SMTP traffic.
Location:
trunk/server/fedora/config/etc
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/sysconfig/iptables

    r1689 r2614  
    1 # Generated by iptables-save v1.3.5 on Tue Jul 18 01:46:04 2006
     1# Generated by iptables-save v1.4.19.1 on Sun Sep 14 20:49:06 2014
    22*filter
    33:INPUT ACCEPT [0:0]
    4 -A INPUT -p udp -m udp --dport 161 ! -s 18.0.0.0/8 -j REJECT
    54:FORWARD ACCEPT [0:0]
    65:OUTPUT ACCEPT [0:0]
     6:log-smtp - [0:0]
     7-A INPUT -p udp -m udp --dport 161 ! -s 18.0.0.0/8 -j REJECT
     8-A OUTPUT -p tcp -m tcp --dport 25 --tcp-flags FIN,SYN,RST,ACK SYN -j log-smtp
     9-A log-smtp -m owner --uid-owner postfix -j RETURN
     10-A log-smtp -m owner --uid-owner nrpe -j RETURN
     11-A log-smtp -m owner --uid-owner 537644531 -j RETURN
     12-A log-smtp -j LOG --log-prefix "SMTP " --log-uid
    713COMMIT
    8 # Completed on Tue Jul 18 01:46:04 2006
     14# Completed on Sun Sep 14 20:49:06 2014
Note: See TracChangeset for help on using the changeset viewer.