Re: How To Temporarily Suspend Network Traffic

2011-02-16 Thread Liam O'Toole
On 2011-02-15, Kelly Dean wrote: > lrhorer wrote: >>Volkan YAZICI wrote: >>> I want to temporarily suspend the network traffic on a particular >>> interface -- if possible, in microsecond granularity. >> I have to ask. Why are you wanting to do this? It seems a truly > bizarre request. > > Maybe

Re: How To Temporarily Suspend Network Traffic

2011-02-15 Thread Kelly Dean
lrhorer wrote: >Volkan YAZICI wrote: >> I want to temporarily suspend the network traffic on a particular >> interface -- if possible, in microsecond granularity. > I have to ask. Why are you wanting to do this? It seems a truly bizarre request. Maybe in order to simulate intermittent RFI on wir

Re: How To Temporarily Suspend Network Traffic

2011-02-03 Thread Chris Bannister
On Tue, Feb 01, 2011 at 03:44:57PM +, T o n g wrote: > On Tue, 01 Feb 2011 09:16:16 -0500, Gregory Seidman wrote: > > > Now, those are the actual commands to run from the shell. You aren't > > going to get microsecond granularity that way. > > FYI, > > $ apt-cache show sleepenh > Package: sl

Re: How To Temporarily Suspend Network Traffic

2011-02-01 Thread lrhorer
Volkan YAZICI wrote: > Hi, > > I want to temporarily suspend the network traffic on a particular > interface -- if possible, in microsecond granularity. For this > purpose, ifup/ifdown ioctl() calls doesn't work. That is, for > wireless, connection isn't get recovered; for wired, it takes at leas

Re: How To Temporarily Suspend Network Traffic

2011-02-01 Thread Gregory Seidman
On Tue, Feb 01, 2011 at 08:26:53PM +0200, Volkan YAZICI wrote: > On Tue, 1 Feb 2011 13:15:15 -0500, Gregory Seidman writes: > > On Tue, Feb 01, 2011 at 07:40:06PM +0200, Volkan YAZICI wrote: > >> [...] > >> # while /bin/true; do \ > >> > iptables -A OUTPUT -i wlan0 -j DROP && \ > >> > usleep

Re: How To Temporarily Suspend Network Traffic

2011-02-01 Thread Volkan YAZICI
On Tue, 1 Feb 2011 13:15:15 -0500, Gregory Seidman writes: > On Tue, Feb 01, 2011 at 07:40:06PM +0200, Volkan YAZICI wrote: >> [...] >> # while /bin/true; do \ >> > iptables -A OUTPUT -i wlan0 -j DROP && \ >> > usleep 10 && \ >> > iptables -D OUTPUT -i wlan0 -j DROP >> >> command (usle

Re: How To Temporarily Suspend Network Traffic

2011-02-01 Thread Gregory Seidman
On Tue, Feb 01, 2011 at 07:40:06PM +0200, Volkan YAZICI wrote: > On Tue, 1 Feb 2011 09:16:16 -0500, Gregory Seidman writes: [...] > Thanks Greg, but there is a small anomaly with this method. For > instance, if I > > 1. issue > > $ pv -q -L 10k /tmp/200k.dat | nc 192.168.1.1 7000 > >fro

Re: How To Temporarily Suspend Network Traffic

2011-02-01 Thread Gregory Seidman
On Tue, Feb 01, 2011 at 03:56:05PM +0200, Volkan YAZICI wrote: > I want to temporarily suspend the network traffic on a particular > interface -- if possible, in microsecond granularity. For this purpose, > ifup/ifdown ioctl() calls doesn't work. That is, for wireless, > connection isn't get recove