Jump to content
  • Advertisement
Sign in to follow this  
asdfwe

ping help

This topic is 3845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

as we all know, ping test for a connection eg ping google.com checks for connection between my home and google.com now suppose ping A ping B are being tested . but these tests connection between home to A and between home and B . but how to ping between A and B i.e how to check connection between A and B where A and B may be google.com and yahoo.com thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
Cannot be done, unless you have remote access to one of hosts.

With IP spoofing you could bounce packets between the hosts, but you would never be able to receive the result.

The reason for this is simple: if this were possible, then it would be possible to hijack third party connection for data transfer (ping carries payload as well). Imagine torrent protocol using this to transfer data.

Even more - it would be possible to store data in ether. This would create networked volatile memory, similar to DRAM. And if such third-party routing were possible, these connections could initiate each other. Very interesting concept, but impossible to allow.

The idea is simple: host O sends 64k ping between hosts A and B. The ping results are sent to C, which, using same routing, bounced them between C and D. Ping results of that are sent to hosts A and B. And presto - JK flip flop. All you need now is some way to obtain these results, which could be obtained by some form of dynamic routing table somewhere in between remote hosts. Possibly through DNS update propagation. Such RAM would have several minutes latency on access, but still, ....

A similar concept was proposed several years ago using DNS cache, which allowed for some very interesting concepts, but unfortunately has the capacity to literally break the internet as a whole.

Share this post


Link to post
Share on other sites
Quote:
Original post by Antheus
With IP spoofing you could bounce packets between the hosts, but you would never be able to receive the result.


That is not fully true, as Antirez' paper demonstrates.

Share this post


Link to post
Share on other sites
Quote:
Original post by bulgurmayo
Quote:
Original post by Antheus
With IP spoofing you could bounce packets between the hosts, but you would never be able to receive the result.


That is not fully true, as Antirez' paper demonstrates.


The method requires B to be in controlled environment (must not send any packets during scan). This is essentially a remote host you have access to. You also do not receive results, merely an indication something happened, what exactly isn't deterministic.

Share this post


Link to post
Share on other sites
iam not sure(since iam beginner in networks)
can socket programmimng help in any way to solve my problem??

Share this post


Link to post
Share on other sites
Quote:
Original post by asdfwe
iam not sure(since iam beginner in networks)
can socket programmimng help in any way to solve my problem??


It is impossible to solve due to the way internet protocol is designed.

The only way you can do this, is if you have accesss to either host A or host B (yahoo or google in your example). Then you can either login into one of the hosts and perform the ping from there, or install a "ping service" on one of them and you contact that.

But you need administrator-level access to either host A or host B.

Share this post


Link to post
Share on other sites
Quote:
Original post by Antheus
Quote:
Original post by bulgurmayo
Quote:
Original post by Antheus
With IP spoofing you could bounce packets between the hosts, but you would never be able to receive the result.


That is not fully true, as Antirez' paper demonstrates.


The method requires B to be in controlled environment (must not send any packets during scan). This is essentially a remote host you have access to. You also do not receive results, merely an indication something happened, what exactly isn't deterministic.


I disagree. The only constraint on what you call B is that is receives almost no traffic at the time you are doing the indirect probe. This is by far a much lesser constraint than requiring it to be a remote host. Moreover I have experimented this technique with success and it never required my having access to any remote host.
You could see for yourself and give it a try using Antirez' tool called hping.

Share this post


Link to post
Share on other sites
Quote:
Original post by bulgurmayo
I disagree. The only constraint on what you call B is that is receives almost no traffic at the time you are doing the indirect probe. This is by far a much lesser constraint than requiring it to be a remote host. Moreover I have experimented this technique with success and it never required my having access to any remote host.
You could see for yourself and give it a try using Antirez' tool called hping.


What's the tracert between www.yahoo.com and www.google.com?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!