<div dir="ltr">On Thu, Jan 19, 2012 at 11:37, Reinier Olislagers <span dir="ltr"><<a href="mailto:reinierolislagers@gmail.com">reinierolislagers@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list,<br>
<br>
I noticed ik has started a project to manipulate Linux iptables firewall<br>
rules... which got me thinking.<br>
<br>
Is there any FreePascal/Delphi code lying around to parse IPtables log<br>
output (e.g. in the /var/log/messages syslog file), e.g. into CSV format?<br></blockquote><div><br>Not to my knowledge, but there are ways to get the content inside your program in <br>realtime and do what you wish from it: <a href="http://netfilter.org/projects/libnetfilter_log/index.html">http://netfilter.org/projects/libnetfilter_log/index.html</a><br>
<br>If you willing in binding it, and add it to my project/<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
If not, I'll probably write my own... sometime... as I'm interested in<br>
importing the stuff into a database using my favourite tool.<br>
<br>
Yes, I like reinventing the wheel but:<br>
1. I could use existing suff, e.g. the dshieldpy python project,<br>
dshield.py, parse function...<br>
2. Reinventing wheels can be fun and a learning experience...<br>
<br>
Thanks,<br>
Reinier<br></blockquote><div><br>Ido <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br></div>