Solutions for Stanford-CS144-Fall2020
docker pull vidocqh/cs144:latest
docker run -td --privileged --name cs144_container vidocqh/cs144
- You can use
-v
flag for mounting thesponge
directory. - You need to edit
tun.sh
andtap.sh
for avoidingroot
user checking. (SinceLab 4
)
- Lab 0: Networking Warmup
- sponge/apps/webget.cc
- sponge/libsponge/byte_stream.cc
- sponge/libsponge/byte_stream.hh
- Lab 1: Stitching substrings into a byte stream
- sponge/libsponge/stream_reassembler.cc
- sponge/libsponge/stream_reassembler.hh
- Lab 2: the TCP receiver
- sponge/libsponge/wrapping_integers.cc
- sponge/libsponge/wrapping_integers.hh
- sponge/libsponge/tcp_receiver.cc
- sponge/libsponge/tcp_receiver.hh
- Bug fixed:
- Lab 1: sponge/libsponge/stream_reassembler.cc & stream_reassembler.hh
- Lab 3: the TCP sender
- sponge/libsponge/tcp_sender.cc
- sponge/libsponge/tcp_sender.hh
- Lab 4: the TCP connection
- sponge/libsponge/tcp_connection.cc
- sponge/libsponge/tcp_sender.hh
- Bug fixed:
- Lab 0: sponge/apps/webget.cc
- Lab 0: sponge/libsponge/byte_stream.cc & byte_stream.hh
- Lab 2: sponge/libsponge/tcp_receiver.cc & tcp_receiver.hh
- Lab 3: sponge/libsponge/tcp_sender.cc & tcp_sender.hh
- Lab 5: the network interface
- sponge/libsponge/network_interface.cc
- sponge/libsponge/network_interface.hh
- Lab 6: the IP router
- sponge/libsponge/router.cc
- sponge/libsponge/router.hh