]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
3 years agodoc: explain which tags to use for Docker
Vincent Bernat [Mon, 21 Jun 2021 22:45:51 +0000 (00:45 +0200)] 
doc: explain which tags to use for Docker

Well, it is not totally true yet.

3 years agoci: fix ppc64el platform
Vincent Bernat [Mon, 21 Jun 2021 22:33:19 +0000 (00:33 +0200)] 
ci: fix ppc64el platform

3 years agoci: run coverity only once a week
Vincent Bernat [Mon, 21 Jun 2021 22:23:01 +0000 (00:23 +0200)] 
ci: run coverity only once a week

3 years agoci: build and publish a Dockerfile
Vincent Bernat [Mon, 21 Jun 2021 22:20:27 +0000 (00:20 +0200)] 
ci: build and publish a Dockerfile

3 years agodoc: change title format to use pound for markdown
Vincent Bernat [Mon, 21 Jun 2021 22:17:46 +0000 (00:17 +0200)] 
doc: change title format to use pound for markdown

3 years agotests: remove old Dockerfile.wheezy
Vincent Bernat [Mon, 21 Jun 2021 21:41:49 +0000 (23:41 +0200)] 
tests: remove old Dockerfile.wheezy

It does not work anymore as wheezy is too old.

4 years agogithub: templates for bug report and feature request
Vincent Bernat [Sat, 12 Jun 2021 08:51:39 +0000 (10:51 +0200)] 
github: templates for bug report and feature request

And also add a link to discussions for generic questions.

4 years agogithub: add funding using BMC
Vincent Bernat [Tue, 8 Jun 2021 22:19:17 +0000 (00:19 +0200)] 
github: add funding using BMC

4 years agolldpcli: require powerpairs for Dot3 power even when PD
Vincent Bernat [Fri, 4 Jun 2021 16:51:13 +0000 (18:51 +0200)] 
lldpcli: require powerpairs for Dot3 power even when PD

This reverts commit 7056d802b9c595dd16f1354649bb7ae2f8b8880c. I may
have been hasty in removing this as my understanding is that the PSE
would impose the value to the PD, but it could be the other way
around. Some implementations do not like to have 0 as the value here
and will ignore the whole TLV.

4 years agoUpdates documentation for Android target
Zach Cardoza [Mon, 17 May 2021 18:10:10 +0000 (11:10 -0700)] 
Updates documentation for Android target
Adds specific compilation steps
Adds links to source and NDK
Adds installation script example

4 years agoclient: put lock file in the same directory as the socket
Vincent Bernat [Tue, 4 May 2021 19:46:30 +0000 (21:46 +0200)] 
client: put lock file in the same directory as the socket

The whole deal I was trying to solve is the fact that I cannot put the
lock here because I was unprivileged. Just let lldpd create the lock
in the same way it creates the socket (same privileges).

4 years agotests: use a tmpfs for /var/lock and handle broken symlinks fix/tests-var-lock
Vincent Bernat [Tue, 4 May 2021 15:07:49 +0000 (17:07 +0200)] 
tests: use a tmpfs for /var/lock and handle broken symlinks

4 years agotests: create /var/lock if it does not exist
Vincent Bernat [Tue, 4 May 2021 14:57:11 +0000 (16:57 +0200)] 
tests: create /var/lock if it does not exist

4 years agoclient: use a dedicated file lock to prevent concurrent changes
Vincent Bernat [Tue, 4 May 2021 13:55:21 +0000 (15:55 +0200)] 
client: use a dedicated file lock to prevent concurrent changes

We were using a lock on the Unix socket. This was working on Linux but
this is not portable. Therefore, we have to use a dedicated file for
this purpose. We use /var/lock by default.

We don't do a secure creation as the lock file is only opened in
append mode, so a symlink attack could only create empty file or reset
the timestamp of a file. No content can be erased this way.

Fix #445

4 years agorelease: 1.0.11 1.0.11
Vincent Bernat [Sat, 1 May 2021 16:52:30 +0000 (18:52 +0200)] 
release: 1.0.11

4 years agopriv: explain why we don't use ethtool
Vincent Bernat [Fri, 30 Apr 2021 09:03:14 +0000 (11:03 +0200)] 
priv: explain why we don't use ethtool

I have tested on a few servers I have access to and none of them
supported the use of this ethtool command. So, keep using sysfs
instead (with the drawback that 1. debugfs should be mounted, 2. we
need to tell systemd we want to tune through sysfs).

4 years agopriv: disable LLDP in firmware for Intel X7xx cards
Vincent Bernat [Tue, 27 Apr 2021 20:57:54 +0000 (22:57 +0200)] 
priv: disable LLDP in firmware for Intel X7xx cards

This requires to configure systemd to not protect sysfs.

4 years agopriv: ensure Intel E8xx cards can transmit LLDP packets
Vincent Bernat [Tue, 27 Apr 2021 08:45:57 +0000 (10:45 +0200)] 
priv: ensure Intel E8xx cards can transmit LLDP packets

Fix #444

4 years agodaemon: fix some use of "if defined"
Vincent Bernat [Sun, 25 Apr 2021 17:08:26 +0000 (19:08 +0200)] 
daemon: fix some use of "if defined"

`#if defined HOST_OS_FREEBSD || HOST_OS_NETBSD` is not the same as
`#if defined HOST_OS_FREEBSD || defined HOST_OS_NETBSD`. This doesn't
really matter in our case, but for consistency, fix these cases. Also,
don't use parentheses as they are not useful in our case (or we should
put them everywhere).

4 years agogithub: no need to be smart to show how to format code
Vincent Bernat [Thu, 15 Apr 2021 18:06:58 +0000 (20:06 +0200)] 
github: no need to be smart to show how to format code

People should see the markdown code, not the rendered code, from the
template.

4 years agogithub: explain people how to format lines of code
Vincent Bernat [Thu, 15 Apr 2021 18:06:09 +0000 (20:06 +0200)] 
github: explain people how to format lines of code

4 years agoosx: update Homebrew recipe
Vincent Bernat [Sun, 11 Apr 2021 06:39:10 +0000 (08:39 +0200)] 
osx: update Homebrew recipe

4 years agorelease: 1.0.10 1.0.10
Vincent Bernat [Fri, 9 Apr 2021 10:52:15 +0000 (12:52 +0200)] 
release: 1.0.10

4 years agotests: catch problem with creation of chroot in tests
Vincent Bernat [Fri, 9 Apr 2021 09:59:07 +0000 (11:59 +0200)] 
tests: catch problem with creation of chroot in tests

4 years agopriv: fix chroot directory creation
Vincent Bernat [Fri, 9 Apr 2021 09:51:19 +0000 (11:51 +0200)] 
priv: fix chroot directory creation

The last component was not created!

4 years agoosx: update version in Homebrew recipe
Vincent Bernat [Thu, 8 Apr 2021 17:57:55 +0000 (19:57 +0200)] 
osx: update version in Homebrew recipe

4 years agotests: fix a command in tests/lldpcli.conf
Vincent Bernat [Thu, 8 Apr 2021 17:56:39 +0000 (19:56 +0200)] 
tests: fix a command in tests/lldpcli.conf

This file is not really used, but it contains a non-working command.

4 years agorelease: 1.0.9 1.0.9
Vincent Bernat [Fri, 2 Apr 2021 07:39:50 +0000 (09:39 +0200)] 
release: 1.0.9

4 years agoosx: add license to HomeBrew recipe
Vincent Bernat [Thu, 25 Mar 2021 19:09:04 +0000 (20:09 +0100)] 
osx: add license to HomeBrew recipe

4 years agoosx: update URL for HomeBrew recipe
Vincent Bernat [Thu, 25 Mar 2021 19:07:21 +0000 (20:07 +0100)] 
osx: update URL for HomeBrew recipe

4 years agoosx: handle empty groups correctly when looking for a free UID
Vincent Bernat [Thu, 25 Mar 2021 10:31:55 +0000 (11:31 +0100)] 
osx: handle empty groups correctly when looking for a free UID

This was already done this way with Homebrew. Fix #438.

4 years agobuild: cache coverity toolchain
Vincent Bernat [Mon, 22 Mar 2021 09:30:08 +0000 (10:30 +0100)] 
build: cache coverity toolchain

4 years agodaemon: fix mkdir_p() implementation
Vincent Bernat [Sun, 21 Mar 2021 14:41:41 +0000 (15:41 +0100)] 
daemon: fix mkdir_p() implementation

4 years agoclient: fix additional memory leaks detected by Coverity Scan fix/coverity-annotations
Vincent Bernat [Sun, 21 Mar 2021 14:25:19 +0000 (15:25 +0100)] 
client: fix additional memory leaks detected by Coverity Scan

4 years agodaemon: rewrite `mkdir_p()` to not use strtok/strcat
Vincent Bernat [Sun, 21 Mar 2021 14:22:06 +0000 (15:22 +0100)] 
daemon: rewrite `mkdir_p()` to not use strtok/strcat

4 years agodaemon: fix some coverity annotations
Vincent Bernat [Sun, 21 Mar 2021 14:20:20 +0000 (15:20 +0100)] 
daemon: fix some coverity annotations

4 years agoclient: make it easier for Coverity to understand commands_new()
Vincent Bernat [Sun, 21 Mar 2021 12:56:19 +0000 (13:56 +0100)] 
client: make it easier for Coverity to understand commands_new()

Never returning NULL is not enough to make Coverity understands we
don't leak anything. Remove the branch in commands_new() as it must
never happen, except for the root node.

4 years agobuild: allow to manually trigger Coverity Scan
Vincent Bernat [Sun, 21 Mar 2021 12:38:04 +0000 (13:38 +0100)] 
build: allow to manually trigger Coverity Scan

4 years agodaemon: enforce limits when receiving arbitrary-length data in privsep
Vincent Bernat [Sun, 21 Mar 2021 10:39:33 +0000 (11:39 +0100)] 
daemon: enforce limits when receiving arbitrary-length data in privsep

4 years agointerfaces: use an array of MAC addresses when defining supported protocols
Vincent Bernat [Sun, 21 Mar 2021 10:32:25 +0000 (11:32 +0100)] 
interfaces: use an array of MAC addresses when defining supported protocols

In interfaces.c, we were handling it as a table while in lldpd.c, we
were copy-pasting the same condition three times. This was confusing
for analysis tools.

4 years agopriv: abort on allocation error
Vincent Bernat [Sun, 21 Mar 2021 11:09:49 +0000 (12:09 +0100)] 
priv: abort on allocation error

This helps Coverity Scan.

4 years agodaemon: annotate "daemonisation" to help Coverity
Vincent Bernat [Sun, 21 Mar 2021 11:05:16 +0000 (12:05 +0100)] 
daemon: annotate "daemonisation" to help Coverity

When daemonizing, we need to use /dev/null for stdin, stdout, and
stderr. If one of these file descriptors happen to be already closed,
we need to close the new file descriptor only if > 2. This is
confusing confusing for Coverity, annotate it correctly.

Not all locations are annotated because not all of them are detected,
for some reason.

4 years agoclient: do not allow memory allocations to fail
Vincent Bernat [Sun, 21 Mar 2021 10:21:24 +0000 (11:21 +0100)] 
client: do not allow memory allocations to fail

This leads to some memory leak (quite improbable), but we don't want
to continue running with an incomplete set of commands.

4 years agonetlink: fix socket leak on some error condition
Vincent Bernat [Sun, 21 Mar 2021 10:00:59 +0000 (11:00 +0100)] 
netlink: fix socket leak on some error condition

4 years agonetlink: remove dead code, iface2 cannot be NULL inside the iterator
Vincent Bernat [Sun, 21 Mar 2021 09:56:52 +0000 (10:56 +0100)] 
netlink: remove dead code, iface2 cannot be NULL inside the iterator

4 years agobuild: reenable Coverity Scan
Vincent Bernat [Sun, 21 Mar 2021 09:29:10 +0000 (10:29 +0100)] 
build: reenable Coverity Scan

4 years agoprotocols: fix more memory leak when decoding multiple TLVs
Vincent Bernat [Tue, 16 Mar 2021 16:36:35 +0000 (17:36 +0100)] 
protocols: fix more memory leak when decoding multiple TLVs

In a8d3c90feca5, some memory leaks were fixed when a TLV is present
multiple times. There were other occurrences in LLDP, CDP and EDP
handling. We ensure we free before overwriting with the new TLVs.

Fix #436

4 years agoEliminate unused arguments to priv_init() with --disable-privsep.
John Lindgren [Mon, 8 Mar 2021 17:06:47 +0000 (12:06 -0500)] 
Eliminate unused arguments to priv_init() with --disable-privsep.

This seems a bit cleaner than passing dummy values (e.g. 0) that
aren't ever used.  Additionally, it means that PRIVSEP_CHROOT no
longer needs to be defined to a dummy value if building with
--disable-privsep.

4 years agoFix relative include paths to be more correct and portable.
John Lindgren [Mon, 8 Mar 2021 15:27:23 +0000 (10:27 -0500)] 
Fix relative include paths to be more correct and portable.

Some relative include paths in subdirectories (src/daemon/protocols
and src/lib/atoms) were written relative to the parent directories
(src/daemon and src/lib).  This was okay in automake builds but
caused errors when porting to other build systems (for example,
Android make).

4 years agoclient: don't show age/via for local interfaces feature/show-port-config
Vincent Bernat [Mon, 1 Mar 2021 08:21:10 +0000 (09:21 +0100)] 
client: don't show age/via for local interfaces

4 years agoclient: display port administrative status with "show interfaces"
Vincent Bernat [Sun, 28 Feb 2021 15:29:41 +0000 (16:29 +0100)] 
client: display port administrative status with "show interfaces"

Fix #432.

4 years agotests: also test if we send interface description if present
Vincent Bernat [Sat, 30 Jan 2021 15:43:15 +0000 (16:43 +0100)] 
tests: also test if we send interface description if present

4 years agointerfaces: do not use interface alias if we set it ourselves
Vincent Bernat [Sat, 30 Jan 2021 15:39:59 +0000 (16:39 +0100)] 
interfaces: do not use interface alias if we set it ourselves

Fix #431

4 years agotests: add a test for "configure system interface description"
Vincent Bernat [Sat, 30 Jan 2021 15:35:07 +0000 (16:35 +0100)] 
tests: add a test for "configure system interface description"

4 years agodoc: tell content of lib should be in lib64 for Android
Vincent Bernat [Thu, 28 Jan 2021 11:54:23 +0000 (12:54 +0100)] 
doc: tell content of lib should be in lib64 for Android

4 years agodoc: tell minimum Android NDK this has been tested with
Vincent Bernat [Wed, 27 Jan 2021 18:53:34 +0000 (19:53 +0100)] 
doc: tell minimum Android NDK this has been tested with

With ndk21r, `LD` should be set to `ld.lld`.

4 years agodoc: update instructions for Android
Vincent Bernat [Wed, 27 Jan 2021 18:19:15 +0000 (19:19 +0100)] 
doc: update instructions for Android

Android NDK is a less and less capable toolchain. The standalone
toolchain is deprecated and the new way require you to override a
bunch of variables. Documentation also contains mistakes.

4 years agolldpd: override compiler and linker option strings
Oleksiy Obitotskyy [Tue, 19 Jan 2021 08:33:06 +0000 (00:33 -0800)] 
lldpd: override compiler and linker option strings

Compiler and linker option strings contains absolute path, so
replace them with disclaimer. Thos strings used only as
debug information to show not actual compilation options.

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
4 years agorelease: 1.0.8 1.0.8
Vincent Bernat [Wed, 13 Jan 2021 17:43:16 +0000 (18:43 +0100)] 
release: 1.0.8

4 years agodoc: add NEWS entry about CVE-2020-27827
Vincent Bernat [Wed, 13 Jan 2021 17:42:19 +0000 (18:42 +0100)] 
doc: add NEWS entry about CVE-2020-27827

4 years agodoc: update NEWS file
Vincent Bernat [Sat, 9 Jan 2021 18:08:52 +0000 (19:08 +0100)] 
doc: update NEWS file

4 years agorouting/linux: check IPv6 forwarding status when enabling Router capa
Antonio Quartulli [Sat, 9 Jan 2021 14:45:50 +0000 (15:45 +0100)] 
routing/linux: check IPv6 forwarding status when enabling Router capa

Consider also IPv6 when deciding whether to enable the Router capability.
This way, if a host is a router for IPv6 only, it will still be
advertised as Router to its neighbours.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
4 years agotests: don't install libxml2 on MacOS
Vincent Bernat [Sat, 9 Jan 2021 15:22:09 +0000 (16:22 +0100)] 
tests: don't install libxml2 on MacOS

It is shipped and Homebrew will fail if we try to install it.

4 years agoMerge pull request #423 from jow-/bugfix-prevent-macro-conflict
Vincent Bernat [Wed, 9 Dec 2020 11:27:08 +0000 (12:27 +0100)] 
Merge pull request #423 from jow-/bugfix-prevent-macro-conflict

build: prevent conflict with official AX_LIB_READLINE macro

4 years agobuild: prevent conflict with official AX_LIB_READLINE macro 423/head
Jo-Philipp Wich [Wed, 9 Dec 2020 11:04:04 +0000 (12:04 +0100)] 
build: prevent conflict with official AX_LIB_READLINE macro

On systems where the official AX_LIB_READLINE (ax_lib_readline.m4) is
present in a globally shared autoconf include directory, auto(re)conf
will prefer including that offical version over the local variant due
to the offical macro having a higher serial number.

As a consequence, @READLINE_LIBS@ will not be substituted in *.in files,
eventually failing the compilation with errors similar to:

    gcc: error: READLINE_LIBS@: No such file or directory

Avoid this problem by renaming the incompatible local macro to
AX_LIB_READLINE_LLDPD which is sufficient to prevent any clashes.

We encountered this problem on OpenWrt which uses GNU autoconf-archive
to provide commonly used M4 macros through a global include directory,
which happens to ship AX_LIB_READLINE as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #422 from lldpd/fix/lldp-med-loc-parsing
Vincent Bernat [Sun, 6 Dec 2020 13:41:38 +0000 (14:41 +0100)] 
Merge pull request #422 from lldpd/fix/lldp-med-loc-parsing

lib: fix LLDP-MED location parsing in liblldpctl

4 years agolib: fix LLDP-MED location parsing in liblldpctl fix/lldp-med-loc-parsing 422/head
Vincent Bernat [Sun, 6 Dec 2020 13:21:04 +0000 (14:21 +0100)] 
lib: fix LLDP-MED location parsing in liblldpctl

Some bounds were not checked correctly when parsing LLDP-MED civic
location fields. This triggers out-of-bound reads (no write) in
lldpcli, ultimately leading to a crash.

Fix #420

4 years agoMerge pull request #418 from orgcandman/memleak_fix
Vincent Bernat [Tue, 17 Nov 2020 16:54:17 +0000 (17:54 +0100)] 
Merge pull request #418 from orgcandman/memleak_fix

lldp: avoid memory leak from bad packets

4 years agolldp: avoid memory leak from bad packets 418/head
Aaron Conole [Tue, 17 Nov 2020 14:28:17 +0000 (09:28 -0500)] 
lldp: avoid memory leak from bad packets

A packet that contains multiple instances of certain TLVs will cause
lldpd to continually allocate memory and leak the old memory.  As an
example, multiple instances of system name TLV will cause old values
to be dropped by the decoding routine.

Reported-at: https://github.com/openvswitch/ovs/pull/337
Reported-by: Jonas Rudloff <jonas.t.rudloff@gmail.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
4 years agodoc: fix lldpd new URL
Vincent Bernat [Sat, 14 Nov 2020 11:26:47 +0000 (12:26 +0100)] 
doc: fix lldpd new URL

4 years agodoc: move lldpd to a dedicated organization
Vincent Bernat [Sat, 14 Nov 2020 07:54:01 +0000 (08:54 +0100)] 
doc: move lldpd to a dedicated organization

4 years agogithub: move away from Travis to GitHub Actions
Vincent Bernat [Sun, 8 Nov 2020 15:01:20 +0000 (16:01 +0100)] 
github: move away from Travis to GitHub Actions

4 years agolibevent: update to 2.1.12-stable
Vincent Bernat [Sun, 8 Nov 2020 15:52:36 +0000 (16:52 +0100)] 
libevent: update to 2.1.12-stable

4 years agodaemon: remove implicit fall-through
Vincent Bernat [Sun, 8 Nov 2020 15:26:54 +0000 (16:26 +0100)] 
daemon: remove implicit fall-through

4 years agorelease: 1.0.7 1.0.7
Vincent Bernat [Sat, 31 Oct 2020 14:34:20 +0000 (15:34 +0100)] 
release: 1.0.7

4 years agoMerge pull request #414 from vincentbernat/fix/missed-lldp-packets
Vincent Bernat [Sat, 31 Oct 2020 07:52:37 +0000 (08:52 +0100)] 
Merge pull request #414 from vincentbernat/fix/missed-lldp-packets

interfaces: listen to all incoming packets on Linux, not just LLDP ones

4 years agointerfaces: listen to all incoming packets on Linux, not just LLDP ones fix/missed-lldp-packets 414/head
Vincent Bernat [Tue, 27 Oct 2020 17:31:22 +0000 (18:31 +0100)] 
interfaces: listen to all incoming packets on Linux, not just LLDP ones

This mostly reverts fc5526dae75f. Listening only on ETH_P_LLDP makes
us miss incoming packets on enslaved interfaces to an Open vSwitch.
Therefore, prefer listening to ETH_P_ALL instead of ETH_P_LLDP. It is
likely that enslaved interfaces do not fully process Ethernet packets
and `type` is not correctly filled.

Fix #413

4 years agotests: fix tests around XML by canonicalizing XML representation
Vincent Bernat [Mon, 7 Sep 2020 18:10:10 +0000 (20:10 +0200)] 
tests: fix tests around XML by canonicalizing XML representation

Since Python 3.8, insertion order is respected for attributes, so we
cannot just compare strings as previously. Python 3.8 also introduces
a `canonicalize()` function to normalize XML for digital signature. We
apply this function if it exists.

4 years agolinux: ignore outgoing packets at the socket level
Vincent Bernat [Mon, 7 Sep 2020 15:45:38 +0000 (17:45 +0200)] 
linux: ignore outgoing packets at the socket level

Since Linux 4.20, it is possible to ignore outgoing packets. This is
already done like this on *BSD.

4 years agoosx: update formula for HomeBrew (with upstream additions)
Vincent Bernat [Sat, 5 Sep 2020 12:24:39 +0000 (14:24 +0200)] 
osx: update formula for HomeBrew (with upstream additions)

4 years agoosx: update HomeBrew formula
Vincent Bernat [Sat, 5 Sep 2020 12:21:03 +0000 (14:21 +0200)] 
osx: update HomeBrew formula

4 years agorelease: 1.0.6 1.0.6
Vincent Bernat [Sat, 5 Sep 2020 11:48:00 +0000 (13:48 +0200)] 
release: 1.0.6

4 years agoMerge pull request #410 from awujek/develop
Vincent Bernat [Wed, 2 Sep 2020 21:41:57 +0000 (23:41 +0200)] 
Merge pull request #410 from awujek/develop

#403 ports: make possible sending LLDP frames on a specified VLAN

4 years agoports: allow sending LLDP frames on a specified VLAN 410/head
Michal Wasiak [Fri, 3 Jul 2020 18:36:03 +0000 (20:36 +0200)] 
ports: allow sending LLDP frames on a specified VLAN

The current limitation is that the frames are sent only on one VLAN per port.

4 years agoclient: fix spelling error
Vincent Bernat [Mon, 20 Jul 2020 20:14:06 +0000 (22:14 +0200)] 
client: fix spelling error

Fix #409

4 years agodoc: add a NEWS entry for latest commit
Vincent Bernat [Tue, 14 Jul 2020 09:01:57 +0000 (11:01 +0200)] 
doc: add a NEWS entry for latest commit

4 years agolib: remove limit on system description length
Vincent Bernat [Tue, 14 Jul 2020 05:16:47 +0000 (07:16 +0200)] 
lib: remove limit on system description length

The limit was introduced in 9c49cedf8e75 while fixing a memory leak.
The state data is used to ensure we don't interleave operations. We
need to handle the case where the value is truncated because it is
larger than the allocated size.

Fix #408.

4 years agoci: silent a bit `brew update`
Vincent Bernat [Sat, 11 Jul 2020 09:42:38 +0000 (11:42 +0200)] 
ci: silent a bit `brew update`

It's quite verbose (and long...)

4 years agoMerge pull request #401 from vincentbernat/fix/allowlist
Vincent Bernat [Sat, 27 Jun 2020 15:55:24 +0000 (17:55 +0200)] 
Merge pull request #401 from vincentbernat/fix/allowlist

code: remove use of blacklist/whitelist

4 years agoci: don't run unittests with clang fix/allowlist 401/head
Vincent Bernat [Sat, 27 Jun 2020 14:46:30 +0000 (16:46 +0200)] 
ci: don't run unittests with clang

libcheck introduced a change in 0.15 which is incompatible with clang.

4 years agoci: use "brew bundle" instead of "brew install"
Vincent Bernat [Sat, 27 Jun 2020 11:24:27 +0000 (13:24 +0200)] 
ci: use "brew bundle" instead of "brew install"

Otherwise, when a dependency is already installed and not up-to-date,
we get an error.

4 years agocode: remove use of blacklist/whitelist
Vincent Bernat [Sat, 27 Jun 2020 08:20:55 +0000 (10:20 +0200)] 
code: remove use of blacklist/whitelist

Use allowlist and denylist and adapt the documentation.

5 years agonetlink: make "no name/no address" message a debug message
Vincent Bernat [Fri, 12 Jun 2020 18:05:46 +0000 (20:05 +0200)] 
netlink: make "no name/no address" message a debug message

It seems it can happen on WLAN interfaces during AAA.

Fix #398

5 years agodoc: fix wording about interface exclusion
Vincent Bernat [Fri, 12 Jun 2020 05:41:21 +0000 (07:41 +0200)] 
doc: fix wording about interface exclusion

Reported in #398.

5 years agobuild: add lldpd.stp to CLEANFILES
Vincent Bernat [Sun, 31 May 2020 06:19:52 +0000 (08:19 +0200)] 
build: add lldpd.stp to CLEANFILES

5 years agobuild: make unit tests work when systemtap support is enabled
Vincent Bernat [Sun, 31 May 2020 06:01:32 +0000 (08:01 +0200)] 
build: make unit tests work when systemtap support is enabled

5 years agotravis: fix systemtap package name for dtrace support
Vincent Bernat [Sun, 31 May 2020 05:39:53 +0000 (07:39 +0200)] 
travis: fix systemtap package name for dtrace support

5 years agolibevent: upgrade to 2.1.11-stable
Vincent Bernat [Sun, 31 May 2020 05:07:25 +0000 (07:07 +0200)] 
libevent: upgrade to 2.1.11-stable

5 years agotravis: check build with dtrace support
Vincent Bernat [Sun, 31 May 2020 05:35:18 +0000 (07:35 +0200)] 
travis: check build with dtrace support

5 years agopriv: fix missing semi-colon
Vincent Bernat [Sun, 31 May 2020 05:33:55 +0000 (07:33 +0200)] 
priv: fix missing semi-colon