LocalVPN icon indicating copy to clipboard operation
LocalVPN copied to clipboard

PING (ICMP protocol) not supported ?

Open petselas opened this issue 7 years ago • 4 comments

Hi,

Congrats for the great job 1st of all! I use it in a test app and when trying to ping the packets seems not created. Should I implement the packet creation for ICMP protocol ? or there is another work around ? Thanks in advance.

Mary

petselas avatar May 10 '18 09:05 petselas

Thanks for your interest in the app.

As far as I can tell, creating ICMP packets directly requires root access. Where this is available, we might as well use raw sockets for everything.

hexene avatar May 11 '18 12:05 hexene

OK thanks a lot ! Mary

petselas avatar May 13 '18 15:05 petselas

@hexene ICMP with android is allowed without root https://github.com/kirillF/icmp-android made a great example of it happening. It is however not possible to do with the java functions the system gives you. Requires C++ code to complete

mrsylerpowers avatar Nov 05 '19 18:11 mrsylerpowers

Σας ενημερώνω ότι το παρόν email θα καταργηθεί. Η νέα μου διεύθυνση είναι

Please contact me at                                           :  nicholas.koskinas(at)icloud.com  , iosnkos(at)gmail.com Νέα διεύθυνση ηλεκτρονικού ταχυδρομείου          :  nicholas.koskinas(at)icloud.com ,  iosnkos(at)gmail.com

Note: This is an automated response to your message  "Re: [hexene/LocalVPN] PING (ICMP protocol) not supported ? (#37)" sent on 05/11/2019 20:46:34.

This is the only notification you will receive while this person is away.

petselas avatar Nov 05 '19 20:11 petselas