Hello My name is Glave,
a few months ago i had an idea for retrieving the external ip from a private network through use of ping. my idea is to setup a server that accepts ping packets and sends back a spoofed source address reply.
to illustrate:
Client: External IP [1.1.1.1] ping > Server: [5.5.5.5] ping reply > client as 1.1.1.1
the idea is for the client to see his/her own external ip from the "reply from x.x.x."
Pinging server.com [1.1.1.1] with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=94ms TTL=50
Reply from 1.1.1.1: bytes=32 time=94ms TTL=50
Reply from 1.1.1.1. bytes=32 time=95ms TTL=50
Reply from 1.1.1.1. bytes=32 time=96ms TTL=50
instead of:
Pinging server.com [5.5.5.5] with 32 bytes of data:
Reply from 5.5.5.5: bytes=32 time=94ms TTL=50
Reply from 5.5.5.5: bytes=32 time=94ms TTL=50
Reply from 5.5.5.5. bytes=32 time=95ms TTL=50
Reply from 5.5.5.5. bytes=32 time=96ms TTL=50
this can be just checked through a website but if your only at a shell i was thinking a built in command that is common between platforms so i thought of ping.
any feedback would be great any suggests would be nice, i plan to testing this for myself but thought maybe ill ask others for there input.
Thanks
a few months ago i had an idea for retrieving the external ip from a private network through use of ping. my idea is to setup a server that accepts ping packets and sends back a spoofed source address reply.
to illustrate:
Client: External IP [1.1.1.1] ping > Server: [5.5.5.5] ping reply > client as 1.1.1.1
the idea is for the client to see his/her own external ip from the "reply from x.x.x."
Pinging server.com [1.1.1.1] with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=94ms TTL=50
Reply from 1.1.1.1: bytes=32 time=94ms TTL=50
Reply from 1.1.1.1. bytes=32 time=95ms TTL=50
Reply from 1.1.1.1. bytes=32 time=96ms TTL=50
instead of:
Pinging server.com [5.5.5.5] with 32 bytes of data:
Reply from 5.5.5.5: bytes=32 time=94ms TTL=50
Reply from 5.5.5.5: bytes=32 time=94ms TTL=50
Reply from 5.5.5.5. bytes=32 time=95ms TTL=50
Reply from 5.5.5.5. bytes=32 time=96ms TTL=50
this can be just checked through a website but if your only at a shell i was thinking a built in command that is common between platforms so i thought of ping.
any feedback would be great any suggests would be nice, i plan to testing this for myself but thought maybe ill ask others for there input.
Thanks
Comment