ping test data size issue
Posted: Sun Apr 17, 2011 9:47 am
I would like to share a tricky issue I just solved.
The "ping test" for three new nodes were always failing,
but, pinging the same hostname was always working fine from the shell on the freenats server ???
After following the code step by step, I understood that the cause was the ping data size of 14
which for some reason is refused (probably by a firewall somewhere)
Indeed, from the console "ping -s 14 hostname" always fails and "ping hostname" works fine.
To workaround this issue, I replaced in /server/base/tests/ppping.inc.php :
var $data_package = "PPPing";
by
var $data_package = "0123456789012345678901234567890123456789012345";
in order to send a data size of 54
Phil
The "ping test" for three new nodes were always failing,
but, pinging the same hostname was always working fine from the shell on the freenats server ???
After following the code step by step, I understood that the cause was the ping data size of 14
which for some reason is refused (probably by a firewall somewhere)
Indeed, from the console "ping -s 14 hostname" always fails and "ping hostname" works fine.
To workaround this issue, I replaced in /server/base/tests/ppping.inc.php :
var $data_package = "PPPing";
by
var $data_package = "0123456789012345678901234567890123456789012345";
in order to send a data size of 54
Phil