wireshart shows wrong information

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Apr 25 23:03:31 CEST 2013


On 25 Apr 2013, at 16:53, "Juan Pablo L." <jpablolorenzetti at hotmail.com> wrote:

> Hi, i m implementing a module in which i m using some TLV for which i modified the dictionary.3gpp2 as very well suggested in a different thread, but i see that the data for those TLV fields are not encoded properly or at least that is what wireshark is showing even thou debugging freeradius it shows that the data being sent is the correct it differs from the data captured using tcpdump ... here is my dictionary entry:
> 
> ATTRIBUTE       3GPP2-Prepaid-Acct-Quota                90      tlv
> BEGIN-TLV       3GPP2-Prepaid-Acct-Quota
> ATTRIBUTE       3GPP2-Prepaid-Acct-Quota-QuotaIDentifier        1       integer
> ATTRIBUTE       3GPP2-Prepaid-Acct-Quota-VolumeQuota    2       integer
> ATTRIBUTE       3GPP2-Prepaid-Acct-Quota-VolumeThreshold        4       integer
> END-TLV         3GPP2-Prepaid-Acct-Quota
> 
> 
> and for that i m writing the following code:
> 
> pairadd(&request->reply->vps,pairmake("3GPP2-Prepaid-Acct-Quota-QuotaIDentifier","1", T_OP_EQ));
> pairadd(&request->reply->vps,pairmake("3GPP2-Prepaid-Acct-Quota-VolumeQuota","1000000", T_OP_EQ));
> pairadd(&request->reply->vps,pairmake("3GPP2-Prepaid-Acct-Quota-VolumeThreshold","100", T_OP_EQ)); 

How do you even hit 't' from there...

Want to provide that pcap file?

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team



More information about the Freeradius-Users mailing list