]> git.ipfire.org Git - thirdparty/lldpd.git/log
thirdparty/lldpd.git
16 years agoRewrite structure packing to handle substructures correctly. There are
Vincent Bernat [Wed, 10 Dec 2008 10:02:20 +0000 (11:02 +0100)] 
Rewrite structure packing to handle substructures correctly. There are
still some problems...

16 years agoDisplay available capabilities instead of enabled capabilities (they
Vincent Bernat [Mon, 8 Dec 2008 19:14:48 +0000 (20:14 +0100)] 
Display available capabilities instead of enabled capabilities (they
are listed below)

16 years agoHandle correctly MDI/PSE or PD capabilities
Vincent Bernat [Mon, 8 Dec 2008 19:14:15 +0000 (20:14 +0100)] 
Handle correctly MDI/PSE or PD capabilities

16 years agoParse LLDP-MED MDI when receiving frames
Vincent Bernat [Mon, 8 Dec 2008 19:11:00 +0000 (20:11 +0100)] 
Parse LLDP-MED MDI when receiving frames

16 years agoParse location for LLDP-MED.
Vincent Bernat [Mon, 8 Dec 2008 16:31:53 +0000 (17:31 +0100)] 
Parse location for LLDP-MED.

16 years agoAccept to receive several location and several network policy for
Vincent Bernat [Mon, 8 Dec 2008 13:45:00 +0000 (14:45 +0100)] 
Accept to receive several location and several network policy for
LLDP-MED

16 years agoDump less information for LLDP-MED location data
Vincent Bernat [Mon, 8 Dec 2008 09:40:06 +0000 (10:40 +0100)] 
Dump less information for LLDP-MED location data

16 years agoDon't output too many new lines when displaying LLDP-MED information
Vincent Bernat [Sun, 7 Dec 2008 15:50:10 +0000 (16:50 +0100)] 
Don't output too many new lines when displaying LLDP-MED information

16 years agoEncode location data as data+len to enable use of 0 characters.
Vincent Bernat [Sun, 7 Dec 2008 15:47:23 +0000 (16:47 +0100)] 
Encode location data as data+len to enable use of 0 characters.

16 years agoMerge branch 'master' into lldpmed
Vincent Bernat [Sun, 7 Dec 2008 15:30:18 +0000 (16:30 +0100)] 
Merge branch 'master' into lldpmed

16 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...

16 years agoCompute and handle correctly LLDP-MED capabilities (available and
Vincent Bernat [Sun, 7 Dec 2008 15:20:32 +0000 (16:20 +0100)] 
Compute and handle correctly LLDP-MED capabilities (available and
enabled)

16 years agoMore LLDP-MED support, thanks to Michael Hanig.
Vincent Bernat [Fri, 5 Dec 2008 21:43:08 +0000 (22:43 +0100)] 
More LLDP-MED support, thanks to Michael Hanig.

16 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

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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.

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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.

16 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

16 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

16 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

16 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

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

16 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

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

16 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

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

16 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

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

16 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

16 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

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

16 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")

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

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

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

16 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.

16 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

16 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

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

16 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.

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

16 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

16 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

16 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

16 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

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

16 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

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

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

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

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

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

16 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

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

16 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

16 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.

16 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

16 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.

16 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.

16 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

16 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.

16 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.

16 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.

16 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, ...

16 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

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