busy-bee.net buzz buzz buzz goes the honeybee home | blog | links | about me

linux to an imac

2002-09-17 00:19 / dummynet   »

Being a bit of a - I was going to say luser but my interpretation of that term was a little off-mark when I looked on the www ... (I'm not that bad) - being a bit of a person who should know about it already, with my interest multiplied by a growing worry about the bloat of this page, I found this section of man ipfw in Jaguar quite exciting:

     Should we like to simulate a bidirectional link with bandwidth limita-
     tions, the correct way is the following:

           ipfw add pipe 1 ip from any to any out
           ipfw add pipe 2 ip from any to any in
           ipfw pipe 1 config bw 64Kbit/s queue 10Kbytes
           ipfw pipe 2 config bw 64Kbit/s queue 10Kbytes

     The above can be very useful, e.g. if you want to see how your fancy Web
     page will look for a residential user which is connected only through a
     slow link.

Unfortunately, every attempt I made to replicate this in the command line failed with ipfw bringing up a usage message that failed to mention the pipe command.

dummynet is what's lacking. Part of the FreeBSD kernel. But if you really, really want it, it can be done, albeit with some serious, if not too difficult hacking (my reading of the mail is that it's refactoring rather than reimplementing).

mod_perl -- Speed, Power, Scalability