All, Here's an update to ladvd. This is what the author says :
---------------------------------------------------------------------- I've just released ladvd 0.8, which supports receive mode and a host of other features resulting from that. * privilege separation * SIOCSIFDESCR support (the -z option) * Automatic protocol enablling based on received packets (-a) * syslog notifications for new/removed peers (-r) * EDP support * FDP support * NDP / SoNMP support * abstracted protocol support * rewritten netif and message lists * some strict alignment fixes * unit-tests including extensive protol tests This release has been (unit-)tested on Linux (amd64, arm), FreeBSD (i386, amd64) and OpenBSD (amd64, sparc64, vax). ---------------------------------------------------------------------- So, the code has been tested on amd64, sparc64 and vax. This port update was tested on amd64. Now with WANTLIB update (thanks, Stuart). Test reports welcome. Comments ? OK's ? Paul 'WEiRD' de Weerd Index: Makefile =================================================================== RCS file: /cvs/ports/net/ladvd/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 22 Sep 2008 22:32:26 -0000 1.2 +++ Makefile 23 Jun 2009 20:16:40 -0000 @@ -2,7 +2,7 @@ COMMENT = LLDP/CDP sender for UNIX -DISTNAME = ladvd-0.6.1 +DISTNAME = ladvd-0.8 CATEGORIES = net HOMEPAGE = http://blinkenlights.nl/software/ladvd/ @@ -18,8 +18,8 @@ MASTER_SITES = ${HOMEPAGE} CONFIGURE_STYLE = gnu -CONFIGURE_ARGS += --with-user=_ladvd +CONFIGURE_ARGS += --with-user=_ladvd --with-chroot-dir=/var/empty -WANTLIB = c +WANTLIB = c event .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/net/ladvd/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 22 Sep 2008 22:32:26 -0000 1.2 +++ distinfo 23 Jun 2009 20:16:40 -0000 @@ -1,5 +1,5 @@ -MD5 (ladvd-0.6.1.tar.gz) = kJid7FIA1sq0jcemz/PL5g== -RMD160 (ladvd-0.6.1.tar.gz) = ZZQ+i+2De3gbI3xC9UldW4fXArg= -SHA1 (ladvd-0.6.1.tar.gz) = Nl8sEafCUO8URU6B41cqXmqn7o0= -SHA256 (ladvd-0.6.1.tar.gz) = 7tJftqKZ8764nEbhRebO9gNftWilzQRBStRwHEdugXI= -SIZE (ladvd-0.6.1.tar.gz) = 125949 +MD5 (ladvd-0.8.tar.gz) = moC0Wsgw+vAVHSNiOu1UlA== +RMD160 (ladvd-0.8.tar.gz) = 1okcgtmULs7EvWqp/h8k2uHxy5Q= +SHA1 (ladvd-0.8.tar.gz) = EjkqF1N+4ZxmjDkWW7gJHmmDoUk= +SHA256 (ladvd-0.8.tar.gz) = 0FRT0/GPdgVuh2TDkz+zq+kitR3F64fM+ltObHVFYsc= +SIZE (ladvd-0.8.tar.gz) = 398595 Index: pkg/DESCR =================================================================== RCS file: /cvs/ports/net/ladvd/pkg/DESCR,v retrieving revision 1.2 diff -u -r1.2 DESCR --- pkg/DESCR 22 Sep 2008 22:32:26 -0000 1.2 +++ pkg/DESCR 23 Jun 2009 20:16:40 -0000 @@ -1,7 +1,14 @@ -LADVD uses CDP / LLDP frames to inform switches about connected hosts, -which simplifies ethernet switch management. It does this by creating -a raw socket at startup, and then switching to a non-privileged user -for the remaining runtime. Every 30 seconds it will transmit CDP/LLDP -packets reflecting the current system state. Interfaces (bridge, -trunk, wireless), capabilities (bridging, forwarding, wireless) and -addresses (IPv4, IPv6) are detected dynamically. +LADVD is an LLDP / CDP / EDP / FDP / NDP sender for UNIX. + +LADVD uses link-layer advertisements to inform switches about +connected hosts, which simplifies Ethernet switch management. It does +this forking into a privileged master which handles all raw sockets +(and certain ioctls), and an unprivileged child which creates and +parses all packets. + +Every 30 seconds the child generates advertisement frames reflecting +the current system state. Interfaces (bridge, bonding, wireless), +capabilities (bridging, forwarding, wireless) and addresses (IPv4, +IPv6) are detected dynamically. Secondly ladvd can listen for incoming +frames and utilize these for various features (protocol auto-enable, +logging, interface descriptions). -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/