Multiple instance of an attribute in Access-Accept

Martin martynion at yahoo.com
Tue Jun 7 12:12:43 CEST 2011


Hi,

I am trying to send in access accept an attribute two times, for example Packet-Flow-Descriptor but it seems that are mixed up or missing on the wire.
I am using freradius 3.0 with Mysql 

This is the user definition:
+----+-------------------+-----------------------------------+----------+
| id | username          | attribute                      | op | value    |
+----+-------------------+-------------------------------+----+----------+
| 39 | ethcs | Alvarion-WiMAX-Classifier-Direction       | := | 3        |
| 41 | ethcs | WiMAX-QoS-Id                              | := | 1        |
| 40 | ethcs | WiMAX-IP-TOS-DSCP-Range-and-Mask         | := | 0x18183f |
| 38 | ethcs | WiMAX-Classifier-Priority                | := | 1        |
| 37 | ethcs | WiMAX-ClassifierID                       | := | 1        |
| 36 | ethcs | WiMAX-Downlink-QOS-Id                    | := | 1        |
| 35 | ethcs | WiMAX-Uplink-QOS-Id                      | := | 1        |
| 34 | ethcs | WiMAX-Transport-Type                     | := | 1        |
| 33 | ethcs | WiMAX-Direction                          | := | 3        |
| 32 | ethcs | Packet-Data-Flow-Id                      | := | 1        |
| 31 | ethcs | Alvarion-PDFID                                  | := | 1        |
| 30 | ethcs | Alvarion-R3-IF-Name                          | := | mgmt     |
| 42 | ethcs | WiMAX-Schedule-Type                       | := | 2        |
| 43 | ethcs | WiMAX-Maximum-Sustained-Traffic-Rate      | := | 10000    |
| 44 | ethcs | Alvarion-R3-IF-Name                       | := | QinQ     |
| 45 | ethcs | Alvarion-PDFID                            | := | 2        |
| 46 | ethcs | Alvarion-R3-IF-ID                         | := | 901      |
| 47 | ethcs | Packet-Data-Flow-Id                      | := | 2        |
| 48 | ethcs | WiMAX-Direction                          | := | 3        |
| 49 | ethcs | WiMAX-Transport-Type                     | := | 3        |
| 50 | ethcs | WiMAX-Uplink-QOS-Id                      | := | 1        |
| 51 | ethcs | WiMAX-Downlink-QOS-Id                    | := | 1        |
| 52 | ethcs | WiMAX-ClassifierID                       | := | 1        |
| 53 | ethcs | WiMAX-Classifier-Priority                | := | 1        |
| 54 | ethcs | WiMAX-Classifier-Direction               | := | 3        |
| 55 | ethcs | WiMAX-VLAN-ID                            | := | 15       |
+----+-------------------+-------------------------------------------+----


And this is what I get on the Wireshark:

Radius Protocol
    Code: Access-Accept (2)
    Packet identifier: 0x1d (29)
    Length: 296
    Authenticator: bbe87cb6720049ce93e6d2d896059a10
    [This is a response to a request in frame 512]
    [Time from request: 0.002565000 seconds]
    Attribute Value Pairs
        AVP: l=18  t=Vendor-Specific(26) v=Alvarion(12394)
            VSA: l=12 t=Breezecom-Attr1(1): \001\006QinQ\003\004\000\002
                Breezecom-Attr1: \001\006QinQ\003\004
        AVP: l=41  t=Vendor-Specific(26) v=WiMAX(24757)
            VSA: l=35 t=WiMAX-Packet-Flow-Descriptor(28) C=0x00: 6 TLV(s) inside
                TLV: l=4  t=WiMAX-Packet-Data-Flow-Id(1): 2
                TLV: l=3  t=WiMAX-Direction(4): Bi-Directional(3)
                TLV: l=3  t=WiMAX-Transport-Type(6): Ethernet(3)
                TLV: l=3  t=WiMAX-Uplink-QOS-Id(7): 1
                TLV: l=3  t=WiMAX-Downlink-QOS-Id(8): 1
                TLV: l=16  t=Unknown-Attribute(11): 010301020301040303070518183f
                    Unknown-Attribute: 010301020301040303070518183f
        AVP: l=21  t=Vendor-Specific(26) v=WiMAX(24757)
            VSA: l=15 t=WiMAX-QoS-Descriptor(29) C=0x00: 3 TLV(s) inside
                TLV: l=3  t=WiMAX-QoS-Id(1): 1
                TLV: l=3  t=WiMAX-Schedule-Type(4): Best-Effort(2)
                TLV: l=6  t=WiMAX-Maximum-Sustained-Traffic-Rate(6): 10000
        AVP: l=14  t=Vendor-Specific(26) v=Alvarion(12394)
            VSA: l=8 t=Breezecom-Attr1(1): \002\006\000\000\003\205
                Breezecom-Attr1: \002\006
        AVP: l=15  t=Vendor-Specific(26) v=WiMAX(24757)
            VSA: l=9 t=WiMAX-Packet-Flow-Descriptor(28) C=0x00: 1 TLV(s) inside
                TLV: l=6  t=Unknown-Attribute(11): 0904000f
                    Unknown-Attribute: 0904000f
        AVP: l=6  t=EAP-Message(79) Last Segment[1]
        AVP: l=18  t=Message-Authenticator(80): 8c74fb7e8449e0b1c65108742ae50199
        AVP: l=52  t=User-Name(1): {am=1}4d3b54960b0a86c09a3a16d02a120f04 at alvarion.ro
        AVP: l=91  t=Vendor-Specific(26) v=WiMAX(24757)
            VSA: l=85 t=WiMAX-MSK(5) C=0x00: 894f66ea95fba5626129c837a798cfc96a369110141a6ecb...
                WiMAX-MSK: 894f66ea95fba5626129c837a798cfc96a369110141a6ecb...

Martin

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110607/dc873884/attachment.html>


More information about the Freeradius-Users mailing list