Skip to content

Simple network client and server tool for dynamically controlling packet flows to stress test network workloads

License

Notifications You must be signed in to change notification settings

treedavies/packet_thrower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

=== What: ===
Packet Thrower client and server


=== Why: ===
This tool was initially written to dynamically control
packet flows for stress testing network workloads


=== How to build: ===
cc -o pt-ctl-client  pt-ctl-client.c 
cc -o pt-server  pt-server.c


=== How to use these tools: ===
0. Run pt-server on 2 networked systems. pt-server takes a port number
   as argument. 
   Example pt-server 6666

1. Use pt-ctl-client to command each system to listen for packets
   on a port.
   Example: pt-ctl-client 192.168.1.180 6666 'lsn,5555' 
            pt-ctl-client 192.168.1.170 6666 'lsn,5555'

2. Use pt-ctl-client to command each system to throw packets of a 
   particular size at a target IP and port.
   Example: pt-ctl-client  192.168.1.180 6666 'snd,6400,192.168.1.170,5555'
            pt-ctl-client  192.168.1.170 6666 'snd,6400,192.168.1.180,5555'


About

Simple network client and server tool for dynamically controlling packet flows to stress test network workloads

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages