Mauro Quartini wrote:

> I need to setup a proxy mapping for tcp and i need to know what ports is
> used by ping and traceroutes.

ping uses ICMP, which doesn't have any notion of ports.

traceroute generally uses an arbitrary UDP port (the manpage for the
version which I have indicates that the default is 33434, but there is
nothing that requires that this is the case). IIRC, the Windows
tracert.exe uses ICMP. Ultimately one could write a traceroute utility
which uses any kind of IP datagram, provided that the remote end can
be expected to reply with something other than an ICMP `TTL exceeded'
message when the datagram reaches the final destination.

It doesn't really make sense to try to get either ping or traceroute
to work through a proxy. They both test IP connectivity, and the
purpose of a proxy is to provide application-layer access across a
firewall, which (by its nature) is designed to inhibit IP
connectivity.

-- 
Glynn Clements <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to