Hello,

I'm trying to make some modification to tls_handshake_recv(). As I have previously proposed, I'd like to extract the AVPs from the TLS packet and put them into the RADIUS packet. But the AVPs defined in the draft are represented by code-length-value triples(code is an 32-bit integer), whereas the value-pairs of RADIUS packet are represented by attribute-length-value triples(attribute is a string). I'm confused by this and I wonder if there is any kind of mapping between the "code" field of AVP and the "attribute" field of value-pair. How can I make a value-pair from the AVP extracted from the TLS packet?

regards,
Zhou Ping.

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn



- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to