Fwd: (RADIATOR) FW: testing radiator

Hugh Irvine hugh at open.com.au
Thu May 22 02:14:30 CDT 2003


Hello Francisco -

Here is Mike's mail.

regards

Hugh


Begin forwarded message:

> From: Mike McCauley <mikem at open.com.au>
> Date: Thu May 22, 2003  14:25:45 Australia/Melbourne
> To: Hugh Irvine <hugh at open.com.au>
> Subject: Re: Fwd: (RADIATOR) FW: testing radiator
>
> Hi Hugh,
>
> Tested on RH 9 and reproduced his problem.
> This is the UTF LANG problem again.
>
> With the default LANG=en_US.UTF-8 I got the same problems as him.
>
> If he builds, tests and runs with LANG=en_US it works fine.
> I still dont know why LANG=en_US.UTF-8 breaks the attr-val parsing,  
> but will
> look later.
>
> I will adjust the FAQ to suit.
>
> Cheers.
>
>
> On Wed, 21 May 2003 07:57 am, Hugh Irvine wrote:
>> Mikey -
>>
>> More problems with Redhat 9 - any suggestions?
>>
>> cheers
>>
>> Hugh
>>
>> Begin forwarded message:
>>> From: "Francisco Arache" <farache at orangemail.com.do>
>>> Date: Wed May 21, 2003  02:12:28 Australia/Melbourne
>>> To: <radiator at open.com.au>
>>> Subject: (RADIATOR) FW: testing radiator
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Francisco Arache [mailto:farache at orange.com.do]
>>> Sent: Tuesday, May 20, 2003 12:11 PM
>>> To: radiator at open.com.au
>>> Subject: testing radiator
>>>
>>>
>>> I get this when i run make test
>>> any idea what i'm doing wrong?
>>> thanks..
>>>
>>> i have perl-5.8.0-88 installed, on Red HAt 9.0
>>> all the patches already installed.
>>> ********************************************************************* 
>>> **
>>> *****
>>> *************************************
>>> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
>>> blib/script/radpwtst
>>> cp radiusd blib/script/radiusd
>>> /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
>>> blib/script/radiusd
>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
>>> Starting tests...
>>> Starting 2 test servers. Please wait...
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:  
>>> Realm=DEFAULT
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=file.nocache.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=test.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=dbfile.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=unix.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=system.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=radius.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=external.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair:
>>> Realm=internal.realm
>>> Mon May 19 10:57:48 2003: ERR: Bad attribute=value pair: Realm=xyz
>>> Mon May 19 10:57:49 2003: ERR: Bad attribute=value pair:
>>> NAS-IP-Address =
>>> 203.63.154.2
>>> Mon May 19 10:57:49 2003: ERR: Bad attribute=value pair:
>>> NAS-IP-Address =
>>> 203.63.154.3
>>> Bad attribute=value pair: Service-Type = Administrative-User,
>>> Auth-Type =
>>> System
>>> Bad attribute=value pair: Idle-Timeout = 2000,
>>> Bad attribute=value pair: Service-Type = Login-User, Expiration =  
>>> "Feb
>>> 2
>>> 2010"
>>> Bad attribute=value pair: Idle-Timeout = 2001,
>>> Bad attribute=value pair: Fall-Through = yes
>>> Bad attribute=value pair: Service-Type = Outbound-User, Expiration =
>>> "Feb 2
>>> 2010"
>>> Bad attribute=value pair: Idle-Timeout = 2002
>>> Bad attribute=value pair: Auth-Type = System, Group = group1,
>>> Auth-Type=Radius
>>> Bad attribute=value pair: Reply-Message = you are in group 1
>>> Bad attribute=value pair: Suffix=.ppp, Auth-Type = System
>>> Bad attribute=value pair: Reply-Message = You are a suffix PPP user
>>> Bad attribute=value pair: Prefix=P, Auth-Type = System
>>> Bad attribute=value pair: Reply-Message = You are a prefix PPP user
>>> Bad attribute=value pair: User-Password = "fred"
>>> Bad attribute=value pair: User-Password =
>>> "{SHA}0DPiKuNIrrVmD8IUCuw1hQxNqZc="
>>> Bad attribute=value pair: User-Password = "{crypt}1xMKc0GIVUNbE"
>>> Bad attribute=value pair: User-Password =
>>> "$1$cTpht$Obu9PLSMst1TDou.mN5bk0"
>>> Bad attribute=value pair: Encrypted-Password =
>>> "{SHA}0DPiKuNIrrVmD8IUCuw1hQxNqZc="
>>> Bad attribute=value pair: Encrypted-Password = "{crypt}1xMKc0GIVUNbE"
>>> Bad attribute=value pair: Encrypted-Password =
>>> "$1$cTpht$Obu9PLSMst1TDou.mN5bk0"
>>> Bad attribute=value pair: Encrypted-Password = "1xMKc0GIVUNbE"
>>> Bad attribute=value pair: Encrypted-Password =
>>> "{MD5}VwqQv7+MfqtdxdTiaDLVsQ=="
>>> Bad attribute=value pair: User-Password =
>>> "{MD5}VwqQv7+MfqtdxdTiaDLVsQ=="
>>> Bad attribute=value pair: User-Password =
>>> "{rcrypt}nYXkJKLrxm/e3RfU0aT7w4al"
>>> Bad attribute=value pair: User-Password = "fred", Service-Type =
>>> Framed-User, NAS-Port = /(123(1|2|3|4))|11/, Expiration =
>>> 29/11/02,Client-Id=DEFAULT
>>> Bad attribute=value pair: Framed-Protocol = PPP,
>>> Bad attribute=value pair: Framed-IP-Address = aaaa,
>>> Bad attribute=value pair: Framed-IP-Netmask = 255.255.255.255,
>>> Bad attribute=value pair: Framed-Routing = None,
>>> Bad attribute=value pair: Framed-MTU = 1500,
>>> Bad attribute=value pair: Framed-Compression = Van-Jacobson-TCP-IP,
>>> Bad attribute=value pair: Tunnel-Password = 1:abcd,
>>> Bad attribute=value pair: Class = "some test class",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward icmp",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward udp",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward tcp  
>>> est",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward dstip
>>> 1.2.3.4/24 tcp",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in drop dstip
>>> 130.89.1.0/16",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward dstip
>>> 195.174.219.30 tcp dstport=20",
>>> Bad attribute=value pair: Ascend-Send-Secret = 12345,
>>> Bad attribute=value pair: cisco-avpair=route="203.79.243.0
>>> 255.255.255.192",
>>> Bad attribute=value pair: MS-MPPE-Send-Key = fred,
>>> Bad attribute=value pair: MS-MPPE-Recv-Key = jim,
>>> Bad attribute=value pair: CVX-PPP-AllowPeerIPAddress = g1,
>>> Bad attribute=value pair: CVX-Identification = "xxxx",
>>> Bad attribute=value pair: CVX-PPP-MLPScaleFragments = 1234
>>> Bad attribute=value pair: User-Password = "fred",Service-Type =
>>> Framed-User
>>> Bad attribute=value pair: Framed-Protocol = PPP,
>>> Bad attribute=value pair: Framed-IP-Netmask = 255.255.255.255,
>>> Bad attribute=value pair: Framed-Routing = None,
>>> Bad attribute=value pair: Framed-MTU = 1500,
>>> Bad attribute=value pair: Framed-Compression = Van-Jacobson-TCP-IP,
>>> Bad attribute=value pair: Exec-Program = "/bin/echo here I am %u"
>>> Bad attribute=value pair: Password = "fred"
>>> Bad attribute=value pair: Idle-Timeout = 5,
>>> Bad attribute=value pair: Session-Timeout = 5,
>>> Bad attribute=value pair: cisco-avpair = "testing,, ,\" testing"
>>> Bad attribute=value pair: Password = "fred",    Time =
>>> "MoTuWe0800-1610,Wk2200-0400"
>>> Bad attribute=value pair: Service-Type=Framed-User,
>>> Bad attribute=value pair: Session-Timeout="until Time"
>>> Bad attribute=value pair: Password = "fred", Block-Logon-From =  
>>> 5:42pm
>>> Bad attribute=value pair: Idle-Timeout = 5,
>>> Bad attribute=value pair: Session-Timeout = 5,
>>> Bad attribute=value pair: cisco-avpair = "testing testing",
>>> Bad attribute=value pair: Fall-Through = yes
>>> Bad attribute=value pair: Password = "fred", Connect-Rate = 28800
>>> Bad attribute=value pair: Service-Type = Framed-User,
>>> Bad attribute=value pair: Framed-Protocol = PPP,
>>> Bad attribute=value pair: Framed-IP-Address = 255.255.255.254,
>>> Bad attribute=value pair: Framed-Routing = None,
>>> Bad attribute=value pair: Filter-Id = "xyzzy",
>>> Bad attribute=value pair: Framed-MTU = 1500,
>>> Bad attribute=value pair: Framed-Compression = Van-Jacobson-TCP-IP
>>> Bad attribute=value pair: Password = "fred"
>>> Bad attribute=value pair: Service-Type = Framed-User,
>>> Bad attribute=value pair: Framed-Protocol = PPP,
>>> Bad attribute=value pair: Framed-IP-Netmask = 255.255.255.255,
>>> Bad attribute=value pair: Framed-Routing = None,
>>> Bad attribute=value pair: Framed-MTU = 1500,
>>> Bad attribute=value pair: Framed-Compression = Van-Jacobson-TCP-IP
>>> Bad attribute=value pair: Password = "fred"
>>> Bad attribute=value pair: Service-Type = Login-User
>>> Bad attribute=value pair: Simultaneous-Use = ./limit
>>> Bad attribute=value pair: Framed-Protocol = PPP
>>> Bad attribute=value pair: NAS-Address-Port-List = ./portlist
>>> Bad attribute=value pair: Group = group1
>>> Bad attribute=value pair: Framed-MTU = 1502
>>> Bad attribute=value pair: Auth-Type = System, Group = group1
>>> Bad attribute=value pair: Auth-Type = NTSystem, Group = group2
>>> Bad attribute=value pair: Password = "fred"
>>> Bad attribute=value pair: Ascend-Data-Filter = ip IN FORWARD dstip
>>> 1.2.3.44/10
>>> Bad attribute=value pair: Ascend-Data-Filter = ip IN FORWARD dstip
>>> 1.2.3.44/10 srcip 1.2.3.44/10
>>> Bad attribute=value pair: Ascend-Data-Filter = ip IN FORWARD srcip
>>> 1.2.3.44/10
>>> Bad attribute=value pair: Ascend-Call-Filter =  ipx in forward
>>> srcipxnet 1
>>> srcipxnode 0x11223344aabb srcipxsoc > abcd dstipxnet 5678 dstipxnode
>>> 0xaabbccddee00 dstipxsoc > 1234
>>> Bad attribute=value pair: Password = ipass
>>> Bad attribute=value pair: Password = spoofer
>>> Bad attribute=value pair: Framed-IP-Address = 255.255.255.254,
>>> Bad attribute=value pair: Framed-Routing = None,
>>> Bad attribute=value pair: Framed-IP-Netmask = 255.255.255.255,
>>> Bad attribute=value pair: USR-IP-Input-Filter = "1 REJECT
>>> src-addr!=%a",
>>> Bad attribute=value pair: Service-Type = Framed-User
>>> Bad attribute=value pair: Password=cisco, Service-Type=Outbound-User
>>> Bad attribute=value pair: cisco-avpair = "vpdn:tunnel-id=cca-gw",
>>> Bad attribute=value pair: cisco-avpair = "vpdn:ip-addresses=1.2.3.4",
>>> Bad attribute=value pair: cisco-avpair = "vpdn:nas-password=pw",
>>> Bad attribute=value pair: cisco-avpair = "vpdn:gw-password=pw"
>>> Bad attribute=value pair: Auth-Type="Reject:I dont like you"
>>> Bad attribute=value pair: Password = "hugh"
>>> Bad attribute=value pair: Service-Type = Framed-User,
>>> Bad attribute=value pair: Framed-Protocol = PPP,
>>> Bad attribute=value pair: Framed-IP-Netmask = 255.255.255.255,
>>> Bad attribute=value pair: Framed-Routing = None,
>>> Bad attribute=value pair: Framed-MTU = 1500,
>>> Bad attribute=value pair: Framed-Compression = Van-Jacobson-TCP-IP,
>>> Bad attribute=value pair: h323-credit-amount =
>>> "h323-credit-amount=123.45"
>>> Bad attribute=value pair: h323-credit-time = "h323-credit-time=900"
>>> Bad attribute=value pair: Password=x
>>> Bad attribute=value pair: Ascend-Data-Filter="ip out forward",
>>> Bad attribute=value pair: Ascend-Data-Filter="ip in forward udp
>>> dstport =
>>> 53",
>>> Bad attribute=value pair: Ascend-Data-Filter="ip in forward dstip
>>> 203.56.8.4/32 tcp dstport =  80",
>>> Bad attribute=value pair: Ascend-Data-Filter="ip in drop"
>>> Bad attribute=value pair: Time = Al2300-1630
>>> Bad attribute=value pair: Session-Timeout = "until Time"
>>> Bad attribute=value pair: Password=pooltest
>>> Bad attribute=value pair: PoolHint=pool1
>>> Bad attribute=value pair: Password=cvx
>>> Bad attribute=value pair: CVX-VPOP-ID=7,
>>> Bad attribute=value pair: CVX-PPP-UseEchoes=1,
>>> Bad attribute=value pair: Framed-IP-Address=192.168.1.1,
>>> Bad attribute=value pair: CVX-PPP-EstablishTimeLimit=64,
>>> Bad attribute=value pair: CVX-PPP-IDText=test
>>> Bad attribute=value pair: Password = hugh
>>> Bad attribute=value pair: PoolHint = 10.2.2.2
>>> Bad attribute=value pair: Password=MyPw
>>> Bad attribute=value pair: Password=clientPass
>>> Bad attribute=value pair: Password = "zz"
>>> Bad attribute=value pair: Service-Type = 2,
>>> Bad attribute=value pair: Ascend-Assign-IP-Pool = 0,
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward tcp  
>>> est",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward dstip
>>> 208.245.96.64/27",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in drop tcp  
>>> dstport
>>> =
>>> 25",
>>> Bad attribute=value pair: Ascend-Data-Filter = "ip in forward"
>>> Bad attribute=value pair: User-Password = "fred"
>>> Bad attribute=value pair: Password=x
>>> Bad attribute=value pair: PoolHint = pool1
>>> Bad attribute=value pair: Password=x
>>> Bad attribute=value pair: PoolHint = pool2,
>>> Bad attribute=value pair: Session-Timeout=1000
>>> ok 1a
>>> not ok 1b
>>> not ok 1c
>>> not ok 1d
>>> ok 1e
>>> Mon May 19 10:58:36 2003: ERR: Bad attribute=value pair:
>>> Service-Type=Framed-User,Framed-Protocol=PPP
>>> Mon May 19 10:58:36 2003: ERR: Bad attribute=value pair:
>>> Reply-Message=hello
>>> Mon May 19 10:58:36 2003: ERR: Bad attribute=value pair:
>>> Ascend-Data-Filter="ip in forward tcp est"
>>> not ok 2a
>>> ok 2b
>>> Mon May 19 10:58:57 2003: ERR: Bad attribute=value pair:
>>> Service-Type=Framed-User,Framed-Protocol=PPP
>>> Mon May 19 10:58:57 2003: ERR: Bad attribute=value pair:
>>> Reply-Message=hello
>>> Mon May 19 10:58:57 2003: ERR: Bad attribute=value pair:
>>> Ascend-Data-Filter="ip in forward tcp est"
>>> not ok 2c
>>> ok 2d
>>> ok 2e
>>> not ok 2f
>>> ok 2g
>>> Mon May 19 10:59:49 2003: ERR: Bad attribute=value pair:
>>> Service-Type=Framed-User,Framed-Protocol=PPP
>>> not ok 2h
>>> ok 2i
>>> Mon May 19 11:00:10 2003: ERR: Bad attribute=value pair:
>>> Service-Type=Framed-User,Framed-Protocol=PPP
>>> not ok 2j
>>> ok 2k
>>> Mon May 19 11:00:30 2003: ERR: Bad attribute=value pair:
>>> Reply-Message=hello
>>> Mon May 19 11:00:30 2003: ERR: Bad attribute=value pair:
>>> Ascend-Data-Filter="ip in forward tcp est"
>>> not ok 2l
>>> Mon May 19 11:00:46 2003: ERR: Bad attribute=value pair:
>>> Reply-Message=hello
>>> Mon May 19 11:00:46 2003: ERR: Bad attribute=value pair:
>>> Ascend-Data-Filter="ip in forward tcp est"
>>> not ok 2m
>>> not ok 2n
>>> not ok 2o
>>> ok 2p
>>> not ok 2q
>>> not ok 2r
>>> not ok 2s
>>> not ok 2t
>>> not ok 2u
>>> not ok 2v
>>> Mon May 19 11:02:20 2003: ERR: Bad attribute=value pair:
>>> Reply-Message=hello
>>> Mon May 19 11:02:20 2003: ERR: Bad attribute=value pair:
>>> Ascend-Data-Filter="ip in forward tcp est"
>>> Attribute number 0 is not defined in your dictionary
>>> not ok 2x
>>> not ok 2y
>>> not ok 2z
>>> not ok 3a
>>> ok 3b
>>> ok 3c
>>> not ok 3d
>>> ok 3e
>>> ok 3f
>>> not ok 3g
>>> not ok 3h
>>> Mon May 19 11:03:55 2003: ERR: Bad attribute=value pair:
>>> Service-Type=Framed-User,Framed-Protocol=PPP
>>> not ok 4a
>>> ok 4b
>>> ok 4c
>>> Wide character in Socket::inet_ntoa at Radius/Radius.pm line 178.
>>> not ok 5a
>>> ok 5b
>>> ok 5c
>>> not ok 5d
>>> ok 5e
>>> not ok 5f
>>> ok 5g
>>> not ok 6a
>>> not ok 6b
>>> not ok 6c
>>> ok 6d
>>> not ok 6e
>>> not ok 6f
>>> not ok 6g
>>> not ok 6h
>>> not ok 7a
>>> not ok 7b
>>> not ok 7c
>>> Tests completed
>>> sh: line 1: kill: (27123) - No such process
>>> You have new mail in /var/spool/mail/root
>>> [root at localhost Radiator-3.1]# make test
>>> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
>>> Starting tests...
>>> Starting 2 test servers. Please wait...
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:  
>>> Realm=DEFAULT
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=file.nocache.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=test.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=dbfile.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=unix.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=system.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=radius.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=external.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair:
>>> Realm=internal.realm
>>> Mon May 19 11:46:59 2003: ERR: Bad attribute=value pair: Realm=xyz
>>> Mon May 19 11:47:00 2003: ERR: Bad attribute=value pair:
>>> NAS-IP-Address =
>>> 203.63.154.2
>>> Mon May 19 11:47:00 2003: ERR: Bad attribute=value pair:
>>> NAS-IP-Address =
>>> 203.63.154.3
>>>
>>> ===
>>> Archive at http://www.open.com.au/archives/radiator/
>>> Announcements on radiator-announce at open.com.au
>>> To unsubscribe, email 'majordomo at open.com.au' with
>>> 'unsubscribe radiator' in the body of the message.
>>
>> NB: have you included a copy of your configuration file (no secrets),
>> together with a trace 4 debug showing what is happening?
>
> -- 
> Mike McCauley                               mikem at open.com.au
> Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985                       Fax   +61 3 9598-0955
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
> TTLS, PEAP etc on Unix, Windows, MacOS etc.
>
>

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
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 radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list