Ok. Then I should parse the output...
Thanks.
Bill Marcum escribió:
> On Thu, 01 Dec 2005 10:21:46 +0100, Alvaro
> <(E-Mail Removed)> wrote:
>
>>Hi,
>>
>>I would like to have access to the NAT tables from the application I am
>>developing. Do you know of some library I may use to do so? It would be
>>just like dreaming if it was in Java (hahaha)...
>>
>>I think a workaround would be to use the "ipchains" commands and parse
>>their output...but that would be ugly.
>>
>
> Use the iptables commands unless you have a very old kernel; or you
> could study the source code of iptables.
>