Identifying operating system with ICMP/ping

ping host…

(try localhost)

Windows default TTL = 128
Linux default TTL = 64
Unix default TTL = 255

each hop (router) decreases the TTL by one. So if you get a 120 as TTL, its a windows machine, and your packet went through 8 routers.

1 thought on “Identifying operating system with ICMP/ping

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s