Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

priv does not disable Intel X7xx firmware LLDP on FreeBSD #660

Closed
neirbowj opened this issue May 11, 2024 · 0 comments · Fixed by #661
Closed

priv does not disable Intel X7xx firmware LLDP on FreeBSD #660

neirbowj opened this issue May 11, 2024 · 0 comments · Fixed by #661
Labels

Comments

@neirbowj
Copy link
Contributor

Bug description

a74fd8c only disables the Intel 700 series firmware LLDP process on Linux. See also: 45f3c77

Steps to reproduce the problem

  1. Install the net-mgmt/lldpd port on a FreeBSD machine equipped with an Intel X7xx NIC (see ixl(4))
  2. Enable the lldpd service (e.g. sysrc lldpd_enable=YES)
  3. Start the lldpd service (e.g. service lldpd start)
  4. Run sysctl dev.ixl | grep lldp
  5. Observe that the value of each dev.ixl.N.fw_lldp sysctl is 1.

Expected outcome

lldpd has disabled the ixl firmware LLDP process.

Current outcome

lldpd leaves the ixl firmware LLDP enabled.

Additional information

Note that this is from a local ports tree where the net-mgmt/lldpd update from 1.0.14 to 1.0.18 has not yet been submitted/accepted upstream.

  • Output of lldpd -vv:
lldpd 1.0.18
  Built on 2024-04-10T16:46:36Z

Additional LLDP features:    LLDP-MED, Dot1, Dot3, Custom TLV
Additional protocols:        CDP, FDP, EDP, SONMP
SNMP support:                yes
Privilege separation:        enabled
Privilege separation user:   _lldpd
Privilege separation group:  _lldpd
Privilege separation chroot: /var/run/lldpd
Configuration directory:     /usr/local/etc

C compiler command: cc  -Wunknown-warning-option -fdiagnostics-show-option -fdiagnostics-color=auto -fno-omit-frame-pointer -funsigned-char -pipe -Wall -W -Wextra -Wformat -Wformat-security -Wimplicit-fallthrough -Wfatal-errors -Wheader-guard -Wdocumentation -Winline -Wpointer-arith -Wmissing-prototypes -Wno-cast-align -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare -fstack-protector -fstack-protector-all -fstack-protector-strong -fstack-clash-protection  -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -std=gnu99  -isystem /usr/local/include
Linker command:     /usr/bin/ld  -Wl,-z,relro -Wl,-z,now   -Wl,-rpath,/usr/local/lib -fstack-protector-strong  -L/usr/local/lib
  • Output of uname -sro:
FreeBSD 13.3-RELEASE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant