Radius protocol implementation is not complet. Indeed, reading a pcap with radius (http://www.wand.net.nz/trac/libtrace/browser/trunk/test/traces/radius.pcap) appears as Raw Data. I try to force to obtain Radius with the following commands :
a=rdpcap('radius.pcap')
a
<radius.pcap: TCP:0 UDP:34 ICMP:0 Other:0>
a.show()
0000 Ether / IP / UDP 10.1.12.20:1034 > 192.107.171.165:radius / Raw
0001 Ether / IP / UDP 192.107.171.165:radius > 10.1.12.20:1034 / Raw
0002 Ether / IP / UDP 10.1.12.20:1034 > 192.107.171.165:radius / Raw
...
0032 Ether / IP / UDP 10.1.12.20:1035 > 192.107.171.165:radius_acct / Raw
0033 Ether / IP / UDP 192.107.171.165:radius_acct > 10.1.12.20:1035 / Raw
Radius(a[0][Raw].load).show()
###[ Radius ]###
code= Access-Request
id= 46
len= 151
authenticator= '6\xea_\xfd\x15\x13\ta\xca\xaf\xc09\xb5\x90\x9d4'
###[ Raw ]###
load= '\x01\x06test\x04\x06\n\x01\x0c\x14\x05\x06\x00\x00\x00\x00\x1e\x1f00-02-6F-21-EC-52:CRCnet-test\x1f\x1300-02-6F-21-EC-5F\x0c\x06\x00\x00\x05x=\x06\x00\x00\x00\x13M\x16CONNECT 0Mbps 802.11O\x0b\x02\x00\x00\t\x01testP\x12\xfd\x18\xaaeE\x1b*\xc8B\xf9\xf8_\xdd\xf0)\xbc'
The attach file is a first attempt to correct the implementation