Querying libiptc HOWTO
Leonardo Balliache
<
leonardo@opalsoft.net
>
Version 0.1 - April 30, 2002
Revision History
Revision 0.1
2002-04-30
Revised by: lb
Initial release.
Table of Contents
1.
Legal Notice
2.
Translations
3.
Disclaimer
4.
Credits
5.
Objectives
6.
What is libiptc?
7.
How did I obtain this knowledge?
8.
Previous knowledge and system requirements
9.
Installing iptables + libiptc
10.
How to create your program(s)
11.
Functions to query libiptc
11.1.
iptc_init
11.2.
iptc_strerror
11.3.
iptc_first_chain
11.4.
iptc_next_chain
11.5.
iptc_is_chain
11.6.
iptc_builtin
11.7.
iptc_first_rule
11.8.
iptc_next_rule
11.9.
iptc_get_target
11.10.
iptc_get_policy
11.11.
iptc_read_counter
12.
Functions to modify firewalling rules and statistics
12.1.
iptc_commit
12.2.
iptc_insert_entry
12.3.
iptc_replace_entry
12.4.
iptc_append_entry
12.5.
iptc_delete_num_entry
12.6.
iptc_flush_entries
12.7.
iptc_zero_entries
12.8.
iptc_create_chain
12.9.
iptc_delete_chain
12.10.
iptc_rename_chain
12.11.
iptc_set_policy
12.12.
iptc_zero_counter
12.13.
iptc_set_counter
13.
Bandwidth meter
14.
Controlling flows
15.
Some interesting links
16.
About the author
Next
Legal Notice