On Fri, Apr 26, 2002 at 10:08:36AM -0700, Erik Namtvedt wrote: > I am testing VOIP software - I need to see how our codec handles an incredible loss >of packets. So far the only other solution is to use wireless and put a microwave >oven between the devices. >
OK. That's what I thought :-) There is a random module by Fabrice MARIE which gives you the possibility to do exactly what you want. Unfortunately I've not been able to apply the patch myself. It keeps failing. But once you applied the patch you should be able to say: $IPT -A FORWARD -m random --average <%> -j DROP Ramin > -----Original Message----- > From: Ramin Alidousti [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 6:48 AM > To: [EMAIL PROTECTED] > Cc: Erik Namtvedt > Subject: Re: Bridging with IPTABLES > > > Erik, > > Why would you want to do that? This is almost equivalent with > unplugging the ethernet port half the time. Is this some kind > of packet loss test environment you want to set up? > > Ramin > > > On Thu, Apr 25, 2002 at 11:36:05AM -0700, Erik Namtvedt wrote: > > > > > Hi - I'm currently unable to post to the list for some reason?! But I have a >question that I was hoping you could help me with... (or maybe repost on my behalf?) > I'm wanting to pass ALL traffic to eth0 out eth1 and vice versa... at the same time >use the random module to drop 50% of the traffic in both directions. Is this >configuration possible? > > > > > > Thank you! > > > - Erik
