Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-14 Thread Ray Soucy
FWIW ISC DHCPd listens on raw sockets. On Tue, Nov 6, 2012 at 11:12 AM, George Herbert george.herb...@gmail.com wrote: Oh, horrors, part of my infrastructure needs raw socket data? We should ban that, for security. Who needs those pesky switches anyways? George William Herbert Sent from

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-13 Thread Henri Wahl
Hi Owen, |ioctl(sock, SIOCGIFADDR, ifr)| Shouldn't that do the trick? I don't know if Python can do that or not, but if it can't, that's pretty weak. As far as I was able to find out this only gives back the local MAC address which is of no use here. To be independent of external call I

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-06 Thread Stephane Bortzmeyer
On Mon, Nov 05, 2012 at 09:14:54AM +0100, Henri Wahl h.w...@ifw-dresden.de wrote a message of 155 lines which said: - identifies clients by MAC address, DUID or hostname Excellent, identification by MAC address was often requested. Thanks for this software. like other people we had the

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-06 Thread Owen DeLong
If you're on local subnet, why not pull the MAC address out of the received packet? Further, what happens to this when IPv4 goes away? Owen On Nov 5, 2012, at 12:14 AM, Henri Wahl h.w...@ifw-dresden.de wrote: Hello World, like other people we had the problem that existing DHCPv6 servers do

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-06 Thread Stephane Bortzmeyer
On Tue, Nov 06, 2012 at 05:38:32AM -0800, Owen DeLong o...@delong.com wrote a message of 68 lines which said: If you're on local subnet, why not pull the MAC address out of the received packet? Because it requires access to raw sockets, which should not be necessary for DHCP?

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-06 Thread George Herbert
Oh, horrors, part of my infrastructure needs raw socket data? We should ban that, for security. Who needs those pesky switches anyways? George William Herbert Sent from my iPhone On Nov 6, 2012, at 5:49 AM, Stephane Bortzmeyer bortzme...@nic.fr wrote: On Tue, Nov 06, 2012 at 05:38:32AM

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-06 Thread bmanning
On Tue, Nov 06, 2012 at 05:38:32AM -0800, Owen DeLong wrote: If you're on local subnet, why not pull the MAC address out of the received packet? Further, what happens to this when IPv4 goes away? Owen the cat came back ... IPv4 is going away like RIP is a dead routing protocol.

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-06 Thread Henri Wahl
Hi, If you're on local subnet, why not pull the MAC address out of the received packet? The used SocketServer module of Python has no support for raw sockets, as far as I see. Let me know if there is a way to get the MAC in a cleaner way. Further, what happens to this when IPv4 goes away?

dhcpy6d - a MAC address aware DHCPv6 server

2012-11-05 Thread Henri Wahl
Hello World, like other people we had the problem that existing DHCPv6 servers do not evaluate the MAC address of clients, following RFC 3315. The IPv4 clients already are managed via their MAC addresses so we wanted to use these identifiers for IPv6 too for our dualstack network. At the end we

Re: dhcpy6d - a MAC address aware DHCPv6 server

2012-11-05 Thread bmanning
cool. this is the fifth version of a DHCP server modified to work with IPv4 and IPv6 in accord with the DHCP specs. a feature request... some sites run IVI, and so the have a MAC and and v6 address and need to be dynamically assigned a v4 address. My crude attempt uses the last 48bits of