14

ipfw not delaying requests on localhost (OS X)

view full story
linux-howto

http://serverfault.com – I'm trying to add some latency to a connection to a webapp running on localhost:8080 (Tomcat). I've tried adding the following: sudo ipfw pipe 1 config delay 500ms sudo ipfw add 1 pipe 1 dst-port 8080 But in the browser I'm watching requests to the webapp turnaround in under 10ms according to the browser's debugger. Is it possible I'm missing something in my pipe configuration or just not understanding what the browser is saying? I've also tried adding really long delays (up to a few seconds) but it doesn't seem to stop me from: telnet localhost 8080 and connecting immediately. (HowTos)