]>
git.ipfire.org Git - thirdparty/lldpd.git/log
dependabot[bot] [Sun, 1 Oct 2023 20:29:02 +0000 (20:29 +0000)]
build: bump docker/build-push-action from 4 to 5 (#609)
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>
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>
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>
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>
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)
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.
Vincent Bernat [Tue, 4 Jul 2023 19:54:29 +0000 (21:54 +0200)]
build: try to fix CI on MacOS
Vincent Bernat [Sun, 2 Jul 2023 15:49:27 +0000 (17:49 +0200)]
github: add GitHub sponsorship
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>
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>
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>
Vincent Bernat [Thu, 29 Jun 2023 17:49:52 +0000 (19:49 +0200)]
client: do not expose update command when unprivileged
Vincent Bernat [Sat, 3 Jun 2023 21:07:39 +0000 (23:07 +0200)]
build: rename fuzzing workflow
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>
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>
Vincent Bernat [Sat, 3 Jun 2023 20:22:38 +0000 (22:22 +0200)]
build: reformat action for fuzzing
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>
Vincent Bernat [Thu, 1 Jun 2023 05:48:49 +0000 (07:48 +0200)]
docs: add a NEWS entry about memory leak
Vincent Bernat [Thu, 1 Jun 2023 05:46:43 +0000 (07:46 +0200)]
daemon: do not start if fuzzing build mode is enabled
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
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>
Vincent Bernat [Thu, 18 May 2023 14:32:43 +0000 (16:32 +0200)]
osx: update homebrew recipe
Vincent Bernat [Thu, 18 May 2023 14:31:55 +0000 (16:31 +0200)]
osx: don't use plist_options
Vincent Bernat [Thu, 18 May 2023 14:29:44 +0000 (16:29 +0200)]
redhat: do not ship .la file in -devel package
Vincent Bernat [Thu, 18 May 2023 14:11:45 +0000 (16:11 +0200)]
release: 1.0.17
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>
Vincent Bernat [Fri, 21 Apr 2023 20:31:26 +0000 (22:31 +0200)]
client: don't output empty lines on configure commands
Vincent Bernat [Tue, 18 Apr 2023 05:12:27 +0000 (07:12 +0200)]
lib: remove unreachable code
Vincent Bernat [Wed, 12 Apr 2023 05:38:31 +0000 (07:38 +0200)]
daemon: fix read overflow when parsing CDP addresses
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>
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.
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>
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>
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.
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)
Vincent Bernat [Thu, 29 Dec 2022 23:34:16 +0000 (00:34 +0100)]
build: fix lldpcli build
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.
Vincent Bernat [Thu, 29 Dec 2022 21:01:13 +0000 (22:01 +0100)]
interfaces: properly initialize ethtool structure
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.
Vincent Bernat [Fri, 9 Dec 2022 08:26:48 +0000 (09:26 +0100)]
tests: mark "too_many_vlans" test as unreliable
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.
Vincent Bernat [Thu, 8 Dec 2022 18:08:18 +0000 (19:08 +0100)]
tests: give more time to lldpd when handling many VLANs
Vincent Bernat [Thu, 8 Dec 2022 18:08:04 +0000 (19:08 +0100)]
tests: use prefixlen instead of mask with pyroute2
Vincent Bernat [Thu, 8 Dec 2022 17:37:36 +0000 (18:37 +0100)]
tests: upgrade pytest and others to more recent versions
Vincent Bernat [Thu, 8 Dec 2022 17:29:42 +0000 (18:29 +0100)]
tests: fix warnings about format string
Vincent Bernat [Wed, 16 Nov 2022 23:54:10 +0000 (00:54 +0100)]
build: switch back to apheleia
dependabot[bot] [Thu, 1 Dec 2022 19:13:58 +0000 (19:13 +0000)]
Merge pull request #563 from lldpd/dependabot/github_actions/actions/cache-3
dependabot[bot] [Thu, 1 Dec 2022 19:01:50 +0000 (19:01 +0000)]
build: bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Vincent Bernat [Sat, 12 Nov 2022 08:10:03 +0000 (09:10 +0100)]
src/client: add two missing commands to manual page
Fix #480
Vincent Bernat [Sat, 12 Nov 2022 07:41:44 +0000 (08:41 +0100)]
build: update two additional docker actions
Vincent Bernat [Fri, 11 Nov 2022 16:48:04 +0000 (17:48 +0100)]
build: fix release script to work with OOT build dir
Vincent Bernat [Fri, 11 Nov 2022 16:43:53 +0000 (17:43 +0100)]
osx: update Homebrew recipe
dependabot[bot] [Fri, 11 Nov 2022 14:24:11 +0000 (14:24 +0000)]
build: bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)
---
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>
dependabot[bot] [Fri, 11 Nov 2022 14:24:16 +0000 (14:24 +0000)]
build: bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)
---
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>
dependabot[bot] [Fri, 11 Nov 2022 14:24:18 +0000 (14:24 +0000)]
build: bump docker/metadata-action from 3 to 4
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [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/v3...v4)
---
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>
dependabot[bot] [Fri, 11 Nov 2022 14:24:25 +0000 (14:24 +0000)]
build: bump cachix/install-nix-action from 17 to 18
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 17 to 18.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v17...v18)
---
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>
dependabot[bot] [Fri, 11 Nov 2022 14:24:27 +0000 (14:24 +0000)]
build: bump actions/download-artifact from 2 to 3
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)
---
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>
Vincent Bernat [Fri, 11 Nov 2022 14:18:07 +0000 (15:18 +0100)]
build: add dependabot
Vincent Bernat [Fri, 11 Nov 2022 14:17:21 +0000 (15:17 +0100)]
build: update some actions to remove warnings
Vincent Bernat [Fri, 11 Nov 2022 14:13:23 +0000 (15:13 +0100)]
build: update set-output method for GitHub action
Vincent Bernat [Fri, 11 Nov 2022 13:25:30 +0000 (14:25 +0100)]
release: 1.0.16
Vincent Bernat [Sun, 6 Nov 2022 11:42:31 +0000 (12:42 +0100)]
build: add .git-blame-ignore-revs file
Vincent Bernat [Sun, 6 Nov 2022 11:39:50 +0000 (12:39 +0100)]
build: reformat code
Vincent Bernat [Sun, 6 Nov 2022 08:52:00 +0000 (09:52 +0100)]
ci: enforce a format style with clang-format and black
On PR, we could use git-clang-format instead.
Vincent Bernat [Sat, 5 Nov 2022 23:40:51 +0000 (00:40 +0100)]
ci: add an Emacs script to format C files
git ls-files '*.c' '*.h' \
| grep -v '^include/' \
| xargs emacs -Q --batch -l tests/ci/openbsd-knf-style.el
Vincent Bernat [Sat, 5 Nov 2022 19:18:27 +0000 (20:18 +0100)]
build: move again stuff using libfuzzer
And fix documentation.
Vincent Bernat [Fri, 4 Nov 2022 20:26:49 +0000 (21:26 +0100)]
build: fix fuzz-decode automake
0x34d [Sun, 9 Oct 2022 11:37:02 +0000 (17:07 +0530)]
oss-fuzz and fuzzer files #551
Signed-off-by: 0x34d <ajsinghyadav00@gmail.com>
Vincent Bernat [Thu, 27 Oct 2022 21:40:01 +0000 (23:40 +0200)]
ci: update cross-platform-actions to 0.6.2
To get OpenBSD 7.1.
Vincent Bernat [Thu, 27 Oct 2022 21:36:50 +0000 (23:36 +0200)]
ci: do not try to compile SNMP on MacOS
Broken, I don't think anybody is really using it. For some reason, the
Homebrew version does not take over.
Vincent Bernat [Thu, 27 Oct 2022 21:11:30 +0000 (23:11 +0200)]
ci: test with OpenBSD 7.1
Latest is 7.2, but it's good to build with the version before. 6.9 not
available anymore.
Vincent Bernat [Thu, 27 Oct 2022 21:22:53 +0000 (23:22 +0200)]
ci: try to install NetSNMP from Homebrew
The one shipped with MacOS is broken.
```
checking whether C compiler supports flag "-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -Os -pipe -DBUILD=174 -DMACOSX_DEPLOYMENT_TARGET=12.6 --sysroot /Applications/Xcode_14.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -iframeworkwithsysroot /System/Library/Frameworks/-1788-11ed-b9c4-
96898e02b808 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/PrivateFrameworks/ -1788-11ed-b9c4-
96898e02b808 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/System/Library/Frameworks/ -iwithsysroot /usr/local/libressl/include -L/AppleInternal/Library/BuildRoots/
a0876c02 -1788-11ed-b9c4-
96898e02b808 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.6.Internal.sdk/usr/local/libressl/lib -Udarwin21 -Ddarwin21=darwin21 -I/usr/local/include -DNETSNMP_NO_INLINE -lnetsnmpmibs -lnetsnmpagent -lnetsnmp"
```
Vincent Bernat [Thu, 27 Oct 2022 21:02:34 +0000 (23:02 +0200)]
daemon: name the ints returned by pattern_match() function
Vincent Bernat [Thu, 27 Oct 2022 20:55:25 +0000 (22:55 +0200)]
daemon: cleanup remote ports for permanent interfaces too
Otherwise, we will try to delete them again and again.
Fix #554
Vincent Bernat [Sat, 8 Oct 2022 11:41:38 +0000 (13:41 +0200)]
lib: fix types in custom TLVs documentation
Fix #550
Vincent Bernat [Thu, 22 Sep 2022 21:14:37 +0000 (23:14 +0200)]
client: document ability to have per-port custom TLVs
Vincent Bernat [Sun, 18 Sep 2022 08:03:43 +0000 (10:03 +0200)]
lib: zero receive buffer
This is not strictly needed as we only use the part that was correctly
written by recv(), but it helps static tool analysis.
Vincent Bernat [Sun, 18 Sep 2022 07:25:14 +0000 (09:25 +0200)]
build: really reset coverity cache
Vincent Bernat [Sun, 18 Sep 2022 07:23:58 +0000 (09:23 +0200)]
build: reset Coverity cache
Vincent Bernat [Thu, 18 Aug 2022 21:56:47 +0000 (23:56 +0200)]
daemon: do not use 00:00:00:00:00:00 as chassis ID
Fix #541
Vincent Bernat [Wed, 17 Aug 2022 18:18:41 +0000 (20:18 +0200)]
client: mention pause does not work in the configuration file
Fix #538
Vincent Bernat [Wed, 17 Aug 2022 15:36:42 +0000 (17:36 +0200)]
build: only build ARM64 docker images for releases
Vincent Bernat [Wed, 17 Aug 2022 14:50:25 +0000 (16:50 +0200)]
build: disable multi-arch build for now
We keep this as this would become handy in the future and people can
still try to use it.
Vincent Bernat [Wed, 17 Aug 2022 14:09:02 +0000 (16:09 +0200)]
build: ship universal binaries for macOS
This mostly reverts commit
737afb3517d822ae50722510993acbd097bc5aca .
We have to build in an OOT directory to make it work. This also
requires to bump minimum SDK to 11.1 (for ARM64 mostly but it also fix
an issue with strtonum() which is detected as available but really is
since 11.0 only).
This does not currently work as the host has to be ARM64 (to be able
to run both binaries). Otherwise, we would have to cross-compile. See
https://github.com/actions/runner-images/issues/2187 for availability.
Vincent Bernat [Wed, 17 Aug 2022 14:12:13 +0000 (16:12 +0200)]
build: try to run FreeBSD/OpenBSD on macos-latest
macos-10.15 environment is being deprecated.
Vincent Bernat [Wed, 17 Aug 2022 13:47:45 +0000 (15:47 +0200)]
build: prefer install in /usr/local in Docker
It does not matter much, but this is more correct from a distribution
point of view.
Vincent Bernat [Wed, 17 Aug 2022 13:07:26 +0000 (15:07 +0200)]
release: 1.0.15
Vincent Bernat [Tue, 16 Aug 2022 16:31:06 +0000 (18:31 +0200)]
protocol/lldp: accept unknown TLVs on known orgs
Fix #532
Vincent Bernat [Thu, 11 Aug 2022 16:24:39 +0000 (18:24 +0200)]
client: make a connection before parsing inputs
This shows a clear error message if the socket does not exist and when
using privileged commands.
Fix #535.
Vincent Bernat [Thu, 11 Aug 2022 10:34:32 +0000 (12:34 +0200)]
doc: mention contributor of last commit
Ignacio Sanchez Navarro [Mon, 1 Aug 2022 17:22:40 +0000 (13:22 -0400)]
client: Added support to override system capabilities
1) configure system capabilities enabled <capability_0,capability_1,...>
Override system capabilities with the provided value instead of using kernel information. Several capabilities can be specified separated by commas. Only available capabilities can be enabled. Valid capabilities are:
other
repeater
bridge
wlan
router
telephone
docsis
station
Here is an example of use:
lldpcli configure system capabilities enabled bridge,router
2) unconfigure system capabilities enabled
Do not override capabilities and use the kernel information. This option undoes the previous one.
Ignacio Sanchez Navarro (Ignacio.Sanchez@uws.ac.uk) - University of the West of Scotland - Supported by H2020-ICT-2020-2/
101017226 6G-BRAINS
-------------------------------------------------------------------------------
Modified files
lldpd-structs.h
- Added new attribute "c_cap_override" to "lldpd_config" struct
conf-system.c
- Added new function "cmd_capability" for new command to override the chassis capabilities
- Added new function "register_commands_capabilities" to registers new commands to override the chassis capabilities
- Added call to "register_commands_capabilities" in "register_commands_configure_system"
chassis.c
- Added new function "_lldpctl_atom_st_int_chassis" to set "int" type vars in chassis
- Added assignation of ".set_int" function in "chassis" var build
config.c
- Added case for "lldpctl_k_config_chassis_cap_override" to get value of "c_cap_override" in "_lldpctl_atom_get_int_config" function
- Added case for "lldpctl_k_config_chassis_cap_override" to set value of "c_cap_override" in "_lldpctl_atom_set_int_config" function
client.c
- Added changes check for "c_cap_override" var in "client_handle_set_configuration" function
- Added changes check for "c_cap_enabled" var in "client_handle_set_local_chassis" function
lldpctl.h
- Added new enum values un "lldpctl_key_t" enum : "lldpctl_k_chassis_cap_enabled" and "lldpctl_k_config_chassis_cap_override"
- Corrected some typos in previous comments
lldpd.c
- Added check of capabilities override before setting new values in "lldpd_update_localchassis" function
- Added check of capabilities override before setting initial value of "c_cap_enabled" to 0 in "lldpd_loop" function
- Added initial set of "cfg->g_config.c_cap_override" to 0 in "lldpd_main" function
interfaces.c
- Added check of capabilities override before setting new values in "interfaces_helper_chassis" function
display.c
- Added new line to display the status of capabilities override in "show configration" command
lldpcli.8.in
- Added new commands and descriptions to man file
Vincent Bernat [Fri, 5 Aug 2022 10:38:29 +0000 (12:38 +0200)]
build: update flake.lock
Vincent Bernat [Sat, 30 Jul 2022 09:37:05 +0000 (11:37 +0200)]
github: only build tags, master branch and pull requests
Vincent Bernat [Mon, 25 Jul 2022 05:32:48 +0000 (07:32 +0200)]
github: revert last change
The template is shown as text, so no need to escape backticks.
Vincent Bernat [Mon, 25 Jul 2022 05:31:18 +0000 (07:31 +0200)]
github: show how to use triple backticks
Vincent Bernat [Mon, 11 Jul 2022 06:30:35 +0000 (08:30 +0200)]
netlink: fix indentation
Vincent Bernat [Wed, 6 Jul 2022 20:56:29 +0000 (22:56 +0200)]
netlink: ignore IPv6 temporary addresses
Vincent Bernat [Wed, 6 Jul 2022 20:44:24 +0000 (22:44 +0200)]
tests: really fix "too many VLANs" test
We want to have a neighbor, but without VLANs.
Vincent Bernat [Wed, 6 Jul 2022 19:25:27 +0000 (21:25 +0200)]
doc: add an entry for latest commit
Also fix the test!