On Fri, Mar 9, 2012 at 03:43, Dave Clements <huperekch...@googlemail.com> wrote: > hey Ben, > > thanks for replying (both to this and in the 0.6.12 ann), I've been > attempting to make a pure Node traceroute with dgram and node_pcap but I'm > pretty much stuck at the udp data buffers, I'm trying to work out how to > extract the icmp data from them to pull out the intermediate IP address but > everytime I think I'm onto something it turns out to be wrong. even just > using node_pcap to watch a unix traceroute seems to generate the exact same > udp data buffers for each hop, unless i'm looking at it wrong. Anyway, I'm in > deep but I think I may have to cone back to it when node_pcap supports icmp > decoding, looking forward to any improcements you make to dgram! > > Dave > > ps how would I set the SYN flag on a TCP packet just in case I give TCP > Traceroute a crack?
Node doesn't support that level of packet tinkering at the moment. It's a lot of work to implement on all platforms and, realistically speaking, is a feature that almost no one needs. Consider writing a native add-on for this (or check npm, it wouldn't surprise me if one already exists). -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en