WAN/LAN delay simulation


Sorry to change the current thread, but does anyone know of a piece
of freeware that will simulate delays across a WAN/LAN connection?
Basically something that would allow a dual-homed workstation act
as a router that one can program to do nasty things to packets. I
am not looking for random packet generation, rather I want to test
the effects of http traffic and the like over a slow and dirty link
(no I don't have a link to one of the Boardwatch worst list #%^>).