Transmitted packet

Alan DeKok aland at ox.org
Thu Sep 22 20:35:55 CEST 2005


"Iandc Davies" <Iandc.Davies at Marconi.com> wrote:
> So, if I was to sent a packet to the radius server what format would it be

  Ideally, you use the API's, and don't worry about the format.
That's what API's are for.

> I was running under the understanding that I needed to populate the
> contents of the RADIUS_PACKET structure,
> therefore :-

  Yes.  See rad_send(), which uses these fields to create a RADIUS packet.

> Apart from the above is there anything else that needs filling in ?

  The socket to use? packet->sockfd is used to send the packet.

  And the IP addresses to use, including ports.

  Alan DeKok.




More information about the Freeradius-Users mailing list