]>
git.ipfire.org Git - thirdparty/lldpd.git/log
Vincent Bernat [Mon, 2 Mar 2009 15:07:06 +0000 (16:07 +0100)]
Fix lldpctl when LLDP-MED is enabled.
Prepare new release.
Vincent Bernat [Mon, 2 Mar 2009 15:06:54 +0000 (16:06 +0100)]
Fix warning when compiling without LLDP-MED
Vincent Bernat [Fri, 27 Feb 2009 20:57:20 +0000 (21:57 +0100)]
Prepare version 0.3.1
Vincent Bernat [Fri, 27 Feb 2009 13:23:19 +0000 (14:23 +0100)]
Use memcpy instead of strlcpy when copying interface names to static
buffers.
Vincent Bernat [Fri, 27 Feb 2009 13:16:19 +0000 (14:16 +0100)]
When refreshing port information, clean up existing information!
Vincent Bernat [Fri, 27 Feb 2009 13:11:48 +0000 (14:11 +0100)]
Don't try to reset the interface when removing it
Vincent Bernat [Fri, 27 Feb 2009 13:11:19 +0000 (14:11 +0100)]
Fix double free for local ports
Vincent Bernat [Fri, 27 Feb 2009 12:46:02 +0000 (13:46 +0100)]
Fix a memory leak that can happen when a port is removed or renamed
Vincent Bernat [Fri, 27 Feb 2009 10:21:05 +0000 (11:21 +0100)]
Don't free c_med_sw for local chassis. It is allocated and freed
elsewhere.
Vincent Bernat [Fri, 27 Feb 2009 10:09:20 +0000 (11:09 +0100)]
Fix an error when reading LLDP-MED packet
Vincent Bernat [Fri, 27 Feb 2009 10:08:54 +0000 (11:08 +0100)]
Fix a memory leak when using LLDP-MED
Vincent Bernat [Sat, 21 Feb 2009 08:34:56 +0000 (09:34 +0100)]
Lower log level for problem when getting bridge info
Vincent Bernat [Wed, 21 Jan 2009 02:35:48 +0000 (03:35 +0100)]
Also check if the interface is RUNNING before considering it active.
Vincent Bernat [Fri, 9 Jan 2009 16:03:43 +0000 (17:03 +0100)]
Merge branch 'master' of ssh://ace.luffy.cx/srv/git/lldpd
Vincent Bernat [Fri, 9 Jan 2009 16:02:32 +0000 (17:02 +0100)]
Fix compilation when SONMP and EDP are disabled
Vincent Bernat [Tue, 30 Dec 2008 16:04:35 +0000 (17:04 +0100)]
Don't output any warning when bridge support is not enabled at all.
Vincent Bernat [Fri, 26 Dec 2008 16:41:02 +0000 (17:41 +0100)]
FDP seems to use a non-flawed checksum
Vincent Bernat [Fri, 26 Dec 2008 16:18:38 +0000 (17:18 +0100)]
Don't compile FDP stuff if not needed.
Vincent Bernat [Fri, 26 Dec 2008 16:09:29 +0000 (17:09 +0100)]
Fix lldpctl to display capability bit "Router"
Vincent Bernat [Fri, 26 Dec 2008 16:06:59 +0000 (17:06 +0100)]
Handle FDP capabilities
Vincent Bernat [Fri, 26 Dec 2008 11:12:04 +0000 (12:12 +0100)]
Use static for all not to be exported symbols
Vincent Bernat [Tue, 23 Dec 2008 15:16:36 +0000 (16:16 +0100)]
Move LLDP-MED location/policy to port instead of chassis.
Handle setting of location in lldpctl instead of lldpd.
Vincent Bernat [Fri, 19 Dec 2008 07:48:14 +0000 (08:48 +0100)]
Adding missing values for MAU type, thanks to James Lingard.
Vincent Bernat [Thu, 18 Dec 2008 18:44:16 +0000 (19:44 +0100)]
Fix compilation without EDP
Vincent Bernat [Tue, 16 Dec 2008 16:34:02 +0000 (17:34 +0100)]
Handle reception and display of PVID
Vincent Bernat [Tue, 16 Dec 2008 16:09:26 +0000 (17:09 +0100)]
This is maximum frame size, not MTU
Vincent Bernat [Tue, 16 Dec 2008 10:23:43 +0000 (11:23 +0100)]
Add Maximum Frame Size support. For Linux, we just use MTU as MFS.
Vincent Bernat [Sun, 14 Dec 2008 11:06:33 +0000 (12:06 +0100)]
Fix manual page (missing .El)
Vincent Bernat [Sun, 14 Dec 2008 10:56:56 +0000 (11:56 +0100)]
Prepare new 0.3 version
Vincent Bernat [Sun, 14 Dec 2008 09:51:25 +0000 (10:51 +0100)]
Add a note about the fact that location option could be moved to
lldpctl. This will be done when we can keep persistent data.
Vincent Bernat [Sat, 13 Dec 2008 18:34:05 +0000 (19:34 +0100)]
Do not try to set media type network policy since its usefulness is
near zero when not being able to set it differently on each port.
Those kind of information should be set through SNMP.
Vincent Bernat [Sat, 13 Dec 2008 17:14:22 +0000 (18:14 +0100)]
Allow to send LLDP-MED location.
Vincent Bernat [Sat, 13 Dec 2008 08:53:25 +0000 (09:53 +0100)]
Accept too large TLV for LLDP
Vincent Bernat [Fri, 12 Dec 2008 21:32:55 +0000 (22:32 +0100)]
Allow to specify interfaces to display on lldpctl command line
Vincent Bernat [Fri, 12 Dec 2008 21:12:34 +0000 (22:12 +0100)]
Don't display management IP if there is none
Vincent Bernat [Fri, 12 Dec 2008 09:55:42 +0000 (10:55 +0100)]
Add SLIST support for libc not shipping it (like Sarge)
Vincent Bernat [Fri, 12 Dec 2008 09:41:16 +0000 (10:41 +0100)]
Fix parsing of LLDP-MED location, including display of altitude and
datum.
Vincent Bernat [Fri, 12 Dec 2008 06:56:12 +0000 (07:56 +0100)]
Export PSE/PD LLDP-MED stuff to SNMP
Vincent Bernat [Thu, 11 Dec 2008 22:29:26 +0000 (23:29 +0100)]
SNMP support for LLDP-MED location and network policy
Vincent Bernat [Thu, 11 Dec 2008 19:42:09 +0000 (20:42 +0100)]
Merge branch 'master' into lldpmed
Vincent Bernat [Thu, 11 Dec 2008 19:40:36 +0000 (20:40 +0100)]
Padding and alignment is really the same thing.
Vincent Bernat [Thu, 11 Dec 2008 19:38:44 +0000 (20:38 +0100)]
Fix alignment problems.
Vincent Bernat [Thu, 11 Dec 2008 19:04:22 +0000 (20:04 +0100)]
Fix compilation on 32bits arch by using long long int constants.
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...
Vincent Bernat [Wed, 10 Dec 2008 10:15:40 +0000 (11:15 +0100)]
Do not display autoneg stuff when we have nothing
Vincent Bernat [Wed, 10 Dec 2008 10:13:05 +0000 (11:13 +0100)]
Handle more gracefully DNS problems by keeping nodename
Vincent Bernat [Tue, 9 Dec 2008 19:18:54 +0000 (20:18 +0100)]
Use 0:0:0:0:0:0 MAC address when sending on inactive slaves
Vincent Bernat [Tue, 9 Dec 2008 18:37:24 +0000 (19:37 +0100)]
Simplify MAC address generation for enslaved inactive devices
Vincent Bernat [Tue, 9 Dec 2008 18:25:57 +0000 (19:25 +0100)]
For enslaved devices, get the real MAC address from /proc/net/bonding
Vincent Bernat [Tue, 9 Dec 2008 17:28:24 +0000 (18:28 +0100)]
Factorize out cleanup of lldpd_hardware structure
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)
Vincent Bernat [Tue, 9 Dec 2008 17:00:39 +0000 (18:00 +0100)]
When sending on inactive slaves, use a random MAC address
Vincent Bernat [Mon, 8 Dec 2008 19:14:48 +0000 (20:14 +0100)]
Display available capabilities instead of enabled capabilities (they
are listed below)
Vincent Bernat [Mon, 8 Dec 2008 19:14:15 +0000 (20:14 +0100)]
Handle correctly MDI/PSE or PD capabilities
Vincent Bernat [Mon, 8 Dec 2008 19:11:00 +0000 (20:11 +0100)]
Parse LLDP-MED MDI when receiving frames
Vincent Bernat [Mon, 8 Dec 2008 16:31:53 +0000 (17:31 +0100)]
Parse location for LLDP-MED.
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
Vincent Bernat [Mon, 8 Dec 2008 10:08:09 +0000 (11:08 +0100)]
Don't send anything on inactive slaves (this confuses most switches)
Vincent Bernat [Mon, 8 Dec 2008 09:40:06 +0000 (10:40 +0100)]
Dump less information for LLDP-MED location data
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
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.
Vincent Bernat [Sun, 7 Dec 2008 15:30:18 +0000 (16:30 +0100)]
Merge branch 'master' into lldpmed
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...
Vincent Bernat [Sun, 7 Dec 2008 15:20:32 +0000 (16:20 +0100)]
Compute and handle correctly LLDP-MED capabilities (available and
enabled)
Vincent Bernat [Fri, 5 Dec 2008 21:43:08 +0000 (22:43 +0100)]
More LLDP-MED support, thanks to Michael Hanig.
Vincent Bernat [Fri, 5 Dec 2008 11:17:39 +0000 (12:17 +0100)]
Some equipments send empty TLV for optional TLV
Vincent Bernat [Mon, 1 Dec 2008 17:47:56 +0000 (18:47 +0100)]
Complete changelog with recent changes
Vincent Bernat [Fri, 28 Nov 2008 17:13:37 +0000 (18:13 +0100)]
Add configuration switch to disable LLDP-MED inventory sending
Vincent Bernat [Fri, 28 Nov 2008 17:06:11 +0000 (18:06 +0100)]
Add an option to not send LLDP-MED inventory TLV
Vincent Bernat [Thu, 27 Nov 2008 19:02:53 +0000 (20:02 +0100)]
Remove unneeded iface_is_bridged function
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
Vincent Bernat [Wed, 26 Nov 2008 20:08:17 +0000 (21:08 +0100)]
More natural definition of packing macros
Vincent Bernat [Wed, 26 Nov 2008 18:24:43 +0000 (19:24 +0100)]
Use lldpd_*_cleanup() functions instead of manual free
Vincent Bernat [Wed, 26 Nov 2008 18:21:06 +0000 (19:21 +0100)]
Add a way to disable Dot1 and Dot3
Vincent Bernat [Wed, 26 Nov 2008 16:01:47 +0000 (17:01 +0100)]
Fix a typo when receiving LLDP-MED inventory asset id.
Vincent Bernat [Wed, 26 Nov 2008 15:35:40 +0000 (16:35 +0100)]
Fix reception of LLDP-MED inventory: one byte was stripped
Vincent Bernat [Wed, 26 Nov 2008 15:23:15 +0000 (16:23 +0100)]
Update CHANGELOG and README to state that LLDP-MED is supported
Vincent Bernat [Wed, 26 Nov 2008 15:18:50 +0000 (16:18 +0100)]
Add support for LLDP-MED retrieval through SNMP
Vincent Bernat [Wed, 26 Nov 2008 14:23:00 +0000 (15:23 +0100)]
Implement LLDP-MED reception and display
Vincent Bernat [Wed, 26 Nov 2008 11:47:12 +0000 (12:47 +0100)]
Start support of LLDP-MED: send support is implemented
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
Vincent Bernat [Tue, 25 Nov 2008 15:15:22 +0000 (16:15 +0100)]
Allow to compile only needed protocols
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
Vincent Bernat [Sat, 22 Nov 2008 14:49:43 +0000 (15:49 +0100)]
Add a word about the default (broken) NetSNMP installation.
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
Vincent Bernat [Fri, 21 Nov 2008 09:50:01 +0000 (10:50 +0100)]
When monitored process dies early, handle this case gracefully
Vincent Bernat [Thu, 20 Nov 2008 13:55:35 +0000 (14:55 +0100)]
Define ADVERTISED_(Asym_)?Pause if not defined in linux/ethtool.h
Vincent Bernat [Wed, 19 Nov 2008 19:08:11 +0000 (20:08 +0100)]
Prepare a new release
Vincent Bernat [Wed, 19 Nov 2008 19:01:48 +0000 (20:01 +0100)]
Fix open() calls
Vincent Bernat [Mon, 17 Nov 2008 19:31:01 +0000 (20:31 +0100)]
Fix .Bl parameter in manual pages
Vincent Bernat [Mon, 17 Nov 2008 19:06:56 +0000 (20:06 +0100)]
Release 0.2
Vincent Bernat [Mon, 17 Nov 2008 08:52:31 +0000 (09:52 +0100)]
Try to be compatible with older versions of NetSNMP
Vincent Bernat [Mon, 17 Nov 2008 08:40:56 +0000 (09:40 +0100)]
Fix some compiler warnings
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
Vincent Bernat [Mon, 17 Nov 2008 08:33:24 +0000 (09:33 +0100)]
Merge branch 'master' into privsep
Vincent Bernat [Mon, 17 Nov 2008 08:32:51 +0000 (09:32 +0100)]
Fix checks for header files in configure.ac
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
Vincent Bernat [Sun, 16 Nov 2008 21:14:03 +0000 (22:14 +0100)]
Fix a memory leak
Vincent Bernat [Sun, 16 Nov 2008 21:10:16 +0000 (22:10 +0100)]
Use strdup instead of asprintf("%s")
Vincent Bernat [Sun, 16 Nov 2008 21:07:22 +0000 (22:07 +0100)]
Add privilege separation to changelog