Skip to contentSkip to conversation

how to drop a TCP segment with specific sequence

DISCUSSION Yuwen Dai 2 participants 3 messages Feb 9, 2012 – Feb 13, 2012

lore
Share & tools
lore

Yuwen Dai

author
#0 lore raw

Dear all,

I'm simulating an network environment that some TCP segments are missing. So I want to use iptables to drop these segments. How to write a rule to drop a segment with a specific sequence number from a host? Thanks in advance.

Best regards,
Yuwen Dai

#1 lore raw
Quoted 5 lines · Yuwen Dai

Dear all,

I'm simulating an network environment that some TCP segments are missing. So I want to use iptables to drop these segments. How to write a rule to drop a segment with a specific sequence number from a host?

I suppose you can start playing around with --u32 ?

Quoted 9 lines

Thanks in advance.

Best regards,
Yuwen Dai

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 8 lines · 在 2012-02-11六的 10:24 +0100,SamLT写道:
Quoted 5 lines · Yuwen Dai

Dear all,

I'm simulating an network environment that some TCP segments are missing. So I want to use iptables to drop these segments. How to write a rule to drop a segment with a specific sequence number from a host?

I suppose you can start playing around with --u32 ?

Thanks. I'll study how to use "--u32" option.

Best regards,
Yuwen

Quoted 11 lines
Quoted 11 lines

Thanks in advance.

Best regards,
Yuwen Dai

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html