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
The compiler is probably smart enough to see that the type cannot
change, but make an "else" out...
"-ldl" is not needed since the programs themselves never use functions
from libdl. Also, -dynami...
7496b87e825a977f6edc899b06ed9c79c2c2fdc4 authored over 12 years ago
Also bump LIBVERSION.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
6fdd30fe6de1311022ae9e17304dd72f4958bbb8 authored over 12 years ago
This will work as it does in conntrack; it won't pass NLM_F_ACK into
ctnetlink_new_expect in the...
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...
d07becf4c09d122ebe0693f53cffc21d9e61d74a authored almost 13 years ago
This patch adds support to build and to parse netlink messages
from/to one user-space nf_conntra...
This 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...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
162b883a6a36aa926f34186d5a2ac8b7930e8d3b authored almost 13 years ago
The previous patch was incomplete. This fixes several issues with
it like the IPV4 and IPV6 addr...
This allows you to set and to get the address for both IPv4 and IPV6
using the same interface. T...
For ICMP flows:
conntrack -U -s 192.168.1.114 -m 1
returned -EINVAL. It seems we were includi...
3a39278a56d12ad13a41973cd0b50238206f11ef authored almost 13 years ago
This patch improves several aspects of the QA tools to stress
the conntrack system via ctnetlink...
ct_stress adds plenty of flows in assured state (worst case
for the conntrack table).
ct_events...
94e75add9867fb6f0e05e73b23f723f139da829e authored almost 13 years ago4303831394a960f8575de4730ea26ad11d5704b3 authored almost 13 years ago
a31fcd669ea9c7533796ad2dc0a801396eed8e37 authored almost 13 years ago
This patch adds the infrastructure to allow filtered dumping.
See utils/conntrack_dump_filter.c...
62ed08f2d25ef0f332fe65fd40a97ff4dc4eda93 authored almost 13 years ago9a13c08ad691841e002863ea0b17e3d3251fcbbe authored almost 13 years ago
0b50f2c34fc1a964456218269b44db8e18c34ccb authored almost 13 years ago
f75d5012aefce85bb0ffafddcc9f3bc9220d9fdf authored almost 13 years ago
Before:
proto=17 src=192.168.11.4 dst=192.168.10.4 sport=0 dport=5060 mask-src=255.255.255.255 ...
d383b7281ac6beecc8775c8d220a9fb611f99f94 authored almost 13 years agoSigned-off-by: Pablo Neira Ayuso <[email protected]>
7ebfb5d36c0f4d64ad5260fc5f21333855c0c187 authored almost 13 years ago
Make sure this attribute is a NULL-terminated string, otherwise
we hit EINVAL if we set this att...
This patch allows you to set expectfn.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
678ec919ffe3072468cb56de6eabf8cb8f7e9bdb authored almost 13 years agoThis patch adds ATTR_EXP_NAT_TUPLE and ATTR_EXP_NAT_DIR attributes.
Signed-off-by: Pablo Neira ...
c9983354fa65c835643f85567f57cc8e9992cd29 authored almost 13 years agoThis patch allows you to specify the expectation class.
Signed-off-by: Pablo Neira Ayuso <pablo...
815805101cbc0e513cf909a77b5dfcd8d39684fd authored almost 13 years agod263905775a85fda656a89b96ad8a76132d512fb authored about 13 years ago
7ac4330230b5194f940dcde7de9584326489f97f authored about 13 years ago
c149ef9646a999281c0398c676597d04c431e8f7 authored about 13 years ago
Example of the XML output:
<flow type="new">
<layer3 protonum="2" protoname="IPv4">
...
849c7c76fdc24a40f80579e81a153340a9876e01 authored about 13 years ago
7428f11f54114f028cd8a8be4150b4f0826237ab authored about 13 years ago
bb362acf31e017aff8f38992d2378274b02991f3 authored about 13 years ago
66c9d0a5bc3adc66caaa5e0567bb96d1cd7a782e authored about 13 years ago
47aa6df7098967b101c4e1e655dc26781ce61723 authored about 13 years ago
24d68bd2ba5813cf79628952563b9e2d35b1e6b3 authored about 13 years ago
bf2081e5fba3e8224b9dbe66b054345c43cce2de authored about 13 years ago
be7071e0c804a4af7efc606bb04241ffd116e9dd authored about 13 years ago
d33afb357961f3c75e198bc89540c9723099e3d3 authored about 13 years ago
3ec2d8e27cb1cda5447bc6caa380370e3ce0f6c0 authored about 13 years ago
ce1b703279e43bcb6221b042ec348ebba360c342 authored about 13 years ago
b1e9f92272336329a3622a4f551a1a8685f4e797 authored about 13 years ago
6168bf8d3ea66f894e32c1e864fe5fa634f3c5dc authored about 13 years ago
341e7913271aa201f0bb6517efab82a135f119e5 authored about 13 years ago
This patch bumps version to 1.0.0 and it bumps the API revision number.
Signed-off-by: Pablo Ne...
14b50313556eb7ad86de21438ae5837624db381f authored about 13 years ago
This patch adds nfexp_cmp that allows you to compare two expectation
objects.
This includes the...
8e63e483240687ee4c4325073d84926e39416bc9 authored about 13 years agoSigned-off-by: Pablo Neira Ayuso <[email protected]>
849342adcb7099d23b39192a4369908bb0259eee authored about 13 years agoThey seem to be accidentally swapped. Fix this.
Spotted by qa/test_api.
Signed-off-by: Pablo N...
993fc230c9a372a503ca707937e16a23960720aa authored about 13 years agoSigned-off-by: Pablo Neira Ayuso <[email protected]>
f3b203c5e4cab5ab50de19e1da0850d16266fd29 authored about 13 years ago
Now, struct nf_expect takes only 192 bytes, instead of 1KB.
struct nf_conntrack takes 296 bytes ...
This patch removes the reference to the licensing terms of the
library in the header files.
Thi...
ac39464a7619955adf9b317c829a0de0379d7c04 authored about 13 years ago
We have to use sizeof(struct nf_ct_tcp_flags) instead of
sizeof(u_int16_t) to avoid problems in ...
This patch is *not* changing the licensing terms of this library (which
was initially released u...
e429d0b35f7e505b814c61786bb2df9eff51ab05 authored about 13 years ago
expect_get now allows you get the expectation that has been
created with expect_create.
Signed-...
0dac0485dd4f4deb0463d5ff8a1f9d239cb164e7 authored about 13 years ago
NFCT_HELPER_NAME_MAX is 16, which is the maximum helper name
allowed since 2.6.29.
Signed-off-b...
da2b8f936185e0224e0c4f78e724c45c7a52b194 authored about 13 years agoNow, the output of nfexp_snprintf looks like this:
299 proto=6 src=192.168.1.130 dst=130.89.148...
7321f327c917d35eea319858d883d7d6430c514c authored about 13 years agoThis patch adds support for CTA_EXPECT_HELP_NAME.
We now have the ATTR_EXP_HELPER_NAME attribut...
6a05d293fed594f89ad05625e43dec6a81da487d authored about 13 years agobef0493dbdf370079c188130a13930f428f76b1a authored about 13 years ago
29de4d2a6e9efd13c42d3a9599c223b2a2e158b6 authored about 13 years ago
Only ignore these paths if they are a directory.
dbea999d16870c6e96a0a556084c10ab54c8b43b authored about 13 years agoIt is like nfct_send() but for expectations, for API symmetry.
Signed-off-by: Pablo Neira Ayuso...
7843632196fd959f3f8f16f3d533c72d315a7e08 authored about 13 years ago
This patch adds mask and master tuple information regarding one
expectation. This information ha...
Otherwise, we don't print it.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
c0ec781ec258779941346187ccc143876be9978b authored over 13 years ago
The master tuple was not parsed. This patch also fixes an incorrect
use of the exp->set field fo...
This closes netfilter bugzilla #754:
http://bugzilla.netfilter.org/show_bug.cgi?id=754
Reported...
a55d1d6cc724944ec877fbbb0e8f711f32d6082a authored over 13 years ago
static analysis (analysis based only on compiling of sources, not based
on running of binary) of...
This patch adds nfct_destroy() to all the examples in the utils folder.
Although this may be obv...
I guess that Jan Engelhardt is going to like this? :-)
Signed-off-by: Pablo Neira Ayuso <pablo@...
d2089340ee2f146617ec9cfbf56c29953f79c428 authored almost 14 years agoThis patch bumps version to 0.9.1 and it bumps the API revision number.
Signed-off-by: Pablo Ne...
063b8b71ae05108a15e3805ebd919b02ab8cda03 authored almost 14 years ago
> CC parse.lo
> parse.c: In function ‘__parse_conntrack’:
> parse.c:434:15: warning: array...
This patch deprecates the low level API. This API is not currently
used by any known clients (at...
These functions are evil since they allow the use of memcpy() instead
of nfct_copy(). This is a ...
Thus, we have a fast version of nfct_copy() which allows to
copy the destination to the origin. ...
This problem was caught by qa/test_api.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
3e6806e7690d0ed79d9aed82dc44d1eaa676d3e8 authored almost 14 years ago
This patch adds the connection tracking extension that allows
conntrack timestamping.
This requ...
2217eb4c53a54eabbc09e043209181c483e2eace authored almost 14 years agoSigned-off-by: Pablo Neira Ayuso <[email protected]>
c2ddcf3225edcc13699131820f90b063161ff2ca authored almost 14 years ago
This patch fixes an embarasing a use-after-free in nfct_destroy()
that was introduced by myself ...
This patch adds support for the new attribute CTA_SECCTX that
supersedes CTA_SECMARK.
Signed-of...
fdda1474cc8654430f245b7f01c30e8ff171fa60 authored about 14 years ago-Wall flags this:
make test_api test_filter
make[1]: Entering directory `/home/jengelh/code/li...
The addition of -Wall flagged some legitimate warnings:
make expect_dump expect_create expect_...
6d495ef76ec6b2d7925d3018ce6e19e41ed4be9f authored about 14 years agoSigned-off-by: Jan Engelhardt <[email protected]>
51f05a93f06a057a604b3d1932c72d6af5f6d0bb authored about 14 years agoSigned-off-by: Jan Engelhardt <[email protected]>
10618ff18f94145075ee2c1702ae783cf7e4564c authored about 14 years agoe6ba25eb57957e6634d5e7cec539b1d6e4204b27 authored about 14 years ago
This fixes a minor problem introduced in b245e4092c5a7f09729e64868a42e13f48a
Signed-off-by: Pab...
15102416c1e980a66ac49591f318f950173d77ea authored about 14 years ago
This patch uses CTA_PROTOINFO_DCCP_HANDSHAKE_SEQ instead which is the
name that is used in the L...
Signed-off-by: Jan Engelhardt <[email protected]>
28cd69119c5901938ca708dc66c3eeb357f3b38c authored about 14 years agoSigned-off-by: Jan Engelhardt <[email protected]>
c987b0ca80865a8202fec52f41a8d72fc923fc2a authored about 14 years agoSigned-off-by: Jan Engelhardt <[email protected]>
83811f719502e30a2a7b1bb780280258600f84f3 authored about 14 years ago
This patch exports several low-level function that allow to build
and parse netlink messages tha...
With this patch, the expect_events example also listens to other
sort of expectation events that...
This patch re-works the callback handling to allow the use the same socket
to send/receive comma...
417dc5fb87ade355d699ea523de870abc6dd1657 authored about 14 years ago
This patch updates the README file and it includes the re-licensing
of this library to make it G...
Signed-off-by: Jan Engelhardt <[email protected]>
caac08128586a7e4d84744ad9367af81f74bde63 authored over 14 years agoSigned-off-by: Jan Engelhardt <[email protected]>
bf3dc4c7db95ff7203bc6257f73efa0a28e720f4 authored over 14 years agoSigned-off-by: Jan Engelhardt <[email protected]>
a4d2ac6ab8d5fa9613520860cf7acd433f433de2 authored over 14 years agocc3b3ef6c269549a45ba16cd1bb3b4316091906d authored over 14 years ago