Java method to reset a packets time to live

10 pts.
Tags:
Java
Packets
TTL
I was told that there is a JAVA method to reset a packets time to live. Given that a packet being accepted by a machine that had java on it would create a new header anyway, is the point to increase the TTL? The person made the statement that these packets roam the Internet for years. am I missing something or how does this process work and how would it be applied? any help appreciated. Thank you!

Answer Wiki

Thanks. We'll let you know when a new response is added.

I am looking at this after the other comment you said your friend made… I honestly think he has no idea what he’s talking about. I am sure that within a persons own network, they could make a packet propagate for however long they wanted (why they would do this however is beyond me), however, once the packet is on the internet, and being routed on the public internet, it has one of 3 fates:

1. It is routed to the destination and arrives correctly
2. It arrives at a router that does not have a route to the destination network and is dropped
3. If there is a routing loop or for some reason number 1 or 2 do not happen, the TTL will be decremented at each router until the TTL is 0 and the packet is dropped. Once the packet is received by the router, there is no magical way that the TTL is going to be reset to 255.

Again, direct your friend to RFC 791 and tell him to read it before he makes any more silly comments :)

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following