Port speed limitation

Hi,

is it possible to limit the transferrate of a special port number, e.g. Port 80 to 100kbps? Or even better, can i limit the hole Internet connection of a wireless device?
Can I log the traffic of this connection, e.g. every second?

I have to do this limitation and recording from a c++ programm. The limitation must done more then one time, e.g every day…
All the action must done in the User-Mode, so without Admin-Rights.

Sorry for my bad english!
regards Fabian

wrote in message news:xxxxx@ntdev…
> Hi,
>
> is it possible to limit the transferrate of a special port number, e.g. Port 80 to 100kbps? Or even better, can i limit the
> hole Internet connection of a wireless device?
> Can I log the traffic of this connection, e.g. every second?
>
> I have to do this limitation and recording from a c++ programm. The limitation must done more then one time, e.g every day…
> All the action must done in the User-Mode, so without Admin-Rights.
>
> Sorry for my bad english!
> regards Fabian

There is some setting in Group Policy for limiting bandwidth for specific connections,
ports and protocols.
The kernel thingie that implements it is Psched - the QoS scheduler driver.
This belongs to the obscure Traffic Control API, is little known and rarely used,
maybe because it does require admin rights.

Regards,
–PA

> This belongs to the obscure Traffic Control API, is little known and rarely
used,

maybe because it does require admin rights.

Traffic control not requiring admin rights is nonsense. It gives the user the
possibility to deny the function of the networking apps by other users.

Yes, I understand that after Howard & Le Blanc published their book the “not
requring admin rights” thing became a fashion, kinda some specific things in
female clothing :slight_smile:

Nevertheless, only the stupid product manager will mis-interpret H&LB and
provide the admin facilities to non-admins, making a security hole.

Tasks which are admin by their essential nature - like traffic shaper control
or, say, disk image backup - must remain admin-only.

Only the tasks which are not admin by nature - like saving a game (some games
do saves to admin directory of \Program Files) - must be runnable without admin
rights. This is what H&LB is about.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com