extreme
2018-03-02 22:20:12 +08:00
iptables 有个模块叫 log
--log level
Log determined genres into dmesg even if they do not match the desired one. level can be one of the following values:
•
0 - Log all matched or unknown signatures
•
1 - Log only the first one
•
2 - Log all known matched signatures
You may find something like this in syslog:
Windows [2000:SP3:Windows XP Pro SP1, 2000 SP3]: 11.22.33.55:4024 -> 11.22.33.44:139 hops=3 Linux [2.5-2.6:] : 1.2.3.4:42624 -> 1.2.3.5:22 hops=4