|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| build-aux/ | | 23-Nov-2023 | - | 15,038 | 11,665 |
| examples/ | | 23-Nov-2023 | - | 1,751 | 1,442 |
| include/ | | 23-Nov-2023 | - | 4,339 | 3,110 |
| m4/ | | 23-Nov-2023 | - | 8,630 | 7,772 |
| qa/ | | 23-Nov-2023 | - | 1,702 | 1,403 |
| src/ | | 23-Nov-2023 | - | 13,988 | 10,391 |
| utils/ | | 23-Nov-2023 | - | 2,398 | 1,868 |
| Android.bp | D | 23-Nov-2023 | 2.6 KiB | 88 | 84 |
| COPYING | D | 23-Nov-2023 | 17.6 KiB | 340 | 281 |
| METADATA | D | 23-Nov-2023 | 43 | 4 | 3 |
| MODULE_LICENSE_GPL | D | 23-Nov-2023 | 0 | | |
| Make_global.am | D | 23-Nov-2023 | 358 | 9 | 7 |
| Makefile.am | D | 23-Nov-2023 | 268 | 13 | 7 |
| Makefile.in | D | 23-Nov-2023 | 28.3 KiB | 886 | 784 |
| NOTICE | D | 23-Nov-2023 | 17.6 KiB | 340 | 281 |
| OWNERS | D | 23-Nov-2023 | 46 | 2 | 1 |
| README | D | 23-Nov-2023 | 2.8 KiB | 73 | 51 |
| aclocal.m4 | D | 23-Nov-2023 | 50.6 KiB | 1,430 | 1,294 |
| compile | D | 23-Nov-2023 | 3.7 KiB | 144 | 79 |
| config.guess | D | 23-Nov-2023 | 43.9 KiB | 1,503 | 1,292 |
| config.h.in | D | 23-Nov-2023 | 1.9 KiB | 75 | 50 |
| config.sub | D | 23-Nov-2023 | 33.8 KiB | 1,715 | 1,566 |
| configure | D | 23-Nov-2023 | 446.6 KiB | 15,283 | 12,801 |
| configure.ac | D | 23-Nov-2023 | 1.9 KiB | 73 | 64 |
| depcomp | D | 23-Nov-2023 | 18.2 KiB | 631 | 407 |
| doxygen.cfg.in | D | 23-Nov-2023 | 5.2 KiB | 185 | 184 |
| install-sh | D | 23-Nov-2023 | 13.3 KiB | 521 | 344 |
| libnetfilter_conntrack.pc.in | D | 23-Nov-2023 | 422 | 17 | 14 |
| ltmain.sh | D | 23-Nov-2023 | 237.7 KiB | 8,414 | 6,482 |
| missing | D | 23-Nov-2023 | 11.2 KiB | 377 | 281 |
README
1libnetfilter_conntrack - userspace library for the connection tracking system
2(C) 2005-2011 Pablo Neira Ayuso <pablo@netfilter.org>
3=============================================================================
4
5= Connection Tracking System =
6
7The connection tracking system is a in-kernel subsystem that stores information
8about the state of a connection in a memory structure that contains the source
9and destination IP addresses, port number pairs, protocol types, state, and
10timeout. With this extra information, we can define more intelligent filtering
11policies.
12
13Moreover, there are some application protocols, such as FTP, TFTP, IRC, PPTP
14that have aspects that are hard to track for a firewall that follows the
15traditional static filtering approach. The connection tracking system defines
16a mechanism to track such aspects.
17
18The connection tracking system does not alter the packets themselves; the
19default behavior always lets the packets continue their travel through the
20network stack, although there are a couple of very specific exceptions where
21packets can be dropped (e.g., under memory exhaustion). So keep in mind that
22the connection tracking system just tracks packets; it does not filter.
23
24For further information on the connection tracking system, please see the
25reference section at the bottom of this document.
26
27= What is libnetfilter_conntrack? =
28
29libnetfilter_conntrack is an userspace library that provides an interface to
30the in-kernel connection tracking system.
31
32= License =
33
34libnetfilter_conntrack is released under GPLv2 or any later at your option.
35
36= Prerequirements for libnetfilter_conntrack =
37
38Linux kernel version >= 2.6.18 (http://www.kernel.org) and enable support for:
39
40 * connection tracking system (quite obvious ;)
41 * nfnetlink
42 * ctnetlink (ip_conntrack_netlink)
43 * connection tracking event notification API
44
45= Documentation =
46
47You can generate the doxygen-based documentation by invoking:
48 $ doxygen doxygen.cfg
49
50= Examples =
51
52You can find a set of handy examples on the use of libnetfilter_conntrack
53under the directory utils/ distributed with this library. You can compile them
54by invoking:
55 $ make check
56
57= Heads Up =
58
59libnetfilter_conntrack used to provided two different APIs: The old one had
60several limitations, for that reason, it was deprecated time ago. The existing
61library only provides the new API that solves former deficiencies. Thus, make
62sure you use recent versions of libnetfilter_conntrack and, in case that
63you are using the old API, consider porting your application to the new one.
64
65Since libnetfilter_conntrack >= 0.9.1, you can use the same handler obtained
66via nfct_open() to register conntrack and expectation callbacks (before this
67version, this was not possible).
68
69= References =
70
71[1] Pablo Neira Ayuso. Netfilter's Connection Tracking System:
72 http://people.netfilter.org/pablo/docs/login.pdf
73