Skip to content

elyasafko/com_networks_task3

Repository files navigation

sudo wireshark

𝑠𝑢𝑑𝑜 𝑡𝑐 𝑞𝑑𝑖𝑠𝑐 𝑎𝑑𝑑 𝑑𝑒𝑣 𝑙𝑜 𝑟𝑜𝑜𝑡 𝑛𝑒𝑡𝑒𝑚 𝑙𝑜𝑠𝑠 𝑋𝑋%
𝑠𝑢𝑑𝑜 𝑡𝑐 𝑞𝑑𝑖𝑠𝑐 𝑐ℎ𝑎𝑛𝑔𝑒 𝑑𝑒𝑣 𝑙𝑜 𝑟𝑜𝑜𝑡 𝑛𝑒𝑡𝑒𝑚 𝑙𝑜𝑠𝑠 𝑋𝑋%
𝑠𝑢𝑑𝑜 𝑡𝑐 𝑞𝑑𝑖𝑠𝑐 𝑑𝑒𝑙 𝑑𝑒𝑣 𝑙𝑜 𝑟𝑜𝑜𝑡 𝑛𝑒𝑡𝑒𝑚


sudo tc qdisc add dev lo root netem loss 0%
sudo tc qdisc add dev lo root netem loss 2%
sudo tc qdisc add dev lo root netem loss 5%
sudo tc qdisc add dev lo root netem loss 10%

sudo tc qdisc change dev lo root netem loss 0%
sudo tc qdisc change dev lo root netem loss 2%
sudo tc qdisc change dev lo root netem loss 5%
sudo tc qdisc change dev lo root netem loss 10%

sudo tc qdisc del dev lo root netem

tcp.port == 1234
udp.port == 1234
pcap + screenshots
5 times each:

0%
	tcp reno
	tcp cubic
	rudp
2%
	tcp reno
	tcp cubic
	rudp
5%
	tcp reno
	tcp cubic
	rudp
10%
	tcp reno
	tcp cubic
	rudp


TCP:
./TCP_Receiver -p 1234 -algo reno

./TCP_Sender -ip 127.0.0.1 -p 1234 -algo reno

./TCP_Receiver -p 1234 -algo cubic

./TCP_Sender -ip 127.0.0.1 -p 1234 -algo cubic

RUDP:
./RUDP_Receiver -p 1234

./RUDP_Sender -ip 127.0.0.1 -p 1234

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published