[libfreeradius-client] Send request to non-standard ports

Kevin Lemonnier kevin.lemonnier at iperlab.net
Mon Oct 3 12:33:41 CEST 2011


Because I need to be able to send paquets to different port at run time,
changing the conf every time is just not possible.

But I will try with two conf, and then load the one I need at run time.
Pretty heavy but I guess I have no choice ..


On 10/03/2011 11:22 AM, Arran Cudbard-Bell wrote:
> 
> On 3 Oct 2011, at 12:08, Kevin Lemonnier wrote:
> 
>> On 10/03/2011 10:54 AM, Alan DeKok wrote:
>>> Kevin Lemonnier wrote:
>>>> I'm not confusing, I want to change the UDP port to which the paquet is
>>>> sent, the request itself.
>>>>
>>>> I just want to sent it to 11812 instead of 1812, and I can't find how to
>>>> do this ..
>>>
>>>  Use "hostname:port"
>>>
>>>  Alan DeKok.
>>> -
>>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
>>>
>>
>> Where ?
>> In the radiusclient.conf file ?
>> But if I do that, I will not be able to send some paquets to 1812 and
>> some others to 11812, right ?
> 
> Wherever you specify the IP address for the RADIUS server, just use the format <IP | Hostname>:<Port>. This is widely accepted practice, this is not specific to the RADIUS client library. I'm not sure why you didn't try it first instead of posting to the list...
> 
> -Arran
> 
> 
> Arran Cudbard-Bell
> a.cudbardb at freeradius.org
> 
> Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
> 




More information about the Freeradius-Devel mailing list