2010-09-21  Sten Spans  <sten@blinkenlights.nl>

	* more 0.9-release changes
	[6d666ee15bbc] [tip]

	* doc/README:
	minor readme update
	[02b4950b9613]

	* debian/changelog:
	update changelog
	[21ee10c1dee7]

2010-09-19  Sten Spans  <sten@blinkenlights.nl>

	* configure.ac:
	remove pciio.h check
	[efc21996669f]

2010-09-16  Sten Spans  <sten@blinkenlights.nl>

	* configure.ac:
	AC_CHECK_HEADERS != AC_CHECK_HEADER This fixes libpci on rhel5 and
	centos5
	[2a545813df8e]

	* configure.ac:
	older linkers don't support -l:foo.a, detect this and add crude
	libevent.a autodetection
	[e19301bb46ba]

	* scripts/_debian.sh, scripts/_init.sh, scripts/_obs.sh,
	scripts/release.sh:
	more updates to the release scripting to simplify creating multiple
	package flavours from one set of sources.
	[93d36b9a71df]

2010-09-15  Sten Spans  <sten@blinkenlights.nl>

	* debian/default, debian/ladvd.default, debian/ladvd.postinst,
	debian/ladvd.postrm, debian/postinst, debian/postrm:
	rename package scripts to unlabeled names
	[5eb1a7d59db4]

	* rpm/ladvd.spec:
	fix silly rpm comment issue
	[3c4f9ae60f91]

	* rpm/ladvd.spec:
	use a sub-package to make the distinction between name (ladvd) and
	package-name (ladvd, ladvd-unstable, ladvd-static)
	[6e4a889f4b13]

	* rpm/ladvd.spec:
	the directory is named ladvd, not ladvd-unstable
	[4a756bc17b8d]

	* rpm/ladvd.spec:
	fix silly specfile error
	[09f2553cf68c]

	* scripts/_obs.sh, scripts/release.sh:
	rename ladvd-devel to ladvd-unstable
	[4ba1de3a5fe0]

	* rpm/ladvd.spec:
	add development flag and enable by default
	[43f8bb2fe0b9]

	* rpm/ladvd.spec:
	add flags for static-libevent to the specfile
	[b98db51fefe2]

	* configure.ac:
	add support for a static libevent, this should allow building binary
	rpms which work on older rhel5 releases (sigh)
	[6009bd400b45]

	* scripts/_obs.sh, scripts/release.sh:
	update scripts for the seperate ladvd-devel obs project
	[8b7c35ad1e86]

2010-09-14  Sten Spans  <sten@blinkenlights.nl>

	* src/master.c, src/master.h, src/netif.c:
	make sure to wrap master_device_id in sysfs and pci.h ifdefs and not
	only sysfs as was the case in netif.c

	for now this function is linux-only anyway
	[aac6cf344e7d]

2010-09-13  Sten Spans  <sten@blinkenlights.nl>

	* src/netif.c:
	make sure we pick up FreeBSD IFT_L2VLAN interfaces too
	[cf52e20f22e2]

	* src/netif.c:
	skip ipfw0 log interfaces, which unfortunately are IFT_ETHER and
	lack ioctls to simplify detection

	This also works around kernel panics triggered by performing bpf
	writes on these interfaces as reported in various PR's:

	http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/149948
	[bbb7a4df5a54]

	* debian/rules, tests/check_util.c:
	verify the paths used in check_util check the getpwnam call use
	/dev/console instead of /dev/mem remove the /dev/mem check in the
	debian packaging
	[41abdf5c5a3f]

	* doc/TODO:
	update TODO
	[1d03b18b0ede]

	* src/common.h, src/netif.c:
	add netif_driver and use it for netif_type and netif_device_id
	[b461a788d14f]

	* src/util.c:
	use NETIF_PARENT, not an obfuscated NETIF_REGULAR
	[db7f0f164829]

	* src/netif.c:
	call netif_wireless via netif_type and handle wireless interfaces
	properly
	[76129c6643d9]

	* src/child.c, src/common.h, src/util.c:
	add new NETIF_WIRELESS and NETIF_PARENT types and use them in util.c
	and child.c. Handle NETIF_WIRELESS like NETIT_TAP in child.c
	[d0608c0966c7]

2010-09-11  Sten Spans  <sten@blinkenlights.nl>

	* debian/copyright, rpm/ladvd.spec:
	update debian and specfile urls
	[d04488f4e966]

	* doc/README:
	update url
	[87d9653e22db]

	* doc/TODO, src/netif.c:
	add note about bsd tun/tap
	[ef67be88b5e6]

	* tests/Makefile.am:
	remove obsolete svn-related dist-hook
	[40571da08dc5]

	* Makefile.am:
	use hg heads for the revision number
	[8adf471ffe5f]

	* scripts/_init.sh:
	use style=changelog for the autogenerated changelog
	[5446ee384c33]

2010-09-11  sten  <sten@blinkenlights.nl>

	* rpm/ladvd.spec:
	another CDP/LLDP
	[2dfec6777a04]

	* debian/control, scripts/_debian.sh, scripts/_init.sh,
	scripts/_obs.sh, scripts/_tarball.sh, scripts/gnuify-changelog.pl,
	scripts/release.sh:
	split up the release scripting remove svn changelog script put lldp
	in front in the debian description
	[f1d461ee1836]

2010-09-10  sten  <sten>

	* src/master.c:
	also strip whitespace from the usb device string
	[494e11c58a26]

	* src/master.c, src/netif.c:
	save some strlen calls
	[f67935fdd8cd]

	* src/main.c:
	add 't' to getopt too
	[658a7b191e6e]

	* doc/ladvd.8.in, src/child.c, src/common.h, src/main.c:
	add switch to enable tun/tap support
	[e52142ffd279]

2010-09-09  sten  <sten>

	* src/child.c, src/common.h, src/netif.c, src/util.c:
	give tap interfaces a dedicated netif->type skip media detection for
	tap interfaces keep sockfds open in netif.c for a small speedup and
	easier code
	[b353d309a1aa]

	* src/netif.c:
	mii should be TP in most cases, fallthrough to TP if it is being
	advertised. This fixes mau reporting on sheevaplug/qnap
	[b7971e7812a1]

	* src/master.c:
	rewrite the sysfs usb support using the product and manufacturer
	files
	[d19d21e4d315]

	* configure.ac, debian/control, rpm/ladvd.spec:
	remove usbutils dependency linux has more useful device strings in
	sysfs
	[40ca34509aac]

2010-09-07  sten  <sten>

	* src/master.c:
	silence valgrind warning
	[6ee5ec36b0df]

	* rpm/ladvd.spec:
	prefer lldp
	[f95195370b22]

2010-09-06  sten  <sten>

	* src/netif.c, src/sysinfo.c:
	misc small freebsd fixes
	[2c631743caf3]

	* configure.ac, src/sysinfo.c:
	fetch dmi/smbios values via kenv, needed for FreeBSD
	[d8f7d7c8401b]

	* src/sysinfo.c:
	sysctl will overwrite the len ptr with the actual length leading to
	failures when re-using len. make sure to always rewrite len
	[ad130d8e9e78]

2010-09-05  sten  <sten>

	* configure.ac:
	grrr
	[ad801de4dd18]

	* configure.ac:
	add manual libpci check
	[c74087504490]

	* src/netif.c:
	grrr
	[bc46c893288f]

	* src/netif.c:
	fix borken else clause
	[d97945d5170d]

	* debian/changelog:
	zo dan
	[af20d232aaf9]

	* configure.ac, debian/control:
	pciutils-dev might work too
	[d3d7e89f2f2e]

	* rpm/ladvd.spec:
	update specfile
	[0b18c51dfebb]

	* rpm/ladvd.spec:
	silly rpm
	[f126b990b2e1]

	* src/master.c:
	move variables into the usb ifdef
	[0bbf42c08ffa]

	* debian/changelog, debian/control, rpm/ladvd.spec:
	packaging updates
	[d217ef06d92a]

	* configure.ac:
	tag 0.9.2-rc1
	[0ce36e47191f]

	* tests/check_proto.c:
	fix the tests
	[b4e125571a53]

	* src/proto/lldp.c:
	add missing vlan namelen to the VLAN Name TLV
	[e1ef41d58f8f]

	* doc/TODO, doc/ladvd.8.in, src/common.h, src/main.c,
	src/proto/lldp.c:
	update todo add support for an per-interface chassis-id (evil)
	[8f88fa50924b]

	* doc/TODO:
	update todo
	[caeca16f9caa]

	* src/netif.c:
	autoneg_pmd support via bsd if_media
	[ee350687a216]

2010-09-04  sten  <sten>

	* src/master.c:
	default to checking pci.ids
	[16fd534c0c9e]

2010-09-03  sten  <sten>

	* src/proto/lldp.c:
	move the description selection near the tlv generation handle the
	OPT_DESCR case better, just use device_name
	[9b4cf6cd0cf5]

	* src/master.c, src/netif.c:
	move the freebsd sysctl device-lookup to netif.c because it can run
	from the child just fine
	[7051c7c0f1b5]

	* src/master.c:
	rewrite the freebsd version of master_device_id using sysctl
	[a1719f55c7e5]

	* src/netif.c:
	netif_device_id works even without libpci \o/
	[8729d1723692]

	* configure.ac:
	only check for libpci and usbutils on linux for now freebsd can
	deliver similar info via sysctl
	[871c1e9848a5]

	* configure.ac, src/master.c:
	add support for usb devices (sysfs only for now)
	[d82442eb292a]

	* configure.ac, doc/Makefile.am:
	use $SED in the doc subdir
	[85525597907c]

	* src/common.h, src/master.c, src/master.h, src/netif.c,
	src/proto/lldp.c:
	rename pci_id to device_id to prepare for future usb support
	[b742a21c70fa]

2010-09-02  sten  <sten>

	* src/common.h, src/master.c, src/master.h, src/netif.c:
	move libpci back to the master, the child wont be able to read the
	pciids file keep pci lookups for the next run, lookups are expensive
	and unlikely to change
	[6b1fff7158b1]

	* tests/check_master.c:
	remove pacc stuff from the tests
	[61229bd78818]

	* doc/TODO:
	update todo
	[bdc1741e4def]

	* src/master.c, src/master.h, src/netif.c:
	move the libpci handling to netif.c (the child) add FreeBSD support
	to master_pci
	[bada53e82650]

	* configure.ac:
	improve the libpci test and check for freebsd pci headers
	[6172541d3b14]

2010-09-01  sten  <sten>

	* src/main.c, src/master.c:
	add some comments, inspired by
	http://stackoverflow.com/questions/184618/what-is-the-best-comment-
	in-source-code-you-have-ever-encountered
	[a0b18c5f1c42]

	* src/netif.c:
	fix silly Linux vlan bug
	[4457a72b97d1]

2010-08-31  sten  <sten>

	* doc/TODO:
	update todo
	[628e7b1f70b7]

	* configure.ac, src/common.h, src/master.c, src/master.h, src/netif.c,
	src/proto/lldp.c, tests/check_master.c:
	fetch pci-ids via sysfs resolve pci-ids via libpci use the resolved
	device string when ifdescr is missing
	[4efc50947302]

	* doc/TODO:
	add note
	[d56bc24ee86f]

	* configure.ac, src/Makefile.am, tests/Makefile.am:
	add libpci to autoconf/automake
	[a81b4e48f61b]

	* debian/control, rpm/ladvd.spec:
	add pciutils dependency
	[486bf43b3702]

	* doc/TODO:
	update todo
	[708564574d0b]

	* doc/TODO:
	update TODO
	[5f6202833afd]

	* src/util.c:
	simplify my_vlog
	[31d15f5bc344]

2010-08-30  sten  <sten>

	* src/child.c, src/cli.c, src/main.c, src/master.c, src/netif.c,
	src/sysinfo.c, src/util.c, src/util.h, tests/check_wrap.c:
	add loge/fatale functions which append strerror(errno)
	[c6fa3c922873]

	* tests/check_proto.c:
	correct edp packet sizes
	[81f6cdfd510a]

	* debian/control:
	add lsb-release suggestion
	[48acfc298ee4]

	* rpm/ladvd.spec:
	add explicit dependency on the lsb_release binary
	[d16d123f0061]

2010-08-26  sten  <sten>

	* src/main.c:
	eliminate pidfile pointer
	[7fecd11848c6]

2010-08-25  sten  <sten>

	* src/proto/edp.c, src/proto/edp.h:
	start adding some vlan tlv's to edp more work and testing needed
	[9e5f90f69c01]

2010-08-20  sten  <sten>

	* src/common.h:
	8 is plenty
	[e2159a0e4ae2]

	* doc/TODO:
	update todo
	[9ee8fc35e7b3]

	* tests/check_util.c:
	add note
	[a85bad1b5ee4]

	* doc/TODO, src/child.c, src/util.h:
	add netif_byaddr to filter locally generated packets
	[392a96f02eeb]

2010-08-19  sten  <sten>

	* tests/check_master.c:
	fix test
	[ce0ad0e303b8]

2010-08-18  sten  <sten>

	* src/proto/cdp.c:
	fix really silly errors in the cdp module thanks OpenBSD Sparc!
	[16c3c6bfd896]

	* src/netif.c:
	trivial compile-fix
	[69821584a4de]

	* doc/TODO, src/master.c:
	use BPF and PF_PACKET direction info to get rid of locally generated
	packets this may help solving the bridge issues seen on OpenBSD
	[493a6c28ae7b]

	* doc/TODO:
	update TODO
	[0591bfe0cfd2]

	* src/netif.c:
	remove these for now
	[eebad58bde41]

	* configure.ac, src/child.c, src/common.h, src/netif.c,
	src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c, src/proto/lldp.c,
	src/proto/ndp.c, src/proto/protos.h, src/util.c,
	tests/check_proto.c:
	use and store vlan interfaces fix if_vlan.h enum issues add support
	for LLDP_PRIVATE_8021_SUBTYPE_VLAN_NAME
	[3aa560dc9b55]

2010-08-16  sten  <sten>

	* src/proto/lldp.h:
	add 802.1 TLV Subtypes
	[eef91a0bfd00]

	* doc/TODO, src/netif.c:
	add CX4 and T from bsd ifmedia
	[e0a4ffbf9d7f]

	* src/netif.c, src/proto/lldp.h:
	add iana mau definitions add linux support for 10GBASE-T and
	10GBASE-CX4
	[c03f3ef470cb]

	* doc/HACKING, doc/TODO, src/proto/lldp.h:
	reference the new MAU mib update TODO add links to HACKING
	[ff032ea4a1e3]

	* doc/TODO:
	update todo
	[f3fae0795298]

	* doc/TODO:
	update todo
	[9fcc15bc0fd2]

	* src/netif.c:
	add ethtool based mau guessitimates
	[4b7232d536d5]

	* src/sysinfo.c:
	be smarter about the platform string when lsb_release isn't
	available
	[7f7daef01f0b]

	* src/netif.c:
	add some more speeds
	[9287468bd8cc]

2010-08-15  sten  <sten>

	* src/common.h, src/netif.c, src/proto/lldp.c:
	add support for autoneg_pmd
	[68717c39f169]

	* src/proto/lldp.h:
	add mau_pmd definitions
	[0ffdc6073d35]

	* src/common.h, src/proto/cdp.c, src/proto/fdp.c, src/sysinfo.c,
	tests/check_proto.c:
	use lsb_release info for cdp/fdp platform too
	[39c8f120d6ce]

	* doc/HACKING, doc/Makefile.am, doc/TODO, rpm/ladvd.spec:
	add HACKING doc
	[9c517a935d1c]

	* doc/TODO, src/sysinfo.c:
	add Linux distro info to uts_str as requested bij Paul de Weerd.
	Inspired by similar functionality in lldpd by Vincent Bernat
	[7d5ce93c1d9e]

	* doc/TODO, src/child.c, src/cli.c, src/master.c:
	allow small packets due to vlan tagging
	[7a7aa367ce0b]

2010-08-14  sten  <sten>

	* tests/check_cli.c:
	use dup2
	[20a7d2efc35e]

2010-08-13  sten  <sten>

	* doc/TODO:
	add feature requests
	[cee831a99324]

	* configure.ac, m4/ax_ld_check_flag.m4:
	Harden ladvd with the use of RELRO and NOW linker options. See:
	http://www.gentoo.org/proj/en/hardened/hardened-toolchain.xml

	Thanks to Vincent Bernat
	[4f30b4a2cee4]

2010-08-04  sten  <sten>

	* configure.ac, doc/TODO, src/netif.c:
	fix rhel4 compilation issues
	[5255dc447174]

2010-08-02  sten  <sten>

	* src/proto/lldp.c, tests/check_proto.c,
	tests/proto/lldp/46.good.d-link:
	only complain about garbage data for frames > ether_min_len
	apparently < ether_min_len is possible in the real world.
	[ceda4fe56e3f]

2010-07-19  sten  <sten>

	* doc/TODO:
	update todo
	[512b17c3089c]

2010-05-31  sten  <sten>

	* rpm/ladvd.spec:
	include /var/run/ladvd in the specfile
	[ca9a94567588]

	* rpm/ladvd.spec:
	fix some specfile problems, just hardcode for now
	[9acff0a8cd09]

2010-05-22  sten  <sten>

	* debian/changelog, debian/control, debian/copyright,
	debian/ladvd.postinst, debian/ladvd.postrm, debian/rules,
	debian/watch:
	debian packaging fixes suggested by Vincent Bernat
	[d38fc3dcb385]

2010-05-21  sten  <sten>

	* src/netif.c:
	doh doh doh
	[d1abb88d8fff]

2010-05-20  sten  <sten>

	* rpm/ladvd.sysconfig:
	fix description
	[710ee945a2bc]

	* scripts/release.sh:
	and another way to create debian packages, will this never end?
	[5903dffa4517]

	* debian/changelog:
	grrr
	[e6b9c6a09f9a]

	* debian/changelog, debian/source/format:
	make debian mentors happy
	[b8a9cf5eca37]

	* scripts/release.sh:
	small debian package fixes, switch to non-native package
	[16115f045cbd]

2010-05-19  sten  <sten>

	* debian/rules:
	be nicer about running tests
	[6e104cc0fbab]

2010-05-18  sten  <sten>

	* configure.ac, doc/TODO, src/netif.c:
	add linux vlan ioctl, update todo
	[2cc2092056bd]

	* debian/copyright:
	sometimes lintian is just silly
	[167377542b25]

	* scripts/release.sh:
	update release scripting
	[ceaa89b81844]

	* debian/changelog, debian/compat, debian/control, debian/copyright,
	debian/init.d, debian/rules, debian/watch, doc/TODO:
	make lintian happy
	[b15540551c57]

	* doc/LICENSE:
	update for 2010
	[7766470f4144]

	* src/util.c, src/util.h:
	add static my_vlog function so that we can mark my_fatal with
	noreturn
	[01340554ca33]

	* src/cli.c:
	eliminate unused len variable
	[fb8c3d917809]

	* src/netif.c:
	only clear enabled, type is always set by netif_type()
	[c4d2add40852]

2010-05-17  sten  <sten>

	* doc/TODO, tests/check_child.c, tests/check_cli.c,
	tests/check_master.c:
	auto-detect loopback ifindex
	[334cfd61277a]

	* doc/TODO:
	add ifindex note
	[ba096e9b916f]

2010-05-16  sten  <sten>

	* doc/TODO:
	more todo updates
	[ae42da1d251b]

	* doc/TODO:
	update todo
	[8984ffc12136]

2010-05-11  sten  <sten>

	* src/cli.c, tests/check_cli.c:
	free some more memory
	[c80a6f1df115]

	* tests/check_cli.c:
	fix check_cli for CK_FORK=no
	[731026abfaea]

	* doc/Makefile.am, doc/ladvdc.8.in:
	remove non-existant -v option from the ladvdc manual cleanup sed
	Both reported by William Yodlowsky, thanks!
	[7e254fe6ddaa]

	* debian/changelog:
	grr
	[ff9348359b09]

	* tests/check_cli.c:
	make sure to free strings
	[f85e12e2fa8a]

2010-05-09  sten  <sten>

	* tests/check_child.c:
	fd leak fix in check_child
	[844556a4009f]

	* tests/check_child.c, tests/check_cli.c, tests/check_proto.c:
	fix fd leak in read_packet (doh)
	[d64c433ea174]

	* tests/check_util.c:
	more fd fixes
	[4d0493aed038]

	* tests/check_master.c:
	cleanup some fd handling
	[e531800ce904]

	* tests/check_master.c:
	fix some valgrind warnings
	[8d52d97757f3]

	* src/proto/fdp.c:
	make sure to free cap_str after use, found by valgrind
	[e8c24eb25749]

	* tests/check_util.c:
	valgrind fixes
	[2dce7b3c6414]

	* src/util.c:
	make sure to init descr and paddr
	[a86347b714e1]

	* src/child.c, src/child.h:
	add child_free routine to make valgrind happy
	[aa93758c29e7]

	* src/cli.c:
	free msg, to make valgrind happy
	[1d8430c0fdb0]

	* m4/gcc_stack_protect.m4:
	add array to make sure that clang 2.7 doesn't enable -fstack-
	protector
	[0d2933cfb76a]

	* tests/check_cli.c:
	add a log callback to get rid of libevent on stderr
	[c46ecd66fb52]

	* src/cli.c:
	EACCESS not EPERM
	[42295c412d5f]

	* doc/TODO:
	update todo
	[4814048fccc9]

	* doc/Makefile.am, doc/ladvd.8.in, doc/ladvdc.8.in:
	documentation updates
	[bfc2d82d5b3f]

	* src/cli.c:
	special message for EPERM
	[2b3711a641c6]

	* src/child.c:
	fchmod on sockets is undefined behaviour, replace with regular
	chmod/chown
	[f32c9208cbeb]

	* configure.ac, debian/changelog, rpm/ladvd.spec:
	tag 0.9.0
	[35ba0fdb43e6]

2010-05-08  sten  <sten>

	* tests/check_cli.c, tests/check_util.c:
	When stdin/stdout/stderr aren't terminals regular stdio won't use
	line-buffering which some of the tests expect. Add fflush calls
	before reading data from (faked) stdio file-handles.
	[c44c0336ea81]

	* tests/check_cli.c:
	add some debugging
	[60f5158a9c02]

	* tests/check_cli.c:
	skip initial part of test_debug if isatty(stdout) failes
	[7d2ea5589e8d]

	* tests/check_child.c, tests/check_proto.c:
	eliminate some gethostbyname issues
	[fb9b51180244]

	* tests/check_util.c:
	make sure to zero buf
	[29777cff2dc5]

	* rpm/ladvd.spec:
	neat!
	[8f0c13a45d81]

	* debian/control:
	let's not forget pkg-config
	[d97439f30aa7]

	* src/cli.c, src/master.c, tests/check_cli.c, tests/check_master.c,
	tests/check_util.c:
	use defines for stdin/stdout/stderr
	[d30f0dafb30b]

	* tests/check_util.c:
	capture stderr output in check_util
	[d3d591306451]

	* rpm/ladvd.spec:
	fedora, not fedora_version
	[b79528b238cc]

	* debian/control, debian/rules:
	enable unit tests
	[370a61bd4024]

	* src/cli.c:
	make swapchar static as required
	[36b2477c0f62]

	* scripts/release.sh:
	cleanup old osc dir
	[5d8fc93a7940]

	* configure.ac:
	add types.h for evhttp.h
	[fd340992a2ff]

	* rpm/ladvd.spec:
	switch back to the deprecated initrddir to make the spec rhel5
	compatible
	[bf91b00a328b]

	* rpm/ladvd.spec:
	add ladvdc manpage
	[b2b2511df882]

	* rpm/ladvd.spec:
	only depend on libcap-ng-devel with fedora 12
	[5a78afa14b7d]

	* src/Makefile.am, tests/Makefile.am:
	move cli.c to libmisc
	[d38a2d590554]

	* tests/Makefile.am:
	correct header location
	[afbceeede78a]

	* m4/cap-ng.m4:
	add cap-ng.m4 for now
	[1ec4c892998e]

	* debian/control, rpm/ladvd.spec:
	add libcap-ng to the dependencies
	[bcbb4835a43c]

2010-05-07  sten  <sten>

	* tests/check_child.c:
	64 messages is plenty
	[a104155071df]

	* src/cli.c, tests/check_cli.c:
	fix freebsd test-failures (interesting localhost connect behaviour)
	by introducing a dummy httpd on localhost.
	[c59757fe3b80]

	* tests/check_child.c:
	raise timeout (fails due to the MASTER_MSG_MAX messages)
	[10b8dabfa0dd]

2010-05-06  sten  <sten>

	* src/child.c:
	sort messages per ifindex first, and by peer second
	[d1dcd2b6d85d]

	* configure.ac, src/Makefile.am, src/master.c, tests/Makefile.am:
	add support for libcap-ng
	[1c72634d3f52]

	* src/master.c:
	silence valgrind warning
	[157775328680]

	* src/cli.c, tests/check_cli.c:
	use malloc for master_msg and ditch struct sysinfo when we only need
	hostname
	[c6b97a7f6e31]

2010-05-05  sten  <sten>

	* src/child.c, src/cli.c, src/common.h, tests/check_util.c:
	only transmit master_msg upto the message, otherwise we'll end up
	with initialized peer strings in the cli. change MASTER_MSG_MAX and
	introduce MASTER_MSG_SIZ for the full struct.
	[9aad69a5b990]

	* src/child.c:
	free the old peer decode when updating an old msg
	[1c60305e742a]

	* configure.ac, src/common.h:
	add sys/uio.h for writev, check event.h near evhttp.h
	[383c21f0828e]

	* tests/check_cli.c:
	add test for cli_main
	[ea5589370ff1]

	* tests/check_proto.c:
	remove spurious peer_free
	[0d1be45753b1]

	* src/cli.c:
	make sure to peer_free on decode failure
	[9f88c4b47dc2]

	* tests/check_wrap.c, tests/check_wrap.h:
	fix overlap between FAIL_STRDUP and FAIL_EXIT by introducing
	FAKE_EXIT
	[9df1348a3011]

	* src/child.c, src/cli.c, src/proto/lldp.c:
	transmit full-length messages between the cli and child to make
	sock_stream communication easier correctly skip PROTO_MAX in the cli
	allow extra bytes when handling ether_min_len packets
	[e9855d0fc793]

2010-05-03  sten  <sten>

	* src/child.c:
	doh
	[f04c510edd4d]

2010-05-02  sten  <sten>

	* tests/check_wrap.c, tests/check_wrap.h:
	add support for fake/failed connect
	[d38d7f3d1070]

	* src/child.c, src/cli.c:
	use c99 for sun check failed socket in chld.c
	[9a42d3bd8f76]

	* src/cli.c, tests/check_cli.c:
	add tests for the http support don't call encode_uri with NULL
	arguments
	[600fabdb1aad]

	* src/cli.c:
	small cleanups
	[bb8436e9dd27]

	* tests/check_cli.c:
	add tests for cli and debug write functions
	[2188e86f4f44]

	* src/util.c, tests/check_util.c:
	fix a silly typo in the pcap writev add tests for portname_abbr and
	write_pcap_*
	[4b108ba803e0]

	* src/util.c, tests/check_master.c:
	use writev to write pcap headers + data
	[28e06eb945da]

2010-04-29  sten  <sten>

	* tests/Makefile.am, tests/check_cli.c:
	cleanup makefile add check_cli skeleton
	[5d93cd5649db]

	* src/cli.c:
	zo dan
	[ecb7def551bd]

	* src/cli.c:
	assert valid str input
	[01b0a506687e]

	* src/cli.c, src/cli.h:
	move usage back to cli.c
	[4682ab87e88b]

	* src/Makefile.am, src/cli.c, src/cli.h, src/common.h:
	add cli.h to facilitate tests
	[ead2bbbd83af]

2010-04-28  sten  <sten>

	* tests/check_proto.c, tests/proto/lldp/A8.fuzzer.cap.short:
	extend code coverage
	[bb2838422674]

	* tests/check_proto.c, tests/proto/lldp/33.system_name.broken:
	extend code coverage
	[fa2c65548d58]

	* tests/check_proto.c, tests/proto/lldp/17.port_id.broken:
	extend code coverage
	[a99ca46dc259]

	* tests/proto/lldp/AA.fuzzer.addr.invalid,
	tests/proto/lldp/AB.fuzzer.addr.invalid:
	rename AA
	[2f22a471c0a1]

	* tests/check_proto.c, tests/proto/lldp/14.port_id.long,
	tests/proto/lldp/15.port_id.broken,
	tests/proto/lldp/16.port_id.broken:
	extend code coverage
	[19e89c3a54e0]

	* configure.ac:
	make automake happy about !HTTP_ENABLE too
	[fb5131c02494]

	* tests/check_proto.c, tests/proto/lldp/A8.fuzzer.cap.host,
	tests/proto/lldp/A9.fuzzer.port_id.missing,
	tests/proto/lldp/AA.fuzzer.port_id.missing:
	add missing packet
	[988528693665]

2010-04-27  sten  <sten>

	* tests/check_master.c:
	fix some silly test failures
	[69129988ca19]

	* doc/TODO, src/proto/lldp.c, tests/check_proto.c,
	tests/proto/lldp/A1.fuzzer.chassis_id.long,
	tests/proto/lldp/A2.fuzzer.chassis_id.short,
	tests/proto/lldp/A3.fuzzer.chassis_id.broken,
	tests/proto/lldp/A4.fuzzer.chassis_id.one,
	tests/proto/lldp/A6.fuzzer.end.short,
	tests/proto/lldp/A7.fuzzer.end.trail,
	tests/proto/lldp/A8.fuzzer.cap.conflict,
	tests/proto/lldp/AA.fuzzer.port_id.missing,
	tests/proto/lldp/AB.fuzzer.addr.invalid:
	add packets generated by lldpfuzzer add some more constraints to the
	parser
	[7b0f7dff85d1]

	* src/cli.c, src/master.c:
	use isatty to make sure we don't send pcap-data to a console
	[852ff6fad3c9]

2010-04-26  sten  <sten>

	* doc/TODO, src/cli.c:
	check response_code not evcon return EXIT_FAILURE when encountering
	an HTTP error
	[0f9518c41703]

	* doc/TODO, src/cli.c:
	the connection failed if req->evcon is NULL
	[17618a1e6b19]

	* doc/TODO:
	update TODO
	[af62ca53aeea]

	* src/cli.c:
	re-add user-agent and content-type headers
	[5d25b2ef1a82]

	* src/compat/vis.c, src/compat/vis.h:
	revert VIS_HTTPSTYLE because we use libevent's encode_uri now
	[7f47fee8beb6]

2010-04-25  sten  <sten>

	* src/cli.c:
	redo the ladvd http support using libevent evhttp
	[c91b35825c6d]

	* configure.ac, doc/Makefile.am, doc/ladvdc.8, doc/ladvdc.8.in:
	detect libevent http support and only include the -p option in the
	manual if it is available
	[438d97b2ce37]

2010-04-24  sten  <sten>

	* src/proto/cdp.c, src/proto/fdp.c, src/proto/lldp.c:
	make sure to init caps to 0, to make the xors safe
	[bd05f1218633]

	* src/netif.c:
	reject vlan interfaces via the ethtool support added in recent
	kernels
	[bbfdf34d51f1]

	* src/common.h, src/netif.c, src/sysinfo.c:
	make sure that we don't unset the CAP_ROUTER which sysinfo_fetch
	detected for us
	[c999181194f1]

	* src/master.c, tests/check_master.c:
	dup dfd for each rfd to allow master_close to just work and provide
	a more realistic per-interface fd. this also fixes the CK_FORK test
	failures in check_master
	[7fcf929b58fa]

2010-04-23  sten  <sten>

	* tests/check_proto.c:
	use c99 initializers to fix some problems when running with
	CK_FORK=no
	[5c5d581179ab]

	* src/cli.c:
	also allow without http:// prefix
	[8a4bad603e68]

	* src/cli.c:
	use writev for sending http post
	[97c08741ad3b]

2010-04-22  sten  <sten>

	* tests/check_master.c:
	fix some test failures
	[203e32a68e5a]

	* src/cli.c:
	add url-encoding for peer hostname and port
	[70d9f4386fef]

	* src/master.c:
	improve child exit diagnostics
	[192ec201b5a7]

	* src/cli.c:
	fix some printf types
	[dc8b1aecd882]

	* src/master.c:
	remove log entry
	[f6fe9b602c77]

	* src/master.c:
	interfaces can vanish at any time, the request validation performed
	in master_check can't assume that the interface which the child saw
	is still present
	[86d56cc87af4]

	* src/cli.c:
	move comma
	[b121bf2693dc]

	* doc/Makefile.am, doc/ladvdc.8, src/cli.c:
	document http post support
	[731e1ee924d9]

2010-04-21  sten  <sten>

	* src/cli.c:
	initial http post support for ladvdc
	[3e97ac974123]

	* src/compat/vis.c, src/compat/vis.h:
	add VIS_HTTPSTYLE support taken from FreeBSD's vis.c
	[85a35c70da06]

	* src/cli.c:
	add more general print options in preperation for http post support
	[f8a08e1c2f61]

	* src/proto/fdp.c:
	add missing break to fdp_decode
	[1b154c846eb7]

	* src/child.c, src/cli.c:
	only fallback to STREAM when SEQPACKET isn't supported
	[7f3ff80ab15d]

2010-04-19  sten  <sten>

	* doc/ladvd.8.in, doc/ladvdc.8:
	add ladvdc manpage
	[4f4c612696a2]

	* src/cli.c:
	add some quoting to BATCH mode
	[37a03290d7d5]

	* doc/TODO:
	update todo
	[65e3dcab2048]

	* src/master.c:
	make multicast registration errors non-fatal
	[a7a3c4e6f5e1]

	* src/cli.c:
	cleanup cli header
	[e8f11e9ae875]

	* src/child.c, src/cli.c:
	add lame sock_stream workaround for missing seqpacket which should
	mostly workd due to how unix-domain is implemented
	[be797fbb1dc4]

2010-03-30  sten  <sten>

	* src/cli.c:
	add tabs
	[48d7af8b2141]

	* src/cli.c:
	add cap_str header
	[f45b083d066c]

	* src/child.c:
	copy the ifname to received packets
	[693ba697a817]

	* src/proto/cdp.c, src/proto/fdp.c:
	add cap_str support to fdp
	[dc0efc898b5c]

2010-03-29  sten  <sten>

	* src/cli.c:
	add initial print-brief function
	[0d078531e494]

	* src/common.h:
	remove most of the PEER_STR options reorganize the PEER_CAP flags
	[9756b4e88e12]

	* src/proto/lldp.c:
	cap_str support for lldp
	[3abc03313fb0]

	* src/proto/cdp.c:
	add cap_str support to cdp.c
	[c1997a78d8c6]

	* src/proto/ndp.c:
	remove peer-> ipv4
	[64cad6b19454]

	* src/proto/tlv.c:
	remove addr decoding for now, add cap to string
	[8ef95f8cf0f0]

2010-03-06  sten  <sten>

	* src/child.c, src/master.c, src/netif.c, src/util.c:
	add some c99 loopvars
	[2f1059e590ee]

	* tests/check_util.c:
	use paths.h for device locations
	[98999eccc87e]

	* configure.ac:
	move macro to silence warnings
	[c68c7b2e0502]

	* configure.ac:
	enable c99 by default
	[d14270997445]

2010-03-05  sten  <sten>

	* configure.ac, tests/check_child.c, tests/check_compat.c,
	tests/check_master.c, tests/check_proto.c, tests/check_util.c:
	use AC_USE_SYSTEM_EXTENSIONS instead of the older AC_GNU_SOURCE pull
	in config.h first to make sure stdio.h sees GNU_SOURCE and defines
	asprintf
	[cdd75c38405a]

	* src/common.h:
	GNU_SOURCE implies __USE_GNU
	[b6fdc7032c8a]

2010-03-03  sten  <sten>

	* m4/gcc_stack_protect.m4:
	clang stack-protector still is somewhat broken (linking fails),
	removing -O2 from cflags makes sure that autoconf detects this. Lets
	hope that clang gets fixed.
	[6251e28c3554]

	* src/common.h:
	make the attribute defines don't conflict with cdefs.h
	[2f9d74c9b156]

2010-03-01  sten  <sten>

	* rpm/ladvd.spec:
	misc specfile updates
	[cddf6da35b7f]

2010-02-24  sten  <sten>

	* src/child.c:
	add 1 second timeouts for cli connections
	[672b434bf2f9]

2010-02-21  sten  <sten>

	* scripts/release.sh:
	add OBS support
	[909a7e886e1f]

	* rpm/ladvd.spec:
	use install-strip for another rpmlint warning
	[e9d526ef3816]

	* rpm/ladvd.init, rpm/ladvd.spec:
	rpmlint fixes
	[37727c8f96d5]

	* rpm/ladvd.spec:
	on one line
	[3969f64a8557]

	* rpm/ladvd.init, rpm/ladvd.spec, rpm/ladvd.sysconfig:
	lets see if this version works for suse
	[897f10d9287a]

2010-02-20  sten  <sten>

	* rpm/ladvd.spec:
	some more suse compat, not quite sure how this is supposed to work
	[6563bb8e07fe]

	* rpm/ladvd.spec:
	Dear SuSE: FOAD KTNX
	[272d0a2c9e0d]

	* rpm/ladvd.spec:
	fix silly initscript/sysconfig error
	[541902e6c51e]

	* src/Makefile.am:
	create relative link
	[e2c5e1fba2f2]

	* tests/check_child.c:
	socket AF_INET works, check for ethernet interfaces instead
	[4fc1027aad2b]

	* src/child.c:
	clarify errormessage
	[af09187c04e9]

	* tests/check_util.c:
	remove inet6 test, we don't require inet6 sockets for normal
	operation anyway
	[11eb816fb651]

	* tests/check_child.c, tests/check_util.c:
	skip some tests if networking fails
	[ebd08a53415d]

	* rpm/ladvd.init, rpm/ladvd.spec, rpm/ladvd.sysconfig:
	add RPM package scripts
	[860025f0d421]

	* src/Makefile.am:
	create a symlink, not a hardlink
	[380796a63bb7]

2010-02-19  sten  <sten>

	* tests/Makefile.am:
	redo the tests link order
	[4b66918a4e10]

	* tests/check_util.c:
	fixup tests
	[97e4c695f785]

2010-02-15  sten  <sten>

	* src/child.c, src/cli.c, src/common.h, src/ether.h, src/main.c,
	src/util.c, src/util.h:
	add some attribute defines
	[814aef355f8e]

2010-02-07  sten  <sten>

	* src/util.c:
	shorten ethernet to eth
	[1bd6d0113b8b]

	* tests/check_util.c:
	extend netif_descr test to cover portname_abbr too
	[7154e767905d]

	* src/util.c, src/util.h:
	add portname_abbr to shorten default cisco interface names
	[4ecaa011f8e5]

2010-02-06  sten  <sten>

	* src/child.c, src/cli.c, src/common.h, src/util.c, src/util.h,
	tests/check_child.c, tests/check_proto.c:
	some more static inline changes
	[e0748f05dfc9]

	* src/master.c, src/master.h, tests/check_master.c:
	fix Clang compile problem by making the rfd_ functions in master.c
	static inline in master.h
	[8d14289b7876]

	* src/child.c, src/master.c, src/netif.c, src/proto/edp.c,
	src/proto/ndp.c, src/util.c:
	use C99 initializers and remove a lot of memsets
	[81e07de7dfd8]

2010-02-05  sten  <sten>

	* src/child.c, src/common.h, tests/check_child.c:
	split out receive time from the ttl field
	[6d0fa78c3823]

	* src/cli.c:
	fix silly indentation issue
	[494928e2aea1]

	* src/cli.c:
	break on EOF too
	[dbbf3292a984]

	* src/cli.c, src/master.c, src/master.h, src/util.c, src/util.h:
	add -d (pcap) support to the cli move pcap routines from master.c to
	util.c
	[fdef3cfed85b]

2010-02-03  sten  <sten>

	* src/cli.c, src/common.h:
	add some cli options
	[0ed766ec0bdf]

2010-01-31  sten  <sten>

	* src/Makefile.am:
	move libproto before libcompat to fixup strnvis issue on fbsd
	[fa2398c1cd62]

	* src/master.c:
	openbsd compile fixes
	[4bbafa9c3e9d]

	* tests/check_proto.c:
	remove extranous mark_point
	[8f4a55d085f2]

	* src/proto/tlv.c:
	some length checks
	[81d939b1625b]

	* src/proto/cdp.c, src/proto/lldp.c, src/proto/tlv.h,
	tests/check_proto.c:
	add some initial decoding routines
	[0e1cfc5d931f]

	* src/proto/tlv.c:
	add some missing break statements
	[f69c9fd76787]

	* src/master.c:
	mreq.len includes the 0 so can be up to IFDESCRSIZ make sure to
	null-terminate the string
	[f8e29d4bd256]

	* tests/check_util.c:
	fix the netif_descr test
	[f40d3706b8f0]

	* src/child.c:
	lets free the correct struct
	[e021446858be]

	* src/child.c:
	remember to call peer_free even when the decode fails
	[4950768fc74d]

	* configure.ac, src/Makefile.am, src/child.c, src/cli.c, src/common.h,
	src/ether.h, src/main.h, src/master.c, src/proto/cdp.c,
	src/proto/edp.c, src/proto/fdp.c, src/proto/lldp.c, src/proto/ndp.c,
	src/proto/protos.h, src/proto/tlv.c, src/proto/tlv.h, src/util.c,
	tests/check_child.c, tests/check_proto.c, tests/check_util.c:
	switch to generic string decoding for tlv values
	[20c1b84ac982]

2010-01-29  sten  <sten>

	* src/master.c, src/netif.c, src/util.c:
	add support for the FreeBSD IFDESCR ioctls
	[5e03c86a27e4]

2010-01-28  sten  <sten>

	* src/child.c, src/common.h, src/master.c, src/master.h, src/netif.c,
	src/util.c, src/util.h, tests/check_child.c, tests/check_master.c,
	tests/check_util.c, tests/check_wrap.h:
	rename commands to requests use a seperate struct for requests (via
	reqfd) rename master_req.cmd to op
	[efe6948ba701]

2010-01-27  sten  <sten>

	* src/child.c, src/cli.c, src/common.h, src/master.c, src/util.c,
	tests/check_child.c, tests/check_master.c, tests/check_util.c,
	tests/check_wrap.h:
	transmit messages with dynamic length between the master and child
	almost no packet or command needs the full ETHER_MAX_LEN, and none
	need the TAILQ info and other cruft at the end of the struct.
	[adad0f217ac8]

	* scripts/release.sh:
	add gpg signing to the release script
	[67c29f99ff5a]

2010-01-26  sten  <sten>

	* scripts/release.sh:
	add ubuntu ppa message
	[0cf238e094b9]

	* debian/control:
	net, no universe
	[47c36d3dc9ff]

	* src/child.c, src/common.h, tests/check_child.c:
	rename used to lock
	[102523e684c5]

	* tests/check_child.c, tests/check_util.c:
	remove completed from the tests too
	[596382ee8bec]

	* src/common.h, src/master.c, src/util.c:
	remove silly completed flag
	[b1e2c967f770]

2010-01-25  sten  <sten>

	* debian/control:
	change to section to universe/net
	[f6b5a790bc49]

2010-01-24  sten  <sten>

	* src/proto/cdp.h, src/proto/edp.h, src/proto/fdp.h, src/proto/lldp.c,
	src/proto/lldp.h, src/proto/ndp.h, src/proto/protos.h,
	src/proto/tlv.h:
	make sure to only grab peer.port from alphanumeric portid subtypes
	[48597be95e67]

2010-01-22  sten  <sten>

	* configure.ac:
	the openbsd port will disable PIE for arm, no need for me to do it
	[0ed75ae9b2e8]

	* tests/check_child.c:
	remove the usleep, it breaks the test on openbsd
	[c162e9d880fc]

	* tests/check_master.c:
	fix MASTER_DESCR check
	[4dc5853146ae]

2010-01-21  sten  <sten>

	* tests/check_child.c:
	add a test for new resumed writes
	[cedd37d6173a]

	* src/child.c, src/child.h, src/common.h, tests/check_child.c:
	add refcounting for received messages reschedule cli writes with
	refcounted messages if needed
	[128e3e038e7f]

2010-01-20  sten  <sten>

	* tests/check_child.c:
	add test for child_cli_* functions
	[111b473f66f8]

	* src/child.c, src/master.c:
	use SUN_LEN and unlink the cli socket on exit
	[b8dd24db78ea]

	* tests/check_master.c:
	disable silly broken test
	[553a12ec2b88]

	* src/child.c:
	use sockaddr, not sockaddr_un
	[eeb9786aeb7f]

2010-01-19  sten  <sten>

	* configure.ac:
	linux/wireless.h doesn't like net/if.h anymore so the autoconf
	detection fails
	[1a85cfa01ee3]

2010-01-15  sten  <sten>

	* src/child.c, src/cli.c:
	use SOCK_SEQPACKET for cli connections disable the peer/netif
	decoding in the cli for now add newline
	[89ffdc59add6]

	* src/cli.c, src/common.h, src/main.c:
	rename cli_init to cli_main don't return from cli add some noreturns
	[d771dfe62250]

	* src/child.c:
	use event_set, because we need msgfd
	[2698494ea75e]

	* src/master.c:
	use waitpid correctly
	[4c16397315d6]

	* src/master.c:
	use waitpid to catch child.c startup failures
	[3899b4a04ec6]

2010-01-14  sten  <sten>

	* configure.ac, src/Makefile.am:
	add hardlink
	[d8f4b08af52f]

	* src/child.c, src/cli.c, src/main.c, src/master.c, src/netif.c,
	src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c, src/proto/lldp.c,
	src/proto/ndp.c, src/sysinfo.c, src/util.c:
	update dates
	[6820cda85359]

	* src/Makefile.am, src/cli.c, src/common.h, src/main.c:
	add initial version of the cli
	[e808677b3232]

	* tests/check_master.c:
	fix master.c tests
	[f62547eca23e]

	* src/main.c, src/main.h:
	move usage static definition out of main.h
	[2294b7e78855]

	* src/main.c, src/main.h:
	make usage static
	[6e07b2dfbd6d]

	* src/common.h, src/util.c:
	use inttypes.h for uint16_t
	[954440f7c1c2]

	* src/common.h, src/util.c, src/util.h:
	fix some splint warnings
	[18ec6b58fe0c]

2010-01-13  sten  <sten>

	* src/child.c, tests/check_child.c:
	fix child tests only listen for cli connections when debug or once
	are disabled
	[9e8967099b39]

2010-01-08  sten  <sten>

	* src/child.c, src/child.h:
	initial lame version of sending stuff to the cli
	[04b26bd60679]

	* src/child.c:
	add some warnings
	[5dac4fd074c3]

	* src/child.c:
	open unix socket
	[f8663a82b5bb]

	* src/child.c:
	transmit via the msgfd
	[4e060ed2a96a]

	* src/child.c, src/common.h, src/main.c:
	move drop_privs from main to child_init
	[b5c9ee19559e]

	* src/main.c:
	initial hook for the cli
	[fb9652594d02]

	* src/common.h:
	remove master_send
	[67b8a2e4dbbe]

	* src/master.c, src/master.h:
	handle master_send via msgfd, not cmdfd
	[7c3be560922b]

	* src/util.c, src/util.h:
	add nonblock function
	[1f7374421f44]

2010-01-06  sten  <sten>

	* m4/gcc_stack_protect.m4:
	clang + stack-protector fails at varargs functions, extend the macro
	to test for this. This makes sure the feature will be re-enabled
	when clang is fixed.
	[73ee611d2082]

2010-01-05  sten  <sten>

	* m4/gcc_stack_protect.m4:
	also link when testing -fstack-protector, because that is where
	clang fails
	[5f6f36a5c9a9]

	* src/master.c, src/master.h:
	revert previous commit, it breaks tests
	[039e7126709b]

2009-12-18  sten  <sten>

	* src/master.c, src/master.h:
	mark al master.c private functions static, Clang seems to require
	static for inlined functions
	[4ad3ccf41a32]

	* configure.ac:
	shorter is better
	[41c521cada30]

	* doc/ladvd.8.in:
	print -a by default
	[0df75332c90b]

	* src/main.c:
	remove obsolete options from usage, reported by Jens Hektor.
	[b07c804ed18b]

2009-11-27  sten  <sten>

	* configure.ac, src/master.c:
	use normal OS ifdefs
	[5afaf05895e8]

2009-11-22  sten  <sten>

	* src/filter.h:
	add .1q support to the bpf filter
	[311cb6236a2d]

	* src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c, src/proto/ndp.c,
	tests/check_proto.c, tests/proto/cdp/04.vlan.broken,
	tests/proto/cdp/48.good.vlan, tests/proto/lldp/45.good.vlan:
	also verify llc/snap fields in proto_check routines extend the tests
	to supply these fields extend the tests with vlan-encapsulated llc
	headers add vlan-encapsulated cdp and lldp packets
	[190a31e55fb7]

	* src/proto/lldp.c:
	fix vlan ethertype location
	[6616a4c49b07]

	* src/proto/ndp.c:
	forgot ndp
	[f032114c768d]

	* src/ether.h, src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c:
	use defines for LLC/SNAP
	[516eae726316]

	* configure.ac, tests/check_child.c:
	fixups for gcc 4.4 and newer autoconf
	[e34770e80130]

2009-11-21  sten  <sten>

	* src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c, src/proto/lldp.c,
	src/proto/ndp.c, tests/check_proto.c,
	tests/proto/cdp/04.vlan.broken, tests/proto/cdp/47.good.vlan:
	protocol support for parsing vlan encapsulated frames, cisco
	switches send tagged discovery frames on trunk ports even when a
	native vlan is configured
	[2c87bc016f65]

2009-11-20  sten  <sten>

	* src/ether.h:
	add .1q vlan length and ethertype
	[6350f512d168]

2009-10-02  sten  <sten>

	* src/util.c, tests/check_master.c, tests/check_proto.c,
	tests/check_util.c:
	fix some tests, simplify my_read_line
	[4a56a9ab5aa0]

2009-09-27  sten  <sten>

	* configure.ac:
	add cli
	[f9076806e5dd]

	* configure.ac:
	add socket define
	[bce026067b37]

2009-09-21  sten  <sten>

	* debian/changelog:
	fixup mailaddr
	[90e20fd493eb]

	* configure.ac, debian/changelog:
	tag 0.8.6
	[7fe4ef9a83bc]

2009-09-20  sten  <sten>

	* src/master.c:
	fix ptr increment errors in receiving multiple packets per bpf read,
	sadly the unit-test wasn't extensive enough to catch this. Thanks to
	Paul de Weerd for the report, and test-platform
	[128c7631fe76]

	* src/main.c:
	openlog also needs tzset to fetch the correct timezone for the
	chrooted child issue noticed by Paul de Weerd
	[1a081375a33f]

2009-09-17  sten  <sten>

	* src/common.h, src/main.c, src/master.c, src/master.h, src/util.c:
	my_fatal would skip the cleanup that master_signal performs, rework
	the code to make fatal from the master happen via master_signal
	Issue reported by Paul de Weerd
	[b75847752963]

2009-09-16  sten  <sten>

	* src/netif.c:
	make the bsd vlan detection actually work (anyone got a spare brown
	paper bag ?)
	[6ca10e78efe6]

	* debian/control:
	add long description
	[507fd8399192]

2009-09-14  sten  <sten>

	* src/master.c:
	openbsd supplies EIO, not ENXIO
	[2088c18ee931]

2009-09-10  sten  <sten>

	* configure.ac, debian/changelog:
	tag 0.8.5
	[f14b07a1fe60]

2009-09-08  sten  <sten>

	* debian/changelog:
	tag rc1 for debian
	[7c1519db0090]

2009-09-07  sten  <sten>

	* configure.ac:
	tag rc1
	[1a54d98e3755]

	* src/master.c:
	set the header complete flag, to facilitate future lagg/trunk
	support
	[0218dce7c891]

	* doc/LICENSE, doc/TODO:
	update TODO and license
	[3cae35730ace]

	* tests/check_child.c, tests/check_master.c, tests/check_util.c,
	tests/check_wrap.h:
	add WRAP macros to simplify the code
	[c3db6caefb68]

	* src/child.c, src/common.h, src/filter.h, src/main.c, src/master.c,
	src/netif.c, src/sysinfo.c, src/util.c, tests/check_child.c,
	tests/check_compat.c, tests/check_master.c, tests/check_proto.c,
	tests/check_util.c, tests/check_wrap.c:
	move more includes to common.h
	[541f0be4b2b2]

	* tests/check_child.c, tests/check_compat.c, tests/check_master.c,
	tests/check_proto.c, tests/check_util.c, tests/check_wrap.c,
	tests/check_wrap.h:
	add licensing to the tests too
	[e24d2dc936d8]

	* src/child.c, src/child.h, src/common.h, src/compat/compat.h,
	src/ether.h, src/filter.h, src/main.c, src/main.h, src/master.c,
	src/master.h, src/netif.c, src/proto/cdp.c, src/proto/cdp.h,
	src/proto/edp.c, src/proto/edp.h, src/proto/fdp.c, src/proto/fdp.h,
	src/proto/lldp.c, src/proto/lldp.h, src/proto/ndp.c,
	src/proto/ndp.h, src/proto/protos.h, src/proto/tlv.h, src/sysinfo.c,
	src/util.c, src/util.h:
	add licensing information to all files
	[8148d626d7b7]

	* Makefile.am, configure.ac:
	only enable tests if check is found during configure
	[d765adfac381]

	* src/proto/tlv.h:
	clarify origin of the code
	[225c0f4af068]

	* tests/check_child.c:
	add test for child_init
	[03b60f9d7340]

	* tests/check_master.c:
	add test for rfd_closeall
	[2f06e764c0b0]

2009-09-06  sten  <sten>

	* tests/check_master.c:
	remove unused variable
	[a55807d4d320]

	* tests/Makefile.am, tests/check_child.c, tests/check_compat.c,
	tests/check_master.c, tests/check_proto.c, tests/check_util.c,
	tests/check_wrap.c:
	enable WARN_CFLAGS for the tests too and fix the fallout
	[3d0ea18f5ba6]

	* tests/check_proto.c:
	add some memset to the messages
	[04a61db057eb]

	* src/master.c, src/master.h, tests/check_master.c:
	stop passing around rawfds, its a global anyway
	[9e36bbb88252]

	* src/master.c, src/master.h, tests/check_master.c:
	add rfd_closeall routing to close all interfaces on shutdown, maily
	useful to cleanup multicast registrations change master_close to
	accept an rfd instead of an mreq
	[19fcb8968ad2]

	* tests/check_child.c:
	add tests for child_send and child_expire
	[474180b34c8d]

	* src/child.c:
	default to null
	[d8fa12b87c0b]

	* tests/check_child.c:
	cover more of child_queue
	[8a07a2c908cf]

	* src/child.c, src/child.h, tests/Makefile.am, tests/check_child.c:
	initial tests for child.c
	[0abef4af9706]

	* tests/Makefile.am:
	grrr
	[1cbbce4f7b61]

	* tests/Makefile.am:
	append srcdir
	[082e0353c3d0]

	* configure.ac, tests/Makefile.am, tests/check_wrap.c:
	more automake / autoconf cleanups
	[54c60ae1ccfe]

	* configure.ac, tests/check_wrap.c:
	only supply __strdup if it exists
	[7d467db80d29]

	* tests/Makefile.am, tests/check_master.c, tests/check_wrap.c,
	tests/check_wrap.h:
	remove the stubs from check_master.c, these caused failures because
	struct rawfd contains a real event struct. rewrite check_wrap using
	macros and the GNU ld --wrap option, which is much easier than the
	dlsym hackery.
	[185f8ca72621]

2009-09-04  sten  <sten>

	* src/util.c, tests/check_util.c:
	do the same for netif_byname
	[672151065a51]

	* tests/check_wrap.c:
	fix a mode_t / va_arg compile warning
	[3d0d8d772a1f]

	* src/master.c, src/util.c, tests/check_util.c:
	use assert to detect NULL queue-heads
	[64102f26466b]

	* src/Makefile.am, tests/check_compat.c:
	strnvis define fixes
	[af066c055d60]

	* src/child.c, src/master.c:
	fix some log messages
	[e25032bc1c5f]

	* tests/check_master.c:
	expand the check_multi tests
	[cda9aa89c76d]

	* tests/check_master.c:
	reset check_wrap options to the defaults
	[9199f82f3985]

	* tests/check_master.c:
	use master_open / master_close to manage rfd's fix some more issues
	with the tests
	[a995426b5f4c]

	* tests/check_wrap.c:
	silence gcc return warning
	[eaef9c9ca877]

2009-09-02  sten  <sten>

	* tests/check_master.c:
	add some more tests
	[f870295adb9a]

	* src/master.c:
	small debug changes to facilitate testing
	[7a7601d100cb]

	* tests/check_master.c:
	work on the master_close testcase
	[dd1afffd922e]

	* tests/check_master.c:
	extend the master.c tests
	[89fc355acaed]

	* tests/check_master.c:
	extend the master_cmd test with CLOSE and DEVICE
	[0fe7b235c0b1]

	* tests/check_master.c:
	re-arrange check_master and add stubs for open/close
	[c21dd0371761]

	* tests/check_master.c:
	update master_send test, add master_multi test
	[65b9ace6ca02]

	* tests/check_master.c:
	update master_recv and master_check tests
	[e8f330f259fa]

	* tests/check_master.c:
	fix master_cmd test
	[bfe4ef27f7f3]

	* debian/changelog:
	update debian changelog
	[5a50f03b4783]

	* tests/check_util.c:
	fix read_line tests
	[44c6597faeb1]

2009-09-01  sten  <sten>

	* src/sysinfo.c, src/util.c, src/util.h:
	move read_line back to util.c
	[595d5aad1b98]

	* configure.ac:
	update the version number to reflect the amount of changes
	[dbede2f98c38]

	* src/Makefile.am, src/child.c, src/child.h, src/common.h, src/main.c,
	src/main.h, src/master.c:
	Move the child code from main.c to a seperate child.c. This greatly
	simplifies main.c and shows the similarity between the event
	handling in master_init and child_init. This change was inspired by
	a comment in the libevent book about timeout events, which are now
	used for sending packets.

	This really really really should be the last major change before the
	release of 0.8.x.
	[3ba161d1742a]

	* doc/TODO:
	update TODO
	[8e75202663f9]

	* doc/TODO, src/master.c:
	It is possible to delete and recreate an interface with the same
	ifindex (on OpenBSD and FreeBSD at least). This may cause the master
	to write to an invalid socket, catch these errors and close the
	socket instead.
	[bd1889d431d0]

	* src/master.c:
	doh
	[0bc369416e88]

	* src/Makefile.am:
	include sys-queue.h and vis.h in the Makefile
	[d8b6286350aa]

	* configure.ac:
	tag 0.8.2-alpha
	[1c3fb64183cc]

	* doc/TODO:
	update TODO
	[77d070bf7476]

2009-08-31  sten  <sten>

	* src/master.c:
	master_close is allowed for removed interfaces
	[86bd9b9403c2]

	* src/master.c:
	make sure to free bpf_buf.data on master_close
	[e41a3bc7edc9]

	* src/filter.h, src/master.c, src/master.h:
	use a seperate bpf_buf for each rfd this removes the global bpf_buf
	and allows different buffersizes for each interface
	[186f2441907e]

	* src/main.c:
	restore these lines
	[296c16d02eee]

	* src/master.c:
	ioctl on BSD is unsigned long, fix multicast registration by not
	storing SIOCADDMULTI / SIOCDELMULTI in op
	[8da225c6cb9e]

2009-08-30  sten  <sten>

	* src/main.c:
	use a norma endless for loop, the while makes no real sense
	[05225c2c3c7f]

	* src/sysinfo.c, src/util.c, src/util.h:
	move read_line to sysinfo.c, the only remaining user
	[b873bcfe0170]

	* src/common.h:
	use vis.h include if available
	[a9699e86c7b4]

	* src/master.c, src/netif.c:
	make the BSD vlan detection actually work move the FreeBSD multicast
	saddrdl to master_multi
	[8c394c7d2d2d]

	* src/filter.h:
	fix typo
	[c61a8c9cc4ca]

	* src/master.c:
	enable CAP_NET_RAW for the master process, needed to open the
	required sockets
	[84991dd4fca8]

	* src/master.c:
	errr cancel that
	[046816b6be88]

	* src/master.c:
	add missing endig
	[0762f2801e80]

	* src/netif.c:
	zero mreq properly
	[22d96f5dd5e8]

	* configure.ac, doc/TODO, src/netif.c:
	detect and skip BSD vlan interfaces (on linux we handle this via
	MASTER_DEVICE)
	[acfbd63843d7]

	* doc/TODO:
	update TODO
	[b8e6c5b0ac89]

	* src/master.h:
	add master_device definition to master.h
	[e4d36ee672a5]

	* src/common.h, src/main.c, src/master.c, src/netif.c, src/util.c,
	src/util.h:
	move linux netif device detection to master.c enable chroot for the
	child use ssize_t for msend
	[89acdc9a7900]

	* src/netif.c:
	remove most sysfs usage from netif.c to prepare for a chrooted child
	[fd46fe9294c9]

	* src/Makefile.am:
	add filter.h
	[b84f67bba907]

	* src/util.c, tests/check_util.c:
	remove unused msg->name copy add tests for netif_protos and
	netif_descr
	[1cfef56349e5]

	* src/filter.h, src/master.c, src/master.h:
	move the bpf stuff to a seperate header filter.h
	[aed3f0b1692a]

2009-08-29  sten  <sten>

	* src/master.c, src/master.h:
	move some code around to reflect the new workings of master.c
	[5a4fb3064988]

	* src/master.c, src/master.h:
	move some structs to master.h to make master.c more readable
	[2ae6cb002915]

2009-08-28  sten  <sten>

	* src/master.c:
	older versions of linux/filter.h fail to include linux/types.h
	resulting in syntax errors. Reported by Jacek Masiulaniec, thanks!
	[30e2dc3a2055]

	* src/common.h, src/main.c, src/main.h, src/master.c, src/master.h,
	src/netif.c, src/util.c:
	Remove the single transmit socket, and instead create sockets for
	each interface on demand, and close them when the child isn't
	interested anymore. This solves three important issues:

	- Interface detection is now fully dynamic, previously receive
	sockets where only created at startup.
	- This unifies the code in the master, resulting in more predictable
	behaviour. It no longer opens sockets based on netif_fetch.
	- It solves a performance problem with the transmit socket on Linux
	which lacked a receive socket_filter. Older kernels would spend a
	lot of time sending packets to the transmit-only socket. In the
	new setup the transmit socket is gone, and every raw socket has a
	filter. Problem reported and diagnosed by Jacek Masiulaniec,
	thanks!
	[c14a252ef9df]

2009-08-25  sten  <sten>

	* tests/check_wrap.c:
	another shot at this
	[75e542de6306]

	* tests/check_wrap.c:
	revert previous change
	[b5883bd2427e]

	* tests/check_wrap.c:
	fix varargs usage the right way
	[1300a17d2f3f]

2009-08-24  sten  <sten>

	* tests/check_compat.c:
	add strnvis testcase
	[619d98062d5d]

	* tests/check_wrap.c:
	fixup check_wrap open hooking with somewhat functional varargs
	[1f5d5dd1a8e5]

	* src/common.h, src/main.c, src/netif.c, src/sysinfo.c, src/util.c,
	src/util.h, tests/check_master.c, tests/check_util.c:
	stop passing around cfd, use a global msock in util.c and set it via
	an extern from main.c update check_util.c to deal with the changes
	remove the rfd->hwaddr from check_master.c remove log from sysinfo.c
	[b035cc89fddc]

2009-08-23  sten  <sten>

	* src/main.c, src/master.c, src/master.h:
	skip local packets in queue_msg, this helps remove hwaddr from
	master.c which is needed for the upcoming netif changes
	[e103eccf455a]

2009-08-22  sten  <sten>

	* src/ether.h:
	add ETHER_IS_MULTICAST macro if not defined
	[069678a30afc]

	* src/netif.c, src/sysinfo.c:
	move the forwarding check to sysinfo.c which runs before chrooting
	[782449035f07]

	* src/main.c, src/netif.c:
	remove name strlcpy, the master only uses index anyway
	[f108aa506a99]

2009-08-21  sten  <sten>

	* configure.ac, src/Makefile.am, src/common.h, src/compat/compat.h,
	src/compat/setproctitle.c, src/compat/vis.c, src/compat/vis.h,
	src/main.c, src/util.c, src/util.h, tests/check_proto.c:
	use vis to sanitize peer.name and peer.port, removing the local
	IS_HOSTNAME an strisascii stuff
	[832072cd45a6]

	* src/common.h, src/compat/compat.h, src/compat/sys-queue.h:
	carry a functional queue.h in compat This solves one of the RHEL4
	issues
	[fd9d74942f68]

	* tests/check_proto.c:
	use the checks from queue_msg also in the unittests
	[c58b31363f5d]

2009-08-20  sten  <sten>

	* src/main.c:
	small daemon cleanups to main.c
	[0891a4e777b8]

	* doc/TODO:
	update TODO
	[1bc48e01bd2d]

	* tests/check_proto.c, tests/proto/lldp/44.good.spaces:
	add HP 2626 packet dump
	[9f26bd31e9cd]

	* src/common.h:
	also allow spaces in sysname, nice trick HP
	[1e5245eb9837]

2009-07-24  sten  <sten>

	* src/util.c, tests/check_util.c, tests/check_wrap.c,
	tests/check_wrap.h:
	use setresuid/setresgid to drop privileges
	[c6acd0cd64af]

2009-07-23  sten  <sten>

	* configure.ac:
	disable pie for openbsd/arm noticed by Matthias Kilian
	[3c85785b95fb]

2009-07-21  sten  <sten>

	* src/netif.c:
	correct ifdef
	[d5ec26d340c2]

	* src/netif.c:
	remove extranous memset and pass the correct structure to SIOCGLAGG
	/ SIOCGTRUNK
	[4e0cc8b7d64d]

	* configure.ac:
	remove broken relro support
	[4662358eafef]

	* src/netif.c:
	make sure to copy interface name to ifbic_name when detecting slaves
	[fbfb90b2c3a5]

	* src/netif.c:
	handle IFT_BRIDGE properly
	[92938cf978e3]

	* src/netif.c:
	IFT_IEEE8023ADLAG are trunk members, not trunks itself
	[2f0c754c0e84]

2009-07-20  sten  <sten>

	* src/netif.c:
	the i variable is used for loop-control, so we should not increase
	it in the loop itself. Besides 0 is a legal lacp index
	[a476b8128d14]

2009-07-19  sten  <sten>

	* src/main.c:
	add TAILQ_REMOVE line that got lost
	[74ebace1df21]

	* src/util.c:
	use IFDESCRSIZE not strlen for SIOCSIFDESCR
	[c45cb2b5059d]

	* doc/ladvd.8.in:
	update manual, describe the way ladvd handles interfaces
	[a80909048703]

	* tests/check_proto.c:
	add peer.port tests for cdp/edp/fdp
	[b806495b022c]

	* tests/check_proto.c:
	validate lldp port-id parser
	[3ced177d59b1]

	* src/proto/lldp.c:
	GRAB will skip for us
	[0d9c7df35c41]

	* src/proto/lldp.c:
	fix lldp parser, yay testsuite
	[d68893385f61]

	* tests/check_proto.c:
	correct errorstr
	[7601a25344b1]

	* src/proto/tlv.h:
	remove sizeof char
	[8c9af557f3c6]

	* tests/proto/lldp/12.port_id.only:
	remove ttl part
	[ccd768fc9b2a]

	* src/main.c:
	fix typo
	[b224267abe4f]

	* src/util.c, src/util.h:
	add define to headerfile
	[709d6d277190]

	* src/util.c:
	fix typo
	[b96a26338f2c]

	* src/main.c, src/proto/lldp.c, src/util.c:
	correct the lldp port id parsing, including more strict length
	checks validate the parsed portname using strisascii
	[130533cac812]

2009-07-18  sten  <sten>

	* src/proto/lldp.c:
	parse LLDP_TYPE_PORT_ID
	[03adb8b4b433]

	* src/proto/fdp.c:
	add parsing for FDP_TYPE_PORT_ID
	[dae75aaa1559]

	* src/proto/cdp.c:
	add port_id parsing to cdp
	[959e7af025b4]

	* tests/check_compat.c, tests/check_master.c, tests/check_util.c,
	tests/check_wrap.c, tests/check_wrap.h:
	split check_wrap_opt into check_wrap_fail and check_wrap_fake
	[4c471e64aa4b]

	* tests/check_compat.c, tests/check_master.c, tests/check_proto.c,
	tests/check_util.c, tests/check_wrap.h:
	move some externs to check_wrap.h and fix check_proto for peer.name
	[05d75aa6a8f8]

	* src/common.h, src/main.c, src/master.c, src/netif.c,
	src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c, src/proto/lldp.c,
	src/proto/ndp.c, src/util.c, src/util.h:
	move the options and loglevel externs to util / common.h use a
	struct for peer name and port
	[a8e590ee9aba]

	* configure.ac:
	keep null checks please
	[c7ecb859baf1]

2009-07-17  sten  <sten>

	* src/common.h, src/main.c:
	add experimental protos / descr update code to message expiry which
	will update/clear ifdescr and disable protos when peers go away
	group messages in the mqueue based on hwaddr to facilitate peer
	counting which is used when there are multiple peers use netif_descr
	in queue_msg
	[28bd04f999c8]

	* src/util.c, src/util.h:
	add netif_protos to update protos based on mqueue
	[f7f0aa5157c9]

	* src/proto/lldp.c:
	supply options
	[0220fa1738ef]

	* src/common.h, src/util.c:
	add netif_descr function to update interface descriptions
	[7b6350088883]

	* src/netif.c, src/proto/lldp.c:
	always fetch descriptions, but only use them when OPT_DESCR is not
	set
	[0fcf72c3ef9d]

	* configure.ac, m4/gcc_stack_protect.m4:
	fix -fstack-protector and enable relro
	[e06315d6f0c0]

2009-07-01  sten  <sten>

	* configure.ac:
	disable pie for FreeBSD (strange errors not worth the trouble)
	[60e30f5510dc]

2009-06-24  sten  <sten>

	* doc/Makefile.am:
	ok ok ok :>
	[f646839b03d5]

2009-06-22  sten  <sten>

	* doc/TODO, doc/ladvd.8.in, src/common.h, src/main.c, src/netif.c:
	add -w wireless support
	[85534a2e5718]

	* doc/README:
	update README
	[49d2396effb1]

2009-06-21  sten  <sten>

	* configure.ac:
	tag 0.8
	[50f6503b2180]

	* tests/check_master.c:
	misc freebsd fixes
	[8dafe763cdf0]

	* tests/check_proto.c:
	make sure we have a valid hostname
	[f24ae2eab020]

	* src/master.c, src/master.h, tests/check_master.c:
	move the bpf buffering around a bit more, openbsd seems to fail
	BIOCSBLEN unconditionally, sigh add assert instead in master_recv
	[69cded25f451]

	* src/master.c, tests/check_master.c, tests/check_wrap.c,
	tests/check_wrap.h:
	add tests for master_rsocket
	[a3d49c63f59b]

	* src/master.c, src/master.h, tests/check_master.c,
	tests/check_wrap.c, tests/check_wrap.h:
	add code to test master_rconf and fix an ioctl brainfart along the
	way
	[03394d1046c4]

	* src/master.c, src/master.h, src/util.c, tests/check_master.c:
	misc changes to test master_recv on bsd including the tricky bpf
	receive path
	- move the bpf_buf init to facilitate testing
	- configure an appropriate sndbuf in my_socketpair
	- add bpf headers to the test buffers
	[a425717054d1]

2009-06-19  sten  <sten>

	* src/master.c, tests/check_master.c:
	add test for master_recv
	[f415f972bf24]

	* tests/check_master.c:
	add testcase for master_cmd
	[b095880558a1]

2009-06-18  sten  <sten>

	* tests/check_util.c:
	update the netif_iter test to match the OPT_ARGV change
	[bda322c0bf03]

	* src/main.c:
	set netif->protos on master interfaces to do whats expected
	[37e0980325e6]

	* src/main.c, src/main.h, src/master.c:
	remove ac from master_init, not needed now that we have OPT_ARGV fix
	the netif_iter in master.c add missing semicolon to master.c
	[88f43cba7d27]

	* src/common.h, src/main.c, src/util.c, src/util.h:
	fix issues reported by Paul de Weerd
	- move libevent init outside the loop to fix a kqueue leak
	- introduce OPT_ARGV to make listed interface available everywhere
	- allow OPT_AUTO only for listed interfaces (if OPT_ARGV is set)
	[fc2dcfb21b8c]

2009-06-17  sten  <sten>

	* src/master.c:
	add two assertions
	[f011fa800aaf]

	* tests/check_master.c:
	fix the test for master_rcheck
	[b6566b7083d3]

	* Makefile.am, configure.ac:
	small lcov fixes
	[63a00bc7d882]

	* tests/check_master.c:
	lets add the tests then
	[3c5af2125bff]

	* tests/Makefile.am, tests/check_wrap.c, tests/check_wrap.h:
	add some tests for master.c
	[01fe218a94b2]

	* src/master.c:
	convert this one to a switch statement too
	[b001356ccb66]

	* src/master.c:
	convert ifs to switch statement
	[0fdc2fbb4977]

	* INSTALL, doc/INSTALL, doc/Makefile.am:
	zo dan
	[1caf6b158fb0]

	* doc/Makefile.am, tests/Makefile.am, tests/check_compat.c,
	tests/check_proto.c, tests/check_util.c, tests/check_wrap.c:
	make distclean work by using getenv(srcdir) in the tests wrap the
	fortified vsyslog and strdup as well make check_wrap a static
	library clean .svn from the protocol testsfiles clean the generated
	manpage
	[06f41cee193f]

	* tests/Makefile.am, tests/check_proto.c, tests/check_util.c:
	various make distcheck fixes
	[61e00a37c6d2]

	* configure.ac:
	use the subdir
	[4edeb929a832]

	* LICENSE, Makefile.am, TODO, doc/LICENSE, doc/Makefile.am, doc/TODO:
	move this to a subdir to pacify autoconf
	[2fc115aeb812]

	* tests/Makefile.am:
	add check_wrap
	[ec1e19c2b497]

	* debian/control:
	add libcap again
	[361cced31f1c]

	* tests/check_wrap.h:
	add headerfile
	[74d7f28ebdd1]

	* src/master.c:
	remove extranous close
	[378b618ce4cd]

	* src/Makefile.am:
	more small fixes
	[16b1dc088899]

	* src/Makefile.am:
	add some headers
	[5df368139446]

	* src/master.c:
	use the global sock
	[73bd02eee6a6]

	* src/master.c, src/master.h:
	use a global sock
	[83f9459888f2]

	* src/master.c, src/master.h:
	reuse one socket for SIOCSIFDESCR
	[2684a0c4ecc3]

	* src/master.c:
	move the bpf_buf init to inside a OPT_RECV block move master_recv
	after rsocket and rconf
	[b713f2c18e50]

2009-06-16  sten  <sten>

	* src/master.c, src/master.h:
	use a regular socket for SIOCSIFDESCR
	[3e92310f1994]

	* src/master.c:
	fix multicast registration (grrr BSD) and bpf receive
	[812ce25b60e0]

	* configure.ac:
	add more extensive libevent detection
	[33c85a768004]

	* configure.ac:
	disable only for fbsd7 amd64
	[6b08ad27b002]

	* tests/check_proto.c:
	add some markers
	[33fdc57bb1aa]

	* configure.ac:
	add operating system defines, disable pie for fbsd-amd64
	[3b3e6a0d6439]

	* tests/check_proto.c, tests/proto/cdp/45.good.6504,
	tests/proto/cdp/46.good.2811:
	add more real-world packets
	[7ba8a6f12ba7]

2009-06-14  sten  <sten>

	* src/master.c:
	fixup for -a / EDP
	[e4dc5485978c]

	* src/netif.c:
	move some more defines
	[1b32f824b8e6]

	* src/main.c:
	move queue init after definitions
	[c3020d30be3b]

	* src/common.h:
	remove netinet/in.h before arpa/inet.h
	[188cf9c7419e]

	* src/master.c:
	grr
	[7e563f4bb96f]

	* src/ether.h, src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c,
	src/proto/ndp.c:
	remove the unnamed union
	[32643ab47abc]

	* src/master.c:
	small cleanup mainly for gcc 2.95
	[3fba6b82c2a9]

	* configure.ac:
	add time.h
	[fa1a6afa6fcc]

	* src/netif.c:
	use netif_byindex
	[86abc6c29360]

	* src/main.c:
	only log the message if the proto isn't globally enabled
	[883905b2d257]

	* src/common.h, src/main.c, src/netif.c:
	make sure to add unixtime to the ttl, so we can remove messages
	correctly and fix some tailq / memcpy|memset screwups
	[d4d5ded62dbd]

2009-06-13  sten  <sten>

	* src/main.c:
	switch to CRIT for these messages
	[a980165492b1]

	* src/main.c:
	doh
	[99bea19ed1f4]

	* src/main.c:
	always lookup the netif
	[772dffdb7862]

2009-06-12  sten  <sten>

	* src/main.c:
	disable for now
	[76463211b46c]

	* src/main.c:
	add new-peer message
	[99b4753431b9]

	* src/main.c, src/master.c:
	fix logic error in OPT_AUTO switch to PACKET_ADD_MEMBERSHIP for
	multicast reception on linux print "enabling" message when enabling
	a protocol for an interface
	[9b3665a84d96]

	* TODO:
	update TODO
	[07b0adf7c9d8]

	* debian/ladvd.default:
	switch to -a by default
	[bc68a9ecf34e]

	* src/master.c:
	remove extranous message
	[7babbb0cb3ec]

	* src/main.c:
	call openlog from main so that logging will work after chroot
	[59cc2240a462]

2009-06-11  sten  <sten>

	* configure.ac:
	also match gnueabi, grrr
	[b12159121504]

	* src/master.c:
	add cap_net_broadcast for the multicast registration
	[4f4085df807c]

	* src/master.c:
	keep cap_kill so we can kill the child
	[dee533550c9d]

	* src/main.c, src/main.h, src/master.c, src/master.h:
	propagate sigterm/int to the child too to make /etc/init.d/ladvd
	restart work as expexted
	[6a11f32b786a]

	* debian/changelog, debian/control, debian/ladvd.default:
	update debian packaging
	[118bfb2ec2ac]

	* src/main.c, src/util.c, src/util.h, tests/check_util.c:
	move to dgram sockets for the socketpairs because thats they're used
	for. use my_socketpair for setup and test the function via
	check_util
	[6f7e21910e39]

2009-06-10  sten  <sten>

	* tests/check_proto.c:
	check fdp messages
	[61177f1df15e]

	* tests/check_proto.c:
	check edp errors
	[1a2192b66361]

	* tests/check_proto.c:
	check all lldp messages as well
	[32b991579192]

	* tests/check_compat.c, tests/check_proto.c:
	check errors set by cdp_peer
	[ae59ff3d1fee]

	* src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c:
	move unknwon tlv messages to DEBUG level
	[e54f5e3e6221]

	* src/util.c:
	add assertion
	[d2d4fef2540e]

	* tests/check_util.c:
	test all of my_msend
	[6a97f05b5981]

	* src/util.c, tests/check_util.c, tests/check_wrap.c:
	test strdup failures too
	[b54fc475d694]

	* tests/check_util.c:
	also check malloc failure
	[6f9b1796be77]

	* tests/check_util.c, tests/check_wrap.c:
	test all of my_chroot
	[9f204942e8f9]

	* tests/check_util.c, tests/check_wrap.c:
	add FAKE_ to the wrapper and use it for more checks of drop_privs
	[f391bf71c698]

	* tests/check_proto.c:
	switch to opt_daemon
	[1a24c00779d3]

	* tests/Makefile.am:
	shorten the makefile
	[51b6de1d51d5]

	* tests/check_util.c:
	remove extranous printf
	[a39b02717b3b]

	* tests/check_compat.c, tests/check_util.c, tests/check_wrap.c:
	use setjmp / longjmp to return to the unittest from exit wrap these
	up in WRAP_FATAL_START / WRAP_FATAL_END

	save my_log strings in check_wrap_errstr for validation in the tests

	use check_wrap_opt with bitmasks instead of seperate variables for
	each wrapper
	[7735256102c8]

2009-06-09  sten  <sten>

	* src/master.c:
	doh, make sure to use the regular socket we created in the previous
	commit
	[d87a4446bc5b]

	* src/master.c:
	use a regular socket for the SIOCADDMULTI calls (needed for openbsd)
	and make sure to add all protocols when OPT_AUTO is enabled
	[1bd1d0cb898d]

	* src/master.c:
	add strerror to SIOCADDMULTI
	[f0f08043bf2f]

	* src/master.c:
	correct the bf_len calculation
	[4c3b054b5ce7]

	* configure.ac, tests/Makefile.am:
	only add -ldl to check_wrap when its needed for dlsym
	[b33f78759716]

	* tests/check_proto.c:
	make sure to memset the netifs too
	[ae2d005c21ec]

	* src/common.h, tests/check_proto.c, tests/check_util.c:
	add opt_check to facilitate unittests
	[c405a00f66d0]

	* tests/check_util.c, tests/check_wrap.c:
	catch chdir
	[fa119b53ff72]

	* src/util.c, tests/check_util.c:
	test my_chroot, and improve my_socket check
	[90f1e403f823]

	* tests/check_util.c:
	fail calloc too
	[bf2a31dddf80]

	* tests/Makefile.am, tests/check_compat.c, tests/check_util.c,
	tests/check_wrap.c:
	- skip the preloading
	- use global variables instead of env vars
	- add more tests for my_ functions
	- catch setgid/setuid/setgroups and vsyslog
	[08b6845fdddc]

	* tests/check_util.c:
	use the wrapper to test more my functions
	[87fd0a9e834f]

	* tests/check_wrap.c:
	catch more functions
	[d174269911dc]

	* tests/check_proto.c:
	fill out the sysinfo struct, needs some more work
	[acab026b4109]

	* tests/check_compat.c:
	set to 1 explicitly
	[2418008a2717]

	* tests/Makefile.am:
	add ldl again
	[2b823946a213]

	* tests/Makefile.am:
	small fixes
	[b3fbec418201]

2009-06-08  sten  <sten>

	* Makefile.am:
	clarify revision
	[4d90b4818b41]

	* tests/check_proto.c:
	test the proto packet routines
	[82610fffa120]

	* tests/Makefile.am, tests/check_compat.c, tests/check_wrap.c:
	use ld_preload to fail calloc and cover more code
	[13a5420983b8]

	* tests/check_compat.c:
	expand coverage
	[553e196066ba]

	* tests/check_compat.c:
	one is enough
	[58e8236e98fb]

	* tests/check_compat.c:
	hit some more code
	[ac305c425063]

	* tests/check_proto.c, tests/proto/fdp/91.tlv.unknown,
	tests/proto/fdp/92.tlv.invalid, tests/proto/fdp/93.tlv.long,
	tests/proto/fdp/96.tlv.unknown, tests/proto/fdp/97.tlv.broken:
	cover all of fdp_peer
	[b48bda6d6051]

	* tests/proto/edp/92.tlv.invalid:
	correct invalid tlv
	[3db47571e078]

	* tests/check_proto.c, tests/proto/edp/91.tlv.unknown,
	tests/proto/edp/92.tlv.invalid, tests/proto/edp/93.tlv.long,
	tests/proto/edp/96.tlv.unknown, tests/proto/edp/97.tlv.broken:
	cover all of edp_peer
	[8ef5f4b19018]

	* tests/proto/cdp/93.tlv.long:
	add too long tlv
	[4351529d9219]

	* tests/check_proto.c, tests/proto/cdp/91.tlv.unknown,
	tests/proto/cdp/92.tlv.broken, tests/proto/cdp/96.tlv.unknown,
	tests/proto/cdp/97.tlv.broken:
	cover all of cdp_peer
	[5a4800c4aa10]

	* tests/check_proto.c, tests/proto/lldp/97.end.invalid:
	add invalid end tlv
	[188bba56a1f8]

	* tests/check_proto.c, tests/proto/lldp/91.tlv.unknown,
	tests/proto/lldp/92.tlv.broken, tests/proto/lldp/93.tlv.long,
	tests/proto/lldp/96.tlv.unknown, tests/proto/lldp/97.tlv.broken:
	expand lldp coverage
	[f476e559c32a]

	* tests/proto/edp/96.tlv.unknown.hexer:
	remove extranous file
	[3bfb7e547464]

	* Makefile.am, configure.ac:
	add lcov support
	[3fd667ca6c45]

	* configure.ac:
	add gcov to configure
	[07d4363ec055]

2009-06-07  sten  <sten>

	* doc/ladvd.8.in, src/main.c:
	update usage and the manpage
	[76b17f3c8c2a]

	* src/main.c:
	make sure SIOCSIFDESCR is available in main
	[6f1e5caddddc]

	* configure.ac:
	fixup chroot_dir in configure
	[7ade9ebd7835]

	* src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c, src/proto/tlv.h:
	alignment fixes for sparc
	[80755a9a1f9c]

	* tests/check_compat.c:
	include config.h
	[8cd7e8be8ff5]

	* configure.ac:
	tag 0.8-alpha
	[972b5e8e1dc7]

	* tests/check_proto.c, tests/proto/cdp/96.tlv.unknown,
	tests/proto/edp/00.empty, tests/proto/edp/01.header.broken,
	tests/proto/edp/02.header.invalid, tests/proto/edp/03.header.only,
	tests/proto/edp/21.display.broken, tests/proto/edp/41.good.small,
	tests/proto/edp/42.good.medium, tests/proto/edp/96.tlv.unknown,
	tests/proto/edp/96.tlv.unknown.hexer, tests/proto/edp/97.tlv.broken,
	tests/proto/edp/pcap/edp.trace, tests/proto/edp/pcap/edp1.trace,
	tests/proto/fdp/00.empty, tests/proto/fdp/01.header.broken,
	tests/proto/fdp/02.header.invalid, tests/proto/fdp/03.header.only,
	tests/proto/fdp/21.device_id.broken, tests/proto/fdp/41.good.bi,
	tests/proto/fdp/42.good.rx, tests/proto/fdp/43.good.mlx,
	tests/proto/fdp/96.tlv.unknown, tests/proto/fdp/97.tlv.broken,
	tests/proto/fdp/pcap/bi.pcap, tests/proto/fdp/pcap/mlx.pcap,
	tests/proto/fdp/pcap/rx.pcap:
	add tests for edp_peer and fdp_peer
	[f8622d2c0721]

	* src/proto/tlv.h:
	fix for empty tlv's
	[f8c0da6a255e]

	* tests/proto/cdp/pcap/cdp-BCM1100.cap, tests/proto/cdp/pcap/cdp.pcap,
	tests/proto/cdp/wireshark/cdp-BCM1100.cap,
	tests/proto/cdp/wireshark/cdp.pcap,
	tests/proto/lldp/pcap/lldp.detailed.pcap,
	tests/proto/lldp/pcap/lldp.minimal.pcap,
	tests/proto/lldp/pcap/lldpmed_civicloc.pcap,
	tests/proto/lldp/wireshark/lldp.detailed.pcap,
	tests/proto/lldp/wireshark/lldp.minimal.pcap,
	tests/proto/lldp/wireshark/lldpmed_civicloc.pcap:
	rename directories
	[393b2f6acd1a]

	* tests/check_proto.c, tests/proto/cdp/00.empty,
	tests/proto/cdp/01.header.broken, tests/proto/cdp/02.header.invalid,
	tests/proto/cdp/03.header.only, tests/proto/cdp/21.device_id.broken,
	tests/proto/cdp/31.system_name.broken,
	tests/proto/cdp/41.good.small, tests/proto/cdp/42.good.medium,
	tests/proto/cdp/43.good.big, tests/proto/cdp/44.good.bcm,
	tests/proto/cdp/96.tlv.unknown, tests/proto/cdp/97.tlv.broken,
	tests/proto/cdp/wireshark/cdp-BCM1100.cap,
	tests/proto/cdp/wireshark/cdp.pcap:
	add tests for cdp_peer
	[5d818c4fb36e]

	* tests/check_proto.c, tests/proto/lldp/00.empty,
	tests/proto/lldp/01.chassis_id.broken,
	tests/proto/lldp/02.chassis_id.only,
	tests/proto/lldp/03.chassis_id.missing,
	tests/proto/lldp/11.port_id.broken,
	tests/proto/lldp/12.port_id.only,
	tests/proto/lldp/13.port_id.missing, tests/proto/lldp/21.ttl.broken,
	tests/proto/lldp/22.ttl.only, tests/proto/lldp/23.ttl.missing,
	tests/proto/lldp/31.system_name.dup,
	tests/proto/lldp/32.system_name.broken,
	tests/proto/lldp/41.good.small, tests/proto/lldp/42.good.big,
	tests/proto/lldp/43.good.lldpmed, tests/proto/lldp/96.tlv.unknown,
	tests/proto/lldp/97.tlv.broken, tests/proto/lldp/98.end.broken,
	tests/proto/lldp/99.end.missing,
	tests/proto/lldp/wireshark/lldp.detailed.pcap,
	tests/proto/lldp/wireshark/lldp.minimal.pcap,
	tests/proto/lldp/wireshark/lldpmed_civicloc.pcap:
	add test for lldp_peer and test packets
	[fa5f4aad8a0d]

	* tests/Makefile.am, tests/check_proto.c:
	add tests for proto check routines
	[cf4a00412970]

	* src/main.h:
	enable edp/fdp peer
	[ed950c156332]

	* src/proto/fdp.c:
	initial version of fdp_peer
	[539772e834e7]

	* src/proto/edp.c:
	add initial version of edp_peer
	[c626e389efab]

	* src/main.c, src/master.c, src/proto/protos.h, src/protos.h:
	move to subdir
	[307f8e8d7868]

2009-06-06  sten  <sten>

	* tests/Makefile.am, tests/check_compat.c:
	add tests for libcompat (setproctitle, strlcat, strlcpy)
	[7a9722a0c8a1]

	* tests/check_util.c:
	change name to util.c
	[2c1ced49287e]

	* tests/Makefile.am, tests/check_misc.c, tests/check_util.c:
	rename check_misc to check_util
	[78ed4e0bab81]

	* tests/check_misc.c:
	expand code coverage
	[a8f298e4cca7]

	* tests/check_misc.c:
	expand coverage
	[1c90f4623979]

2009-05-22  sten  <sten>

	* src/common.h, src/main.c, src/master.c, src/util.c:
	switch to read/write use ssize_t for len to correctly handle
	negative returns, pointed out by Joost Pol
	[31c7408455df]

2009-05-21  sten  <sten>

	* src/main.h:
	enable ndp_peer
	[efbda91b416c]

	* src/proto/ndp.c:
	remove some unused parts
	[3113e400eee3]

	* src/proto/ndp.c:
	add minimal ndp_peer implementation
	[346f51814360]

	* src/proto/lldp.c:
	add lldp_peer function for receive mode
	[2d6d76d13029]

	* src/proto/cdp.c:
	add cdp_peer function for receive mode
	[1ab64178a10e]

	* src/proto/tlv.h:
	add grab and skip use uniq parameter names
	[7343e646b43f]

	* src/main.c:
	remove unused name ptr
	[b0e5bf780f7b]

	* src/common.h, src/main.h, src/master.h, src/protos.h, src/util.h:
	move proto functions to protos.h make master.h private to master.c
	move common master parts to common.h
	[1d13a048d213]

	* src/main.c:
	clean the receive function, stop some of the nmsg / msg confusion
	[3f8f8dedd818]

	* src/common.h, src/main.h:
	misc cleanup to prepare for peer and ttl parsing
	[db5af7fcb3a2]

	* tests/check_misc.c:
	fix endian errors in the tests (doh)
	[61ee5495ec6b]

	* src/master.h:
	include ioctl.h to make SIOCSIFDESCR available and add peer to the
	struct, lame but the easiest solution
	[bdbac83d081d]

2009-05-02  sten  <sten>

	* src/main.c, src/master.c:
	make sure to save proto in master_msg's
	[6e85d2b290c1]

	* src/main.c, src/master.c:
	make sure to set MASTER_RECV in cmd and send the entire struct add
	assertions to queue_msg to catch invalid input
	[c9621eca717b]

	* src/master.c:
	read on stdin instead of stdout use read instead of recv when
	reading from stdin reject unknown protocol types properly
	[bedbb2b87c3e]

	* src/main.c:
	cleanup the evenloop again
	[1d88125e861e]

	* src/master.c:
	add some logging
	[5f067fd5ba0a]

	* src/common.h, src/main.c, src/main.h, src/master.c:
	switch to OPT_DEBUG instead of loglevel DEBUG use the correct
	timeval for libevent remove leftover run_once listen on stdin when
	OPT_RECV and OPT_DEBUG are enabled
	[44881d11c6d2]

2009-05-01  sten  <sten>

	* src/main.c:
	update comment
	[789247270428]

	* src/netif.c:
	because netifs are now persistent we need to clear them before reuse
	[e452c7b11a8d]

	* src/common.h, src/netif.c:
	make sure to delete removed interfaces
	[04d4500b8981]

	* src/main.c:
	only allow OPT_DESCR on platforms with SIOCSIFDESCR
	[dc3ff54b84a3]

	* configure.ac, src/common.h, src/main.c, src/main.h, src/master.c,
	src/master.h, src/proto/cdp.c, src/proto/edp.c, src/proto/fdp.c,
	src/proto/lldp.c, src/proto/ndp.c, src/protos.h:
	move minimal check routines (ether and llc) from master.c to
	seperate functions for use by coming foo_decode routines validate
	the proto and cmd entries in master_req better add assertions
	[d841d0762aeb]

2009-04-30  sten  <sten>

	* src/common.h, src/main.c, src/main.h:
	fix some small warnings, and work on the ttl/name parsing
	[0bd0c1907d3e]

	* configure.ac, src/Makefile.am:
	its -pie, not -lpie
	[0a2b51d53bac]

	* src/netif.c:
	remove unused label
	[b9c593705393]

	* src/master.c:
	fix warnings caused by new cflags
	[13eb34741eb9]

	* Makefile.am, configure.ac, m4/ax_cflags_gcc_option.m4,
	m4/gcc_stack_protect.m4, src/Makefile.am:
	enable various security flags for gcc
	[88401785b696]

2009-04-29  sten  <sten>

	* src/main.c:
	only insert the message when no previous version exists
	[ea5cf076ee09]

2009-04-27  sten  <sten>

	* tests/Makefile.am, tests/check_misc.c:
	update the misc testsuite to match the switch to TAILQ for netifs
	[f9efae942057]

	* src/common.h, src/main.c:
	be smarter about fetching netifs build the ifdescr string in main
	validate the returned name
	[ae01234878d7]

2009-04-23  sten  <sten>

	* src/common.h, src/main.c, src/main.h:
	main.c parts for the ifdescr support, still needs per protocol
	implementations
	[102d03f5d4c0]

	* src/main.c, src/netif.c:
	add -z commandline switch for ifdescr support make sure we don't
	send ifdescr when OPT_DESCR is enabled
	[5877b4131029]

	* src/master.c, src/master.h:
	add master support for updating ifdescr
	[08fa2d68627d]

	* src/netif.c:
	make netif_addrs a void function
	[2cb05d62ead9]

	* src/common.h, src/main.c, src/master.c, src/netif.c, src/util.c:
	use one variable with bitmask for options check the netif->proto
	flag when sending packets
	[63c1b329250e]

2009-04-22  sten  <sten>

	* src/common.h, src/main.c, src/main.h, src/master.c, src/master.h,
	src/netif.c, src/util.c, src/util.h:
	use a tailq for netifs too, to enable persistent netifs needed for
	per-interface auto-protocol enable make the mqueue and netifs queue
	heads global for main.c

	more work is needed on the cleanup front now that netifs are
	persistent.
	[a47db15c0494]

	* src/compat/compat.h:
	add TAILQ_FOREACH_SAFE definition for Linux
	[019c3936fcd5]

2009-02-11  sten  <sten>

	* TODO:
	add more feature requests
	[6da58f5eda99]

2009-02-04  sten  <sten>

	* src/main.c:
	doh
	[d8c0107e240f]

	* src/main.c:
	fully clear mreq before use
	[2a6c4f8719d3]

	* src/netif.c:
	zero mreq before sending it, to silence valgrind warning
	[02a542ec7d5a]

	* src/master.c:
	fix bsd bpf filter and braces
	[6a03a123cba6]

	* configure.ac:
	make missing "check" non-fatal
	[8c01538869a8]

	* src/master.c, src/master.h:
	handle signals properly
	[1b26ba69c3e2]

	* src/main.c, src/main.h, src/master.c, src/master.h, src/protos.h:
	use libevent to receive packets in the master process re-arrange the
	protos structure, to make it available to libevent functions in the
	master remove unneeded arguments to master_init
	[d00cf33ca0ce]

	* configure.ac, src/Makefile.am:
	silly AC_CHECK_LIB, make sure to link libevent only when required
	[28c55f846d33]

	* configure.ac:
	add libevent to autoconf
	[4b1dd00bfd93]

	* src/main.c, src/main.h, src/master.c, src/master.h, src/netif.c,
	src/util.c, src/util.h:
	add initial support for receiving messages in the child messages are
	saved in a TAILQ, and removed when expired. use libevent to wait for
	messages to come in
	[326a81c2de72]

2009-02-03  sten  <sten>

	* src/util.h:
	fix typo
	[784db3d577d9]

	* src/Makefile.am:
	move more files to libtool archives
	[b782b62d2f95]

	* src/main.c, src/master.c, src/util.c, src/util.h:
	merge fatal into __my_log improve debug handling
	[38f949953f15]

	* src/main.c, src/master.c, src/util.c, src/util.h:
	use __progname for usage() improve netif and subif_iter switch from
	do_debug to loglevel == DEBUG check for invalid input in most
	functions in util.c
	[959baca3b6bb]

	* src/util.c, src/util.h:
	add __func__ to debug output redefine fatal as a macro
	[57af4c3fa948]

	* src/proto/lldp.c:
	fixup silly static declaration
	[3d17f6e34217]

	* src/proto/ndp.c:
	re-add tlv include for VOIDP_DIFF macro
	[9cb25c544e44]

	* src/Makefile.am:
	remove duplicated master.c entry
	[c5a074ef8265]

	* src/master.c:
	use my_socket
	[ddf85d5a6ead]

	* src/master.c:
	add fnctl include
	[be29ac2cae1f]

	* src/proto/edp.c:
	use a static variable for edp_count
	[5bdc64ac7308]

2009-02-02  sten  <sten>

	* src/netif.c:
	update lldp include location
	[3783d46c3a46]

	* src/main.h, src/master.c:
	add subdirs to proto includes
	[1e57bd56d9cc]

	* configure.ac:
	add libtool
	[346b4c4ee898]

	* Makefile.am:
	also look in the tests subdir
	[c900665aa48d]

	* src/Makefile.am, src/cdp.c, src/cdp.h, src/edp.c, src/edp.h,
	src/fdp.c, src/fdp.h, src/lldp.c, src/lldp.h, src/ndp.c, src/ndp.h,
	src/proto/cdp.c, src/proto/cdp.h, src/proto/edp.c, src/proto/edp.h,
	src/proto/fdp.c, src/proto/fdp.h, src/proto/lldp.c,
	src/proto/lldp.h, src/proto/ndp.c, src/proto/ndp.h, src/proto/tlv.h,
	src/tlv.h:
	move protocols to a seperate directory build libtool archives for
	compat and protocols to facilitate unittests and linking to multiple
	binaries cleanup the types typedef
	[c9a05ab4bc72]

	* src/common.h:
	add bsd tailq macro's
	[56acc3a863e0]

	* configure.ac:
	fixup small errors
	[e603e618d038]

	* src/Makefile.am, src/compat/setproctitle.c, src/compat/vis.c,
	src/compat/vis.h:
	remove strnvis, not needed because setproctitle is only called with
	fixed arguments
	[075db3e70416]

2009-02-01  sten  <sten>

	* scripts/release.sh:
	fixup debian source generation
	[633affe010f4]

	* configure.ac:
	cleanup configure script move object files to subdirs include check
	unittests
	[8f0af2773e3a]

	* tests/Makefile.am, tests/check_misc.c, tests/testfile:
	add some initial "check" unittests for utic.c
	[8fce29eb7c7b]

	* Makefile.am:
	remove debian subdir from dist tarball debian prefers clean sources
	[0f1ba95651a5]

2009-01-15  sten  <sten>

	* src/master.c, src/master.h:
	add mode argument to master_rsocket for read/write improve handling
	socket open failures remove bpf loop asprintf memleak
	[cbd95e2fb1cf]

	* src/master.c:
	master shouldn't run with the same uid as the slave so remove the
	drop_privs call and strip the keepcaps too for now
	[52b958bd5453]

2008-11-25  sten  <sten>

	* src/master.c:
	use netifc * 2 for rbuf
	[a6e343255622]

2008-11-24  sten  <sten>

	* src/common.h, src/main.c, src/main.h, src/master.c, src/master.h:
	make sure to register multicast
	[818f9fb6982c]

2008-11-22  sten  <sten>

	* src/master.c, src/master.h:
	make sure to filter out locally generated packets
	[9c2ad7ca654d]

2008-11-21  sten  <sten>

	* src/master.c:
	remember to save len in mrecv->len
	[714b5f321524]

	* src/master.c:
	more receive mode fixups
	[9545fffe6858]

2008-11-20  sten  <sten>

	* src/master.c:
	add socket/bpf filtering to recv sockets
	[a33b9034a4b2]

	* configure.ac:
	check for linux socketfilter headers
	[9fdb31389a1b]

	* src/ether.h:
	add some ethernet defines
	[42ade587551f]

2008-11-19  sten  <sten>

	* src/master.c:
	add bind support to master_rsocket
	[8ce7174cec5d]

	* src/master.c, src/master.h:
	make sure to return debug stdout on the transmit socket
	[82906cf52939]

	* src/master.c:
	more misc fixes
	[a8dfba2cab5f]

2008-11-18  sten  <sten>

	* src/master.c, src/master.h:
	get receive support structure going
	[c90b8cee2f20]

	* src/master.c:
	improve the drop_privs / chroot logic we'll support recv only on
	initially detected interfaces
	[52cebeb800ad]

	* src/master.c:
	we'll do recv differently
	[bac242a19107]

	* src/main.c, src/master.c, src/master.h:
	rename saved_arg* to sarg* pass netif count to master_init (useful
	for the receive option)
	[6c7b2273697c]

	* configure.ac:
	tag 0.7-alpha
	[aad5ef738a69]

	* src/main.c, src/master.c, src/master.h, src/util.c, src/util.h:
	fix my_fatal move the netif looping to netif_iter and subif_iter use
	the *_iter functions to add initial listening support to master.c
	[431118fb902e]

2008-11-17  sten  <sten>

	* src/util.c:
	cleanup msend somewhat
	[3eb9856fd983]

	* debian/init.d:
	create the privsep dir in /var/run via the initscript
	[3f87e63cb418]

	* configure.ac, src/main.c, src/master.c, src/sysinfo.c, src/util.c,
	src/util.h:
	chroot the privileged master by default add my_fatal to simplify the
	code
	[b6d13a6d8690]

	* src/main.c:
	close parts of the socketpair after forking
	[119c25c7732a]

2008-11-16  sten  <sten>

	* src/main.c, src/master.c:
	drop priviles when receive is disabled and capabilities arent
	available
	[1e3029e5a12b]

	* src/common.h, src/main.c, src/master.c, src/master.h, src/netif.c:
	move ethtool GSET to the master which has the required privileges
	[c0066ea1dd3a]

	* src/util.c:
	use defines
	[d126871304d5]

	* src/master.c:
	add validation for edp, fdp, ndp
	[f4489ad49a33]

	* src/master.c, src/master.h:
	simplify nameindex usage add master_rcheck functions to validate
	packets
	[1f1d13f8e09c]

	* expand $Id$
	[5f000f3f4f4f]

	* configure.ac:
	cleanup configure somewhat
	[90facf2a9d0a]

	* src/Makefile.am:
	add vis.h
	[27f2d6a09e62]

	* src/compat/strlcat.c, src/compat/vis.c, src/compat/vis.h:
	add more compat sources
	[ff7c18efaa71]

	* src/common.h, src/master.h:
	move the pcap structs to master.h
	[f1d8d226fb95]

	* src/Makefile.am, src/main.c, src/main.h, src/master.c, src/master.h,
	src/util.c, src/util.h:
	move the rawsocket and pcap code to a privileged master and use a
	socketpair for master/child communication make setproctitle work as
	intended
	[4fdac15951a4]

	* src/common.h:
	make sure to include only net/if.h (needed for if_nameindex) and not
	linux/if.h (even when including bonding headers)
	[7cd804f10a58]

	* src/netif.c:
	use strlcpy everywhere
	[255ad8c104b8]

	* src/Makefile.am:
	add more compat sources
	[7c0074202650]

	* src/compat/compat.h, src/compat/setproctitle.c,
	src/compat/strlcpy.c:
	misc small fixes
	[e98a45ea5158]

2008-11-14  sten  <sten>

	* src/common.h, src/compat/compat.h, src/util.h:
	add compat headerfile
	[462d8dcdf507]

	* configure.ac, src/Makefile.am, src/compat/setproctitle.c,
	src/compat/strlcpy.c, src/util.c:
	add openssh style compat functions
	[d2cad4eb155e]

	* src/main.c, src/util.h:
	make sure to include pwd.h for drop_privs
	[ec0baf7cc2a8]

2008-11-12  sten  <sten>

	* src/util.h:
	fixup index type
	[650ad7336984]

	* src/common.h, src/util.c:
	convert ifindex to uint32_t
	[0501aea18934]

2008-11-11  sten  <sten>

	* src/main.c, src/util.c:
	rename do_fork to do_detach, which more accurately reflects its
	function
	[eb72e390f97d]

2008-11-03  sten  <sten>

	* src/main.c:
	fix silly getopt error, reported by Martin Pels
	[a5ab8e5186df]

2008-10-27  sten  <sten>

	* src/fdp.c, src/fdp.h:
	add support for the fdp capabilities TLV which seems to be a string
	[603a45e10930]

2008-10-26  sten  <sten>

	* TODO:
	update TODO
	[0d02498209fe]

	* src/common.h, src/edp.c, src/sysinfo.c:
	parse uts release into 3 numerical sections using strtol add support
	for the edp info tlv using the new uts_rel version
	[3aff1d5306d2]

	* doc/ladvd.8.in:
	update manual date
	[4c41de8c83a6]

	* src/ndp.c:
	remove unneeded variable
	[d47d09af2836]

	* src/Makefile.am, src/common.h, src/main.c, src/main.h, src/ndp.c,
	src/ndp.h, src/netif.c:
	add ndp / sonmp support
	[bb71c86ace11]

	* src/fdp.c, src/fdp.h:
	actually add the fdp code
	[8f4d9ee1fdc2]

	* doc/ladvd.8.in:
	update manual
	[49d2fec23e25]

	* doc/ladvd.8.in:
	update the manual
	[e2f4a5036cc2]

	* src/Makefile.am, src/cdp.c, src/cdp.h, src/edp.c, src/ether.h,
	src/lldp.h, src/main.c, src/main.h, src/tlv.h:
	add untested fdp support change cmdline switches, CAPS are for
	packet-types now use more defines for cdp/fdp addr protos
	[e9304d0f86f2]

	* src/edp.c, src/edp.h:
	expand $Id$ in edp.c clarify edp.h comment
	[d11993aba34a]

	* TODO:
	support for vlan interfaces would be useful
	[5ef87a53992c]

	* configure.ac:
	check for the ethertypes header, used for the lldp ethertype
	[2b391cd76e6e]

	* src/Makefile.am, src/cdp.c, src/edp.c, src/edp.h, src/main.c,
	src/main.h, src/util.c, src/util.h:
	add minimal edp support
	[7ad005688965]

	* src/tlv.h:
	add support for edp tlv's
	[645b8dc71d01]

	* src/cdp.h, src/lldp.c, src/lldp.h:
	rename lldp tlv-type defines
	[e5da85accc17]

	* src/cdp.c, src/cdp.h, src/ether.h, src/lldp.c, src/lldp.h,
	src/util.c, src/util.h:
	use structs to manage the non-tlv parts of cdp and lldp move the
	checksum function to util.c
	[1105f424523c]

2008-10-22  sten  <sten>

	* src/Makefile.am, src/cdp.c, src/cdp.h, src/common.h, src/ether.h,
	src/lldp.c, src/main.c, src/main.h:
	change struct packet to a simple char array map ether and llc
	structs onto the packet array define the ether structs in a seperate
	ether.h create the cdp llc header using defines from cdp.h

	this change was inspired by Vincent Bernat's lldp
	[077449f4015e]

2008-10-21  sten  <sten>

	* src/cdp.c, src/cdp.h:
	turn cdp_version into a define
	[23d8acf586b6]

	* src/cdp.c, src/cdp.h:
	rename cdp_predef to cdp_proto
	[e1ea633cbb81]

	* src/Makefile.am, src/cdp.c, src/common.h, src/lldp.c, src/main.c,
	src/main.h, src/netif.c, src/sysinfo.c, src/util.c:
	move the general stuff in main.h to common.h move the protos array
	to the new main.h
	[bbd3f7a815e7]

2008-10-20  sten  <sten>

	* src/main.c, src/main.h:
	enable lldp by default introduce the proto struct describing
	supported packet types containing function pointers for the
	foo_packet routines
	[13f52ecff35c]

	* TODO:
	update TODO
	[ac2695df7248]

2008-10-19  sten  <sten>

	* src/main.c:
	disable forking / daemon on macosx to silence warnings we'll use
	launchd there anyway
	[c4c0a5048a77]

	* src/main.h:
	add packed attributes to structs which define fixed packet headers
	[3643871ec64a]

	* src/netif.c:
	older versions of if_bonding.h lack the BOND_MODE_8023AD define,
	which causes a compile error. add an ifdef to catch this
	[3859831c53fd]

	* src/netif.c:
	fix macosx compile warning bridge support isn't available on macosx
	(though it is in xnu) so the warning is harmless anyway
	[cd860957b936]

	* src/netif.c:
	use bsd's if_media.h to detect wireless interfaces which works on
	macosx too
	[3bfdb193e7f3]

	* src/netif.c:
	add support for macosx bonding
	[7f1e4b50aab5]

	* configure.ac:
	add apple's if_bond_var header
	[33d8c22582e4]

	* TODO:
	update todo
	[1df82f35ee28]

	* src/netif.c:
	detect macosx lacp interfaces
	[c55293711577]

2008-10-18  sten  <sten>

	* src/netif.c:
	macosx compile fix, its bsd-like but lacks IFT_BRIDGE
	[17e44f733fde]

2008-10-08  sten  <sten>

	* src/main.c:
	remove ladvd reference, use a define
	[bc03507a0466]

2008-09-30  sten  <sten>

	* debian/init.d:
	make the initscript somewhat more generic
	[4d781d7455be]

2008-09-22  sten  <sten>

	* configure.ac, debian/changelog:
	tag 0.6.1 release
	[be31cc99070c]

2008-09-21  sten  <sten>

	* src/main.c:
	fix silly string typo
	[72caaf8d520e]

	* doc/ladvd.8.in, src/main.c, src/main.h, src/netif.c:
	add -M switch to force -m addr usage for all interfaces
	[b3d704681e77]

	* src/netif.c:
	fix -m v6 support, overwrite if empty not the reverse
	[830b6f19388d]

	* src/cdp.c:
	location isn't a pointer anymore, use strlen to check for empty
	locations
	[d18831d101a0]

	* configure.ac, debian/changelog:
	tag 0.6.1-rc4, the final rc before 0.6.1
	[70e39491ca98]

	* TODO:
	update TODO
	[b05a811d3072]

	* TODO:
	update todo
	[dba0d593b7f3]

	* doc/ladvd.8.in, src/main.c:
	document the pcap changes
	[a00ff1a561fb]

	* src/main.c, src/main.h, src/util.c:
	complete the packet dump output with pcap headers to enable piping
	to tcpdump/wireshark
	[5eae3d59c758]

	* configure.ac, doc/ladvd.8.in, src/lldp.c, src/lldp.h, src/main.c,
	src/main.h:
	add LLDP civic location support, using the LOC catype also add the
	required country-code support
	[fa3a31de90f4]

	* src/cdp.c, src/lldp.c, src/main.c, src/main.h, src/netif.c,
	src/sysinfo.c, src/util.c, src/util.h:
	small changes to make splint happy
	[14a040c65fbf]

2008-09-19  sten  <sten>

	* src/netif.c:
	print skip information for empty ifa_addrs too ( to show pptp/ppp
	interfaces )
	[a9bec5640947]

	* src/util.c:
	fix silly bug in read_line, not every string contains a newline
	[61fe5b317d91]

2008-09-15  sten  <sten>

	* configure.ac, debian/changelog:
	tag 0.6.1-rc3
	[4908c47bdeef]

	* src/netif.c:
	print lacp detection too
	[9500b9f96a44]

	* src/netif.c:
	make sure to copy master->name to ifr
	[af8e63dd0828]

	* src/netif.c:
	fix comitted typo
	[0bf11727b264]

	* src/netif.c:
	the sysfs/ioctl ifdefs don't reflect the running config
	[e5075294e36d]

	* src/netif.c:
	make sure to log all detected slaves
	[fb4c29c9cf8c]

	* configure.ac:
	silence configure warning by checking for linux/if.h using the same
	includes used for net/if.h
	[215587b73635]

	* Makefile.am:
	just remove the dist suffix, to exclude the generated ladvd.8
	release tarballs
	[3b16011fc075]

	* Makefile.am:
	make sure to clean generated manpages on release
	[2a1880c91467]

	* configure.ac:
	make the with-user work again, reported by Paul de Weerd can someone
	please shoot the autoconf authors ?
	[d72a02f6912d]

	* src/netif.c:
	fix redeclaration of `i', found by Paul de Weerd
	[f4f55aabcf12]

	* debian/changelog:
	update debian package too
	[8c2587412cd5]

	* configure.ac:
	update to rc2
	[a05d94773205]

	* src/netif.c:
	improve the header handling in netif_bond
	[6e9d3d3bb262]

	* src/netif.c:
	add ioctl code to detect bridge interfaces needed for hosts without
	sysfs
	[57d654c016d6]

	* configure.ac, src/main.h:
	prefer linux/if.h when available, to stop silly conflicts between
	net/if.h and linux/if.h
	[de1c348625b4]

	* src/netif.c:
	small bonding ioctl fixes, make sure to include the header
	[de08ba37b100]

	* src/netif.c:
	only run the bonding ioctl when needed
	[d9e0cfbd45a1]

	* src/netif.c:
	we should scan using the "slave" pointer, because that is updated,
	otherwise we just keep finding the same first interface
	[92f232467cc7]

	* src/netif.c:
	add untested ioctl path to netif_bond, to fetch bonding information
	when sysfs isn't available
	[8e3e8bc3299d]

2008-09-14  sten  <sten>

	* src/netif.c:
	make sure to check for empty ifa_addr structs before trying to use
	ifa_addr->sa_family

	bug found by Alexander Ottl
	[82045c5ab460]

	* src/cdp.c:
	use cap_active for cdp capabilities as requested by Alexander Ottl
	[4ba1f5fc5ef3]

	* src/netif.c:
	be more relaxed when running without sysfs
	[e1906721f36d]

2008-09-12  sten  <sten>

	* src/sysinfo.c:
	gethostname uses static storage, no need to free it. found by
	Alexander Ottl
	[dee41f31819c]

	* src/sysinfo.c:
	fix uts_str strlen test
	[271c9fb01874]

	* Makefile.am:
	make sure to include ladvd.8.in in the release tarballs
	[f114059a9fd1]

2008-09-08  sten  <sten>

	* debian/changelog:
	update debian packaging
	[faeb17cffb62]

	* src/cdp.c:
	fix copypaste from lldp.c
	[6fba414bc5ee]

	* src/util.h:
	syncup headerfile
	[61142df1a9a0]

	* src/util.c:
	include your own header please
	[e46d6b6fa05a]

	* src/main.c, src/netif.c:
	misc small fixes
	[8c34a0ad9a4c]

	* configure.ac:
	tag 0.6.1-rc1
	[cf55cb934c08]

	* src/netif.c:
	close some small BSD socket / memory leaks
	[26a2ac682c10]

	* doc/ladvd.8.in, src/main.c:
	document the -m option
	[605f360aee20]

	* src/netif.c:
	use management addresses, if defined, for unnumbered interfaces
	[26b9a384427f]

	* src/main.c, src/main.h, src/tlv.h, src/util.c:
	add an management addr to sysinfo
	[c7479e9639b5]

	* src/main.c, src/netif.c, src/sysinfo.c, src/util.c, src/util.h:
	switch to defines for my_log priorities
	[0bd071e54da8]

	* src/cdp.c:
	unify CAP_HOST behaviour between lldp and cdp as requested by
	Alexander Ottl
	[b899080d2246]

2008-08-03  sten  <sten>

	* src/main.h, src/sysinfo.c:
	make sure hostname is 256 too, free hp
	[8ac02efa9058]

	* src/main.c, src/main.h:
	make sure location is 255 max too (and trailing 0)
	[cde9485ed212]

	* src/main.h, src/sysinfo.c:
	make sure uts_str is 255 chars max
	[ea8ae01ed48b]

	* TODO:
	update TODO
	[88164152b835]

	* Makefile.am, configure.ac:
	rewrite the user configuration automatically update the manual with
	the configured user
	[b34731e5a464]

	* doc/ladvd.8.in:
	simple please
	[fed03b458171]

	* doc/ladvd.8.in:
	cleanup somewhat
	[0549bd53d3f8]

	* doc/ladvd.8, doc/ladvd.8.in:
	rename
	[28f11daf8e1e]

	* src/util.h:
	remove directive
	[948e84adf714]

	* src/netif.c:
	switch to strlcpy
	[8c8c824aab3c]

	* src/sysinfo.c:
	switch to strlcpy
	[5d66b45dd56b]

	* src/util.c:
	use strlcpy
	[07001100be33]

	* configure.ac, src/util.c, src/util.h:
	add openbsd licensed strlcpy and test wether its needed
	[dc21a4b65fa1]

	* src/sysinfo.c:
	uts.release is wat we want
	[b50f21749a86]

	* src/sysinfo.c:
	fix some compile warnings by using a len variable
	[9b0faf10b0cb]

	* src/netif.c:
	comparison, not assignment please
	[5966850883fb]

	* src/lldp.c:
	add support for the TIA inventory management TLV set
	[1cb5c0b65eae]

	* src/sysinfo.c:
	fetch openbsd hardware info via sysctl
	[6c9500d7dfd6]

	* src/netif.c:
	remove unused variable
	[3b90fb1c2242]

	* src/netif.c, src/sysinfo.c, src/util.c, src/util.h:
	rename sysfs_read to read_line, and use it for procfs reads too
	there might have been an filedescriptor leak in the old code
	[656ebca9b683]

	* src/main.h, src/netif.c, src/sysinfo.c, src/util.c, src/util.h:
	use HAVE_SYSFS add sysfs_read function use the sysfs_read function
	to read dmi data
	[ca9943d787fe]

	* configure.ac:
	add sysfs define
	[a9779affc73f]

2008-08-02  sten  <sten>

	* src/main.h:
	add tia inventory subtypes
	[d54fb1a61436]

	* src/lldp.h:
	add TIA tlv defines
	[b89c26044dcb]

	* src/main.c, src/main.h, src/netif.c, src/sysinfo.c:
	rename functions
	[81138efd7692]

	* src/main.c, src/main.h, src/sysinfo.c:
	seperate sysinfo into a seperate file, to prepare for dmi / lldp-med
	extensions
	[5e7726c62815]

	* debian/control:
	depend on lsb-base
	[3d4a8a118b86]

2008-08-01  sten  <sten>

	* src/Makefile.am:
	add sysinfo
	[e6247e134dcc]

	* src/Makefile.am:
	KISS
	[8dc2ef517f90]

	* src/netif.c:
	remove some sysfs virtual references
	[98b37a35c3a5]

	* configure.ac, src/netif.c:
	the /sys/devices/virtual dir is really new (2.6.22 lacks it) so
	instead look for a "device" symlink in /sys/class/net, if it is
	missing then the device is virtual. This is pretty much what is used
	to populate the /sys/devices/virtual dir.
	[801eb39a4272]

2008-07-31  sten  <sten>

	* src/netif.c:
	try to work with oooold kernel headers
	[edb45283b4a1]

	* debian/changelog, debian/compat, debian/control:
	small debian fixes
	[9106f9bceaf9]

2008-07-29  sten  <sten>

	* TODO:
	update TODO
	[a9987e59c114]

	* src/netif.c:
	make sure we read /proc/sys/net only on linux
	[3e56298ee830]

	* configure.ac:
	add define for /proc/sys/net
	[12210ed24634]

	* src/netif.c:
	be smarter about CAP_ROUTER cap/cap_enabled
	[456365fa5d67]

2008-07-28  sten  <sten>

	* scripts/release.sh:
	silly test commit
	[ba2c396cdf20]

	* scripts/release.sh:
	integrate normal, and debian source building into one script
	[98c2d50c72a7]

	* src/netif.c:
	sysinfo is a pointer
	[64aac1b3e6b5]

	* scripts/autogen.sh, scripts/release.sh:
	rename
	[4603960aa4ec]

	* autogen.sh, scripts/autogen.sh, scripts/gnuify-changelog.pl:
	cleanup release scripting
	[e5ce2559e7b8]

	* TODO:
	update TODO
	[bf4bf7fb4ccf]

	* src/main.c, src/netif.c:
	lets do this the right way
	[401e521a2b19]

2008-07-27  sten  <sten>

	* doc/ladvd.8:
	update manpage change
	[47b49c61ac91]

	* debian/changelog:
	update debian version number
	[4cf3e325efb8]

	* TODO:
	update TODO
	[778d6eb2671e]

	* debian/control, debian/ladvd.postinst:
	misc small debian packaging fixes
	[57b55b475d01]

	* src/netif.c:
	remember to zero caps
	[9f6e3869bea4]

	* src/lldp.c, src/main.h, src/netif.c:
	add support for openbsd's SIOCGIFDESCR, linux / freebsd don't seem
	to have this...
	[a9d4d7b4c075]

	* configure.ac:
	include some more headers
	[43e812ec9c93]

	* doc/ladvd.8:
	correct documentation
	[d964d9993629]

	* doc/README, doc/ladvd.8:
	update documentation
	[275aa18a56f0]

	* Makefile.am:
	add debian subdir to sources
	[af733b1c5b49]

	* debian/files, debian/ladvd.default:
	misc cleanups
	[9c61ccd97293]

	* debian/changelog:
	update to 0.6.0
	[8bfbc626a50c]

	* src/tlv.h:
	add some clarifications to tlv.h
	[b1bea65b7167]

	* configure.ac:
	tag 0.6.0 release
	[6d9a7e9ef0dc]

	* Makefile.am:
	point to the new license
	[457ff3ec2d42]

	* LICENSE, debian/copyright, doc/COPYING:
	switch to isc license
	[24ef86963e10]

	* src/cdp.c, src/lldp.c, src/main.c, src/main.h, src/netif.c:
	add support for cap_enabled using IFF_UP to detect enabled
	capabilities
	[e2bfa7efa95d]

	* TODO, configure.ac:
	tag pre5
	[61a06e698daf]

	* src/lldp.c, src/main.c, src/main.h, src/netif.c:
	switch to mac for chassis id fix master/netif looping in main
	[b59dda171731]

	* configure.ac:
	fix typo
	[59e6579a8011]

	* TODO, src/netif.c:
	fix bsd ipv6 forwarding detection
	[0ad92fa8eb27]

	* TODO:
	update todo
	[a93b3e76dd9b]

	* configure.ac:
	whine about missing headers
	[74dd80a5304b]

	* configure.ac, src/cdp.c, src/lldp.c, src/main.c, src/main.h,
	src/netif.c, src/util.c, src/util.h:
	detect forwarding via sysctl or /proc rename "struct session" to
	netif to prevent conflicts with sys/proc.h add a master pointer to
	struct netif which simplifies the code somewhat
	[12fbc926df50]

2008-07-26  sten  <sten>

	* TODO, src/lldp.c:
	set LLDP_CAP_STATION_ONLY when _only_ CAP_HOST is defined
	[ced2e14a6d3e]

	* TODO, src/main.c, src/main.h, src/netif.c:
	call netif_addr via netif_list, saves an getifaddrs call and makes
	more sense
	[efd89e713508]

	* TODO, src/main.c:
	add startup message
	[1e3d69edb4e3]

2008-07-24  sten  <sten>

	* TODO:
	update todo
	[1a61545c62db]

2008-07-23  sten  <sten>

	* src/netif.c:
	zero ecmd too
	[c7945040f9b7]

	* src/netif.c:
	make sure we zero drvinfo
	[fd5efc75850e]

	* src/main.c:
	fix silly typo
	[32d5362d5c84]

	* src/util.c:
	correct my_log usage
	[0a96bd51a11a]

	* TODO, configure.ac, doc/ladvd.8, src/main.c, src/main.h,
	src/netif.c, src/util.c:
	start autodetecting capabilities autodetect interfaces every 30
	seconds improve handling of argv interfaces add debug mode which
	skips the socket/setuid hassle
	[3b7242df14b7]

2008-07-21  sten  <sten>

	* configure.ac, src/main.c, src/main.h:
	configure pid-file path via autoconf
	[900933528ee8]

	* configure.ac, src/main.c:
	make the user configurable
	[67bb91caa338]

	* src/netif.c:
	add some free to inbuf
	[40d88e856def]

	* configure.ac:
	tag pre3
	[53511eb0e158]

	* TODO:
	update TODO
	[1bd9635e53d5]

	* src/netif.c:
	add support for linux wireless extensions
	[60954fa63dff]

	* configure.ac:
	more includes for wireless
	[e8084621068c]

	* configure.ac:
	add some more headers
	[e1560545ee55]

	* configure.ac:
	check for linux wireless headers
	[36b3364047c1]

	* src/cdp.c, src/lldp.c, src/netif.c:
	switch from bcopy to memcpy
	[d5ac28dfaf1f]

2008-07-20  sten  <sten>

	* configure.ac, src/cdp.c, src/lldp.c, src/main.c, src/netif.c,
	src/util.c:
	switch to memset
	[0ebeb2b193d6]

	* src/tlv.h:
	rewrite tlv.h using memcpy to it work on strict alignment archs like
	sparc64
	[c20af31246fd]

	* src/cdp.c, src/lldp.c:
	use push_bytes for ipaddr4
	[cdcb0d55cb2c]

	* src/netif.c:
	default to not-matching in netif_wireless
	[82aecc9e2f2d]

	* src/netif.c, src/util.c, src/util.h:
	eliminate my_ioctl
	[dd8a50f4ac4c]

	* src/netif.c:
	remove some whitespace
	[6283edd89b37]

	* src/netif.c:
	add message
	[a2e50143c840]

	* src/netif.c:
	handle SIOCGIFMTU failures gracefully
	[4afe5b888f04]

	* configure.ac:
	update to pre2
	[c49c59705c12]

	* src/netif.c:
	move netif_names function around
	[25ae546f0f2b]

	* src/netif.c:
	fixup ifr for lagg/trunk too
	[1ca925714f7a]

	* src/netif.c:
	fix ethtool ifr usage
	[c7713659e869]

	* src/cdp.c, src/lldp.c, src/main.c, src/main.h, src/netif.c,
	src/util.c:
	split the wireless and type detection code to seperate functions
	rename members of the session struct to stop conflicts with net/if.h
	[384d65f1f170]

	* src/netif.c, src/util.c:
	use netif_fetch socket for netif_bond and netif_bridge move code
	around for a bit check for < 0 in my_ioctl
	[85e03ca33630]

	* src/netif.c:
	handle failing SIOCGIFFLAGS properly
	[ddae295e017f]

	* src/netif.c:
	add openbsd support for trunk, bridge and wireless
	[4396272aabe8]

	* configure.ac:
	more include fixes
	[0c6c75a031c2]

	* configure.ac:
	fixup newline
	[979330617817]

	* configure.ac:
	look for more includes
	[5cf35cba43ba]

	* TODO, src/netif.c:
	add lagg / if_bridge support
	[befd62693b65]

	* configure.ac:
	remove vlan headers add more includes for the wireless headers
	[7cf6dc350d6c]

	* configure.ac:
	add if_lagg.h dependency
	[f1ade0de2a42]

	* configure.ac:
	improve test
	[269538c3ac7d]

	* configure.ac:
	check for wireless headers too
	[989fe12be822]

2008-07-19  sten  <sten>

	* configure.ac:
	tag 0.6.0-pre1
	[a682e56133f8]

	* TODO:
	update todo
	[30b2a618f30c]

	* src/cdp.c, src/lldp.c:
	and its a pointer even at length time
	[5d86fc16fab8]

	* src/cdp.c, src/lldp.c:
	packet is a pointer now
	[1025898f8b60]

	* TODO, configure.ac:
	fix some include errors
	[f83749735850]

	* src/netif.c:
	this should work better
	[93125a29d519]

2008-07-18  sten  <sten>

	* src/cdp.c, src/lldp.c, src/main.c, src/main.h:
	use a single struct packet for all interfaces which saves space
	(packets are regenerated anyway) and actually simplifies the code
	[9c1f56011e80]

2008-07-17  sten  <sten>

	* src/netif.c:
	sync some logging
	[6cf67c42778d]

	* src/util.c:
	small fixes
	[c7e571cb3d49]

	* src/main.c:
	speling
	[d1919bd00616]

	* src/cdp.c, src/lldp.c, src/main.c, src/main.h, src/util.c,
	src/util.h:
	cleanup raw-socket handling, one is all we need add test-version of
	bpf support remove the obsolete lldp/cdp send functions
	[ca1d1a31a1ae]

	* TODO, src/main.h, src/netif.c:
	switch to using if_indextoname instead
	[d4765321ee2d]

	* src/main.c, src/main.h, src/netif.c, src/util.c, src/util.h:
	use ifnamsiz for interface names update interface names using
	if_nameindex because interfaces names aren't static
	[7b4434f7f1fd]

	* src/cdp.c, src/cdp.h:
	add ipv6 support to the cdp address tlv code correct ADDR_PROTO_IPV6
	based on what tcpdump uses (which my 2960g seems to accept)
	[007fbd4ab270]

2008-07-16  sten  <sten>

	* TODO:
	update TODO
	[dff72ff269e9]

	* src/cdp.c:
	skip the snap header when calculating the checksum
	[976b187fb7e4]

	* TODO:
	update todo
	[3d66007dd90f]

	* debian/ladvd.postinst, debian/ladvd.postrm:
	add debian scripts to manage the ladvd user
	[e7f0afcab2dd]

	* src/main.c:
	fixup my_log usage
	[cc680eab59b6]

	* src/main.c:
	add sigaction managed pidfile cleanup
	[5f27a7af71db]

	* configure.ac:
	require signal.h
	[04b3ae36268f]

2008-07-13  sten  <sten>

	* configure.ac:
	grrr
	[b08bf40479bf]

	* configure.ac, src/netif.c:
	make it work
	[2608dea3062a]

	* configure.ac, src/netif.c:
	add bsd vlan support
	[0a9f93737b86]

	* src/netif.c:
	remove unused ifmr
	[28d3974cba84]

	* configure.ac, src/netif.c:
	add if_types
	[d4592a3ef523]

	* src/netif.c:
	use getifaddrs to detect interfaces
	[649848fe42b7]

	* src/netif.c:
	detect ethernet interfaces using SIOCGIFMEDIA
	[a2e98df71dee]

	* src/netif.c:
	use LLADDR correctly
	[3ec6dadde45a]

	* src/lldp.c, src/netif.c:
	casting needed for openbsd
	[9ac1af6f7424]

	* configure.ac:
	fix required include for if_bonding.h
	[50004b0507b4]

	* configure.ac:
	add some more headers
	[e871293dee48]

	* src/util.c:
	add some includes
	[6c3fbde2e407]

	* configure.ac, src/netif.c, src/util.c:
	cleanup more includes
	[4b791a88d37a]

2008-07-12  sten  <sten>

	* src/util.c:
	make sure we init socket
	[fad9869d9566]

	* configure.ac:
	grrr silly openbsd includes
	[e15d82accc53]

	* configure.ac, src/main.c:
	more include moves
	[a761aaee8ca4]

	* src/main.h, src/netif.c, src/util.c:
	re-arrange includes
	[4289d86f3981]

	* configure.ac, src/main.h:
	correct if_arp.h location
	[3a51378f3ac6]

	* configure.ac, src/main.h:
	also use if_arp.h
	[7c108435c9f7]

	* configure.ac, src/cdp.c, src/lldp.c, src/main.h, src/netif.c,
	src/util.c:
	misc ethernet header cleanups
	[a2ff7a4ae11f]

	* src/main.c:
	include sys/socket for net/if
	[07a345f53971]

	* TODO:
	update TODO
	[d88b9a5eaad8]

	* src/main.c:
	fix iteration for non-master interfaces
	[bedd9e928fe0]

	* src/main.c:
	clarify comment
	[b83fa0e77d6c]

	* src/main.c, src/main.h, src/netif.c:
	getifaddrs is needed for if_hwaddr on all interfaces, not just
	masters and by being smarter we don't getifaddrs for every interface
	[d645de38b5cf]

	* src/netif.c:
	use af_packet and af_link to fetch ethernet addresses
	[2e71834047bd]

2008-07-11  sten  <sten>

	* src/cdp.c, src/lldp.c, src/main.h:
	use struct packet to describe ethernet packets update cdp.c and lldp
	to use this code correct the cdp version number use bcopy to fill
	the ethernet header prepare for an if_hwaddr in struct session
	[045278b30961]

2008-07-10  sten  <sten>

	* src/cdp.c, src/lldp.c:
	update ethernet type/length field for cdp
	[cb8a2d587325]

	* src/lldp.c, src/lldp.h:
	use oui len
	[7daa8ed72f8f]

	* src/lldp.c:
	mmm this doesn't seem to be needed
	[84c5652b0109]

	* src/lldp.c:
	correct lldp dst and lldp src
	[0ba3b7a3c208]

	* src/netif.c:
	add missing util.h include
	[44f5e678c01c]

	* src/util.c:
	add missing include
	[4dd3fb6a901a]

	* src/cdp.c, src/lldp.c, src/main.c:
	include util.h seperately
	[c7f4969c5b71]

	* src/main.h:
	grrr
	[53d7b2771dbd]

	* src/cdp.c, src/lldp.c, src/util.c, src/util.h:
	switch to using sendto, which actually might work
	[eabe666b0213]

2008-07-09  sten  <sten>

	* src/main.c:
	shorten checks in main
	[5da23febd5af]

	* src/cdp.c, src/lldp.c:
	fixup lldp_len
	[c8cf55c532da]

	* src/cdp.c, src/lldp.c, src/lldp.h:
	make similar changes for lldp
	[cebf751ecb43]

	* src/cdp.c, src/cdp.h:
	remove libnet usage from cdp.c merge cdp_encode and cdp_packet
	remove the cdp_packet struct
	[7624c8309359]

2008-07-08  sten  <sten>

	* src/cdp.c, src/lldp.c, src/util.c, src/util.h:
	just using send might work just as well
	[0505676cb3ec]

	* src/util.c:
	add ethernet include add flags to sendto
	[177450470584]

	* src/util.c:
	add include for htons
	[0481bfe0018f]

	* src/main.c:
	remove more length and libnet usage
	[2efd8a7b8a06]

	* src/cdp.c, src/lldp.c, src/main.c, src/main.h:
	rename to sockfd
	[bf1e8eb26335]

	* src/cdp.c, src/lldp.c, src/main.h, src/util.c, src/util.h:
	add first versions of my_rsocket and my_rsendto rename *_data to
	*_msg and *_length to *_len
	[7a5fe30d45cc]

	* configure.ac:
	remove libnet
	[7cf89e3c9773]

	* src/cdp.c, src/lldp.c:
	more libnet removal
	[005e919e5a39]

	* doc/README:
	correct install instructions
	[35d1ce2d2c9f]

	* src/main.c, src/main.h:
	start the libnet removal
	[0b0a8d777fb7]

2008-07-07  sten  <sten>

	* configure.ac, src/netif.c:
	seperate the bridge and bond handling out into seperate functions
	improve the ifdef codepath selection for bridge/bonding add initial
	test version of bridge member selection
	[4fdcac6aafcb]

2008-06-09  sten  <sten>

	* src/netif.c:
	add netif_info and netif_addr functions to detect interfaces and
	addreses automatically
	[e16cf30a58db]

	* src/main.c, src/main.h:
	add master/subif support seperate common stuff out to sysinfo struct
	move log_str to my_log in util.c be smart about handeling
	master/slave sessions
	[30737023d5d9]

	* src/cdp.c:
	update to reflect main/util changes
	[e7d9452c095f]

	* src/lldp.c, src/lldp.h:
	add ipv6 support add lacp support make the packet buffer static add
	master/slave interface support
	[cc2fabc54a4b]

	* src/tlv.h:
	change includes
	[84029f1637fd]

	* src/Makefile.am:
	add util.c to the makefile
	[c6feb2f72fa7]

	* src/util.c, src/util.h:
	add utility functions
	[af90ceae4c42]

2008-05-31  sten  <sten>

	* src/Makefile.am, src/ifinfo.c, src/main.h, src/netif.c:
	rename ifinfo to netif.c to prepare for more functionality
	[b0a51e28bde6]

	* src/main.c:
	chown the pidfile to the ladvd user
	[536d0292f813]

	* src/ifinfo.c, src/main.h:
	add support for ifindex
	[ba83f50ccdac]

2008-05-28  sten  <sten>

	* TODO:
	update TODO
	[e838c8bf6d25]

2008-05-27  sten  <sten>

	* TODO:
	update TODO
	[069125a3e555]

	* configure.ac, src/Makefile.am:
	revert NET_LIB change, breaks configure on BSD
	[00a947d3117d]

	* debian/init.d:
	switch to oknodo
	[dc52e5cf11a3]

	* debian/init.d:
	handle not-running ladvd gracefully
	[8301e704b28b]

	* configure.ac, debian/changelog:
	tag 0.5.2
	[b94ee6aa6bec]

	* doc/ladvd.8:
	document location option
	[c6ac259b16c8]

	* src/cdp.c:
	document cisco crc workaround
	[ac60311c9fc7]

	* src/main.c:
	add some identation to usage
	[eaf4e8721528]

	* src/cdp.c:
	add the byte after the type field
	[849bf6ed986a]

	* src/cdp.c:
	push additional null-byte into location, seems to be needed
	[734248b554be]

	* src/config.h.in:
	remove autogenerated config.h.in
	[35120321e040]

	* src/cdp.c, src/cdp.h, src/main.c, src/main.h:
	add cdp location support
	[27f4df72355e]

	* src/cdp.c, src/cdp.h:
	add system_name tlv
	[f7a96153c768]

2008-05-26  sten  <sten>

	* src/ifinfo.c:
	make sure to close socket
	[5e063c90bfe5]

	* configure.ac, debian/changelog:
	tag 0.5.1
	[a9305da88a8b]

	* src/main.c:
	fix logging verbosity don't exit on an failed ifinfo_get
	[8461f28e0be6]

2008-05-25  sten  <sten>

	* configure.ac, debian/changelog, debian/control:
	tag 0.5.0 release
	[b5c4dad62748]

	* configure.ac, src/Makefile.am, src/main.c:
	add support for linux capabilities, needed for ethtool ioctl move
	more logic into the main loop to refresh duplex/autoneg more often
	[598652d075c5]

	* src/ifinfo.c:
	sanitize if(
	[ff02bd07d4c8]

	* src/main.h:
	move main.h to workaround libnet.h gnu_source clashing
	[76843bb6d297]

	* src/ifinfo.c:
	add logging for success / failure of ethtool ioctl
	[c154f8ca324a]

	* src/cdp.c, src/cdp.h, src/lldp.c, src/lldp.h:
	silence warning about static uint in lldp.h
	[cf33e208542d]

	* TODO, configure.ac:
	check for asprintf update todo
	[713defd568d6]

	* src/cdp.c:
	remove extranous CDP_CAP_HOST
	[e27d56dbecf1]

	* src/cdp.c, src/ifinfo.c, src/lldp.c, src/main.c, src/main.h:
	enable Id expansion move main.h around, to propaget gnu_source to
	includes resolve uts.nodename via gethostbyname get a fully
	qualified name
	[6bd644e2d587]

	* configure.ac:
	detect GNU_SOURCE
	[d6da55792d3f]

	* src/main.c:
	default to CAP_HOST
	[08e57d7ef8f8]

	* doc/ladvd.8:
	document the capability selection
	[45920bafcc7a]

	* src/main.c:
	move the capability option around a bit
	[dcad70e98d86]

	* TODO, src/cdp.c, src/lldp.c, src/main.c, src/main.h:
	improve capability selection
	[e56724fd21fa]

2008-05-20  sten  <sten>

	* TODO:
	add note about link-state
	[9cecafecbbdf]

2008-05-19  sten  <sten>

	* src/main.c:
	change voor weerd
	[f2398ff8c0bc]

	* configure.ac, src/ifinfo.c:
	add sys/types.h for socket.h on openbsd
	[cc6c434e2acc]

2008-05-18  sten  <sten>

	* TODO:
	speed and duplex support is finished
	[1e22bbe8f7e4]

	* src/ifinfo.c:
	speed is obsolete
	[cb554ad91af6]

	* src/ifinfo.c:
	add some break statements
	[4b51eb41ad7d]

	* src/ifinfo.c, src/lldp.c, src/lldp.h, src/main.h:
	add support for operational MAU type tlv entry
	[92c9d083389b]

	* configure.ac:
	we don't use asprintf
	[cce794439a93]

	* configure.ac:
	add missing closing bracket
	[ee73d39638db]

	* configure.ac:
	sys/socket.h is required for net/if.h
	[fc5a97fe21eb]

	* src/ifinfo.c:
	fix support for freebsd mtu, autoneg and duplex detection
	[38311d82a9b7]

2008-05-15  sten  <sten>

	* src/ifinfo.c:
	getting there
	[a8c611969df3]

	* src/ifinfo.c:
	lowercase strings add wip support for bsd siogifmedia ioctl
	[92d6c192617e]

	* src/cdp.c, src/main.c:
	lowercase strings
	[0273bfe3acbc]

	* src/lldp.c:
	lowercase strings
	[677e3114e8af]

2008-05-11  sten  <sten>

	* src/lldp.c, src/lldp.h:
	add support for LLDP_PRIVATE_8023_SUBTYPE_MACPHY, starting with
	autoneg details
	[2cac54dd3b1b]

	* src/ifinfo.c, src/main.h:
	extend autoneg support to capture more possible states needed for
	full LLDP_PRIVATE_8023_SUBTYPE_MACPHY support
	[345e7ffb3882]

	* src/cdp.c, src/cdp.h:
	enable duplex support in cdp
	[333617a4ed11]

	* src/ifinfo.c, src/main.h:
	add ethtool support to fetch duplex, speed and autoneg
	[5da1c4c77398]

	* configure.ac:
	add header needed for ethtool to autoconf
	[139c8245f5a4]

	* configure.ac:
	check for ethtool headers
	[8d471374fdbb]

	* TODO:
	cleanup TODO
	[9b5a6889fe28]

2008-05-06  sten  <sten>

	* autogen.sh:
	strip slashes from automated changelog
	[09b37b788511]

	* debian/rules:
	only distclean if there is a makefile
	[60ef0e18033a]

	* src/lldp.c:
	interface numbering should be 1 for "unknown" strange default, ow
	well
	[e43e7cf33273]

2008-05-05  sten  <sten>

	* src/lldp.c:
	extend mtu to include link-layer + vlan headers
	[4a6b286f0a48]

2008-05-04  sten  <sten>

	* src/lldp.c:
	fixup the oui copy and check before copying addresses to the packet
	struct
	[5f3c74892075]

	* src/lldp.c:
	doing mtu stuff after the LLDP_END_TLV aint all that useful
	[416807b3f1c8]

	* src/cdp.h, src/lldp.c, src/lldp.h, src/main.h:
	add lldp mtu support
	[142ee105d311]

	* src/lldp.h, src/main.h:
	add defines for lldp private tlv's
	[c5e48776dd5d]

	* src/Makefile.am, src/cdp.c, src/cdp.h, src/ifinfo.c, src/main.c,
	src/main.h:
	add mtu support to main.c and cdp.c lldp support is still to come
	[278cf1a55bc8]

	* configure.ac:
	add some more headers to check
	[f70e88803109]

2008-04-27  sten  <sten>

	* TODO:
	update TODO
	[ea36cd259290]

	* debian/changelog, debian/compat, debian/control, debian/copyright,
	debian/dirs, debian/files, debian/init.d, debian/ladvd.default,
	debian/rules, debian/watch:
	add debian packaging
	[5d741756692e]

2008-04-26  sten  <sten>

	* configure.ac:
	add missing slash
	[4aa4eaf26278]

	* configure.ac:
	fixup header checks
	[4370ecef6e8d]

	* autogen.sh:
	add -q
	[76512b1944ec]

	* Makefile.am:
	add changelog
	[6d652b84739c]

	* autogen.sh:
	improve release scripting
	[96c6558950a0]

	* configure.ac:
	update version to 0.4.3
	[536ea8dd5418]

	* configure.ac, src/Makefile.am, src/main.c:
	update configure to handle versioned libnet installs use snprintf in
	main to keep openbsd happy
	[4072c9313562]

2008-04-25  sten  <sten>

	* src/tlv.h:
	use a different type for ptr diffs, this way it also works on
	theobsd
	[1a174109b7ca]

2008-04-23  sten  <sten>

	* configure.ac:
	improve libnet and other header checks
	[4d332226dfa1]

2008-04-22  sten  <sten>

	* INSTALL, Makefile.am, TODO, autogen.sh, configure.ac, doc/COPYING,
	doc/README, doc/ladvd.8, src/Makefile.am, src/cdp.c, src/cdp.h,
	src/config.h.in, src/lldp.c, src/lldp.h, src/main.c, src/main.h,
	src/tlv.h:
	initial import
	[d52718ea0f82]

