(RADIATOR) Getting the right attributes in the reply...

Frank Danielson fdanielson at dataonair.com
Wed May 8 18:27:30 CDT 2002


Assuming you want those values added to every reply you should be using
AddToReply and not DefaultReply.

-----Original Message-----
From: Chris Craft [mailto:postmaster at springsips.com]
Sent: Wednesday, May 08, 2002 6:28 PM
To: radiator at open.com.au
Subject: (RADIATOR) Getting the right attributes in the reply...


I've RTFM :) and maybe I'm just thick, but I'm not seeing this realm config 
pass the replies I've asked it to:

<Realm unlimitedSTAR>
        RewriteUsername      s/^([^@]+).*/$1/
        <AuthBy FILE>
                Filename /etc/raddb/users.unlimited
                DefaultReply Service-Type=Framed-User,\
Framed-Protocol=PPP,\
Framed-IP-Address=255.255.255.254,\
Framed-IP-Netmask=255.255.255.255,\
Ascend-Data-Filter="ip in forward tcp est",\
Ascend-Data-Filter="ip in forward dstip <a 'class C' network address>/24",\
Ascend-Data-Filter="ip in forward dstip <a host address>",\
Ascend-Data-Filter="ip in forward dstip <another host>",\
Ascend-Data-Filter="ip in drop tcp dstport = 25",\
Ascend-Data-Filter="ip in forward"
        </AuthBy>
        AcctLogFileName %L/%N.s2/detail
</Realm>

A `tcpdump -s 65535 -w radcap.pkt port 1654` subsequently decoded by
ethereal 
shows me only the following reply:

Frame 20 (167 on wire, 167 captured)
Ethernet II
Internet Protocol
User Datagram Protocol
Radius Protocol
    Code: Access Accept (2)
    Packet identifier: 0xa0 (160)
    Length: 125
    Authenticator
    Attribute value pairs
        t:Proxy State(33) l:91, 
Value:"PX01\000\0005U«\158\154áÌnÍ\1390³\000tÎ\127\148½\000\002\006\145Cë\00
0\023\000\000\000\000\000\000\000\000\000\000\000\012\000\002\006mAÔh\014\00
0\000\000\000\000\000\000\000\000\000\000\003\000\000\000\002\0
        t:Proxy State(33) l:14, Value:"PR0x00000AC6"

Can anybody smack me with a clue-by-four?

Thanks,
Chris.
===
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.
===
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