Giter Club home page Giter Club logo

nsc's Introduction

NSC

HW1 Simple tcpdump

  • Capture and Filter Packets from a Network Interface.
  • Usage:
cd hw1 && make
./main -h
  --interface {interface}, -i {interface}
  --count {number}, -c {number}
  --filter {udp, tcp, icmp, all}, -f {udp, tcp, icmp, all}

HW2 Learning Bridge Protocol Simulation

  • Behavior of switch when ping.
  • ICMP
  • ARP
  • Test:
// Generate TEST command
python generate_cmd.py > cmd.txt
// Run
python 109550206.py < cmd.txt

HW3 Aloha, Slotted Aloha, CSMA, and CSMA/CD protocols Simulation

  • The channel efficiency of the Aloha, Slotted Aloha, CSMA, and CSMA/CD protocols under different operation conditions.
  • Test:
python test.py

HW4 RIP and OSPF Protocols Simulation

  • Show path cost and log when learning
  • Test:
Go test.ipynb
run all

HW5 Reliable UDP as QUIC

  • Error Control
  • Flow Control
  • Congestion Control
  • Test:
// Some environment setup
sudo tc qdisc show dev lo
sudo tc qdisc add dev lo root netem loss 5%
sudo tc qdisc change dev lo root netem rate 10Mbit
sudo tc qdisc del dev lo root netem rate 10Mbit
// Run
python quic_server.py
python quic client.py

HW6 HTTP 1.0, 1.1, 2.0 and 3.0 Implementaion

  • header format
  • 1.0 Multiple Connections V.S. 1.1 Persistent Connection
  • 1.1 No Pipelining V.S. 2.0 Piplining
  • 2.0 TCP V.S. 3.0 QUIC/UDP Stream
  • Test:
python demo/http_X_X_server_demo.py
python demo/http_X_X_client_demo.py

HW7 SDN with Ryu

  • Behavior of switch when ping.
  • Build tunnel though switch in different VM.

Final Project Do anything related to Network.

  • DHCP Server Implementaion
  • Test environment:
Server: Ubuntu 22.04
Client1: Ubuntu 22.04
Client2: CentOS 8 Stream
Client3: Windows 11
  • Usage:
// Run on server and setup interface to LAN with client 
cd final_project
g++ dhcpd.cpp -o dhcpd
sudo ./dhcpd

nsc's People

Contributors

pin-chen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.