Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/vyos-legacy/libnetfilter-conntrack
This package contains the libnetfilter-conntrack3 library
https://github.com/vyos-legacy/libnetfilter-conntrack
66901d69c9b397446e3645ddb222cc6ea1ba3820 authored over 9 years ago
libnetfilter_conntrack 1.0.5 release
62a0a6895884f99e51984888d4376d9bea38edab authored over 9 years ago9f0641f2476862876edce2504fd236bbd3284735 authored over 9 years ago
libnetfilter_conntrack 1.0.4 release
5a1f2841c753634b60b8f97f0c2957d5dbcf6ac8 authored over 9 years ago8a8582df081956491b1ff1efc1db58b558dad0d7 authored over 9 years ago
libnetfilter_conntrack 1.0.3 release
38cafdcde282b7c6e970e24158d86d7b009d6f5a authored over 9 years agoa07bdf8ac944a080574b1937b30c8f5cd3f363c4 authored over 9 years ago
libnetfilter_conntrack 1.0.2 release
a15105c328a9480b90ab3a2f3ab69e91a27a9752 authored over 9 years ago4b23e430e030c4aec54d4f77eec2a8c770a409fb authored over 9 years ago
The ct_echo_event and ct_mark_filter tests break `make distcheck'. Get them
out of the way until...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
3dd6502e788012ba37d43e0568eb631454026c61 authored over 9 years ago
Signed-off-by: Ken-ichirou MATSUZAWA <[email protected]>
Signed-off-by: Florian Westphal <fw@...
dcb3ef08acae12a4592f571b8d2b158489073f6a authored over 9 years ago
Add VyOS based dh_gencontrol settings to debian/rules to enable
development builds (999.dev).
Signed-off-by: Felix Janda <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...
Signed-off-by: Felix Janda <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...
testing mark filter in root by
# ./qa/ct_mark_filter.sh
Signed-off-by: Ken-ichirou MATSUZA...
4ef7e4e64b6a5f15f949c678ec096465da202573 authored almost 10 years ago
This patch adds mark filter for event listener, using same struct
nfct_filter_dump_mark at dump....
This breaks static builds where the toolchain completely lacks libdl.
Signed-off-by: Gustavo Za...
8cab40790d9b7fefc6ca2bb100384b8d0cedfdc2 authored about 10 years agoa44195ef24a847097c86bf8582f6c6bc1f54bd32 authored about 10 years ago
8a3c53260cb8c6d697c97c80716cfbbb530450aa authored about 10 years ago
a8e8e7d9f2d8d87cc8c9b59cf963d28b9441dbd2 authored about 10 years ago
33a67a4211a3959a67ff7b06605161b09600c0e3 authored about 10 years ago
nssocket forks and change netns pre-establishd by ip(8), serves its
socket descriptor to parent ...
Signed-off-by: Ken-ichirou MATSUZAWA <[email protected]>
Signed-off-by: Florian Westphal <fw@...
for nfct_bitmask_clear() and nfct_bitmask_equal()
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@...
7b210390cd92ae27c6afd0865b40bf436d65ec52 authored over 10 years ago
This patch adds two functions, useful for ulogd IPFIX
output module.
Signed-off-by: Ken-ichirou...
305fed6fe9ab291938a4c97e144ac8db71c3a11e authored over 10 years ago
Relax checking for MARK and ZONE to treat 'attribute not
set' like 'attribute is set to 0'.
Thi...
8904d33ba2b54f7015051dcd1d1b184c76281e46 authored over 10 years ago
Test all combinations of flags/attribute states for both
ZONE and MARK.
Signed-off-by: Ken-ichi...
8b9c27e9599bd17dfba28742d4345e672ff56792 authored over 10 years agonfct_filter_dump_set_attr() will set the bit.
Signed-off-by: Ken-ichirou MATSUZAWA <[email protected]...
37e388cc4606d06fef4d6e268bd723d5b064182e authored over 10 years agoAs reported by Ken-ichirou MATSUZAWA:
"conntrack -L --zone 0" doesn't list any output.
nfct_cm...
169b1a3f37a70018aa402d90ba564ad01cb3a4cd authored over 10 years agounsigned, < 0 is always false.
Signed-off-by: Florian Westphal <[email protected]>
877de12b85f3eb46096022c4933c7647bb89f17a authored almost 11 years ago2f679f28853694f67ec1403d4cfeda3541972733 authored almost 11 years ago
Stefan reported that the *_catch() functions documentation was imprecise
on some aspects.
Repor...
4da09e3a9d2cd10faff27df158192d2a7917b6ed authored about 11 years ago
Substract the netlink + nfnetlink headers to pass the payload length
to nfct_payload_parse().
S...
c14fe691c549c6dfa8c79b032abbdd6d7e563b06 authored about 11 years agode6e4ab7cc6f93279272ccca8eb0a6c6744c7ea3 authored about 11 years ago
c3d417b34531c0d1c4999f6faea64cff735dbb0e authored about 11 years ago
12196f537bea57df367cffc03c741b39cad8e068 authored about 11 years ago
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pabl...
also bump LIBVERSION, we've added new interfaces and retained
backwards compatibility.
Signed-o...
5ad6ecff6edffd925022372323e42264f61e850d authored over 11 years ago
nfct_labelmap_new returns NULL on failure, e.g. when file cannot be
opened. It will also fail i...
Only dump the contents of the system-wide connlabel.conf if present
instead of expecting same co...
nfct_snprintf doesn't print connlabels, as they're system specific
and can easily generate lots ...
Must free ct and exp using the _destroy functions, else we leak attributes with malloc'd data.
...
1e4d02009d4517af4ee8ba0fe6d620a61978ac51 authored over 11 years ago
Can always lift this restriction later but for now enforce
strict label naming.
This is mainly ...
4795f4c737e59587d05d6eced2c86d3fc50ad42d authored over 11 years agoCan't be zero, it was already tested.
Signed-off-by: Florian Westphal <[email protected]>
ffa0f21f902921e405b929911b6a79a0e6f7c8dc authored over 11 years ago
This fixes construction of the conntrack object when CTA_LABEL
attribute is present.
Signed-off...
aaae8eba22f8bef2155b69b171f9654815f6c697 authored over 11 years agoSigned-off-by: Florian Westphal <[email protected]>
f850813a7d9a43f62d7b4089283ddf3b77a80678 authored over 11 years ago
For each attribute:
- copy ct2 attrs to ct1 (so they're the same)
- change value of attr
- ca...
Signed-off-by: Florian Westphal <[email protected]>
fe726f27679e55b46bd7c601a81f71b81cf6d742 authored over 11 years agoThe expect cmp function ignored most of the attributes.
Signed-off-by: Florian Westphal <fw@str...
a3e1073c74ebcef3446b53ca9d8464dcc86d085c authored over 11 years ago
Normal comparision succeeds when the _common_ attribute subset
have same values.
When STRICT ma...
044fcf5f4c1e94e0c57876b2a98fc4a7975498d0 authored over 11 years ago
Some of these checks will fail due to errors in nfct_cmp STRICT handling
and missing comparision...
The libnfnetlink based backend 'build.c' currently ignores
ATTR_CONNLABELS and ATTR_CONNLABELS_M...
allows to set/clear only a subset of the in-kernel label set, e.g.
"set bit 1 and do not change ...
Signed-off-by: Florian Westphal <[email protected]>
d5e1f43e14bff7072e5a7a232bb2b04fcd710d52 authored over 11 years ago
adds new labelmap api to create a name <-> bit mapping
from a text file (default: /etc/xtables/c...
In order to use generic getter/setter API with upcoming
conntrack label extension, add helper fu...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
706064d8b9423df0d22e9ebba092ec2fb14b38aa authored almost 12 years agoFor consistency with other tests.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
c06e6d0dd43d3868afeacd39c72573bacdde6afb authored almost 12 years agoUse buf[32] as struct nfct_attr_grp_ipv6 is 32 bytes long. That fixes:
== validate set grp API ...
8d644deb1d3f1302c879ead7845ef0be674c99ec authored almost 12 years ago10e84b5551e3606612b24f2ea54024d5687bc5bd authored about 12 years ago
cppcheck reported:
[src/conntrack/compare.c:364] -> [src/conntrack/compare.c:364]: (style) Same ...
1b680a3fdf747eb486dea8c59128a42e42f2604d authored about 12 years ago
From f5317d351f95cbd320b9324c6ed117da1551ee29 Mon Sep 17 00:00:00 2001
From: Pablo Neira Ayuso <...
To include: IPCTNL_MSG_CT_GET_DYING and IPCTNL_MSG_CT_GET_UNCONFIRMED
Signed-off-by: Pablo Neir...
8bd5eda94073bf3be496b9595ba5053f710358a0 authored about 12 years ago
some attributes are pointers to malloc'd objects. Simply copying the
pointer results in use-aft...
The attribute is variable-length and must be thus be set via set_attr_l().
Signed-off-by: Flori...
4984b297a3fa6f79ab9162617b9c90aca76d6f70 authored about 12 years ago43565e81c5feb8829c6f7f2fb77dba6bf600aa5e authored over 12 years ago
f15e0e524748ea493495577bca42aecdb3dcc9d6 authored over 12 years ago
a9c0885990c9bfe55b33e5c711b8086179d9cf01 authored over 12 years ago
4a032df1110144ec104e93d9a06b1cb50c25dd9f authored over 12 years ago
am/ltlibrary.am: warning: 'libnetfilter_conntrack.la': linking
libtool libraries using a non-POS...
bump current and age since we have new interfaces but we're backward
compatible.
Signed-off-by:...
4cea72f6badb1bfbef7d804edebec053d6769393 authored over 12 years agoSigned-off-by: Pablo Neira Ayuso <[email protected]>
acc67045c4af89eafca08f0815141260ba46396a authored over 12 years agoec7ff70e6faf3e1a58412c64d1bef821e4f90033 authored over 12 years ago
(cherry picked from commit 5bf4046a4e563c4dcaa53258468592216f6fbc89)
31af10ece59ac0e58df72848364da6934d19861c authored over 12 years agoSigned-off-by: Pablo Neira Ayuso <[email protected]>
20f919a8e90ccd232b97e7d150c11104491053ae authored over 12 years agoIt was missing, add it.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
b9de24d57e246e90e265abda9426ec2f7c833ce0 authored over 12 years ago
build_mnl.c: In function 'nfexp_nlmsg_build':
build_mnl.c:18:11: warning: variable 'l3num' set b...
4b6df76 conntrack: fix autogenerated BPF code for IPv6 filtering aimed
to fix a bug the IPv6 BPF...
BPF code generated for IPv6 filtering was wrong.
Assuming you want to allow all traffic except ...
4b6df760e3b19ec522b66cbbb5b280fec7c0405b authored over 12 years ago
This patch adds more verbose output for the automatic BPF filter
generation to sieve netlink mes...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
8e6620f24bbb13e8910eb8e46e3ecb04339b28cd authored over 12 years ago
This adds the ATTR_HELPER_INFO that can be used to send binary data
that will be attached to the...
Because the obtained flags are essentially that (preprocessor
options).
Signed-off-by: Jan Enge...
c69752e3dbf757aac336f4287eca11afef62a85c authored over 12 years agob6bea4df547135c20cbd5a982c14c3b5bea00d64 authored over 12 years ago
724d9ac72a61724326c07c86caf4568972d30543 authored over 12 years ago
Conflicts:
src/conntrack/api.c
src/conntrack/build_mnl.c
src/conntrack/parse_mnl.c
src/expec...
This adds the ATTR_HELPER_INFO that can be used to send binary data
that will be attached to the...
This patch adds the following examples:
nfexp-mnl-dump
nfexp-mnl-event
Basically, we re-use th...
7ea731b0e8582ff67ef2703e05c4a45220da538c authored over 12 years agoThis patch adds the following examples:
nfct-mnl-create
nfct-mnl-del
nfct-mnl-dump
nfct-mnl-eve...
This patch adds support to build and to parse netlink messages
from/to one user-space nf_conntra...
This patch adds support to build and to parse netlink messages
from/to one user-space nf_conntra...
37bd8ae0914db449bc29c5dbb4e87bb43a8ab425 authored over 12 years ago
f3ad501b613cfbefe9bc9f2ccd1a9fc10b1966a9 authored over 12 years ago
3bd7fa1e81b82b1148b979ed0aedf99a72c1d6c9 authored over 12 years ago
Signed-off-by: Florian Westphal <[email protected]>
a84175b8c3b167bf0e18a9ce1f6bb48a62c64127 authored over 12 years agoSigned-off-by: Jan Engelhardt <[email protected]>
53a9e0e0e794352c99a078202a757b25de8bdf7b authored over 12 years ago
CFLAGS must not be overriden if not set (it belongs to the user).
Since -DLIBNETFILTER_CONNTRACK...