Thu, 04 Oct 2012 20:30:05 +0200
Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.
michael@354 | 1 | Index: common/bpf.c |
michael@354 | 2 | --- common/bpf.c.orig 2009-11-20 02:48:59.000000000 +0100 |
michael@354 | 3 | +++ common/bpf.c 2010-11-27 09:53:47.000000000 +0100 |
michael@354 | 4 | @@ -580,6 +580,9 @@ |
michael@354 | 5 | */ |
michael@354 | 6 | switch (sa->sdl_type) { |
michael@354 | 7 | case IFT_ETHER: |
michael@354 | 8 | +#ifdef IFT_L2VLAN |
michael@354 | 9 | + case IFT_L2VLAN: |
michael@354 | 10 | +#endif |
michael@354 | 11 | hw->hlen = sa->sdl_alen + 1; |
michael@354 | 12 | hw->hbuf[0] = HTYPE_ETHER; |
michael@354 | 13 | memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen); |