Freeware or ways to throttle bandwidth of a Tcp connection

I have an app that uses say Tcp888 to download virus patterns & sometimes the
utilization can be very high on the shared WAN

Any ways or freeware (ideally something that does not require installation eg: winscp/putty,
so as not to change the registry) to throttle based on the Tcp connection ?

if can't throttle by Tcp port number, perhaps by the apps service or in worst case by the
NIC of the server, will do as well.

Do provide details steps on how to configure if possible
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Toni UranjekConsultant/TrainerCommented:
Which operating system do you use?

Unfortunately Wireshark won't help you in this case.  The closest thing to what you need is a WAN emulator which allows you to set a bandwidth constraint.  There are many avaliable, including free packages.  Try searching for WAN emulator in Google and see which one is right for you.

Best regards...Paul
Virus Depot: Cyber Crime Becomes Big Business

The rising threat of malware-as-a-service is not one to be overlooked. Malware-as-a-service is growing and easily purchased from a full-service cyber-criminal store in a “Virus Depot” fashion. View our webinar recording to learn how to best defend against these attacks!

sunhuxAuthor Commented:
I'm on Win 2008 R2 x64.

Yes, don't think Wireshark will help.

The requirement is not to analyse network traffic/bandwidth but to throttle the bandwidth
Toni UranjekConsultant/TrainerCommented:
Windows 2008 R2 supports Quality of Service (QoS).

This is step-by-step guide for configuring it locally:
Implementing Quality of Service (QoS) on a Windows 2008 Server

In domain environment you should configure it with GPO:

Policy-based Quality of Service (QoS)

You could control the transfer rate with TCP Window Size but it may take some managing.  The throughput will be roughly equal to the (Window Size) * 8 / (Network RTT) .  So with a Window Size of 64KB and a Network Round Trip Time (RTT) of 20 ms the throughput would be 64 * 8 / 0.02 or 25,600 Kbps (25.6 Mbps).  The trouble with this approach is I think the TCP Window Size will be applied across all apps, and if the latency changes you'll need to fiddle with the Window Size again.

The throttle rate is obviously the favourite for this.  I've learned something new here.  I always thought the Windows QoS mechanism only handled categorisation (marking with the DSCP value), I didn't realise that you could actually specify the throttle value.  So good spot by you and Toni.

Best regards...Paul
sunhuxAuthor Commented:
1st link can't load from my place.

2nd link loads: quite a complex set of steps involved but I'll try.

If anyone else know of any easy-to-use freeware, do list them out;
I'll close this thread this Tue
Toni UranjekConsultant/TrainerCommented:
Link works for me.

Why would you need freeware if QoS is built-in feature of your operating system and you can configure it very easily.

More links:
sunhuxAuthor Commented:
Appears that those links do "QoS" (quality of service), prioritizing which traffic gets what priority.

What I'll need is traffic limiting : say 1Mbps for Tcp8888 traffic, 0.2Mbps for Tcp8443 traffic etc
(ie specify the max bandwidth to cap for each Tcp port).

Anyone used Netlimiter (or similar traffic shaping software) before?
Toni UranjekConsultant/TrainerCommented:
QoS does exactly want you want. Limits the traffic. Give me few minutes, I will post screen shots.
Toni UranjekConsultant/TrainerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sunhuxAuthor Commented:
Thanks very much Toni, the pdf doc you attached is much clearer
& readable than what's in the links, much appreciated
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Operations

From novice to tech pro — start learning today.