Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PING (ICMP protocol) not supported ? #37

Open
petselas opened this issue May 10, 2018 · 4 comments
Open

PING (ICMP protocol) not supported ? #37

petselas opened this issue May 10, 2018 · 4 comments

Comments

@petselas
Copy link

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

@hexene
Copy link
Owner

hexene commented May 11, 2018

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.

@petselas
Copy link
Author

OK thanks a lot !
Mary

@mrsylerpowers
Copy link

mrsylerpowers commented Nov 5, 2019

@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

@petselas
Copy link
Author

petselas commented Nov 5, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants