Last change
on this file since 2614 was
2614,
checked in by quentin, 10 years ago
|
Configure iptables for logging user-generated direct SMTP traffic.
|
File size:
545 bytes
|
Line | |
---|
1 | # Generated by iptables-save v1.4.19.1 on Sun Sep 14 20:49:06 2014 |
---|
2 | *filter |
---|
3 | :INPUT ACCEPT [0:0] |
---|
4 | :FORWARD ACCEPT [0:0] |
---|
5 | :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 |
---|
13 | COMMIT |
---|
14 | # Completed on Sun Sep 14 20:49:06 2014 |
---|
Note: See
TracBrowser
for help on using the repository browser.