pling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
pling [2006/11/13 13:50] – old revision restored andi | pling [2007/12/30 03:13] (current) – wrong word, package -> packet 24.217.137.10 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Hear your Firewall====== | ||
+ | |||
+ | This little script watches the ''/ | ||
+ | |||
+ | You need '' | ||
+ | |||
+ | #> apt-get install beep | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | |||
+ | tail -f / | ||
+ | awk ' | ||
+ | $0 ~ /\[FW\] default/ { | ||
+ | | ||
+ | port = matches[1]; | ||
+ | print port; | ||
+ | if (port < 1024) { | ||
+ | | ||
+ | | ||
+ | | ||
+ | } | ||
+ | } | ||
+ | ' | ||
+ | </ | ||