• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Program to simulate network lag?

unholy414

Member
I've been trying for days to find a program that simulates network lag but I can't find it anywhere, can someone please post a link to a program or point me in the right direction?
 
Simulates lag... you mean a program that drops packets for you? Or a program that increases your latency? Why would you want to do this? Cheat in a game?
 
I guess I should've been more specific as to why I'm requesting this tool before the vultures came to pick at my post....

I wanted to do an experiment on ftp, small thing I was curious about. I was gonna ftp to my server a large image file, and as it's transfering I was gonna make the transfer drop some packets, then see how the image came out on the other end by use of a special viewer. Just a small harmless pointless test that wouldn't hurt your feelings Volrath.


-edit-
and what does dropping packets have to do with video games anyway???
 
lanforge, built buy....trying to remember....same folks who build the Net Celara Wan Acceleration appliance.

Anyway, Lanforge is a small linux based device that will do this (probably spendy though). Other then that, I would tell you to use *bsd and ipfw, as you can put speed (bandwidth) Latency, and packetloss into the connection. Not sure if you can "bridge" it, or if you have to route it, my experience is limited. Can iptables do this?
 
Lost packets happen ALL the time when you're dealing with the Internet and you probably don't even know about it. TCP is designed to handle the loss of packets (and a few other error conditions like corruption and latency) and to ensure that nothing is lost. It will have no affect on your image, just slow the transfer down slightly.

- G
 
Originally posted by: Garion
Lost packets happen ALL the time when you're dealing with the Internet and you probably don't even know about it. TCP is designed to handle the loss of packets (and a few other error conditions like corruption and latency) and to ensure that nothing is lost. It will have no affect on your image, just slow the transfer down slightly.

- G

Yep, and if you were to try this with UDP instead (tftp or something) the file would come out as unreadable rubbish, nothing interesting. Sounds like you're just doing this experiment for education purposes so i suggest you code it yourself if you want it, you will learn more that way.
 
I actually found a program that would help me do this, reputible company that allows a 7-day free trial of the program. Wish I could've found something a little more opensource though...after trying for days to get my hands on one of these network simulators, it seems you have to jump through ALOT of hoops to get them, as if they want the "right" people to have them. Hmm....

Name of the program is called Shunra VE.

www.shunra.com
 
Back
Top