All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Artificial latency
@ 2003-06-07 23:19 Ryan Agler
  2003-06-08  9:06 ` lartc
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ryan Agler @ 2003-06-07 23:19 UTC (permalink / raw)
  To: lartc

I have a situation where I would like to introduce an artificial delay of
100 milliseconds to incoming UDP traffic to a particular client.  Here is my
setup:

                 +-------+          +-----------+
                 | Linux |          |           |
'Internet'---eth1| NAT   |eth0===|192.168.1.4|
                 |       |          |           |
                 +-------+          +-----------+

Note I'm not looking to restrict the RATE or SPEED at all, just to add a
DELAY, and only to incoming UDP packets coming in from the Internet destined
for 192.168.1.4.  I have kernel 2.4.20 with all the latest and greatest tc,
htb patches, etc.

Can anyone help??

Thanks much,
+Ryan


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* Re: [LARTC] Artificial latency
  2003-06-07 23:19 [LARTC] Artificial latency Ryan Agler
@ 2003-06-08  9:06 ` lartc
  2003-06-09 20:09 ` Ryan Agler
  2003-06-10  6:52 ` lartc
  2 siblings, 0 replies; 4+ messages in thread
From: lartc @ 2003-06-08  9:06 UTC (permalink / raw)
  To: lartc

hi ryan,

i had asked a similar question a while back, and stef recommended the
following:


http://snad.ncsl.nist.gov/itg/nistnet


make sure to read the faq!

cheers

charles


On Sun, 2003-06-08 at 01:19, Ryan Agler wrote:
> I have a situation where I would like to introduce an artificial delay of
> 100 milliseconds to incoming UDP traffic to a particular client.  Here is my
> setup:
> 
>                  +-------+          +-----------+
>                  | Linux |          |           |
> 'Internet'---eth1| NAT   |eth0===|192.168.1.4|
>                  |       |          |           |
>                  +-------+          +-----------+
> 
> Note I'm not looking to restrict the RATE or SPEED at all, just to add a
> DELAY, and only to incoming UDP packets coming in from the Internet destined
> for 192.168.1.4.  I have kernel 2.4.20 with all the latest and greatest tc,
> htb patches, etc.
> 
> Can anyone help??
> 
> Thanks much,
> +Ryan
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/






_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* RE: [LARTC] Artificial latency
  2003-06-07 23:19 [LARTC] Artificial latency Ryan Agler
  2003-06-08  9:06 ` lartc
@ 2003-06-09 20:09 ` Ryan Agler
  2003-06-10  6:52 ` lartc
  2 siblings, 0 replies; 4+ messages in thread
From: Ryan Agler @ 2003-06-09 20:09 UTC (permalink / raw)
  To: lartc

Hi Charles,

Thanks for your response!  I followed your advice and installed the nistnet
kernel module, and after a lot of wrestling it worked.

Ill explain why I need a delay to incoming UDP traffic -- 192.168.1.4 is a
Cisco ATA-186 Analog Telephone Adaptor, which lets me hook up a normal
phone/fax machine and place calls over the Internet.  It turns out that
there is a slight asymmetric delay, i.e. the time between when I speak into
the phone and its heard by the person I call is longer than the time between
her speaking and me hearing it.  This is fine for voice, but intolerable to
my fax machine.  So, I used the nistnet module to delay incoming UDP packets
to 192.168.1.4 by 300 milliseconds, and got the 'symmetric' delay I was
seeking and faxes are working!

I am wondering if anyone out there can think of another delaying solution
using a qdisc??   I had many problems getting the nistnet module installed;
it refused to coexist with an lt_serial module that allows my faxmodem to
work, and causes sporadic fits with my kernel.

Any advice is appreciated!

Thanks,
+Ryan

-----Original Message-----
From: Charles Shick [mailto:chuck.shick@manchotnetworks.net] 
Sent: Sunday, June 08, 2003 4:12 AM
To: Ryan Agler
Subject: Re: [LARTC] Artificial latency

hi ryan,

i had asked a similar question a while back, and stef recommended the
following:


http://snad.ncsl.nist.gov/itg/nistnet


make sure to read the faq!

cheers

charles


On Sun, 2003-06-08 at 01:19, Ryan Agler wrote:
> I have a situation where I would like to introduce an artificial delay of
> 100 milliseconds to incoming UDP traffic to a particular client.  Here is
my
> setup:
> 
>                  +-------+          +-----------+
>                  | Linux |          |           |
> 'Internet'---eth1| NAT   |eth0===|192.168.1.4|
>                  |       |          |           |
>                  +-------+          +-----------+
> 
> Note I'm not looking to restrict the RATE or SPEED at all, just to add a
> DELAY, and only to incoming UDP packets coming in from the Internet
destined
> for 192.168.1.4.  I have kernel 2.4.20 with all the latest and greatest
tc,
> htb patches, etc.
> 
> Can anyone help??
> 
> Thanks much,
> +Ryan
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

* RE: [LARTC] Artificial latency
  2003-06-07 23:19 [LARTC] Artificial latency Ryan Agler
  2003-06-08  9:06 ` lartc
  2003-06-09 20:09 ` Ryan Agler
@ 2003-06-10  6:52 ` lartc
  2 siblings, 0 replies; 4+ messages in thread
From: lartc @ 2003-06-10  6:52 UTC (permalink / raw)
  To: lartc

hello ryan,

> So, I used the nistnet module to delay incoming UDP packets
> to 192.168.1.4 by 300 milliseconds, and got the 'symmetric' delay I was
> seeking and faxes are working!
good news, alhtough I am curious how you are connected to the internet?
also, did you check with cisco?

> I am wondering if anyone out there can think of another delaying solution
> using a qdisc??   
i am not aware but would also be interested -- please do post back
should you find anything ...

> I had many problems getting the nistnet module installed;
> it refused to coexist with an lt_serial module that allows my faxmodem to
> work, and causes sporadic fits with my kernel.
yes, i experienced similar issues, but managed to get it stable for some
very simple testing -- i need to do more.

cheerio

charles

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2003-06-10  6:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-07 23:19 [LARTC] Artificial latency Ryan Agler
2003-06-08  9:06 ` lartc
2003-06-09 20:09 ` Ryan Agler
2003-06-10  6:52 ` lartc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.