tags:

views:

73

answers:

1

Hi all,

I need to test STUN protocol. Is there any framework to test this protocol? Any other test protocol framework that tests TLV based protocol would also be helpful.

Thanks in advance.

update: Adding some more details.

STUN - rfc5389 (along with ICE - draft-ietf-mmusic-ice-19 )is an IETF protocol for NAT traversal. STUN & ICE protocols use the TLV format for defining/encoding the body. TLV stands for Type-Length-Value and is used extensively in multiple protocols. More information about TLV is available here - http://en.wikipedia.org/wiki/Type-length-value.

A: 

If you want intent to test the STUN protocol, then Seagull is a traffic generator claiming it can be easily extended to support TLV-based protocols.

Now, if, as the tag implies, you what to unit-test an implementation of a STUN client or a STUN server, you could extend your favorite xUnit framework with new assertions to validate TLV encoding/decoding.

philippe