Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vyos/libmnl

libmnl minimalistic netfilter library
https://github.com/vyos/libmnl

1.0.3-5+vyos2+lithium3

d7497793d2613cbdc88fbb8e64a533196a2815a3 authored over 9 years ago by Alex Harpin <[email protected]>
libmnl: add dh_gencontrol to enable development builds

Add VyOS based dh_gencontrol settings to debian/rules to enable
development builds (999.dev).

a12dfbfe58791b2de70ebff195f27fa5a4be8a27 authored over 9 years ago by Alex Harpin <[email protected]>
1.0.3-5+vyos2+lithium2

c8ef7dfbaa769027f709aa286ff517b38a09c120 authored about 10 years ago by Alex Harpin <[email protected]>
Update maintainer address

e878efe69b263c9488c7d5b6716dc933cdec1a40 authored about 10 years ago by Alex Harpin <[email protected]>
1.0.3-5+vyos2+lithium1

93cff51862863355bb779cef88f85a06011ad835 authored about 10 years ago by Alex Harpin <[email protected]>
New branch

02216bf75e466e82ce31bd98b3aea4615e9dad51 authored about 10 years ago by Alex Harpin <[email protected]>
1.0.3-5+vyos1+helium1

8813081fc2596fe380373f244dc88873700f53f3 authored almost 11 years ago by Daniil Baturin <[email protected]>
New branch

92e7e0d70af322d594681ba251fa861477a8c9ab authored almost 11 years ago by Daniil Baturin <[email protected]>
1.0.3-5+hydrogen1

61bead0d7fb5490ee966a5ff1685f7f30dcc47d3 authored about 11 years ago by Daniil Baturin <[email protected]>
Remove generated files.

1fc4c6a8b37a27232989818586b47d127bb85851 authored over 11 years ago by Sven-Thorsten Dietrich <[email protected]>
1.0.3-5+daisy1

d2597b37ec5ce896ced317c14acebe5dc785ead5 authored about 12 years ago by John Southworth <[email protected]>
create daisy branch

67da31ea7180d9bc96bb74ae01e786c9003663b8 authored about 12 years ago by John Southworth <[email protected]>
1.0.3-5

e901647a7d1fd67394af535142802eebb637c7c8 authored over 12 years ago by Gaurav Sinha <[email protected]>
add build target to debian rules.

4abaff64a4bcabbe521aa9d5ad95023eb5a9522d authored over 12 years ago by Gaurav Sinha <[email protected]>
1.0.3-4

4a33b1544119ad5035c723f07601cfe0f4a5ddda authored over 12 years ago by Gaurav Sinha <[email protected]>
adding autoreconf -i

88198bc5eb99d1813a8317d99834151318709230 authored over 12 years ago by Gaurav Sinha <[email protected]>
1.0.3-3

e5722e73225f8d0cdcdb587d7c0467b68feb599f authored over 12 years ago by Gaurav Sinha <[email protected]>
fixing debian build issue with configure rules

806d31bc814f7604abe39760d8b13afd752d88cc authored over 12 years ago by Gaurav Sinha <[email protected]>
1.0.3-2

3eda975fa4e8e6f4c74bfa4a572311f846c8069a authored over 12 years ago by Gaurav Sinha <[email protected]>
fix debian rule

7e9e620ed1317225ea9f856ec971063f38e670fc authored over 12 years ago by Gaurav Sinha <[email protected]>
libmnl 1.0.3 package

8059abb1f9aa3647f685f9a560e3ff849293ee41 authored over 12 years ago by Gaurav Sinha <[email protected]>
parse: add mnl_attr_for_each_payload

This function allows you to parse the payload of the Netlink message.
Thus, you can skip the hea...

00b82dd6c9ad4765ebc2f59e395a6749acc0738a authored over 12 years ago by Pablo Neira Ayuso <[email protected]>
nlmsg: fix valgrind warnings about padding

When using mnl_nlmsg_put_extra_header() it pads out the addtional
header but only zeros the orig...

5373fe81ca557a8f846fd6c0b68ee389808cfc3b authored over 12 years ago by Stephen Hemminger <[email protected]>
build: libmnl 1.0.2 release

Signed-off-by: Pablo Neira Ayuso <[email protected]>

addadf80836cae8fbf55f5b844f8cc06cb7aeb6c authored about 13 years ago by Pablo Neira Ayuso <[email protected]>
example: release them in the public domain

I have decided to release the examples in this library in the public
domain. Jan Engelhardt, who...

361677b5524ff93bf0c6a347c2625befc20f65dc authored about 13 years ago by Pablo Neira Ayuso <[email protected]>
build: kernel-like compilation messages

CC socket.lo
CC callback.lo
CC nlmsg.lo
CC attr.lo
CCLD libmnl.la

S...

1c30a32bb7f1835a8b7a8d1d237c4b97fe7992a6 authored about 13 years ago by Pablo Neira Ayuso <[email protected]>
build: disable implicit .tar.gz archive generation and use POSIX mode

f2e826206c662a8c2ac06e3efbbd4df50b7c30ed authored about 13 years ago by Jan Engelhardt <[email protected]>
m4: resolve autoconf-2.68 warnings

Newer autoconf desires proper full quoting and use of AC_LANG_SOURCE.
Import new m4 file from gi...

0e06fe8148bd5507b252fc2e7d2f7944bbd4afb4 authored about 13 years ago by Jan Engelhardt <[email protected]>
build: use AC_CONFIG_AUX_DIR and stash away tools

fe7d0e1dc44293beb0f6ca557f983202dd7947d5 authored about 13 years ago by Jan Engelhardt <[email protected]>
Update .gitignore

Only ignore these paths if they are a directory.

828c3d36ec8fc00c672252a7c5b071ab72dddc23 authored about 13 years ago by Jan Engelhardt <[email protected]>
build: abort autogen on subcommand failure

Needed to stop an automated build process when automake requirements
are not fulfilled.

Signed-...

bae830bbfc10b3892d48cde9bafc6f7356f0affc authored over 13 years ago by Jan Engelhardt <[email protected]>
COPYING: update file (FSF address was outdated)

Prabin reported that the FSF address was outdated, I downloaded
the current version of LGPL 2.1 ...

4dcb87905923fd726a33338de8d92af5ac537714 authored over 13 years ago by Pablo Neira Ayuso <[email protected]>
doc: fix wrong comment describing mnl_nlmsg_batch_stop()

Sean says: "I did find a discrepancy in the comments versus
practice in one function and I have ...

b9f9a7e96fa52f287ddf7f8433ad02b3a245dcf6 authored almost 14 years ago by Sean Robinson <[email protected]>
include: use sanitized header from headers_install

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...

612770e6488bf1e7bfeb1e75abe27b41c19c3213 authored almost 14 years ago by Jan Engelhardt <[email protected]>
src: use limits.h header

values.h is not present on other systems, and the glibc copy reads
right away: Old compatibility...

2a4c51da4739c6e2f24e1195f5de3f8d644b8a6b authored almost 14 years ago by Jan Engelhardt <[email protected]>
doxygen: exclude EXPORT_SYMBOL and skip .git files

Signed-off-by: Pablo Neira Ayuso <[email protected]>

30923494424b604b1d59087e06fccf0637c0c2c5 authored almost 14 years ago by Pablo Neira Ayuso <[email protected]>
doc: don't show up EXPORT_SYMBOL in doxygen

Patrick reports that the doxygen output shows up EXPORT_SYMBOL
and tells how to fix this:

> I j...

eb7535ee4459b4422105ef65abef5bde1c83e472 authored almost 14 years ago by Pablo Neira Ayuso <[email protected]>
examples/genl: support dumping the genl families

The usage text already specified [family] as optional, now implement it :-)

Signed-off-by: Jan ...

d337d00183c27619f1eb4a84b06476658a4b7355 authored almost 14 years ago by Jan Engelhardt <[email protected]>
examples/genl: fix newline imbalance

Running `genl-family-get VFS_DQUOT` forgets to print a newline.

Signed-off-by: Jan Engelhardt <...

618b266ef65c18ee2c54f66e22a3a05b294ce5e0 authored almost 14 years ago by Jan Engelhardt <[email protected]>
Merge branch 'master' of git://dev.medozas.de/libmnl

89bb1e00f921a4e8b0e1e3b3e6aea5d26ccd0435 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
build: use only AC_CANONICAL_HOST

Calculating AC_CANONICAL_TARGET is superfluous, because libmnl
is not a code generator.

Signed-...

d732efa5ed400ce07ca50e8a44cf7059377d1f84 authored about 14 years ago by Jan Engelhardt <[email protected]>
build: use AM_CPPFLAGS

Signed-off-by: Jan Engelhardt <[email protected]>

a0b68d260f04776f021e8117ba4d88bcc5c70b9a authored about 14 years ago by Jan Engelhardt <[email protected]>
header: fix invalid use of type void * in arithmetic of mnl_for_each_nest(...)

This patch fixes the following warnings:

netlink.c:121: warning: pointer of type ‘void *’ used ...

dbbd8a22742a9f67c75c10411908835703d34728 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
build: libmnl 1.0.1 release

Signed-off-by: Pablo Neira Ayuso <[email protected]>

091286e666a9d34818a875152ac7659b38656f06 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
header: fix signess issues in MNL_SOCKET_BUFFER_SIZE

This patch fixes the following compilation warning:

warning: comparison between signed and unsi...

92eddd8ad5713a2049a8750361f2f4d4518f6efa authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
headers: add local copy of linux/netlink.h to libmnl

Davem suggested to add a copy of linux/netlink.h to avoid compilation
problems in all cases scen...

516477a5d20d28ac2c945f5d717a39de954260bb authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
include: add missing unistd.h

When a project uses MNL_SOCKET_BUFFER_SIZE without having included
unistd.h, it gets:

mystuff.c...

eb5265f5cc6984f4a671ddbd440f415bf9d67209 authored about 14 years ago by Jan Engelhardt <[email protected]>
doc: add new website at netfilter.org to doxygen

Signed-off-by: Pablo Neira Ayuso <[email protected]>

093044ed01a91541c46ba9cc987fae5e907132b1 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
examples: fix wrong group mask number in nfct-event

This patch replaces event group numbers NFNLGRP_CONNTRACK_* by the
event group mask NF_NETLINK_C...

3c0ec5370fd824f43acbf0b337c037a1e8b15cab authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
build: 1.0.0 release

Signed-off-by: Pablo Neira Ayuso <[email protected]>

d21626ae9de7ec6bd459dc8687c77be9766d74a4 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
nlmsg: add new message batching infrastructure

This patch adds the new message batching infrastructure that allows to
store several messages in...

494f4855ae7e9a53442a2ece42f11e28247f4f06 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
header: missing parenthesis in MNL_SOCKET_BUFFER_SIZE definition

Signed-off-by: Pablo Neira Ayuso <[email protected]>

fb4edf5aff5f19543836d5467029c164b3620efb authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
header: use getpagesize() for MNL_SOCKET_BUFFER_SIZE

This system call returns PAGE_SIZE which depends on the
architecture. See linux/netlink.h for mo...

44fde57023e3463a1401c94e37585f5d66659277 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
attr: add put function that allows to check buffer size

This patch adds a set of function that allows to check the
size of the buffer. This is useful fo...

eadc7a04ea1fbb71987aeb8d1b7aaa6135cfbf5f authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
callback: use of inline in mnl_cb_run*() function

This patch defines a new function __mnl_cb_run() which is inlined in
mnl_cb_run() and mnl_cb_run...

017e8a8ff29a66cc19efa12b96813f7848b85a94 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
header: add MNL_ARRAY_SIZE(x)

This patch adds MNL_ARRAY_SIZE(x) which likely to defined over
and over again if you use mnl_cb_...

18302b93fcff7b68b9e8e9c680e3d724195da3fe authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
attr: add mnl_attr_nest_cancel()

This patch adds mnl_attr_nest_cancel() that allows to cancel the
current nest that we are buildi...

bbe1f68ded15a3579d26d8c3f23e9c3941296193 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
add libmnl.map file to src/Makefile.am

This fixes `make distcheck'.

Signed-off-by: Pablo Neira Ayuso <[email protected]>

ff4bacb058e3e084a1bf717bf5c5034e14f4ebea authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
nlmsg: remove unused function mnl_nlmsg_aligned_size()

With the new CFLAGS, a notification pops up:

nlmsg.c:64:8: warning: no previous prototype for "...

2a862c8b0b49fcac978a810fd298b2c9ae7b90e4 authored about 14 years ago by Jan Engelhardt <[email protected]>
ld: add some more precautionary CFLAGS

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...

b28767d124d074a0e8937ee880b2fe54ccc823b4 authored about 14 years ago by Jan Engelhardt <[email protected]>
build: tag function headers rather than decls as exported

Signed-off-by: Pablo Neira Ayuso <[email protected]>

fe73d7d8854efda86d4d09757874c48352e6b247 authored about 14 years ago by Jan Engelhardt <[email protected]>
nlmsg: remove unexisting mnl_nlmsg_total_size

Remove function whose implementation does not exist. It seems to me
like a leftover from the ear...

68dd5828052a965a7c8e84d0b8c9d4996ff3f410 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
license: change licensing terms from GPLv2+ to LGPLv2.1+

Existing contributors ACK'ed the license change via email:

* Jozsef Kadlecsik
* Jan Engelhardt
...

a2975d2eb058d187db616b67a5e7d88382dbcc6a authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
Update .gitignore

Signed-off-by: Jan Engelhardt <[email protected]>

0897ccfe137bde4d3fad15d8147db6fabaa4ad6d authored about 14 years ago by Jan Engelhardt <[email protected]>
socket: propagate sendto/recvmsg's return types

sendto/recvfrom return ssize_t, so libmnl should not truncate the
result range.

Signed-off-by: ...

a90cfc66d9c8ed0e7a645e3d9a0b85754d1b0f18 authored about 14 years ago by Jan Engelhardt <[email protected]>
attr: avoid multiple definition of hidden variable

When nesting two mnl_attr_for_each loops, the __len__ variable will be
declared twice, eliciting...

478dc5f4ab8d0a639d1bafe3bd53ff3309727836 authored about 14 years ago by Jan Engelhardt <[email protected]>
include: use C++ headers in C++ mode

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...

bb8c40e9ef7cb39edd144067d65378c49b837205 authored about 14 years ago by Jan Engelhardt <[email protected]>
src: implement both GCC visibility support and export script

Read "How to write shared libraries" from Ulrich Drepper for more
information on this patch. Spe...

37dac00e2ad6445f496e68fcf815723432ecb5a8 authored about 14 years ago by Cristian Rodríguez <[email protected]>
attr: remove redundant check for NULL

Calling mnl_attr_parse with cb==NULL is pointless, because the
function will do nothing else.

S...

485d30a8a89e7500b0df4291fa4dfc33b894998c authored about 14 years ago by Jan Engelhardt <[email protected]>
nlmsg: use bool for mnl_nlmsg_ok()

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...

895839909804d91f6e897bef1c1e32c0b0a9db94 authored about 14 years ago by Jan Engelhardt <[email protected]>
socket: constify a struct sockaddr_nl

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...

184d6ab767d6432a506ea00ae33ba7e054712786 authored about 14 years ago by Jan Engelhardt <[email protected]>
Merge branch 'master' of git://dev.medozas.de/libmnl

415a51b34293eac33a7d2152b909f89e5af4ed10 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
nlmsg: rework mnl_nlmsg_fprintf

This patch reworks mnl_nlmsg_fprintf. It breaks backward compatibility
of this function, there w...

ea4b5f90662c63d6ceccc7c9c851dd183e65d0e6 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
examples: add nflog example

Signed-off-by: Pablo Neira Ayuso <[email protected]>

843ba20a46fee91f6e3e270dd6a4266bb3876174 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
build: remove statements without obvious effect

f49123a2504244267d866ac72ca574dcca22a1a9 authored about 14 years ago by Jan Engelhardt <[email protected]>
build: remove -fPIC flag

libtool automatically adds PIC flags as needed.

Signed-off-by: Jan Engelhardt <[email protected]>

4019ba00cc60b0e2cfb20e950f0cfa5a424d4bc0 authored about 14 years ago by Jan Engelhardt <[email protected]>
examples: remove redundant casts

f7cfd408bee4a14f705565a95f98caf3c35bd57e authored about 14 years ago by Jan Engelhardt <[email protected]>
attr: rename str_null from NULL away

A small little pedantism: NULL (as in, the pointer) isn't NUL (as in,
the character with value z...

bae340593494739f873a2e00d6c8bcfc3777edc1 authored about 14 years ago by Jan Engelhardt <[email protected]>
nlmsg: use bool return type for yes-no functions

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pablo@netfi...

23b58da79166cb3f37a822adfa63107896c7e129 authored about 14 years ago by Jan Engelhardt <[email protected]>
include: add cplusplus guards for extern

Signed-off-by: Jan Engelhardt <[email protected]>

dc7aaccd9fb034f0cc7ac3440b0d1b991bd034dc authored about 14 years ago by Jan Engelhardt <[email protected]>
socket: use more appropriate types for mnl_socket_bind

groups, being a bitmask, should be unsigned; and let's also use pid_t
for pid.

Signed-off-by: J...

672366907b823a7748cb9a7252005145c522a385 authored about 14 years ago by Jan Engelhardt <[email protected]>
callback: mnl_cb_run should use a void *

Because in most cases, it won't be a nul-terminated string :)

Signed-off-by: Jan Engelhardt <je...

53bcdb544602074deb17839a75cd35b1fed6d599 authored about 14 years ago by Jan Engelhardt <[email protected]>
attr: string functions should take char *

I do not quite see the point of using strlen in conjunction with
non-string data; so let's use c...

b0967993a76da06d306112bef31d9861b584fa07 authored about 14 years ago by Jan Engelhardt <[email protected]>
include: consistent usage of "extern"

Signed-off-by: Jan Engelhardt <[email protected]>

412c9a6afaad4f790aa92667cea8cc0ef469a0c0 authored about 14 years ago by Jan Engelhardt <[email protected]>
doc: documentation updates

Spelling, grammer, and synchronization of the readme.

Signed-off-by: Jan Engelhardt <jengelh@me...

3169d25451ed7afdf6978f1f6616046a633a330c authored about 14 years ago by Jan Engelhardt <[email protected]>
socket: remove statement with no effect

Signed-off-by: Jan Engelhardt <[email protected]>

00bc7b96c3780b5ac781b69635ec65f26b3c66c3 authored about 14 years ago by Jan Engelhardt <[email protected]>
src: remove redundant casts

Signed-off-by: Jan Engelhardt <[email protected]>

b2068964e31f49f0fd2dbfbd7e84abbffad7cb41 authored about 14 years ago by Jan Engelhardt <[email protected]>
src: add const qualifiers

Signed-off-by: Jan Engelhardt <[email protected]>

5c3b332f2996a8d536f05247ae69e305b4e0f29f authored about 14 years ago by Jan Engelhardt <[email protected]>
src: avoid using deprecated unspecified argument lists

Signed-off-by: Jan Engelhardt <[email protected]>

3e74eeac96b011f3929fccd63d7fec20e2759123 authored about 14 years ago by Jan Engelhardt <[email protected]>
build: fix disable_static functionality

Small slip on my part. AC_DISABLE_STATIC must actually come before
LT_INIT to have any effect. (...

26f5e5eecaea765932f67f5f0aeb65f4c8b7be12 authored about 14 years ago by Jan Engelhardt <[email protected]>
doc: git tree update (now at netfilter.org) and fix listing in doxygen

This patch update the git tree address (now at netfilter.org) and
it also fixes a minor problem ...

a8956ff09c06869b6c5bc5f525944d8c228e64e9 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
src: define MNL_SOCKET_BUFFER_SIZE to 8192UL

Davem spotted during the Netfilter Workshop that user-space applications
should use 8KB buffers ...

4eaebf5ef25f97cc6960da9f1a29b61737da8abd authored about 14 years ago by Pablo Neira Ayuso <[email protected]>
Add .gitignore files

Signed-off-by: Jan Engelhardt <[email protected]>

781a9f058327730723525d3c4b85533920a00e9b authored about 14 years ago by Jan Engelhardt <[email protected]>
build: default to not build static libraries

Users wanting static libraries can just use
./configure --enable-static.

Signed-off-by: Jan Eng...

7ce8198437199a83d9e2884a5b73e035a7a38db9 authored about 14 years ago by Jan Engelhardt <[email protected]>
build: remove unneeded -dynamic -ldl -nostartfiles flags

Besides that -ldl should be in _LDADD (not _LDFLAGS), I do not see any
dlopen calls at all that ...

10d32feb31a2c4d7ca7161f720a2a018369b4eff authored about 14 years ago by Jan Engelhardt <[email protected]>
build: resolve compiler warnings

nlmsg.c: In function "mnl_nlmsg_fprintf":
nlmsg.c:260:4: warning: format "%.3d" expects type "in...

5b78d99986220c8aacfb5668392b7bcecb80964c authored about 14 years ago by Jan Engelhardt <[email protected]>
build: rebuild .pc files when configure status changed

Signed-off-by: Jan Engelhardt <[email protected]>

e6ea95100f2028891450af7b6b6830f0e01ee13d authored about 14 years ago by Jan Engelhardt <[email protected]>
build: run autoupdate

Macro usage has changed over the last few years. Update it to the
current specification using au...

ecf8c9f80fd69009d1e6af7d9f411b78fd9b5bea authored about 14 years ago by Jan Engelhardt <[email protected]>
build: use subdir-objects and CC_C_O

Signed-off-by: Jan Engelhardt <[email protected]>

5f79ee7952548e37b3c237142d33a158d10c6fc7 authored about 14 years ago by Jan Engelhardt <[email protected]>
build: automake options should be in AM_INIT_AUTOMAKE

Automake options set in Makefile.am are not always propagated to
subdirecties.

Signed-off-by: J...

b9db7e1adc2ae58b6b851fed9cef045fd06d3144 authored about 14 years ago by Jan Engelhardt <[email protected]>