Language: English Programming Language: C Published by: mmanchip [not registered] Last Update: 5/15/2006 Views: 172
This code was written to give netfilter libiptc users a fast idea on how to start interfacing with libiptc. Libiptc provides a userspace API to using iptables under linux 2.4 The code adds an ACCEPT rule to the FORWARD chain of the filter table: ensure the table is loaded by doing iptables -L before running the code.Compile using: gcc -o listchain listchain.c -liptc I ammichaelm@s3group.comMail me and let me know if this was useful! The code time was sponsored by: http://www.s3group.com
Name *
Email (won't be displayed) *
Website
Comment *
Security Code *