RE: How to configure Postgress if freeRADIUS

2004-03-16 Thread Truong Manh Cuong
in file raddb/radiusd.conf: $INCLUDE ${confdir}/postgresql.conf authorize { preprocess # auth_log # chap # attr_filter # eap # suffix sql files noresetcounter } session { radutmp sql } accounting { acct_unique detail sql # main_pool } in file Postgresql.conf:

RE: Free Radius and Cisco

2004-03-09 Thread Truong Manh Cuong
Please goto this link and see: http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/secur _c/scprt1/index.htm And this is my configure on cisco 3660 router: aaa new-model aaa authentication login no_radius enable aaa authentication ppp default group radius aaa authorization

RE: Hi

2004-03-07 Thread Truong Manh Cuong
Yes, it's a good software. And I want to say thank you to you all. But how about dialup_admin web interface? I use PostgresSQL and it didnot work well. I have to modify so much. Or I'm wrong something ?. The first is user_finger: show online user: how can you write such a SQL command? and

Session-Timeout and kick user offline

2004-03-06 Thread Truong Manh Cuong
I've read freeradius FAQ and see that it is impossible to drop a connection using radius. And there is a tool: using radkill to drop a connection. So I wonder if cisco router (NAS) can do this ? but if router uses counter for each connection, ex 15000 users connect concurently, router's

BRAS Alcatel redback sms1800 support

2004-03-06 Thread Truong Manh Cuong
Hi all, I meet trouble with BRAS redback 1800 of Alcatel, user can not login with redback 1800 Does freeradius support redback 1800 of Alcatel ? Thanks Manh Cuong.

RE: Session-Timeout and Cisco

2004-03-04 Thread Truong Manh Cuong
Hi, I've try to use rlm_sqlcounter, it works but I don't see anything happen after a period of Session-Timeout: After 64 seconds of Session-Timeout, Radius don't reject that connection. rlm_sql_postgresql: Status: PGRES_TUPLES_OK rlm_sql_postgresql: affected rows = rlm_sql (sql): Released sql

RE: Session-Timeout and Cisco

2004-03-03 Thread Truong Manh Cuong
www.palsms.com www.paltime.net www.palnet.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Truong Manh Cuong Sent: Wednesday, March 03, 2004 11:14 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Session-Timeout and Cisco Hi Andrew I have the same

RE: Session-Timeout and Cisco

2004-03-03 Thread Truong Manh Cuong
Hi,I use radtest:radtest [EMAIL PROTECTED] abcd local 0 testing123Aaa debug:Sending Access-Accept of id 126 to 127.0.0.1:32842 Session-Timeout:= 6324 Service-Type:= Framed-User Framed-Protocol:=PPP .. the same result in radtest. Could you please give me some advise. Thanks and

RE: Session-Timeout and Cisco

2004-03-03 Thread Truong Manh Cuong
rlm_counter and rlm_sqlcounter are designed to set the session timeout based on configurable parameters. Truong Manh Cuong wrote: Hi, I use radtest: radtest [EMAIL PROTECTED] abcd local 0 testing123 Aaa debug: Sending Access-Accept of id 126 to 127.0.0.1:32842 Session-Timeout:= 6324 Service

cisco 3660 config aaa, authenticated problem

2004-02-29 Thread Truong Manh Cuong
This is myproblem : verify username and password... Unable to establish a connection. Please help me, ... this is my config: logging rate-limit console 10 except errorsaaa new-modelaaa authentication login no_radius enableaaa authentication ppp default group radiusaaa

RE: Radius document

2004-02-23 Thread Truong Manh Cuong
, February 23, 2004 9:23 PMTo: '[EMAIL PROTECTED]'Subject: RE: Radius document To startwith please email me a copy of the document. Thanks. Kirt -Original Message-From: Truong Manh Cuong [mailto:[EMAIL PROTECTED]Sent: Saturday, February 21, 2004 9:38 PMTo

user_finger.php3

2004-02-23 Thread Truong Manh Cuong
$search = @da_sql_query($link,$config, SELECT DISTINCT UserName,AcctStartTime,FramedIPAddress,CallingStationId FROM $config[sql_accounting_table] WHERE AcctStopTime IS NULL AND NASIPAddress = '$name_data' $extra GROUP BY UserName ORDER BY AcctStartTime;); I test in psql of postgresql (command

Radius document

2004-02-21 Thread Truong Manh Cuong
Title: Message Hi all, I see that there is so few document about freeradius. I use postgresql database and I have my own document for radius, and dialup_admin web interface. Where can I upload so that, some one can modify and add more to it. And then all newbies can read? Mailing list is a

2 database,1 radius server

2004-02-20 Thread Truong Manh Cuong
Title: Message HI all, I have a single server (stand alone) that run postgresql and freeradius service. Is it possible if I want to run freeradius and can control 2 database? (this server has 2 database; 1 for pre-paid user and 1 for post-paid user). if it is possible, how can I declare

RE: 2 database,1 radius server

2004-02-20 Thread Truong Manh Cuong
Thanks a lot. Manh Cuong. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Kasatkin Sent: Friday, February 20, 2004 3:26 PM To: [EMAIL PROTECTED] Subject: Re: 2 database,1 radius server Hi! Truong Manh Cuong [EMAIL PROTECTED] wrote: HI all, I

Session-Timeout

2004-02-19 Thread Truong Manh Cuong
Title: Message I put in radreply table, user [EMAIL PROTECTED], attribute Session-Timeout, value =0, But when I use NTRadPing to authenticate or send start signal, radiusd always accepts this request. Please give me an explain ? should it be done when I test by real device? (user will can

Session-Timeout

2004-02-18 Thread Truong Manh Cuong
Title: Message Hi all, Please help me how to write a perl script to control user account: When prepaid user log on(authenticate), the script will check in database and send session-timeout to radiusd. please help me step by step. Thanks and Regards, Manh Cuong.

RE: [Fwd: RE: Radius Accounting]

2004-02-18 Thread Truong Manh Cuong
In radacct table, radius write start,stop time,upload,download data rate,and amount of time that userlogin in a certain session. This is done automatically by radius, and these data is sent to radius by router. You can use sql query to sum the customer usage. You can use phpPgAdmin to view your

RE: Session-Timeout

2004-02-18 Thread Truong Manh Cuong
Thanks, Because I'm new with radius. But I have to check in database how many time user left so that I can send to radius. So, I will read document carefully and check if it possible. Thank you very much. Manh Cuong. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: Session-Timeout

2004-02-18 Thread Truong Manh Cuong
Hi Keith Yoder, I've read rlm_sqlcounter. That is what I need. Thanks a lot. Manh Cuong. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith Yoder Sent: Wednesday, February 18, 2004 5:14 PM To: [EMAIL PROTECTED] Subject: Re: Session-Timeout Message

Rlm_perl :how to add

2004-02-18 Thread Truong Manh Cuong
Title: Message I want to write a perl script to control something in authorize session and authenticate session. How can I do that? Please give me a small example. where can I put the line that declare the script. where and what I have to add to config file when I want to use perl script.

Realm - no response configured

2004-02-17 Thread Truong Manh Cuong
I add realm cuong {} to /raddb/proxy.conf. User account is stored in postgres database The log report: no response configured, reject. I login using [EMAIL PROTECTED], but in postgresql, there is only user tmcuong. How can radius authenticate this user - accept connect and write Realm

Add value Realm howto

2004-02-17 Thread Truong Manh Cuong
Title: Message Hi all, I want to analyze username when user login, if it has @realm, such as [EMAIL PROTECTED], then Realm will be add "card" value at authorize session. How can I do this? I don't know how to add my script. please help me Thanks alot. Manh Cuong.

RE: Radius Accounting

2004-02-17 Thread Truong Manh Cuong
Hi, AcctInputOctets bigint(12) default NULL, AcctOutputOctets bigint(12) default NULL, Is download and upload rate . Have fun. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 12:09 PM To: [EMAIL

suffix howto ?

2004-02-16 Thread Truong Manh Cuong
Hi all, How can I use and declare suffix of username: ex: [EMAIL PROTECTED] and [EMAIL PROTECTED]. I want to use both 2 service in the same radius server. I dont know where to declare in config file. Please help me. Thanks, Manh Cuong.

(no subject)

2004-02-12 Thread Truong Manh Cuong

response: Access-Reject

2004-02-12 Thread Truong Manh Cuong
Hi all, It is a long time that I didnt use freeradius. So I fogot howto config radius server. I use NTRadPing and it response: accessReject. Could you please help me how to config radius: Which file need: (I config radiusd.conf,client,postgresql.conf) In radiusd.conf, what should I