[NETFILTER]: nf_conntrack: /proc compatibility with old connection tracking
This patch adds /proc/net/ip_conntrack, /proc/net/ip_conntrack_expect and
/proc/net/stat/ip_conntrack files to keep old programs using them working.
The /proc/net/ip_conntrack and /proc/net/ip_conntrack_expect files show only
IPv4 entries, the /proc/net/stat/ip_conntrack shows global statistics.
Signed-off-by:
Patrick McHardy <kaber@trash.net>
Showing
- include/net/netfilter/ipv4/nf_conntrack_ipv4.h 3 additions, 0 deletionsinclude/net/netfilter/ipv4/nf_conntrack_ipv4.h
- net/ipv4/netfilter/Makefile 5 additions, 0 deletionsnet/ipv4/netfilter/Makefile
- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c 12 additions, 1 deletionnet/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
- net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c 412 additions, 0 deletionsnet/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
- net/netfilter/nf_conntrack_l3proto_generic.c 1 addition, 0 deletionsnet/netfilter/nf_conntrack_l3proto_generic.c
- net/netfilter/nf_conntrack_standalone.c 1 addition, 0 deletionsnet/netfilter/nf_conntrack_standalone.c
Please register or sign in to comment