Comments (5)
What's the output of systemctl cat lldpd
?
from lldpd.
Hi Vincent,
thank you for prompt reply.
Here is the ouput
root@tiger:~# systemctl cat lldpd.service
/lib/systemd/system/lldpd.service
[Unit]
Description=LLDP daemon
Documentation=man:lldpd(8)
After=network-online.target networking.service syslog.service
RequiresMountsFor=/var/run/lldpd
[Service]
Type=notify
NotifyAccess=main
EnvironmentFile=-/etc/default/lldpd
EnvironmentFile=-/etc/sysconfig/lldpd
ExecStart=/usr/sbin/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
Restart=always
StartLimitInterval=180
StartLimitBurst=3
TimeoutStartSec=30
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=yes
ProtectSystem=full
systemd v232 and higher, only.
#ProtectKernelTunables=yes
#ProtectControlGroups=yes
#ProtectKernelModules=yes
#ProtectSystem=full
Security hardening:
NoNewPrivileges=true
RestrictRealtime=true
LockPersonality=true
MemoryDenyWriteExecute=true
ProtectKernelLogs=true
ProtectKernelTunables=true
ProtectProc=invisible
ProtectKernelModules=true
ProtectControlGroups=true
ProtectHostname=true
ProtectClock=yes
UMask=0077
RestrictSUIDSGID=true
RestrictNamespaces=true
PrivateDevices=true
SystemCallFilter=~@clock @debug @reboot @raw-io @swap @module @obsolete @cpu-emulation
SystemCallArchitectures=native
[Install]
WantedBy=multi-user.target
from lldpd.
Just to add the following is the config present before hitting the loop...
DAEMON_ARGS="-c -i -M 4"
configure lldp tx-interval 30
configure lldp tx-hold 4
The intresting part is, if i add the DAEMON_ARGS like the following
DAEMON_ARGS="-dddd -D send -D main -D interfaces -D lldp -D decode -D event -D receive -D alloc -D loop c -M 4"
then do systemctl restart lldpd....i see the neighbours going through....but i do see an extra line in systemctl status lldpd along with the following lines
CGroup: /system.slice/lldpd.service
├─54215 "lldpd: monitor. "
└─54218 "lldpd: 6 neighbors."
|---- dddd -D send -D main -D interfaces -D lldp -D decode -D event -D receive -D alloc -D loop c. -----> similar to this
I am really interested to know the issue here.
Thank you in advance
from lldpd.
HI Vincent,
Could you please let me know
from lldpd.
The .service
file is not the one shipped by lldpd. I suppose it was tweaked by Cumulus Linux. Notably, there are many restrictions. Also, in general, I don't think this is a good idea replacing Cumulus version of lldpd with the upstream one. You are likely to get more problems for that.
from lldpd.
Related Issues (20)
- Busyloop on permanent interface disappearing HOT 1
- forbidden interfaces still receive lldp packets HOT 5
- Missing some MIBS for retrieving Information for Custom TLV's HOT 1
- lldpd can return negative age
- lldpctl accepts commands from lldpcli HOT 1
- How to modify and modify the Capabilities configuration parameters HOT 1
- warning: `lldpd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
- Memory leak in `kv_data` function HOT 1
- In some cases lldpd cannot get all interfaces HOT 3
- Warning for out-of-order mandatory TLV is misleading HOT 1
- Not clear how to enable debug output HOT 2
- -m [interface name] does not appear to work HOT 1
- I wrote a case to get the neighbor information of lldpd, but it was not available. HOT 2
- No error message upon requesting non-existing interface. HOT 1
- LLDPd Causes Constant Link-Ups HOT 11
- new release?🤔 HOT 2
- chance for a segfault HOT 1
- Memory Leak in lldpd-1.0.17/src/marshal.c HOT 4
- Update RPM bundle for EPEL or AlmaLinux 8/9 Support HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lldpd.