Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Felix Tilley
July 30, 2006, 11:27 pm
rate this thread
This may be of interest to you:
#@(#) iplogs for root 30 JUL 2006
# Must be run as root
# There is an obscure bug somewhere. This not ready for general use.
# This was writen for SUSE 10.1 with kernel 2.6.16
# You will have to modify it.
# The iptables logs are in /var/log/firewall
grep "linux kernel" /var/log/firewall|grep PROTO|while read a1 a2 a3 a4 a5 \
a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19 a20
if test $a16 = "PROTO=UDP"
then echo $a1 $a2 $a3 "-0700" $a9 $a10 $a16 $a17 $a18
else echo $a1 $a2 $a3 "-0700" $a9 $a10 $a17 $a18 $a19
This may also be of interest:
#@(#) Print todays IPTables logs. Must be run as root.
#@(#) 26 MAY 2006
date | while read a1 month date a4 a5
iplogs |grep "$month $date"
Colonel Fanatic Legions
- » want to create and install private key certificate using openssl
- — Next thread in » Linux Security
- » Cloud Ace Technologies is offering Implementation Services on Cloud Computing, Cloud Serv...
- — Newest thread in » Linux Security