Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way for sending ICMP reguest with proxy (http proxy or Socks) ? if its possible please give me an example (by any language , perl , python , ...) . Thanks in Advance .

share|improve this question
I've never seen nor heard of this being done. What exactly are you trying to accomplish here? – EEAA Sep 3 '10 at 2:01
up vote 1 down vote accepted

This is not possible. SOCKS4 (SOCKS5) only allows for encapsulation of TCP (& UDP). See below for further explanation.

ICMP is a part of the Internet Layer of the IP stack, which most closely corresponds to Layer 3 (the Network Layer) of the OSI model. SOCKS operates at layer 5 (the Session layer) of the OSI model, and probably sits near the top of the Transport Layer in the IP stack.

As such it cannot encapsulate lower layer information such as ICMP. You would have to use a protocol that emulates one of the protocols that is lower in the IP stack than ICMP. This includes IPSec, which allows you to send IP packets, and L2TP, which acts as though it inhabits the data link layer (Layer 2).

If you really need to be able to do this I'd recommend using the VPN features built in to windows to setup an L2TP VPN. More info on your use case would help us better answer your question.

share|improve this answer

The closest thing I've heard of is SAA - Service Assurance Agent:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.