Please check this page before asking questions to trainer and tutors.
It will be corrupted in the physical layer. Jamming Machine will directly inject electrical noise into the LAN cable when it is activated.
No. Any compressions, changing formats, encoding, etc... of the data is NOT ALLOWED.
(Except in cases where data size is the same, or being bigger when it is transmitted.)
The purpose of this challenge is to "Design a Robust Protocol that can communicate data even when its connection is unstable".
Please understand that allowing them will change the goal and meaning of this challenge.
Yes!! You are allowed to use any external libraries!!
(Just be careful about licensing issues, especially if you are making your program publicly available in places such as GitHub after the competition.)
If there are requests from multiple teams, we may consider adding new languages.
You can check by logging into Taro, and run following command.
$ ping -c 10 hanako
If about 50% of packets are lost, then the jammer is running (sample output shown below).
$ ping -c 10 hanako
PING hanako (169.254.229.153) 56(84) bytes of data.
64 bytes from hanako (169.254.229.153): icmp_seq=1 ttl=64 time=0.842 ms
64 bytes from hanako (169.254.229.153): icmp_seq=3 ttl=64 time=0.733 ms
64 bytes from hanako (169.254.229.153): icmp_seq=5 ttl=64 time=0.695 ms
64 bytes from hanako (169.254.229.153): icmp_seq=9 ttl=64 time=0.717 ms
64 bytes from hanako (169.254.229.153): icmp_seq=10 ttl=64 time=0.716 ms
--- hanako ping statistics ---
10 packets transmitted, 5 received, 50% packet loss, time 274ms
rtt min/avg/max/mdev = 0.695/0.740/0.842/0.060 ms
If you run ping
for a while, but still get 0% packet loss, the jammer may be not running.
Please contact trainer and tutors so we can run it again.
There shouldn't be any data loss since sample program is an example that shows how you can make your protocol robust. However, it is slow (cannot transfer much files within 60 seconds), so we need to come up with a protocol that has higher performance.
You can not have root privilege on Trial Site.
You need to add Hanako's SSH public key to Taro's ~/.ssh/authorized_keys
Check "Getting Started" on README.md
Check README.md inside sample
directory.
Use ssh-keygen
command to generate SSH key pair. In default (entering nothing), SSH public key will be placed at ~/.ssh/id_rsa.pub
.