Hi, Thanks Hugh and Ingvar, It worked fine without white sapces. Thanks a lot once again
Regards, Amit Gupta ----- Original Message ----- From: "Hugh Irvine" <[EMAIL PROTECTED]> To: "Ingvar Berg (EAB)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 26, 2002 1:03 PM Subject: Re: (RADIATOR) Multiple Line Caller ID feature > > Hi Ingvar, Hello Amit - > > How is your summer Ingvar? > > :-) > > Ingvar is correct, the regular expression without the whitespace works fine: > > toto Password=titi, Calling-Station-Id = > /00:C0:26:AA:0B:44|00:C0:26:AA:0B:43/ > OSC-AVPAIR = demonstration > > (sorry about the word wrap) > > gives this: > > ./radpwtst -user toto -password titi -calling_station_id 00:C0:26:AA:0B:43 > -noacct > sending Access-Request... > Fri Jul 26 17:28:17 2002: DEBUG: Packet dump: > *** Received from 127.0.0.1 port 32784 .... > Code: Access-Request > Identifier: 137 > Authentic: 1234567890123456 > Attributes: > User-Name = "toto" > Service-Type = Framed-User > NAS-IP-Address = 203.63.154.1 > NAS-Port = 1234 > Called-Station-Id = "123456789" > Calling-Station-Id = "00:C0:26:AA:0B:43" > NAS-Port-Type = Async > User-Password = > "<141><226>+<196><175>\<4><246><188>8<9><160><216>}x<153>" > > Fri Jul 26 17:28:17 2002: DEBUG: Handling request with Handler 'Realm=DEFAULT' > Fri Jul 26 17:28:17 2002: DEBUG: Rewrote user name to toto > Fri Jul 26 17:28:17 2002: DEBUG: Deleting session for toto, 203.63.154.1, > 1234 > Fri Jul 26 17:28:17 2002: DEBUG: Handling with Radius::AuthFILE: > Fri Jul 26 17:28:17 2002: DEBUG: Reading users file ./users > Fri Jul 26 17:28:18 2002: DEBUG: Radius::AuthFILE looks for match with toto > Fri Jul 26 17:28:18 2002: DEBUG: Radius::AuthFILE ACCEPT: > Fri Jul 26 17:28:18 2002: DEBUG: Access accepted for toto > Fri Jul 26 17:28:18 2002: DEBUG: Packet dump: > *** Sending to 127.0.0.1 port 32784 .... > Code: Access-Accept > Identifier: 137 > Authentic: 1234567890123456 > Attributes: > OSC-AVPAIR = "demonstration" > Reply-Message = "hello" > Ascend-Data-Filter = ip in forward tcp est > > OK > > regards > > Hugh > > > On Fri, 26 Jul 2002 16:04, Ingvar Berg (EAB) wrote: > > Hi, > > > > It looks as if you have white space around the pipe char in the expression. > > Try to see what happends if you remove that ;-) > > > > /Ingvar > > > > > -----Original Message----- > > > From: Subscirptions [mailto:[EMAIL PROTECTED]] > > > Sent: den 26 juli 2002 07:27 > > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > Subject: Re: (RADIATOR) Multiple Line Caller ID feature > > > > > > > > > Hello Hugh, > > > > > > Thanks again for your prompt help, I am sorry I sent you > > > logs of different > > > situation. Here are the logs when access is rejected for 1 > > > station while it > > > is defined in a regular expression. > > > > > > Logs- > > > > > > Thu Jul 25 20:47:20 2002: INFO: Access rejected for > > > amitgupta: Check item > > > Calling-Station-Id expression '/00:C0:26:AA:0B:44 | > > > 00:C0:26:AA:0B:43/' does > > > not match '00:C0:26:AA:0B:44' in request > > > Thu Jul 25 20:47:20 2002: INFO: Access rejected for > > > amitgupta: Check item > > > Calling-Station-Id expression '/00:C0:26:AA:0B:44 | > > > 00:C0:26:AA:0B:43/' does > > > not match '00:C0:26:AA:0B:44' in request > > > Thu Jul 25 20:47:22 2002: INFO: Access rejected for > > > amitgupta: Check item > > > Calling-Station-Id expression '/00:C0:26:AA:0B:44 | > > > 00:C0:26:AA:0B:43/' does > > > not match '00:C0:26:AA:0B:44' in request > > > > > > and one more thing when I define only 1 caller-id-station as > > > a fixed value > > > or a regular expression it works fine, but when using regular > > > expression I > > > use ( | ) this function to separate different value, this doesnt work. > > > > > > I guess i am doing some mistake at perl level, please help I > > > am new to Perl. > > > > > > > > > > > > Regards, > > > > > > Amit Gupta > > > > > > > > > > > > ----- Original Message ----- > > > From: "Hugh Irvine" <[EMAIL PROTECTED]> > > > To: "Subscirptions" <[EMAIL PROTECTED]>; > > > <[EMAIL PROTECTED]> > > > Sent: Friday, July 26, 2002 5:08 AM > > > Subject: Re: (RADIATOR) Multiple Line Caller ID feature > > > > > > > Hello Amit - > > > > > > > > As you can see in the debug, you have specified a regular > > > > > > expression of: > > > > / 00:C0:26:2C:38:5D| 00:C0:26:AA:0B:44 | 00:C0:26:2C:38:5E / > > > > > > > > which does not match this which is in the request: > > > > > > > > 00:C0:26:A2:F2:78 > > > > > > > > Therefore the request is rejected. This is the correct behaviour. > > > > > > > > I think you will need to check your regular expression definitions. > > > > > > > > regards > > > > > > > > Hugh > > > > > > > > On Fri, 26 Jul 2002 01:12, Subscirptions wrote: > > > > > Hello Hugh, > > > > > > > > > > Thanks for the reply. As you told I tested but I could > > > > > > achive it only 1 > > > > > > > > caller-station-id but when I tried to assign multiple > > > > > > caller Id stations > > > > > > > > with regular expressions, it gives error like this > > > > > > > > > > Thu Jul 25 18:56:45 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > Thu Jul 25 18:56:47 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > Thu Jul 25 18:56:49 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > Thu Jul 25 18:56:53 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > Thu Jul 25 18:56:53 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > Thu Jul 25 18:56:56 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > Thu Jul 25 18:56:56 2002: INFO: Access rejected for > > > > > > amitgupta: Check > > > item > > > > > > > > Calling-Station-Id expression '/ 00:C0:26:2C:38:5D| > > > > > > 00:C0:26:AA:0B:44 | > > > > > > > > 00:C0:26:2C:38:5E /' does not match '00:C0:26:A2:F2:78' in request > > > > > > > > > > > > > > > Please suggest , what to do > > > > > > > > > > > > > > > Regards, > > > > > > > > > > Amit > > > > > ----- Original Message ----- > > > > > From: "Hugh Irvine" <[EMAIL PROTECTED]> > > > > > To: "Subscirptions" <[EMAIL PROTECTED]>; > > > > > > <[EMAIL PROTECTED]> > > > > > > > > Sent: Thursday, July 25, 2002 5:28 AM > > > > > Subject: Re: (RADIATOR) Multiple Line Caller ID feature > > > > > > > > > > > Hello Amit - > > > > > > > > > > > > Yes it is possible to do what you describe, but I need > > > > > > to know what > > > type > > > > > > > > of > > > > > > > > > > > authentication you are using. If you send me a copy of your > > > > > > configuration > > > > > > > > > file (no secrets) I will take a look. > > > > > > > > > > > > If you are using a flat file, you would do something like this: > > > > > > > > > > > > # flat file for users > > > > > > > > > > > > someuser Password = xxxxx, Calling-Station-Id = ...... > > > > > > ...... > > > > > > > > > > > > # can also use regular expressions > > > > > > > > > > > > anotheruser Password = yyyyyy, Calling-Station-Id = /...../ > > > > > > ...... > > > > > > > > > > > > regards > > > > > > > > > > > > Hugh > > > > > > > > > > > > On Wed, 24 Jul 2002 17:37, Subscirptions wrote: > > > > > > > Dear Friends, > > > > > > > > > > > > > > Hello. > > > > > > > > > > > > > > We are a cable internet service provider. > > > > > > > > > > > > > > My problem is that I am using a PPPOE server for which > > > > > > authentication > > > > > > > > and > > > > > > > > > > > > accounting is done with Radiator. Can I set in Radiator to > > > > > > authenticate > > > > > > > > on > > > > > > > > > > > > basis of CALLER ID ( ie hardware [MAC address] > > > > > > address of ethernet > > > > > > > > card ), > > > > > > > > > > > > USERNAME and PASSWORD. While right now we are using > > > > > > only 2 parameter > > > > > > > > > > for authentication USERNAME and PASSWORD. > > > > > > > > > > > > > > If it is possible, than is it also possible to assign multiple > > > > > > caller > > > > > > > > > > ID station. As i have few customer who got > > > > > > SImultaneous-Use >1, in > > > such > > > > > > > > case > > > > > > > > > > > > MAC address of all the possible stations is suppose > > > > > > to be provided. > > > > > > > > > > If someone can help that would be so nice, > > > > > > > > > > > > > > > > > > > > > Regards, > > > > > > > > > > > > > > Amit Gupta > > > > > > > > > > > > > > Network Administrator, > > > > > > > Kappa Infotech Private Ltd., Kota > > > > > > > INDIA > > > > > > > > > > > > > > www.kappa.net.in > > > > > > > > > > > > -- > > > > > > Radiator: the most portable, flexible and configurable > > > > > > RADIUS server > > > > > > > > > anywhere. Available on *NIX, *BSD, Windows 95/98/2000, > > > > > > NT, MacOS X. > > > > > > > > > - > > > > > > Nets: internetwork inventory and management - > > > > > > graphical, extensible, > > > > > > > > > flexible with hardware, software, platform and database > > > > > > independence. > > > > > > > > > === > > > > > > Archive at http://www.open.com.au/archives/radiator/ > > > > > > Announcements on [EMAIL PROTECTED] > > > > > > To unsubscribe, email '[EMAIL PROTECTED]' with > > > > > > 'unsubscribe radiator' in the body of the message. > > > > > > > > > > === > > > > > Archive at http://www.open.com.au/archives/radiator/ > > > > > Announcements on [EMAIL PROTECTED] > > > > > To unsubscribe, email '[EMAIL PROTECTED]' with > > > > > 'unsubscribe radiator' in the body of the message. > > > > > > > > -- > > > > Radiator: the most portable, flexible and configurable RADIUS server > > > > anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. > > > > - > > > > Nets: internetwork inventory and management - graphical, extensible, > > > > flexible with hardware, software, platform and database > > > > > > independence. > > > > > > > > > > > > === > > > Archive at http://www.open.com.au/archives/radiator/ > > > Announcements on [EMAIL PROTECTED] > > > To unsubscribe, email '[EMAIL PROTECTED]' with > > > 'unsubscribe radiator' in the body of the message. > > > > === > > Archive at http://www.open.com.au/archives/radiator/ > > Announcements on [EMAIL PROTECTED] > > To unsubscribe, email '[EMAIL PROTECTED]' with > > 'unsubscribe radiator' in the body of the message. > > -- > Radiator: the most portable, flexible and configurable RADIUS server > anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. > - > Nets: internetwork inventory and management - graphical, extensible, > flexible with hardware, software, platform and database independence. > === > Archive at http://www.open.com.au/archives/radiator/ > Announcements on [EMAIL PROTECTED] > To unsubscribe, email '[EMAIL PROTECTED]' with > 'unsubscribe radiator' in the body of the message. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.
