If you're on a mac, you can use ipfw from the command line, which works beautifully and is very configurable.

If you're on windows, you can use Charles http://xk72.com/charles/ - which I found to be rather buggy, but that was the mac version.

For OS X, I'm not sure if you need tiger or not, but you can enter these commands into the terminal...

You'll need root access, so get ready to enter your root password:

(note that $ and # are simply the prompts from the command line and should not be typed in)

$ su
# ipfw pipe 1 config bw 1000kbit/s

# ipfw add pipe 1 src-port http

The first line sets you as the root user.

The second line creates a dummynet pipe, essentially a bandwidth limiter

The third line creates a rule that routes incoming http traffic thru the above pipe.

Note that bandwidth in the second line can be specified in [K|M]{bit/ s|Byte/s}, for example:

1Mbit/s or 56Kbit/s or 600bit/s or 200Bytes/s, etc

Once the pipe is set up, you can leave it and continue to reconfigure it at whichever bandwidth you wish.

To delete the rule(s), use:

# ipfw flush

ipfw is a very powerful tool with tons and tons of options. try...

$ man ipfw

for the whole story.



Good luck!




_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to