Test connection TO UDP PORT 1813

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

Test connection TO UDP PORT 1813

mettichi
Hello,

iam using nc tool to test connection to port 1813 of my freeradius server
and iam getting this error on freeradius debug mode:

/usr/bin/nc -vnzu  freeradiusIP 1813

Receive - Invalid data from NASIP: Expected at least 4 bytes of header
data, got 1 bytes

any one have an idea how to send 4 bytes of header data with nc tool?


Thanks
Bassem
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

Re: Test connection TO UDP PORT 1813

Matthew Newton-3
On Mon, 2018-12-03 at 16:06 +0100, Bassem Mettichi wrote:
> Receive - Invalid data from NASIP: Expected at least 4 bytes of
> header
> data, got 1 bytes
>
> any one have an idea how to send 4 bytes of header data with nc tool?

Well yes... stdin.

Or you could just use radclient.

--
Matthew

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html