pling
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pling [2006/11/08 02:18] – old revision restored 84.142.251.254 | 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) { | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | } | ||
| + | ' | ||
| + | </ | ||
