Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

ipv6 extension headers and stock tcp

by fb31415 (Initiate)
on Nov 29, 2013 at 15:35 UTC ( #1064976=perlquestion: print w/ replies, xml ) Need Help??
fb31415 has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking to write a perl based IPv6 application where the app creates a TCP based connection which includes a custom IPv6 extension header. Ideally, within the app I would perform the normal sequence of calls to create the TCP socket and then use something akin to setsockopt() to define the extension header contents. Ideally, all the next-header stuff would get setup correctly in the entire IPv6 packet (IPv6 next-header references extension header protocol value, extension header defines TCP as next-protocol, etc.). I'm looking to avoid starting from some concept of raw sockets and having to hand-roll each layer. Key is that I want the app to be able to use the stock TCP network calls and then build/insert the specific IPv6 extension headers. Perl modules which might support this? Or example code to do this? Thanks

Comment on ipv6 extension headers and stock tcp
Re: ipv6 extension headers and stock tcp
by moritz (Cardinal) on Nov 29, 2013 at 16:22 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1064976]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-11-28 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (197 votes), past polls