]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
15 years agoFactorize out cleanup of lldpd_hardware structure
Vincent Bernat [Tue, 9 Dec 2008 17:28:24 +0000 (18:28 +0100)] 
Factorize out cleanup of lldpd_hardware structure

15 years agoDo not share port id with interface MAC address (port id can be freed,
Vincent Bernat [Tue, 9 Dec 2008 17:16:49 +0000 (18:16 +0100)] 
Do not share port id with interface MAC address (port id can be freed,
while interface MAC address is staticaly allocated)

15 years agoWhen sending on inactive slaves, use a random MAC address
Vincent Bernat [Tue, 9 Dec 2008 17:00:39 +0000 (18:00 +0100)] 
When sending on inactive slaves, use a random MAC address

15 years agoDon't send anything on inactive slaves (this confuses most switches)
Vincent Bernat [Mon, 8 Dec 2008 10:08:09 +0000 (11:08 +0100)] 
Don't send anything on inactive slaves (this confuses most switches)

15 years agoDo not close control socket when there is an ethtool ioctl problem: we
Vincent Bernat [Sun, 7 Dec 2008 15:29:43 +0000 (16:29 +0100)] 
Do not close control socket when there is an ethtool ioctl problem: we
want to use it for future ioctl...

15 years agoSome equipments send empty TLV for optional TLV
Vincent Bernat [Fri, 5 Dec 2008 11:17:39 +0000 (12:17 +0100)] 
Some equipments send empty TLV for optional TLV

15 years agoComplete changelog with recent changes
Vincent Bernat [Mon, 1 Dec 2008 17:47:56 +0000 (18:47 +0100)] 
Complete changelog with recent changes

15 years agoAdd configuration switch to disable LLDP-MED inventory sending
Vincent Bernat [Fri, 28 Nov 2008 17:13:37 +0000 (18:13 +0100)] 
Add configuration switch to disable LLDP-MED inventory sending

15 years agoAdd an option to not send LLDP-MED inventory TLV
Vincent Bernat [Fri, 28 Nov 2008 17:06:11 +0000 (18:06 +0100)] 
Add an option to not send LLDP-MED inventory TLV

15 years agoRemove unneeded iface_is_bridged function
Vincent Bernat [Thu, 27 Nov 2008 19:02:53 +0000 (20:02 +0100)] 
Remove unneeded iface_is_bridged function

15 years agoHandle bridge in a different way using BRCTL_GET_BRIDGES instead of
Vincent Bernat [Thu, 27 Nov 2008 19:02:05 +0000 (20:02 +0100)] 
Handle bridge in a different way using BRCTL_GET_BRIDGES instead of
trying to ioctl all devices

15 years agoMore natural definition of packing macros
Vincent Bernat [Wed, 26 Nov 2008 20:08:17 +0000 (21:08 +0100)] 
More natural definition of packing macros

15 years agoUse lldpd_*_cleanup() functions instead of manual free
Vincent Bernat [Wed, 26 Nov 2008 18:24:43 +0000 (19:24 +0100)] 
Use lldpd_*_cleanup() functions instead of manual free

15 years agoAdd a way to disable Dot1 and Dot3
Vincent Bernat [Wed, 26 Nov 2008 18:21:06 +0000 (19:21 +0100)] 
Add a way to disable Dot1 and Dot3

15 years agoFix a typo when receiving LLDP-MED inventory asset id.
Vincent Bernat [Wed, 26 Nov 2008 16:01:47 +0000 (17:01 +0100)] 
Fix a typo when receiving LLDP-MED inventory asset id.

15 years agoFix reception of LLDP-MED inventory: one byte was stripped
Vincent Bernat [Wed, 26 Nov 2008 15:35:40 +0000 (16:35 +0100)] 
Fix reception of LLDP-MED inventory: one byte was stripped

15 years agoUpdate CHANGELOG and README to state that LLDP-MED is supported
Vincent Bernat [Wed, 26 Nov 2008 15:23:15 +0000 (16:23 +0100)] 
Update CHANGELOG and README to state that LLDP-MED is supported

15 years agoAdd support for LLDP-MED retrieval through SNMP
Vincent Bernat [Wed, 26 Nov 2008 15:18:50 +0000 (16:18 +0100)] 
Add support for LLDP-MED retrieval through SNMP

15 years agoImplement LLDP-MED reception and display
Vincent Bernat [Wed, 26 Nov 2008 14:23:00 +0000 (15:23 +0100)] 
Implement LLDP-MED reception and display

15 years agoStart support of LLDP-MED: send support is implemented
Vincent Bernat [Wed, 26 Nov 2008 11:47:12 +0000 (12:47 +0100)] 
Start support of LLDP-MED: send support is implemented

15 years agoMove at the bottom of configure.ac the instructions to conditionaly
Vincent Bernat [Tue, 25 Nov 2008 15:16:39 +0000 (16:16 +0100)] 
Move at the bottom of configure.ac the instructions to conditionaly
compile additional protocols

15 years agoAllow to compile only needed protocols
Vincent Bernat [Tue, 25 Nov 2008 15:15:22 +0000 (16:15 +0100)] 
Allow to compile only needed protocols

15 years agoFix a bug happening when walking local management address part of the
Vincent Bernat [Sat, 22 Nov 2008 14:52:49 +0000 (15:52 +0100)] 
Fix a bug happening when walking local management address part of the
MIB

15 years agoAdd a word about the default (broken) NetSNMP installation.
Vincent Bernat [Sat, 22 Nov 2008 14:49:43 +0000 (15:49 +0100)] 
Add a word about the default (broken) NetSNMP installation.

15 years agoWhen unable to connect to SNMP socket, give a sensible error message
Vincent Bernat [Fri, 21 Nov 2008 09:56:22 +0000 (10:56 +0100)] 
When unable to connect to SNMP socket, give a sensible error message

15 years agoWhen monitored process dies early, handle this case gracefully
Vincent Bernat [Fri, 21 Nov 2008 09:50:01 +0000 (10:50 +0100)] 
When monitored process dies early, handle this case gracefully

15 years agoDefine ADVERTISED_(Asym_)?Pause if not defined in linux/ethtool.h
Vincent Bernat [Thu, 20 Nov 2008 13:55:35 +0000 (14:55 +0100)] 
Define ADVERTISED_(Asym_)?Pause if not defined in linux/ethtool.h

15 years agoPrepare a new release 0.2.1
Vincent Bernat [Wed, 19 Nov 2008 19:08:11 +0000 (20:08 +0100)] 
Prepare a new release

15 years agoFix open() calls
Vincent Bernat [Wed, 19 Nov 2008 19:01:48 +0000 (20:01 +0100)] 
Fix open() calls

15 years agoFix .Bl parameter in manual pages
Vincent Bernat [Mon, 17 Nov 2008 19:31:01 +0000 (20:31 +0100)] 
Fix .Bl parameter in manual pages

15 years agoRelease 0.2 0.2
Vincent Bernat [Mon, 17 Nov 2008 19:06:56 +0000 (20:06 +0100)] 
Release 0.2

15 years agoTry to be compatible with older versions of NetSNMP
Vincent Bernat [Mon, 17 Nov 2008 08:52:31 +0000 (09:52 +0100)] 
Try to be compatible with older versions of NetSNMP

15 years agoFix some compiler warnings
Vincent Bernat [Mon, 17 Nov 2008 08:40:56 +0000 (09:40 +0100)] 
Fix some compiler warnings

15 years agoUse linux/if_packet instead of netpacket/packet.h to get ORIG_DEV
Vincent Bernat [Mon, 17 Nov 2008 08:34:39 +0000 (09:34 +0100)] 
Use linux/if_packet instead of netpacket/packet.h to get ORIG_DEV

15 years agoMerge branch 'master' into privsep
Vincent Bernat [Mon, 17 Nov 2008 08:33:24 +0000 (09:33 +0100)] 
Merge branch 'master' into privsep

15 years agoFix checks for header files in configure.ac
Vincent Bernat [Mon, 17 Nov 2008 08:32:51 +0000 (09:32 +0100)] 
Fix checks for header files in configure.ac

15 years agoFailure to connect to a socket can happen without requiring a warning
Vincent Bernat [Sun, 16 Nov 2008 21:14:28 +0000 (22:14 +0100)] 
Failure to connect to a socket can happen without requiring a warning

15 years agoFix a memory leak
Vincent Bernat [Sun, 16 Nov 2008 21:14:03 +0000 (22:14 +0100)] 
Fix a memory leak

15 years agoUse strdup instead of asprintf("%s")
Vincent Bernat [Sun, 16 Nov 2008 21:10:16 +0000 (22:10 +0100)] 
Use strdup instead of asprintf("%s")

15 years agoAdd privilege separation to changelog
Vincent Bernat [Sun, 16 Nov 2008 21:07:22 +0000 (22:07 +0100)] 
Add privilege separation to changelog

15 years agoFix tabs
Vincent Bernat [Sun, 16 Nov 2008 21:06:48 +0000 (22:06 +0100)] 
Fix tabs

15 years agoMerge branch 'master' into privsep
Vincent Bernat [Sun, 16 Nov 2008 20:56:48 +0000 (21:56 +0100)] 
Merge branch 'master' into privsep

15 years agoFork earlier (before monitor creation); otherwise, the unprivileged
Vincent Bernat [Sun, 16 Nov 2008 20:38:30 +0000 (21:38 +0100)] 
Fork earlier (before monitor creation); otherwise, the unprivileged
process will not be the child of the monitor after forking the monitor.

15 years agoClose SNMP socket in monitor process
Vincent Bernat [Sun, 16 Nov 2008 19:39:52 +0000 (20:39 +0100)] 
Close SNMP socket in monitor process

15 years agoChange owner of the control socket to _lldpd._lldpd
Vincent Bernat [Sun, 16 Nov 2008 19:20:25 +0000 (20:20 +0100)] 
Change owner of the control socket to _lldpd._lldpd

15 years agoDocument privilege separation
Vincent Bernat [Sun, 16 Nov 2008 19:04:59 +0000 (20:04 +0100)] 
Document privilege separation

15 years ago_lldpd is not considered as a valid name on most systems. We override
Vincent Bernat [Sun, 16 Nov 2008 19:02:17 +0000 (20:02 +0100)] 
_lldpd is not considered as a valid name on most systems. We override
this warning.

15 years agoAdd licensing stuff
Vincent Bernat [Sun, 16 Nov 2008 19:01:01 +0000 (20:01 +0100)] 
Add licensing stuff

15 years agoPrivilege separation for SNMP using a custom transport
Vincent Bernat [Sun, 16 Nov 2008 18:57:45 +0000 (19:57 +0100)] 
Privilege separation for SNMP using a custom transport

15 years agoDo not load any MIB, do not use use persistent states
Vincent Bernat [Sat, 15 Nov 2008 15:49:56 +0000 (16:49 +0100)] 
Do not load any MIB, do not use use persistent states

15 years agoNot being able to use ethtool is not really important
Vincent Bernat [Sat, 15 Nov 2008 15:48:39 +0000 (16:48 +0100)] 
Not being able to use ethtool is not really important

15 years agoFirst try to make SNMP agent work with privilege separation
Vincent Bernat [Sat, 15 Nov 2008 15:33:15 +0000 (16:33 +0100)] 
First try to make SNMP agent work with privilege separation

15 years agoMore privilege separation
Vincent Bernat [Sat, 15 Nov 2008 08:25:09 +0000 (09:25 +0100)] 
More privilege separation

15 years agoUse _lldpd instead of lldpd for username to avoid collision with real
Vincent Bernat [Sat, 15 Nov 2008 07:52:01 +0000 (08:52 +0100)] 
Use _lldpd instead of lldpd for username to avoid collision with real
users

15 years agoMore privilege separation
Vincent Bernat [Sat, 15 Nov 2008 07:42:35 +0000 (08:42 +0100)] 
More privilege separation

15 years agoMore privilege separation
Vincent Bernat [Thu, 13 Nov 2008 10:30:45 +0000 (11:30 +0100)] 
More privilege separation

15 years agoAdd a CHANGELOG file
Vincent Bernat [Fri, 7 Nov 2008 13:59:34 +0000 (14:59 +0100)] 
Add a CHANGELOG file

15 years agoMerge branch 'master' into privsep
Vincent Bernat [Fri, 7 Nov 2008 13:39:24 +0000 (14:39 +0100)] 
Merge branch 'master' into privsep

15 years agoAdd FDP support
Vincent Bernat [Fri, 7 Nov 2008 11:17:50 +0000 (12:17 +0100)] 
Add FDP support

15 years agoDon't free h_lladdr since it is statically allocated
Vincent Bernat [Fri, 7 Nov 2008 10:39:26 +0000 (11:39 +0100)] 
Don't free h_lladdr since it is statically allocated

15 years agoStart privilege separation
Vincent Bernat [Fri, 7 Nov 2008 10:38:27 +0000 (11:38 +0100)] 
Start privilege separation

15 years agoCorrectly compute discarded TLV for each port
Vincent Bernat [Fri, 31 Oct 2008 18:43:13 +0000 (19:43 +0100)] 
Correctly compute discarded TLV for each port

15 years agoIgnore unknown ORG TLV. Thanks to Michael Hanig for noticing it.
Vincent Bernat [Fri, 31 Oct 2008 13:22:21 +0000 (14:22 +0100)] 
Ignore unknown ORG TLV. Thanks to Michael Hanig for noticing it.

15 years agoMove client handling in a separate file
Vincent Bernat [Wed, 29 Oct 2008 08:02:32 +0000 (09:02 +0100)] 
Move client handling in a separate file

15 years agoTest if ifa_addr is NULL before using it.
Vincent Bernat [Mon, 20 Oct 2008 16:35:28 +0000 (18:35 +0200)] 
Test if ifa_addr is NULL before using it.

Thanks to Bjorn Mork for the patch.

15 years agoTest earlier if the interface is an Ethernet one.
Vincent Bernat [Mon, 20 Oct 2008 13:58:57 +0000 (15:58 +0200)] 
Test earlier if the interface is an Ethernet one.

This should avoid a bug when using deprecated bridge ioctl.

15 years agoHandle frames encapsulated in VLAN.
Vincent Bernat [Mon, 20 Oct 2008 13:34:14 +0000 (15:34 +0200)] 
Handle frames encapsulated in VLAN.

With "-v" option, it is possible to listen on VLAN. Frames received on
VLAN will be attached to the real interface.

See: https://trac.luffy.cx/lldpd/ticket/2

15 years agoAllow to receive frames on VLAN interfaces.
Vincent Bernat [Mon, 20 Oct 2008 12:07:33 +0000 (14:07 +0200)] 
Allow to receive frames on VLAN interfaces.

15 years agoDo not try to catch CDP frame inside VLAN tagged frame.
Vincent Bernat [Mon, 20 Oct 2008 09:12:02 +0000 (11:12 +0200)] 
Do not try to catch CDP frame inside VLAN tagged frame.

With hardware accelerated VLAN supported by some cards like e1000,
this does not work. We need to listen on the corresponding VLAN
instead.

This reverts commit dc1539a44534a36fa8683ecfaddbbd6b34466b96.

15 years agoSometimes, CDP are transmitted over administration VLAN. We try to
Vincent Bernat [Sun, 19 Oct 2008 01:49:15 +0000 (03:49 +0200)] 
Sometimes, CDP are transmitted over administration VLAN. We try to
handle this case by handling this additional encapsulation on
reception of CDP frame. Frames are still sent outside of the VLAN.

15 years agoDon't display debug message for valid but unsupported protocols like
Vincent Bernat [Fri, 17 Oct 2008 21:08:39 +0000 (23:08 +0200)] 
Don't display debug message for valid but unsupported protocols like
DTP, VTP, ...

15 years agoAdd URL of website to README
Vincent Bernat [Wed, 15 Oct 2008 08:42:48 +0000 (10:42 +0200)] 
Add URL of website to README

15 years agoInitial import
Vincent Bernat [Wed, 15 Oct 2008 07:27:31 +0000 (09:27 +0200)] 
Initial import