Skip to contentSkip to conversation

about iptables log messages

DISCUSSION SB CH 3 participants 3 messages Sep 10, 2002

lore
Share & tools
lore

SB CH

author
#0 lore raw

Hello all.
I would like to save iptables log messages into mysql database and see the result via php or cgi web site. Do you have any solutions or related site?

Please let me know.

Thanks in advance.

_________________________________________________________________
고 / 감 / 도 / 사 / 랑 / 만 / 들 / 기 MSN 러브 http://www.msn.co.kr/love/

#1 lore raw
Quoted 4 lines · SB CH

Hello all.
I would like to save iptables log messages into mysql database and see the result via php or cgi web site.
Do you have any solutions or related site?

I beleive this would work fine by (a) using -j ULOG and (b) creating a small perl/php/python/whatever script to log this into some dbms (preferably postgreSQL as mysql sucks big time :-)

roy

Signature · 6 lines
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.
#2 lore raw
In reply to SB CH

check www.snort.org
i'm told that the latest version(s) are able to output into mysql.

you also could try
ACID at www.cert.org/kb/acid
or
SnortSnarf at www.silicondefense.com/snortsnarf

regards,
pieter frans

Quoted 15 lines · SB CH

Hello all.
I would like to save iptables log messages into mysql database and see the result via php or cgi web site.
Do you have any solutions or related site?

Please let me know.

Thanks in advance.

_________________________________________________________________
고 / 감 / 도 / 사 / 랑 / 만 / 들 / 기 MSN 러브 http://www.msn.co.kr/love/