Empty packet, socket not ready message

Alex Sharaz alex.sharaz at york.ac.uk
Fri Jan 15 16:48:36 CET 2016


And you're right Isaac,

We seem to be seeing fragmented UDP packets from roaming{0,1,2}.ja.net
which match up with EAGAIN coming from the recevfrom syscall.

Rgds
Alex


On 14 January 2016 at 15:30, Isaac Boukris <iboukris at gmail.com> wrote:

> Hi,
>
> On Thu, Jan 14, 2016 at 9:40 AM, Alan DeKok <aland at deployingradius.com>
> wrote:
> > On Jan 14, 2016, at 8:50 AM, Alex Sharaz <alex.sharaz at york.ac.uk> wrote:
> >> After the upgrade I rebuilt FR 2.2.9 and while tings are working, I'm
> now
> >> getting a lot of  Error: Empty packey: socket not ready messages
> >
> >   That message shows up when the server gets told by the OS that there's
> data ready, but there ends up being no data when it tries to get the next
> packet.
> >
> >   Unfortunately, it's an OS issue.  There is very little that FreeRADIUS
> can do to work around the fact that the OS is lying to it.
> >
> >   Try looking for OS upgrades.  Maybe there's a kernel bug.
>
>
> A long time ago, I had a similar problem with a completely different
> protocol / project.
> While 'select' was informing that the UDP socket is ready for reading,
> a subsequent call to 'recvfrom' was returning EAGAIN.
> It turned out that on Linux you may get EAGAIN if the checksum of the
> UDP packet was wrong.
>
> So if it sounds similar, you might want to take a look on the traffic
> with wireshark (it gives a warning).
>
> HTH
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list