in reply to Re^2: explore tcp/ip stack
in thread explore tcp/ip stack

I'm still unclear what you mean by "explore", but maybe Net::Pcap is what you're looking for.

Also, the sequence of parentheses in your explanation seems weird, because I imagine the order exactly the other way around:

((((http)tcp)ip4)ethernet)

... because Ethernet frames enclose IP4 frames, which enclose TCP packets which enclose (fragments of) HTTP transactions.

Update: Also see NetPacket for the actual (dis)assembly of packets.

Replies are listed 'Best First'.
Re^4: explore tcp/ip stack
by ikegami (Patriarch) on Jun 16, 2009 at 02:38 UTC

    I'm still unclear what you mean by "explore",

    Deep packet inspection.

    He wants to see all the layers, not the just IP header.

Re^4: explore tcp/ip stack
by sveni (Initiate) on Jun 15, 2009 at 20:52 UTC
    yes the order was wrong. and thx, net::pcap looks good