Are there any socket options similar to "IP_RECVTTL" or an alternate way to retrieve TTL values from received tcp packets in RHEL?
Issue
- For datagram sockets (UDP) you have these socket options
IP_RECVTTLandIP_TTLwhich helps reading theTTLvalues of incoming and outgoing packets. - Is there any similar options available for
TCPsockets as well? - Why sockets options like
IP_RECVTTLfails to retrieveTTLvalues from incoming socket? - Are there any ways to detect tethering from incoming TCP packet using
TTL?
Environment
- Red Hat Enterprise Linux .
tcpsocket options.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.