10-31-2009
Bandwidth shaping on specific port
Hi,
I've been looking for a few hours now, reading various docs and man pages, but the info I found so far is either not what I was looking for or I just don't get how to do the thing I need....
So, my "problems" is that I have a server running on a specific port and I need to shape traffic only on this port (7979) in order to reduce bandwidth. I want it to only have a max up speed of 10 KB/s and max down speed of 10 KB/s also. What I've been looking for for the past few hours is a command or some other shaping software that will be able to limit the incoming & outgoing bandwidth only on this port. I read the man pages of 'tc' but I didn't get much wiser from it, so I came asking here in the hope someone could provide me with the commands and their params how to do that or offer another solution, if possible. I'm on Linux btw
Thanks
10 More Discussions You Might Find Interesting
1. IP Networking
Hello All
I am running redhat linux 7.2 and would like to know how i can block telnetting to a specified port .
say for example i would like to block telnet acesses to port 80.
regards
Xiamin (5 Replies)
Discussion started by: xiamin
5 Replies
2. Solaris
Hi,
Anyone know how I can log all input - when a user logs in to a specific port number ie if user telnet to port specifically telnet 0 4800
I want to log all input that the user inputs..
Is this possible??
Is the sun solaris forum the correct forum or should this perhaps go... (10 Replies)
Discussion started by: frustrated1
10 Replies
3. Shell Programming and Scripting
H,
I want to know the ip of the devices connected to a specific port.
Suppose 2 s/m's are connected to port 3092. I want to get the ip of those system's .
how do i get it? (1 Reply)
Discussion started by: madhumathikv
1 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I have a problem. I have machine names and their IP addresses in /etc/hosts file. My application does telnet on that machine host name. The application does not uses IP address for tenet. It will fetch the host name from /etc/hosts file.
Now the telnet server runs on customized port.... (6 Replies)
Discussion started by: zing_foru
6 Replies
5. Solaris
Dear members,
My release is open Solaris b103
1- How to know the opening port in my system
2- How to open a specific port like port number 53
3- How to closed the specific port like port number 53
Your feedback highly appreciated (10 Replies)
Discussion started by: dellroxy
10 Replies
6. Solaris
Hi All,
Can anyone let me know that how to open a specific port in Solaris 10. I just wanted to know if there are some certain commands to open a port (like ftp, telnet).
It would be also better if someone can tell me if there is another firewall service in Solaris 10 except ipfilter.
... (6 Replies)
Discussion started by: naw_deepak
6 Replies
7. UNIX for Dummies Questions & Answers
Hi, I would like to write a shell script that will:
-search the files of a specific user to find any audio files with a bandwidth iqual or greater than 192 kps
- on the results i should see the file name along with all the whole file route and each file's size
So I guess i should be using... (1 Reply)
Discussion started by: ubu-user
1 Replies
8. Shell Programming and Scripting
I have a script that runs right before a daily reboot that captures the amount of MB transmitted up and pulled down since last reboot.
echo `date +"%m-%d-%y"``grep eth0 /proc/net/dev | awk '{print ","$2/1024/1024","$10/1024/1024}'`>>/home/nick/bandwidth.logIn looking at the raw output of... (1 Reply)
Discussion started by: nbsparks
1 Replies
9. Shell Programming and Scripting
Hello again people,
I currently searching for a code/script that will allow it to check if a specific port is open, lets say 123. Found a public script on a ftp but I dont know how and what to modify in it to suit my needs. (I think this is a evil code and I want to use it as an example).
... (3 Replies)
Discussion started by: galford
3 Replies
10. Solaris
Hi,
I need to block ssh port 22 from all the servers except one server ip.
Until solaris11.3 and below, I used to do like below(under /etc/ipf/ipf.conf),and it's working fine
pass in quick from $server_ip to any port=22
block in quick from any to any port=22
But I tried almost same in... (1 Reply)
Discussion started by: Sumanthsv
1 Replies
LEARN ABOUT DEBIAN
ib_send_bw
ib_send_bw(1) User Commands ib_send_bw(1)
NAME
ib_send_bw - RDMA send bandwidth test
SYNOPSIS
ib_send_bw [ options ] [ server IP address ]
DESCRIPTION
This program tests the bandwidth of RMDA send transactions.
OPTIONS
-p, --port=<port>
listen on/connect to port <port> (default: 18515)
-m, --mtu=<mtu>
mtu size (default: 1024)
-d, --ib-dev=<dev>
use IB device <dev> (default: first device found)
-i, --ib-port=<port>
use port <port> of IB device (default: 1)
-s, --size=<size>
size of message to exchange (default: 1)
-a, --all
run sizes from 2 till 2^23
-t, --tx-depth=<dep>
size of tx queue (default: 50)
-n, --iters=<iters>
number of exchanges (at least 100, default: 1000)
-C, --report-cycles
report times in cpu cycle units (default: microseconds)
-H, --report-histogram
print out all results (default: print summary only)
-U, --report-unsorted
(implies -H) print out unsorted results (default: sorted)
-V, --version
display version number
AUTHOR
Guy Coates < gmpc@sanger.ac.uk >
perftest February 20, 2008 ib_send_bw(1)