ntoh(), hton() ? On Jun 24, 2016 4:41 PM, "Paul Goyette" <p...@whooppee.com> wrote:
> On Fri, 24 Jun 2016, Michael van Elst wrote: > > jdba...@mylinuxisp.com ("John D. Baker") writes: >> >> Jun 18 12:56:53 hostname dhcpcd[PID]: wm0: invalid UDP packet from >>> 19.100.192.168 >>> Jun 18 12:56:53 hostname dhcpcd[PID]: wm0: invalid UDP packet from >>> 20.12.192.168 >>> Jun 18 14:15:22 hostname dhcpcd[PID]: wm0: invalid UDP packet from >>> 119.16.192.168 >>> Jun 23 21:48:35 hostname dhcpcd[PID]: wm0: invalid UDP packet from >>> 150.129.192.168 >>> Jun 23 18:57:32 hostname dhcpcd[PID]: wm0: invalid UDP packet from >>> 163.85.192.168 >>> Jun 24 02:56:29 hostname dhcpcd[PID]: wm0: invalid UDP packet from >>> 76.24.192.168 >>> >> >> Needless to say, the purported source IPs are not on my network. >>> >> >> >> Obviously these are not IP addresses. Each ends with 192.168, so there >> is a off-by-2 error when accessing the address field. >> > > Or some strange byte/word swap error... > > > +------------------+--------------------------+------------------------+ > | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | > | (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com | > | Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org | > +------------------+--------------------------+------------------------+ >