rewrite of check_peering_ping