Re: Regexp matching in checkval module (Calling-Station-Id) - Red Hat Linux 9, glibc-2.3.2

2003-09-19 Thread Kostas Kalevras
: Item Name: Calling-Station-Id, Value: 6123444 Thu Sep 18 11:16:07 2003 : Debug: rlm_checkval: Value Name: Calling-Station-Id, Value: ^[6|7]123 -- Where are the round brackets and a rest of pattern What is the source of the Calling-Station-Id attribute in your check items list

Regexp matching in checkval module (Calling-Station-Id)

2003-09-17 Thread Roman M. Bibikov
Hi All! I have a trouble with pattern matching by checkval module. For example, i need to access all clients who has Calling-Station-Id 11 digits length, begining with 6 or 7, with 123 at the second position and 8 or 19 after 123 (i.e. on fifth position). Also i need control that other

Re: Regexp matching in checkval module (Calling-Station-Id)

2003-09-17 Thread Alan DeKok
Roman M. Bibikov [EMAIL PROTECTED] wrote: For example, i need to access all clients who has Calling-Station-Id 11 digits length, begining with 6 or 7, with 123 at the second position and 8 or 19 after 123 (i.e. on fifth position). Also i need control that other positions are occupied

Re: Regexp matching in checkval module (Calling-Station-Id) - Red Hat Linux 9, glibc-2.3.2

2003-09-17 Thread Roman M. Bibikov
Thank`s Alan, but in my opinion this pattern does not match 11 digits length numbers exactly... And actually round brackets are not accepting by checkval (by the way, why???) I.e. i see in the log Thu Sep 18 11:16:07 2003 : Debug: rlm_checkval: Item Name: Calling-Station-Id, Value: 6123444

Re: Calling-Station-Id

2003-09-11 Thread L U C A S
Eric, You have to put the syntax (attributes) in your radgroupcheck table in MYSQL database if you have groups. OK? Test this. Lucas Nascimento Message: 1From: "Eric" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: Re: Calling-Station-Id Date: Thu, 11 Sep 2003 08:15:48

Re: Calling-Station-Id

2003-09-11 Thread Alan DeKok
Eric [EMAIL PROTECTED] wrote: I'm using MySQL authentication. Could you wright the syntax for it. No. At *some* point, you've got to learn how to administer your systems. FreeRADIUS includes sufficient documentation examples for you to figure out the answer to that yourself. And no,

Re: Calling-Station-Id

2003-09-11 Thread Guy Fraser
Agreed, if you dont know how to write an SQL insert statement and execute it in the database you are using you should probably not be using the SQL features. Alan DeKok wrote: Eric [EMAIL PROTECTED] wrote: I'm using MySQL authentication. Could you wright the syntax for it. No. At

Re: Calling-Station-Id

2003-09-11 Thread Eric
Excuse me, I unterstood, but one more question. What means ^ in ^69? Thank you! On Thursday 11 September 2003 22:13, Guy Fraser wrote: Agreed, if you dont know how to write an SQL insert statement and execute it in the database you are using you should probably not be using the SQL

Re: Calling-Station-Id

2003-09-10 Thread Alan DeKok
Eric [EMAIL PROTECTED] wrote: I need to authenticate users by Calling-Station-Id. Pass users who uses phone number, which begins at 69 DEFAULT Calling-Station-ID =~ ^69, Auth-Type := Accept Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Calling-Station-Id

2003-09-10 Thread Eric
Sorry, I'm using MySQL authentication. Could you wright the syntax for it. Thanks in advance. - Original Message - From: Alan DeKok [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 7:28 AM Subject: Re: Calling-Station-Id Eric [EMAIL PROTECTED] wrote: I

Calling-Station-Id

2003-09-09 Thread Eric
Hi, I need to authenticate users by Calling-Station-Id. Pass users who uses phone number, which begins at 69 I have written the script on perl: == #!/usr/bin/perl (our $i)[EMAIL PROTECTED]; $string = substr ($i,0,2); if ($i=='69'){ exit(0);} else{ exit(1

Calling-Station-Id and NAS-Port-Id

2003-09-04 Thread Ivo Simicevic
Hi, I have two problems. First, I get WARNING: Attribute NAS-Port-Id was not found in request, unique ID MAY be inconsistent because my NAS is sending just NAS-Port = 3 i.e. without -Id How can I tell freeradius to interpret it sa NAS-Port-Id ? Second, I get Calling-Station-Id from NAS

Re: Calling-Station-Id and NAS-Port-Id

2003-09-04 Thread Ivo Simicevic
On Thu, Sep 04, 2003 at 04:59:24PM +0200, Ivo Simicevic wrote: Second, I get Calling-Station-Id from NAS but it is not displayed anywhere except in details file. How can I get it displayed with radwho and radlast ?? OK, just found radwho -c :-)) - List info/subscribe/unsubscribe? See

Re: Calling-Station-Id and NAS-Port-Id

2003-09-04 Thread Alan DeKok
the configuration for the 'acct_unique' module. That's why the configuration entry is there. Second, I get Calling-Station-Id from NAS but it is not displayed anywhere except in details file. How can I get it displayed with radwho and radlast ?? You can't. It's not stored in the radutmp

Re: Calling-Station-Id and NAS-Port-Id

2003-09-04 Thread Ivo Simicevic
On Thu, Sep 04, 2003 at 11:14:36AM -0400, Alan DeKok wrote: Second, I get Calling-Station-Id from NAS but it is not displayed anywhere except in details file. How can I get it displayed with radwho and radlast ?? You can't. It's not stored in the radutmp or radwtmp files. It seems

Calling-Station-Id

2003-08-29 Thread João Filipe Frade
Hello, I noticed the following behavior regarding the Calling-Station-Id. Running the server (freeradius 0.9.0) in debug mode: ... Acct-Status-Type = Start Calling-Station-Id = #pcs-br1#A11#206#409 ... radius_xlat: 'INSERT into radacct (... , CallingStationId, ...) values(... , '=23pcs-br1

Re: Calling-Station-Id

2003-08-29 Thread Oliver Graf
On Fri, Aug 29, 2003 at 12:14:15PM +0100, João Filipe Frade wrote: How can i preserve the original Calling-Station-Id (whithout # - =23 conversion)? hack rlm_sql.c Oliver. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: Calling-Station-Id

2003-08-29 Thread João Filipe Frade
-feira, 29 de Agosto de 2003 12:31 To: [EMAIL PROTECTED] Subject: Re: Calling-Station-Id On Fri, Aug 29, 2003 at 12:14:15PM +0100, João Filipe Frade wrote: How can i preserve the original Calling-Station-Id (whithout # - =23 conversion)? hack rlm_sql.c Oliver. - List info

Re: Calling-Station-Id

2003-08-29 Thread Oliver Graf
On Fri, Aug 29, 2003 at 01:08:51PM +0100, João Filipe Frade wrote: Ok i found it, its a simple hack. Is there any reason not to include # in the sql fields? AFAIK the # insn't a reserved char in SQL. When you search the list archives, you should find some discussion about this topic which may

How to get the User-Name and Calling-station-ID

2003-06-12 Thread wzhxin
Dear All, I want to get the User-Name and Calling-Station-ID from the reply message once the use pass authenticate. Is it possible? Thanks in advance. Jeson --http://www.eyou.com --Îȶ¨¿É¿¿µÄÃâ·Ñµç×ÓÐÅÏä ÓïÒôÓʼþ Òƶ¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ - List info/subscribe

calling-station-id

2003-02-28 Thread Didi Rieder
Hi, is there any reason why calledstationid callingstationid are limited to VARCHAR(10) in db_oracle.sql, or is it save to change them to VARCHAR(15) ? Didi -- - Didi Rieder [EMAIL PROTECTED] PGPKey ID: 3431D0B0 -

Re: calling-station-id

2003-02-28 Thread Alan DeKok
Didi Rieder [EMAIL PROTECTED] wrote: is there any reason why calledstationid callingstationid are limited to VARCHAR(10) in db_oracle.sql, or is it save to change them to VARCHAR(15) ? They should be at least 10 characters, and no more than 256. It's safe to change those

Re: calling-station-id

2003-02-28 Thread Didi Rieder
Quoting Alan DeKok [EMAIL PROTECTED]: calledstationid callingstationid They should be at least 10 characters, and no more than 256. It's safe to change those values to anything within that range. Thanks for the clearification... Didi -- - Didi Rieder

avoiding prefix in Calling-Station-Id, how?

2003-02-11 Thread Pablo Veliz
Hi, I'm new here. I just downloaded FreeRADIUS 1.8.1 and compiled just fine in my Linux Mandrake 9.0 I'm trying to migrate an ISP from a Solaris using Cistron, which use a user file with the following: 008PI319 Password = xZPMmsQyAp, Calling-Station-Id = 44431248, Expiration = Dec 24

Re: avoiding prefix in Calling-Station-Id, how?

2003-02-11 Thread Alan DeKok
... I suggest to use a linux server with FreeRADIUS, and now I'm into it. The question is... how can the radius server only autenticate the least 7 digits from a CALLING-STATION-ID ? Use regular expression matching: 008PI319 Password = xZPMmsQyAp, Calling-Station-Id =~ 44431248$, ... Has

Calling-Station-ID in accounting start request

2002-12-31 Thread mm's
Hi Is any posibility to enter Calling-Station-Id field into detail file? Mariusz Bozewicz - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Calling-Station-ID in accounting start request

2002-12-31 Thread Alan DeKok
mm's [EMAIL PROTECTED] wrote: Is any posibility to enter Calling-Station-Id field into detail file? Why wouldn't it be? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Calling-Station-ID in accounting start request

2002-12-31 Thread Mariusz Boewicz
- Original Message - From: Alan DeKok [EMAIL PROTECTED] mm's [EMAIL PROTECTED] wrote: Is any posibility to enter Calling-Station-Id field into detail file? Why wouldn't it be? Ok. The possibility is... hehe, but not in my Radius server detail file. So what should I do to enter

Re: Calling-Station-ID in accounting start request

2002-12-31 Thread Chris Parker
At 04:06 PM 12/31/2002 +0100, =?iso-8859-2?Q?Mariusz_Bo=BFewicz?= wrote: - Original Message - From: Alan DeKok [EMAIL PROTECTED] mm's [EMAIL PROTECTED] wrote: Is any posibility to enter Calling-Station-Id field into detail file? Why wouldn't it be? Ok. The possibility is... hehe

RE: Calling-Station-ID in accounting start request

2002-12-31 Thread Tim D. McCracken
t 04:06 PM 12/31/2002 +0100, =?iso-8859-2?Q?Mariusz_Bo=BFewicz?= wrote: - Original Message - From: Alan DeKok [EMAIL PROTECTED] mm's [EMAIL PROTECTED] wrote: Is any posibility to enter Calling-Station-Id field into detail file? Why wouldn't it be? Ok

Re: Calling-Station-ID in accounting start request

2002-12-31 Thread Simon White
31-Dec-02 at 10:18, Tim D. McCracken ([EMAIL PROTECTED]) wrote : t 04:06 PM 12/31/2002 +0100, =?iso-8859-2?Q?Mariusz_Bo=BFewicz?= wrote: - Original Message - From: Alan DeKok [EMAIL PROTECTED] mm's [EMAIL PROTECTED] wrote: Is any posibility to enter Calling-Station

RE: How to use Calling-Station-Id to filter client's MAC

2002-12-13 Thread Pierre-Luc Dion
I Kevin, I try somethings to be able to filter client with MAC, and it work !!! in users file : username Auth-Type := EAP, Calling-Station-Id = 123e37bb86b2 for authentification I use EAP/TLS and the username are the certificat and client name. Pierre-Luc -Original

Re: How to use Calling-Station-Id to filter client's MAC

2002-12-12 Thread Chris Parker
At 03:30 PM 12/12/2002 +0800, Kevin wrote: Could you tell more detail about this subjects,thanks a lot. This my configuration in users test Auth-Type := EAP,User-Password test, Calling-Station-Id = aa-bb-cc-dd-ee-ff Service-Type = Call-Check This is the debug message snip

How to use Calling-Station-Id to filter client's MAC

2002-12-11 Thread Kevin
Hi all, I try use the attribute Calling-Station-Id to filter client's MAC ,but it can't work (can't filter client's MAC),Does any body can tell me how to config FreeRADIUS ? Thanks a lot !! the following is my config: testAuth-Type := EAP, User-Password = test Calling

Re: How to use Calling-Station-Id to filter client's MAC

2002-12-11 Thread Alan DeKok
Kevin [EMAIL PROTECTED] wrote: I try use the attribute Calling-Station-Id to filter client's MAC ,but it can't work Wonderful. So I take it you didn't read the FAQ. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

How to use Calling-Station-Id to filter client's MAC

2002-12-11 Thread Kevin
Could you tell more detail about this subjects,thanks a lot. This my configuration in users test Auth-Type := EAP,User-Password test, Calling-Station-Id = aa-bb-cc-dd-ee-ff Service-Type = Call-Check This is the debug message auth: type EAP modcall: entering group authenticate

Calling-station-id

2002-08-21 Thread Hamed Sedighi
Dear Sir/Madam, I have two NASs in my network. The first NAS is Cisco Router(2511) and the second is a Win2000 Advaned Server. My Win2000 NAS is a Radiusclient but my Cisco router use TACAC+ protocol. I'm using "NTTacPlus" software for Authentication Accounting Authorising. Some of

Calling-Station-Id and Simultaneous-User doesn't work

2002-06-29 Thread Souza, Reginaldo
Dear Friend, I've added the entry below for user fulano but I'm still able to authenticate from other phone numbers: fulano Auth-Type = Local, Password = testing Service-Type = Framed-User, Calling-Station-Id = 14652, Simultaneous-User = 0 What's wrong?? Radius

Re: Calling-Station-Id and Simultaneous-User doesn't work

2002-06-29 Thread Brian Leung
for check item, u should put it in the first line fulano Auth-Type = Local, Password = testing, Calling-Station-Id = 14652, Simultaneous-User = 0 Service-Type = Framed-User Regards, Brian Leung System Engineer Pacific Supernet On Sat, 29 Jun 2002, Souza, Reginaldo wrote: Dear Friend

Check that Calling-Station-Id is present

2002-05-28 Thread richard . warne
I am trying to create a single user entry that will only allow users on if they present their Calling-Station-Id. I don't care what number they call from as that will be stored in the accounting records. The user must present the correct username and password and their Calling Station Id

Re: Check that Calling-Station-Id is present

2002-05-28 Thread Chris Parker
At 05:01 PM 5/28/2002 +0100, [EMAIL PROTECTED] wrote: I am trying to create a single user entry that will only allow users on if they present their Calling-Station-Id. I don't care what number they call from as that will be stored in the accounting records. The user must present

Re: strange User-Name and Calling-Station-ID

2001-12-21 Thread Nathan Miller
= 0115995431388 Calling-Station-Id = \377\377\377\377\377\377\377\377\377\377\377\377\3 77\377\377\377\377\377\377\201)\224\310\377\377\377\377\377\377\377\377\377 Acct-Status-Type = Stop Take a look at User-Name and Calling-Station-Id fields! Is trash! Anybody have a suggestion to me? Thanks,and Merry

Calling-Station-Id

2001-10-27 Thread Toth Zoltan
Hi Can I use for authentication the subject ? users file userAuth-Type := Local, Password == user Fall-Through = Yes, Framed-IP-Address = x.x.x.x Calling-Station-Id ??? Thanks Zoltan T - List info/subscribe/unsubscribe? See http