QOS script


 
Thread Tools Search this Thread
Special Forums IP Networking QOS script
# 8  
Old 10-04-2010
that's some good thinking! Smilie

another question.. how can I track connection time?
yet another.. can I track connection since it gets into --state-NEW till end of transfer?

If it could be possible, then I can use -m --string "upload" in front of it and capture whole connection to some filter or something.

It's nice thinking about filename/content-type ... I can use L7 Filter to capture .avi files ... but thing is.. that I can only do it for both upload/download ... not one in particular?

Corona688 - no, not any caching... I have two servers that control about 300 users accessing internet. and If only one is uploading some file, then everything get's slow.
# 9  
Old 10-04-2010
Quote:
Originally Posted by DARKMAN_HR
Corona688 - no, not any caching... I have two servers that control about 300 users accessing internet. and If only one is uploading some file, then everything get's slow.
Why not limit upload speed then? Limiting upload speed some (not draconically) may improve their experience a lot by not letting uploads hog the entire connection. I know with our ISP, we get 1 megabit down, 100kilobit up, but not at the same time so uploads clog our connection badly. Limiting uploads to 70kilobit helps significantly.
# 10  
Old 10-05-2010
I did that.. my upload is at 80% cause of QOS and my ACK-s have priority... I can utilize 100% download and 100% upload at same time.. thing is, packets get delayed when upload is at 100% ... no matter what - that lag just keeps coming back.

I came here if someone knows thing or two about advanced QOS in combination with iptables and perhaps L7 filter... or just to get new idea on how to do things.

Straight forward question is -- how can I throttle upload speed to (say) .upload.youtube.com ... How can I detect that kind of connection .. basically I need some innovative idea ... I have none.. or none of my work...


I had one idea while back.. and that is to use counters and calculate how much upload did user do in say one minute.. if that sum is grater than it should be. then user should be throttled by QOS. With --string "upload" I can perhaps initiate counters and script that would harvest those counters?

So if anyone knows how I might do that... hm.. iptraf? I've searched everywhere.. simple script/program like this for linux which is extra useful simply don't exist...
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script works fine as a standalone script but not as part of a bigger script

Hello all, I am facing a weird issue while executing a code below - #!/bin/bash cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset sh UKBA_publish.sh UKBA 28082015 3 if then echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies

2. Shell Programming and Scripting

Script will keep checking running status of another script and also restart called script at night

I am using blow script :-- #!/bin/bash FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not if then # echo "process found" exit 0; else echo "process not found" exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies

3. IP Networking

Internet QOS woes

I'm looking for recommendations for a general problem. Apparently (that is according to my boss and coworkers) I am responsible for guaranteeing quality of service to our remote MySQL server during the course of the day. They may run a complete database restore for any number of reasons and are... (1 Reply)
Discussion started by: Astrocloud
1 Replies

4. IP Networking

QOS using tc

Hello all my friends Please Read to understand my problem I have 1 MB bandwidth and two networks then i did traffic control on my two internal interfaces i.e eth1(192.168.3.0/24) and eth2(172.16.3.0/24) (internal) and eth0 (outside) Then i divided my bandwidth using tc command with the... (3 Replies)
Discussion started by: rink
3 Replies

5. Windows & DOS: Issues & Discussions

QOS packet scheduler and group policy

hi, did anyone know how to configure a priority of dns ports (and other ports) on QOS on windows 2003? hard to understand the group policy "explain" tab on 'qos packet scheduler', no elaboration on how to use it. thanks for any comment you may add. ---------- Post updated at 05:03 PM... (0 Replies)
Discussion started by: itik
0 Replies

6. IP Networking

802 QOS/ Bandwidth Control

My question is such: I want to control the bandwidth of my users and cap there speed on the network. I was told by a Cisco rep that it is better to police or control the bandwidth at the switch and not via the router. It that the correct place to control bandwidth at the switch or would it be... (0 Replies)
Discussion started by: metallica1973
0 Replies

7. Shell Programming and Scripting

create a shell script that calls another script and and an awk script

Hi guys I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file. #!/bin/sh echo " $2 $3 $4 $5 $6 $7 isql -w400 -U$2 -S$5 -P$3 << xxx use $4 go print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies
Login or Register to Ask a Question