]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
6 days agolib: Fix a buffer underflow in _lldpctl_dump_in_atom master
Cliff Clark [Thu, 11 Apr 2024 21:48:13 +0000 (14:48 -0700)] 
lib: Fix a buffer underflow in _lldpctl_dump_in_atom

Do not write a zero byte before the beginning of the buffer when
_lldpctl_dump_in_atom is called with a zero length atom.

11 days agointerfaces: "fix" style issue in latest commit
Vincent Bernat [Sun, 7 Apr 2024 10:49:22 +0000 (12:49 +0200)] 
interfaces: "fix" style issue in latest commit

Depending on the version of clang, we may get different result. This is
annoying, but no time to fix that now.

11 days agointerfaces: don't use wireless extensions
Vincent Bernat [Sun, 7 Apr 2024 10:37:22 +0000 (12:37 +0200)] 
interfaces: don't use wireless extensions

Fix #579

12 days agodaemon: rework a bit systemd support
Vincent Bernat [Sun, 7 Apr 2024 06:16:26 +0000 (08:16 +0200)] 
daemon: rework a bit systemd support

Use connect() as done by other implementations, notably the one in
sd_notify(2). Also add a check on socket length.

2 weeks agobuild: bump softprops/action-gh-release from 1 to 2
dependabot[bot] [Mon, 1 Apr 2024 19:23:59 +0000 (19:23 +0000)] 
build: bump softprops/action-gh-release from 1 to 2

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agobuild: bump cachix/install-nix-action from 25 to 26
dependabot[bot] [Mon, 1 Apr 2024 19:23:55 +0000 (19:23 +0000)] 
build: bump cachix/install-nix-action from 25 to 26

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 25 to 26.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v25...v26)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agobuild: use pytest-forked to replace boxed feature from xdist
Vincent Bernat [Sun, 31 Mar 2024 14:14:36 +0000 (16:14 +0200)] 
build: use pytest-forked to replace boxed feature from xdist

This is needed because of the code switching from one namespace to
another.

2 weeks agobuild: don't use boxed feature of xdist
Vincent Bernat [Sun, 31 Mar 2024 13:55:23 +0000 (15:55 +0200)] 
build: don't use boxed feature of xdist

It has been removed from 3.0. This could be replaced by pytest-forked if
needed. I don't really remember why I was using that (I suppose it was
to avoid segfaults, due maybe to ctypes?).

2 weeks agobuild: disable gold linker in CI
Vincent Bernat [Sun, 31 Mar 2024 13:46:54 +0000 (15:46 +0200)] 
build: disable gold linker in CI

This should not be needed anymore nowadays. This is a tentative to fix
the following errors with clang:

    /usr/bin/ld.gold: warning: Cannot export local symbol '__asan_check_load_add_16_RAX'

4 weeks agoclient: spell fix
Paul Donald [Sat, 16 Mar 2024 17:27:37 +0000 (18:27 +0100)] 
client: spell fix

4 weeks agodocs: man page fixes
Paul Donald [Sat, 16 Mar 2024 17:25:42 +0000 (18:25 +0100)] 
docs: man page fixes

6 weeks agobuild: bump cachix/install-nix-action from 24 to 25
dependabot[bot] [Thu, 1 Feb 2024 19:50:11 +0000 (19:50 +0000)] 
build: bump cachix/install-nix-action from 24 to 25

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
6 weeks agobuild: bump cross-platform-actions/action from 0.22.0 to 0.23.0
dependabot[bot] [Fri, 1 Mar 2024 19:19:11 +0000 (19:19 +0000)] 
build: bump cross-platform-actions/action from 0.22.0 to 0.23.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agodocs: man page fixes
Paul Dee [Thu, 8 Feb 2024 17:32:59 +0000 (18:32 +0100)] 
docs: man page fixes

changed: network cable -> link

change -M help text in src/daemon/lldpd.c also

3 months agoosx: update Brew formula
Vincent Bernat [Sun, 14 Jan 2024 15:50:31 +0000 (16:50 +0100)] 
osx: update Brew formula

3 months agoredhat: suppress extra .la file we don't want to install 1.0.18
Vincent Bernat [Sun, 14 Jan 2024 14:36:05 +0000 (15:36 +0100)] 
redhat: suppress extra .la file we don't want to install

3 months agoredhat: fix date in changelog
Vincent Bernat [Sun, 14 Jan 2024 14:32:01 +0000 (15:32 +0100)] 
redhat: fix date in changelog

3 months agorelease: 1.0.18
Vincent Bernat [Sun, 14 Jan 2024 14:11:38 +0000 (15:11 +0100)] 
release: 1.0.18

There is a small regression in support for 802.3BT. People should keep
using 1.0.17 if that's important for them.

3 months agobuild: bump actions/download-artifact from 3 to 4
dependabot[bot] [Mon, 1 Jan 2024 19:28:31 +0000 (19:28 +0000)] 
build: bump actions/download-artifact from 3 to 4

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agobuild: bump actions/upload-artifact from 3 to 4
dependabot[bot] [Mon, 1 Jan 2024 19:28:34 +0000 (19:28 +0000)] 
build: bump actions/upload-artifact from 3 to 4

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months agobuild: bump cross-platform-actions/action from 0.21.1 to 0.22.0
dependabot[bot] [Mon, 1 Jan 2024 19:28:36 +0000 (19:28 +0000)] 
build: bump cross-platform-actions/action from 0.21.1 to 0.22.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.21.1 to 0.22.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.21.1...v0.22.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agodaemon/netlink: fix documentation string
Vincent Bernat [Mon, 4 Dec 2023 20:54:23 +0000 (21:54 +0100)] 
daemon/netlink: fix documentation string

4 months agodaemon/netlink: use a different socket for changes and queries
Vincent Bernat [Mon, 4 Dec 2023 15:58:23 +0000 (16:58 +0100)] 
daemon/netlink: use a different socket for changes and queries

There is a race condition when using the same socket for both. We need
to subscribe for changes before getting the current state as we don't
want to miss an update happening while we get the initial state, but if
there is such an update, the Netlink messages we receive may not be the
ones we expect.

Fix #611

4 months agocompat: add compat.h header to get forward declarations
Vincent Bernat [Mon, 4 Dec 2023 15:52:45 +0000 (16:52 +0100)] 
compat: add compat.h header to get forward declarations

4 months agodaemon/priv: no need to define IFALIASZ
Vincent Bernat [Sat, 2 Dec 2023 21:01:28 +0000 (22:01 +0100)] 
daemon/priv: no need to define IFALIASZ

It is part of the shipped kernel header. This is a bit odd we did define
it...

4 months agodaemon/lldpd: do not set interface description continuously
Vincent Bernat [Sat, 2 Dec 2023 20:56:29 +0000 (21:56 +0100)] 
daemon/lldpd: do not set interface description continuously

Otherwise, we get a continuous flow of netlink updates.

Fix #623

4 months agobuild: update automake for OpenBSD
Vincent Bernat [Fri, 1 Dec 2023 21:53:02 +0000 (22:53 +0100)] 
build: update automake for OpenBSD

4 months agobuild: update BSD versions, add NetBSD
Vincent Bernat [Fri, 1 Dec 2023 21:20:58 +0000 (22:20 +0100)] 
build: update BSD versions, add NetBSD

4 months agobuild: keep using xhyve for OpenBSD
Vincent Bernat [Fri, 1 Dec 2023 21:03:31 +0000 (22:03 +0100)] 
build: keep using xhyve for OpenBSD

See https://github.com/cross-platform-actions/action/issues/73

4 months agobuild: use QEMU for testing FreeBSD/OpenBSD
Vincent Bernat [Fri, 1 Dec 2023 20:56:11 +0000 (21:56 +0100)] 
build: use QEMU for testing FreeBSD/OpenBSD

FreeBSD jobs often fail with a timeout.

4 months agobuild: bump cachix/install-nix-action from 23 to 24
dependabot[bot] [Fri, 1 Dec 2023 19:59:09 +0000 (19:59 +0000)] 
build: bump cachix/install-nix-action from 23 to 24

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
4 months agobuild: improve const correctness and prototype declarations
Georg Sauthoff [Fri, 24 Nov 2023 22:37:44 +0000 (23:37 +0100)] 
build: improve const correctness and prototype declarations

String literals aren't assigned to non-const char pointers anymore, they
aren't returned via non-const char pointers, const strings aren't passed
arround via non-const pointers etc.

As a side effect, this eliminates all -Wdiscarded-qualifiers warnings.

Symbol visibility is minimized by declaring additional functions
static, i.e those which are only used inside a single translation unit.

Also, a few includes are added such that all non-static function
definitions 'see' their declarations - such that accidental differences
in signatures immedialy yield compile errors or warnings.

A few macros are also modified to emit forward declarations for
non-static functions in order to eliminate noise when compiling with
-Wmissing-prototypes.
However, it might make sense to move those non-static function
definitions from a header into a dedicated translation unit,
at some point.

4 months agobuild: ensure we use -Werror on Linux builds
Vincent Bernat [Sat, 25 Nov 2023 15:14:08 +0000 (16:14 +0100)] 
build: ensure we use -Werror on Linux builds

4 months agoclient: fix style
Vincent Bernat [Sat, 25 Nov 2023 03:33:45 +0000 (04:33 +0100)] 
client: fix style

4 months agoclient: translate dot into the short hostname
Georg Sauthoff [Fri, 24 Nov 2023 19:06:06 +0000 (20:06 +0100)] 
client: translate dot into the short hostname

as documented in lldpcli(8):

    configure system hostname name

        Override system hostname with the provided value. By default, the
        system name is the FQDN found from the resolved value of uname
        -n.  As a special value, use "." (dot) to use the short hostname
        instead of a FQDN.

4 months agobuild: remove coverity
Vincent Bernat [Fri, 24 Nov 2023 09:14:05 +0000 (10:14 +0100)] 
build: remove coverity

It is broken, again. The tool still advertises Travis CI, it looks
unmaintained.

5 months agodaemon/lldpd: fix capitalization in help output
Vincent Bernat [Fri, 17 Nov 2023 12:19:34 +0000 (13:19 +0100)] 
daemon/lldpd: fix capitalization in help output

5 months agodaemon/lldp: fix warning message about out of order TLVs
Vincent Bernat [Tue, 7 Nov 2023 07:17:29 +0000 (08:17 +0100)] 
daemon/lldp: fix warning message about out of order TLVs

Fix #616

5 months agobuild: bump docker/login-action from 2 to 3
dependabot[bot] [Wed, 1 Nov 2023 19:15:38 +0000 (19:15 +0000)] 
build: bump docker/login-action from 2 to 3

Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agobuild: bump docker/metadata-action from 4 to 5
dependabot[bot] [Wed, 1 Nov 2023 19:15:42 +0000 (19:15 +0000)] 
build: bump docker/metadata-action from 4 to 5

Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agobuild: bump cross-platform-actions/action from 0.19.0 to 0.21.0
dependabot[bot] [Wed, 1 Nov 2023 19:15:34 +0000 (19:15 +0000)] 
build: bump cross-platform-actions/action from 0.19.0 to 0.21.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
6 months agolib/lldpctl: fix style
Vincent Bernat [Sun, 15 Oct 2023 18:31:27 +0000 (20:31 +0200)] 
lib/lldpctl: fix style

6 months agodaemon/lldp: restore read support for 802.3BT
Vincent Bernat [Sun, 15 Oct 2023 18:28:46 +0000 (20:28 +0200)] 
daemon/lldp: restore read support for 802.3BT

As it was said to work for most people, let's keep it. Just remove write
support for now.

6 months agobuild: update nixpkgs
Vincent Bernat [Sun, 15 Oct 2023 18:19:57 +0000 (20:19 +0200)] 
build: update nixpkgs

6 months agotests/integration: also remove 802.3bt test
Vincent Bernat [Sun, 15 Oct 2023 18:08:23 +0000 (20:08 +0200)] 
tests/integration: also remove 802.3bt test

6 months agolib: bump API/ABI
Vincent Bernat [Sun, 15 Oct 2023 17:58:33 +0000 (19:58 +0200)] 
lib: bump API/ABI

Due to previous change, it seems safer to bump the API/ABI as it would
be easy to reuse the numbers introduced by 802.3bt.

Fix #404 (as a side-effect)

6 months agodaemon/lldp: remove support for 802.3bt
Vincent Bernat [Sun, 15 Oct 2023 17:41:38 +0000 (19:41 +0200)] 
daemon/lldp: remove support for 802.3bt

It was broken and despite a tentative to fix it, it is unknown if this
is correct. This looks different from the code in Wireshark. Maybe it
was done on an earlier version of 802.3bt? As the standard is not freely
available, I cannot reasonably fix it.

6 months agodaemon/protocols: fix some 802.3bt stuff
Vincent Bernat [Sun, 15 Oct 2023 17:40:37 +0000 (19:40 +0200)] 
daemon/protocols: fix some 802.3bt stuff

And add some tests.

6 months agolldpcli: fix capitalization
Vincent Bernat [Sun, 15 Oct 2023 17:38:49 +0000 (19:38 +0200)] 
lldpcli: fix capitalization

6 months agoclient/conf-power: Add support for 803.2bt parameters.
Andreas Hofmann [Tue, 18 May 2021 12:39:49 +0000 (14:39 +0200)] 
client/conf-power: Add support for 803.2bt parameters.

Signed-off-by: Andreas Hofmann <git@andreas-hofmann.org>
6 months agobuild: fix alignment in configure.ac
Vincent Bernat [Mon, 25 Sep 2023 05:15:37 +0000 (07:15 +0200)] 
build: fix alignment in configure.ac

6 months agobuild: bump docker/setup-buildx-action from 2 to 3 (#608)
dependabot[bot] [Mon, 2 Oct 2023 06:28:07 +0000 (06:28 +0000)] 
build: bump docker/setup-buildx-action from 2 to 3 (#608)

6 months agobuild: bump docker/setup-qemu-action from 2 to 3
dependabot[bot] [Sun, 1 Oct 2023 19:58:09 +0000 (19:58 +0000)] 
build: bump docker/setup-qemu-action from 2 to 3

Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
6 months agobuild: bump cachix/install-nix-action from 22 to 23 (#607)
dependabot[bot] [Sun, 1 Oct 2023 21:02:38 +0000 (21:02 +0000)] 
build: bump cachix/install-nix-action from 22 to 23 (#607)

6 months agobuild: bump docker/build-push-action from 4 to 5 (#609)
dependabot[bot] [Sun, 1 Oct 2023 20:29:02 +0000 (20:29 +0000)] 
build: bump docker/build-push-action from 4 to 5 (#609)

6 months agobuild: bump actions/checkout from 3 to 4
dependabot[bot] [Sun, 1 Oct 2023 19:21:06 +0000 (19:21 +0000)] 
build: bump actions/checkout from 3 to 4

Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
6 months ago[oss-fuzz] Issue 62435
Arjun Singh [Wed, 20 Sep 2023 11:29:52 +0000 (16:59 +0530)] 
[oss-fuzz] Issue 62435

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
7 months ago[bug] fix 5193822305648640 and 4673544697806848
Arjun Singh [Mon, 7 Aug 2023 11:31:45 +0000 (17:01 +0530)] 
[bug] fix 5193822305648640 and 4673544697806848

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
7 months agobuild: bump cross-platform-actions/action from 0.17.0 to 0.19.0
dependabot[bot] [Fri, 1 Sep 2023 19:13:42 +0000 (19:13 +0000)] 
build: bump cross-platform-actions/action from 0.17.0 to 0.19.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.17.0 to 0.19.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.17.0...v0.19.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
8 months agobuild: bump cross-platform-actions/action from 0.15.0 to 0.17.0 (#595)
dependabot[bot] [Tue, 1 Aug 2023 20:38:31 +0000 (20:38 +0000)] 
build: bump cross-platform-actions/action from 0.15.0 to 0.17.0 (#595)

9 months agobuild: try another way to workaround problem with brew
Vincent Bernat [Tue, 4 Jul 2023 19:58:33 +0000 (21:58 +0200)] 
build: try another way to workaround problem with brew

brew update is not mandatory, let's try it as a best effort.

9 months agobuild: try to fix CI on MacOS
Vincent Bernat [Tue, 4 Jul 2023 19:54:29 +0000 (21:54 +0200)] 
build: try to fix CI on MacOS

9 months agogithub: add GitHub sponsorship
Vincent Bernat [Sun, 2 Jul 2023 15:49:27 +0000 (17:49 +0200)] 
github: add GitHub sponsorship

9 months agobuild: bump actions/upload-artifact from 1 to 3
dependabot[bot] [Sat, 1 Jul 2023 19:15:36 +0000 (19:15 +0000)] 
build: bump actions/upload-artifact from 1 to 3

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months agobuild: bump cachix/install-nix-action from 21 to 22
dependabot[bot] [Sat, 1 Jul 2023 19:15:34 +0000 (19:15 +0000)] 
build: bump cachix/install-nix-action from 21 to 22

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months agobuild: bump cross-platform-actions/action from 0.14.0 to 0.15.0
dependabot[bot] [Sat, 1 Jul 2023 19:15:30 +0000 (19:15 +0000)] 
build: bump cross-platform-actions/action from 0.14.0 to 0.15.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
9 months agoclient: do not expose update command when unprivileged
Vincent Bernat [Thu, 29 Jun 2023 17:49:52 +0000 (19:49 +0200)] 
client: do not expose update command when unprivileged

9 months agobuild: rename fuzzing workflow
Vincent Bernat [Sat, 3 Jun 2023 21:07:39 +0000 (23:07 +0200)] 
build: rename fuzzing workflow

10 months agobuild: bump cross-platform-actions/action from 0.13.0 to 0.14.0
dependabot[bot] [Thu, 1 Jun 2023 19:58:25 +0000 (19:58 +0000)] 
build: bump cross-platform-actions/action from 0.13.0 to 0.14.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
10 months agobuild: bump cachix/install-nix-action from 20 to 21
dependabot[bot] [Thu, 1 Jun 2023 19:58:20 +0000 (19:58 +0000)] 
build: bump cachix/install-nix-action from 20 to 21

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
10 months agobuild: reformat action for fuzzing
Vincent Bernat [Sat, 3 Jun 2023 20:22:38 +0000 (22:22 +0200)] 
build: reformat action for fuzzing

10 months ago[Fuzzing] oss-fuzz cifuzz (#587)
Arjun [Sat, 3 Jun 2023 20:20:54 +0000 (01:50 +0530)] 
[Fuzzing] oss-fuzz cifuzz (#587)

* [Fuzzing] oss-fuzz cifuzz

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
10 months agodocs: add a NEWS entry about memory leak
Vincent Bernat [Thu, 1 Jun 2023 05:48:49 +0000 (07:48 +0200)] 
docs: add a NEWS entry about memory leak

10 months agodaemon: do not start if fuzzing build mode is enabled
Vincent Bernat [Thu, 1 Jun 2023 05:46:43 +0000 (07:46 +0200)] 
daemon: do not start if fuzzing build mode is enabled

10 months agoMerge pull request #584 from 0x34d/fuzzing
Vincent Bernat [Thu, 1 Jun 2023 05:43:46 +0000 (07:43 +0200)] 
Merge pull request #584 from 0x34d/fuzzing

[Fuzzing] updates for oss-fuzz Ideal integration

10 months ago[Fuzzing] updates for oss-fuzz Ideal integration 584/head
Arjun Singh [Sat, 27 May 2023 15:52:12 +0000 (21:22 +0530)] 
[Fuzzing] updates for oss-fuzz Ideal integration

Signed-off-by: Arjun Singh <ajsinghyadav00@gmail.com>
11 months agoosx: update homebrew recipe
Vincent Bernat [Thu, 18 May 2023 14:32:43 +0000 (16:32 +0200)] 
osx: update homebrew recipe

11 months agoosx: don't use plist_options
Vincent Bernat [Thu, 18 May 2023 14:31:55 +0000 (16:31 +0200)] 
osx: don't use plist_options

11 months agoredhat: do not ship .la file in -devel package
Vincent Bernat [Thu, 18 May 2023 14:29:44 +0000 (16:29 +0200)] 
redhat: do not ship .la file in -devel package

11 months agorelease: 1.0.17 1.0.17
Vincent Bernat [Thu, 18 May 2023 14:11:45 +0000 (16:11 +0200)] 
release: 1.0.17

11 months agobuild: bump cross-platform-actions/action from 0.10.0 to 0.13.0
dependabot[bot] [Mon, 1 May 2023 19:58:53 +0000 (19:58 +0000)] 
build: bump cross-platform-actions/action from 0.10.0 to 0.13.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.10.0 to 0.13.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.10.0...v0.13.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months agoclient: don't output empty lines on configure commands
Vincent Bernat [Fri, 21 Apr 2023 20:31:26 +0000 (22:31 +0200)] 
client: don't output empty lines on configure commands

12 months agolib: remove unreachable code
Vincent Bernat [Tue, 18 Apr 2023 05:12:27 +0000 (07:12 +0200)] 
lib: remove unreachable code

12 months agodaemon: fix read overflow when parsing CDP addresses
Vincent Bernat [Wed, 12 Apr 2023 05:38:31 +0000 (07:38 +0200)] 
daemon: fix read overflow when parsing CDP addresses

13 months agobuild: bump cachix/install-nix-action from 18 to 20
dependabot[bot] [Wed, 1 Mar 2023 19:59:47 +0000 (19:59 +0000)] 
build: bump cachix/install-nix-action from 18 to 20

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
14 months agointerfaces: fix use of isdigit()
Vincent Bernat [Sat, 11 Feb 2023 09:59:53 +0000 (10:59 +0100)] 
interfaces: fix use of isdigit()

It is expecting an unsigned char. Make a cast.

14 months agobuild: bump cross-platform-actions/action from 0.7.0 to 0.10.0
dependabot[bot] [Thu, 2 Feb 2023 20:15:24 +0000 (20:15 +0000)] 
build: bump cross-platform-actions/action from 0.7.0 to 0.10.0

Bumps [cross-platform-actions/action](https://github.com/cross-platform-actions/action) from 0.7.0 to 0.10.0.
- [Release notes](https://github.com/cross-platform-actions/action/releases)
- [Changelog](https://github.com/cross-platform-actions/action/blob/master/changelog.md)
- [Commits](https://github.com/cross-platform-actions/action/compare/v0.7.0...v0.10.0)

---
updated-dependencies:
- dependency-name: cross-platform-actions/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
14 months agobuild: bump docker/build-push-action from 3 to 4
dependabot[bot] [Wed, 1 Feb 2023 19:04:06 +0000 (19:04 +0000)] 
build: bump docker/build-push-action from 3 to 4

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
14 months agobuild: don't run clang build with SNMP support
Vincent Bernat [Thu, 2 Feb 2023 19:47:23 +0000 (20:47 +0100)] 
build: don't run clang build with SNMP support

The flags from net-snmp-config does not work with clang. This is always
a mess.

15 months agobuild: bump cross-platform-actions/action from 0.6.2 to 0.7.0 (#566)
dependabot[bot] [Sun, 1 Jan 2023 19:27:37 +0000 (19:27 +0000)] 
build: bump cross-platform-actions/action from 0.6.2 to 0.7.0 (#566)

15 months agobuild: fix lldpcli build
Vincent Bernat [Thu, 29 Dec 2022 23:34:16 +0000 (00:34 +0100)] 
build: fix lldpcli build

15 months agobuild: better integration of fuzz-decode in build process
Vincent Bernat [Thu, 29 Dec 2022 22:25:05 +0000 (23:25 +0100)] 
build: better integration of fuzz-decode in build process

I need it to reproduce crashs. Get rid of `build.sh` which does not work
with OOT compilation. Move the needed bits inside README. Simplify some
of the flags used.

15 months agointerfaces: properly initialize ethtool structure
Vincent Bernat [Thu, 29 Dec 2022 21:01:13 +0000 (22:01 +0100)] 
interfaces: properly initialize ethtool structure

16 months agobuild: make all char unsigned
Vincent Bernat [Mon, 12 Dec 2022 13:20:25 +0000 (14:20 +0100)] 
build: make all char unsigned

This is something that may be used by the kernel later. char may be
signed or unsigned depending on the architecture, so catching that may
be difficult without this option.

16 months agotests: mark "too_many_vlans" test as unreliable
Vincent Bernat [Fri, 9 Dec 2022 08:26:48 +0000 (09:26 +0100)] 
tests: mark "too_many_vlans" test as unreliable

16 months agom4/progname.m4: Include <stdio.h> for printf in lldp_CHECK___PROGNAME
Florian Weimer [Thu, 8 Dec 2022 12:01:07 +0000 (13:01 +0100)] 
m4/progname.m4: Include <stdio.h> for printf in lldp_CHECK___PROGNAME

Otherwise the checks always fails with a compiler that does not
support implict function declarations.

16 months agotests: give more time to lldpd when handling many VLANs
Vincent Bernat [Thu, 8 Dec 2022 18:08:18 +0000 (19:08 +0100)] 
tests: give more time to lldpd when handling many VLANs

16 months agotests: use prefixlen instead of mask with pyroute2
Vincent Bernat [Thu, 8 Dec 2022 18:08:04 +0000 (19:08 +0100)] 
tests: use prefixlen instead of mask with pyroute2

16 months agotests: upgrade pytest and others to more recent versions
Vincent Bernat [Thu, 8 Dec 2022 17:37:36 +0000 (18:37 +0100)] 
tests: upgrade pytest and others to more recent versions

16 months agotests: fix warnings about format string
Vincent Bernat [Thu, 8 Dec 2022 17:29:42 +0000 (18:29 +0100)] 
tests: fix warnings about format string