Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

ICMP Unreachables

From: libnet <libnet(at)intrusense.com>
Date: Tue Feb 25 2003 - 11:16:51 EST


Hello all,

I've been doing some work with ICMP unreachable (type 3) packets, and I've run into a few problems I was hoping you could help with.

First of all, when dealing with type 3, code 1 (host unreachable) messages, the payload must be formatted in a specific fashion to correctly respond to a host unreachable error condition.

This what I've managed to figure out based on the sample/icmp_unreach.c code:

unsigned char payload[8] = { a, b, c, d, e, f, g, h };

'a' and 'b' represent the source port of the original packet, while 'c' and 'd' represent the destination port of the original packet.

That's easy enough to manufacture, however, what is the purpose of the last 4 bytes, and how are they calculated?

Any advice/help/general information would be very helpful.

Do you need help?X

Thanks,

Darren



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Tue Feb 25 16:17:11 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:22 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library