Re: dhcpd: don't reject DHCPINFORM from behind relay

2017-07-07 Thread Landry Breuil
On Thu, Jul 06, 2017 at 11:28:11AM +0200, Landry Breuil wrote: > On Wed, Jul 05, 2017 at 04:37:39PM +0200, Reyk Floeter wrote: > > Hi, > > > > landry@ sees many log messages 'DHCPINFORM from xx but ciaddr yy is > > not consistent with actual address' in a setup where dhcpd runs behind > > dhcrelay

Re: dhcpd: don't reject DHCPINFORM from behind relay

2017-07-06 Thread Landry Breuil
On Wed, Jul 05, 2017 at 04:37:39PM +0200, Reyk Floeter wrote: > Hi, > > landry@ sees many log messages 'DHCPINFORM from xx but ciaddr yy is > not consistent with actual address' in a setup where dhcpd runs behind > dhcrelay. > > The code in dhcpd's dhcpinform() seems wrong - it assumes that ciadd

Re: dhcpd: don't reject DHCPINFORM from behind relay

2017-07-05 Thread Kenneth R Westerback
On Wed, Jul 05, 2017 at 04:37:39PM +0200, Reyk Floeter wrote: > Hi, > > landry@ sees many log messages 'DHCPINFORM from xx but ciaddr yy is > not consistent with actual address' in a setup where dhcpd runs behind > dhcrelay. > > The code in dhcpd's dhcpinform() seems wrong - it assumes that ciadd

dhcpd: don't reject DHCPINFORM from behind relay

2017-07-05 Thread Reyk Floeter
Hi, landry@ sees many log messages 'DHCPINFORM from xx but ciaddr yy is not consistent with actual address' in a setup where dhcpd runs behind dhcrelay. The code in dhcpd's dhcpinform() seems wrong - it assumes that ciaddr (the client IP) is identical to the packet source address and it doesn't c