Specifying Any Port for RADIUS Client

2011-09-07 Thread Det Det
Hi,

I want to connect to RADIUS server using RADIUS client software, not through 
NAS. Using RADIUS client software such as radperf will generate different port 
numbers when connecting to the RADIUS server. How do I place client information 
in NAS table such that I am able to specify IP and any ports. When client 
connects to RADIUS server, server will just respond with,

Ignoring request to authentication address * port 1812 from unknown client 
192.168.0.10 port 52268


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

Re: Specifying Any Port for RADIUS Client

2011-09-07 Thread Det Det
please disregard this email. I thought that the 'ports' field in 'nas' table 
means the 'source' port the client will use to connect to the RADIUS server 
when it actually means the port on the RADIUS server that the client will 
connect to.




From: Det Det det.explo...@yahoo.com
To: FreeRadius mailing list freeradius-users@lists.freeradius.org
Sent: Thursday, September 8, 2011 11:07 AM
Subject: Specifying Any Port for RADIUS Client


Hi,

I want to connect to RADIUS server using RADIUS client software, not through 
NAS. Using RADIUS client software such as radperf will generate different port 
numbers when connecting to the RADIUS server. How do I place client information 
in NAS table such that I am able to specify IP and any ports. When client 
connects to RADIUS server, server will just respond with,

Ignoring request to authentication address * port 1812 from unknown client 
192.168.0.10 port 52268


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

Re: Specifying Any Port for RADIUS Client

2011-09-07 Thread Fajar A. Nugraha
On Thu, Sep 8, 2011 at 10:15 AM, Det Det det.explo...@yahoo.com wrote:
 please disregard this email. I thought that the 'ports' field in 'nas' table
 means the 'source' port the client will use to connect to the RADIUS server
 when it actually means the port on the RADIUS server that the client will
 connect to.

I don't think that's the case.

While the default nas table has many columns (including ports), the
default query on dialup.conf is

nas_query = SELECT id, nasname, shortname, type, secret, server FROM
${nas_table}

... which should mean only those columns are used.

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


Re: Specifying Any Port for RADIUS Client

2011-09-07 Thread Det Det
yeah you are right. realized that the ports value is actually not in use. it 
actually get the shortname not the nasname which is why i get an 'unknown 
client' error. i left the shortname empty.




From: Fajar A. Nugraha l...@fajar.net
To: FreeRadius users mailing list freeradius-users@lists.freeradius.org
Sent: Thursday, September 8, 2011 11:40 AM
Subject: Re: Specifying Any Port for RADIUS Client

On Thu, Sep 8, 2011 at 10:15 AM, Det Det det.explo...@yahoo.com wrote:
 please disregard this email. I thought that the 'ports' field in 'nas' table
 means the 'source' port the client will use to connect to the RADIUS server
 when it actually means the port on the RADIUS server that the client will
 connect to.

I don't think that's the case.

While the default nas table has many columns (including ports), the
default query on dialup.conf is

    nas_query = SELECT id, nasname, shortname, type, secret, server FROM
${nas_table}

... which should mean only those columns are used.

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