[fpc-pascal] IPTables log parser?

ik idokan at gmail.com
Thu Jan 19 10:51:34 CET 2012


On Thu, Jan 19, 2012 at 11:37, Reinier Olislagers <
reinierolislagers at gmail.com> wrote:

> Hi list,
>
> I noticed ik has started a project to manipulate Linux iptables firewall
> rules... which got me thinking.
>
> Is there any FreePascal/Delphi code lying around to parse IPtables log
> output (e.g. in the /var/log/messages syslog file), e.g. into CSV format?
>

Not to my knowledge, but there are ways to get the content inside your
program in
realtime and do what you wish from it:
http://netfilter.org/projects/libnetfilter_log/index.html

If you willing in binding it, and add it to my project/


>
> If not, I'll probably write my own... sometime... as I'm interested in
> importing the stuff into a database using my favourite tool.
>
> Yes, I like reinventing the wheel but:
> 1. I could use existing suff, e.g. the dshieldpy python project,
> dshield.py, parse function...
> 2. Reinventing wheels can be fun and a learning experience...
>
> Thanks,
> Reinier
>

Ido

> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120119/82521c45/attachment.html>


More information about the fpc-pascal mailing list