Skip to content

tyr1k/delayip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Script to delay network traffic to a specific IP address

This script sets a delay on network traffic to a specific IP address using the tc command in Linux.

Usage

$ ./delay_ip.sh <interface> <ip-address> <delay>

Example:

$ ./delay_ip.sh eth0 192.168.1.1 10ms

Use the --off or -o option to reset the delay:

$ ./delay_ip.sh --off

Arguments

  • interface: The network interface name to apply the delay to
  • ip-address: The IP address to apply the delay to
  • delay: The delay time to apply to the traffic (in ms or s)

Requirements

This script requires the tc command to be installed on the Linux system.

License

This script is released under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages