- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- [How to] limit bandwith based on ip address on lin...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2008 11:17 PM
тАО06-05-2008 11:17 PM
[How to] limit bandwith based on ip address on linux ?
I have a small bandwith (1M) and i'd like to limit @250k max per IP address at the same time. (this is for download, i think if i find for download, it will be the same idea for upload)
-> The easiest and fastest way ;-p
I find some infos about squid and delay ... but not sure that's the best way. I think i have to setup a proxy ...
Help and ideas are welcome.
Points will be assigned for good replies !
Thx,
Cedric.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2008 12:42 AM
тАО06-06-2008 12:42 AM
Re: [How to] limit bandwith based on ip address on linux ?
Welcome to the OpenVMS forum !
I think trickle is your friend.
For example
trickle -d 1 -u 1 /usr/lib/mozilla/mozilla-bin http://www.abc.com
will limit to 1 Ko/second
Trickle can be downloaded at
http://monkey.org/%7Emarius/trickle/
but unfortunately I am not aware of a VMS port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2008 09:48 AM
тАО06-06-2008 09:48 AM
Re: [How to] limit bandwith based on ip address on linux ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2008 12:53 AM
тАО06-07-2008 12:53 AM
Re: [How to] limit bandwith based on ip address on linux ?
Do you mean for all protocols or just say FTP or HTTP ?
I know for vsfptd, there are options to limit bandwidth such as anon_max_rate or local_max_rate. I'd guess you should be able to configure something on a per IP address as well, although I've never done it.
I'd expect Apache to have something similar.
Hope this helps,
Regards,
Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2008 01:12 AM
тАО06-12-2008 01:12 AM
Re: [How to] limit bandwith based on ip address on linux ?
THX.