Skip to contentSkip to conversation

log interpreter , for report ...

DISCUSSION Rakotomandimby Mihamina 3 participants 3 messages Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

Hi again ,

1°) This is a line of iptables log
IN=ppp0 OUT= MAC= SRC=80.14.205.152 DST=80.15.220.67 LEN=48 TOS=0x00 PREC=0x00 TTL=121 ID=64444 DF PROTO=TCP SPT=4717 DPT=135 WINDOW=16384 RES=0x00 SYN URGP=0

How to see what port have been attempted ?

2°) Is fwlogwatch a tool that will help me to make the logs more readable , or a tool that will tell me that something is attempting to @#$£ my network ?

What i'm looking for is something like this :
http://www.gege.org/iptables/
but i dont want to install SQL nor Apache /PHP .

Does it exist ?
I just want a kind of report of what has been DROPped but in a readable format ...

Anyway , the logging format can be read , but it needs training , and i have no training .

Signature · 3 lines
Rakotomandimby Mihamina Andrianifaharana
Tel : +33 2 38 76 43 65
http://stko.dyndns.info/site_principal/Members/mihamina
#1 lore raw
Quoted 9 lines

Hi again ,

1°) This is a line of iptables log
IN=ppp0 OUT= MAC= SRC=80.14.205.152 DST=80.15.220.67 LEN=48 TOS=0x00 PREC=0x00 TTL=121 ID=64444 DF PROTO=TCP SPT=4717 DPT=135 WINDOW=16384 RES=0x00 SYN URGP=0

How to see what port have been attempted ?

SRC=80.14.205.152 (source IP address)

inetnum:      80.14.205.0 - 80.14.205.255
netname:      IP2000-ADSL-BAS
descr:        BSSTR206 Strasbourg Bloc2
country:      FR
admin-c:      WITR1-RIPE
tech-c:       WITR1-RIPE
status:       ASSIGNED PA
remarks:      for hacking, spamming or security problems send mail to
remarks:      [email protected] AND [email protected]
mnt-by:       FT-BRX
changed:      [email protected] 20020423
changed:      [email protected] 20030318
source:       RIPE

DST=80.15.220.67 (destination IP address)

inetnum:      80.15.220.0 - 80.15.220.127
netname:      IP2000-ADSL-BAS
descr:        BSORL204 Orleans Bloc2
country:      FR
admin-c:      WITR1-RIPE
tech-c:       WITR1-RIPE
status:       ASSIGNED PA
remarks:      for hacking, spamming or security problems send mail to
remarks:      [email protected] AND [email protected]
mnt-by:       FT-BRX
changed:      [email protected] 20020709
changed:      [email protected] 20030318
changed:      [email protected] 20031007
source:       RIPE

PROTO=TCP (protocol)
SPT=4717 (source port)
DPT=135 (destination port)

as seen in /etc/services:

pmap 135/tcp # DCE endpoint resolution

cheers,

+------------------------------------------------+
! Jordi Bruguera i Cortada         [email protected]  !
! Cap Tècnic                                     !

! GRN Serveis Telemàtics, SL Tel. +34 972 230000 !
+------------------------------------------------+

#2 lore raw
In reply to Rakotomandimby Mihamina
Quoted 8 lines · Rakotomandimby Mihamina

Hi again ,

1°) This is a line of iptables log
IN=ppp0 OUT= MAC= SRC=80.14.205.152 DST=80.15.220.67 LEN=48 TOS=0x00 PREC=0x00 TTL=121 ID=64444 DF PROTO=TCP SPT=4717 DPT=135 WINDOW=16384 RES=0x00 SYN URGP=0

How to see what port have been attempted ?

PROTO=TCP DPT=135

This means TCP, destination port 135.

Quoted 7 lines

2°) Is fwlogwatch a tool that will help me to make the logs more readable , or a tool that will tell me that something is attempting to @#$£ my network ?

What i'm looking for is something like this :
http://www.gege.org/iptables/
but i dont want to install SQL nor Apache /PHP .

Export your log files to another machine and run SQL / Apache / PHP on that.

Quoted 5 lines

I just want a kind of report of what has been DROPped but in a readable format ...

Anyway , the logging format can be read , but it needs training , and i have no training .

If you are managing a firewall you will soon learn how to read the logs.

If you want some sort of log analysis tool without installing extra software on your firewall then export the logs to a machine which you can do the analysis on.

Regards,

Antony.

Signature · 6 lines
If you want to be happy for an hour, get drunk.
If you want to be happy for a year, get married.
If you want to be happy for a lifetime, get a garden.

                                                     Please reply to the list;
                                                           please don't CC me.