Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

up vote 0 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: http://en.wikipedia.org/wiki/Service_Assurance_Agent

share|improve this answer

Your Answer

 
discard

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