Linux Netfilter discussions
 help / color / mirror / Atom feed
* How to create rule from log file information ?
@ 2010-01-25 17:32 J. Bakshi
  2010-01-25 18:48 ` Alessandro Vesely
  0 siblings, 1 reply; 4+ messages in thread
From: J. Bakshi @ 2010-01-25 17:32 UTC (permalink / raw)
  To: netfilter

Hello,

I have collected the iptables log against nmap scan. Like

[1] nmap -P0 <my-server_ip>
 
IN=eth0 OUT= MAC=00:0b:6a:de:7b:3b:00:00:cd:27:e5:d9:08:00 SRC=62.194.241.199 DST=10.10.29.34 LEN=48 TOS=0x00 PREC=0x00 TTL=110 ID=316 DF PROTO=TCP SPT=55779 DPT=8630 WINDOW=8192 RES=0x00 SYN URGP=0
 
[2] nmap -sN
 
IN=eth0 OUT= MAC=00:0b:6a:de:7b:3b:00:00:cd:27:e5:d9:08:00 SRC=62.194.241.199 DST=10.10.29.34 LEN=48 TOS=0x00 PREC=0x00 TTL=110 ID=13931 DF PROTO=TCP SPT=56132 DPT=8630 WINDOW=8192 RES=0x00 SYN URGP=0
 
[3] nmap -sX
 
IN=eth0 OUT= MAC=00:0b:6a:de:7b:3b:00:00:cd:27:e5:d9:08:00
 SRC=62.194.241.199 DST=10.10.29.34 LEN=48 TOS=0x00 PREC=0x00 TTL=110
 ID=26846 DF PROTO=TCP SPT=56468 DPT=8630 WINDOW=8192 RES=0x00 SYN
 URGP=0

Can I make rule-set to prevent the above scan from the info collected at the log ?
Kindly enlighten me. Then I can make more rule sets from the log.

Thanks


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-27  3:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-25 17:32 How to create rule from log file information ? J. Bakshi
2010-01-25 18:48 ` Alessandro Vesely
2010-01-25 21:45   ` Mart Frauenlob
2010-01-27  3:04     ` J. Bakshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox