Coding for packet header duplication

10 pts.
Tags:
Coding
Header
Linux
Packet header
Packets
Perl
Programming
Web
Web development
I want to know, how to filter packet header duplication. Packets may travel in sequentially over the internet. If the headers duplicate, the traffic will delay. so, I want to block the site that header duplicated. It may be Perl, C++ or other programming languages.

Answer Wiki

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

> I want to know, how to filter packet header duplication.

Really you don’t :-) And that’s why.

> Packets may travel in sequentially over the internet.

Yes for TCP packets.

> If the headers duplicate, the traffic will delay.

NO. The packet never duplicates in-transit. Everything is opposite: when packet is _dropped_ in-transit (or it takes too long to go there and here) only then it duplicates! If you will filter this duplicate packet, it will never reach the destination (or the answer that it is correctly delivered will never reach you)! That’s the core of TCP algorithm and if you change it your traffic will stop completely. I don’t recommend to filter duplicates (you may tune TCP stack instead, to wait for longer delay before resending or to send smaller segments…)

If you still like to filter despite of the danger, go to http://netfilter.org and look for more info. But first, learn more about TCP protocol.

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