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

Success while no internet connection #1

Open
kolka2012 opened this issue Jul 13, 2021 · 0 comments
Open

Success while no internet connection #1

kolka2012 opened this issue Jul 13, 2021 · 0 comments

Comments

@kolka2012
Copy link

ICMP class checking only checksum on recieving packet. If router cannot resolve destination it returning packet with type 0x03 not 0x00. Type of packet did not checking and arduino recieved success status for ping request.

English is not my first language so I wrote that in Russian. May be it would be more understandable.

Класс ICMP в методе receivePacketProcessing не проверяет какой тип пакета пришел в заголовке ответа, а проверяет только чексумму. В результате если пришел ответ, который говорит, что адресат не доступен или какая-то другая ошибка, то результат все равно будет успешным.

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

1 participant