Linux Netfilter discussions
 help / color / mirror / Atom feed
* how to drop a TCP segment with specific sequence
@ 2012-02-09  4:00 Yuwen Dai
  2012-02-11  9:24 ` SamLT
  0 siblings, 1 reply; 3+ messages in thread
From: Yuwen Dai @ 2012-02-09  4:00 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to drop a TCP segment with specific sequence
  2012-02-09  4:00 how to drop a TCP segment with specific sequence Yuwen Dai
@ 2012-02-11  9:24 ` SamLT
  2012-02-13  1:50   ` Yuwen Dai
  0 siblings, 1 reply; 3+ messages in thread
From: SamLT @ 2012-02-11  9:24 UTC (permalink / raw)
  To: Yuwen Dai; +Cc: netfilter

On Thu, Feb 09, 2012 at 12:00:28PM +0800, Yuwen Dai wrote:
> 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 in advance.
> 
> Best regards,
> Yuwen Dai
> 
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to drop a TCP segment with specific sequence
  2012-02-11  9:24 ` SamLT
@ 2012-02-13  1:50   ` Yuwen Dai
  0 siblings, 0 replies; 3+ messages in thread
From: Yuwen Dai @ 2012-02-13  1:50 UTC (permalink / raw)
  To: SamLT; +Cc: netfilter

在 2012-02-11六的 10:24 +0100,SamLT写道:
> On Thu, Feb 09, 2012 at 12:00:28PM +0800, Yuwen Dai wrote:
> > 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

> 
> 
> > Thanks in advance.
> > 
> > Best regards,
> > Yuwen Dai
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe netfilter" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-13  1:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09  4:00 how to drop a TCP segment with specific sequence Yuwen Dai
2012-02-11  9:24 ` SamLT
2012-02-13  1:50   ` Yuwen Dai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox