I often use the ping command to check if a website is available or not, or if I can access a machine, so basically mostly for diagnostics, and what would be really useful is if I could specify which port(s) those ICMP echoes go to, is there any way of doing this with ping, or another tool which would allow for me to easily do this without having to generate packets manually?
An option for instance would be to create a custom ICMP packet set to go to a specific port, and then I could use bittwist to send it, and Wireshark to monitor if I am getting anything in return, but this seems a bit of a hassle to do every time, so I was wondering if there is an easier route?