Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saminiir/level-ip
A hacker's userspace TCP/IP stack
https://github.com/saminiir/level-ip
socket-api tcp tcp-ip tuntap userspace-networking
Last synced: 6 days ago
JSON representation
A hacker's userspace TCP/IP stack
- Host: GitHub
- URL: https://github.com/saminiir/level-ip
- Owner: saminiir
- License: mit
- Created: 2016-02-26T15:14:37.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T13:14:33.000Z (almost 2 years ago)
- Last Synced: 2024-11-29T19:07:16.721Z (13 days ago)
- Topics: socket-api, tcp, tcp-ip, tuntap, userspace-networking
- Language: C
- Homepage: https://www.saminiir.com
- Size: 772 KB
- Stars: 2,614
- Watchers: 98
- Forks: 382
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-network-stuff - **1211**星
README
# Level-IP [![Build Status](https://travis-ci.org/saminiir/level-ip.svg?branch=master)](https://travis-ci.org/saminiir/level-ip)
Level-IP is a Linux userspace TCP/IP stack, implemented with TUN/TAP devices.
The main goals are to:
* Learn TCP/IP
* Learn Linux systems/network programming
* Learn Linux Socket APIThe results of the learning experience will be accompanied by explanatory blog posts:
- Part 1, Ethernet & ARP: http://www.saminiir.com/lets-code-tcp-ip-stack-1-ethernet-arp
- Part 2, IPv4 & ICMPv4: http://www.saminiir.com/lets-code-tcp-ip-stack-2-ipv4-icmpv4
- Part 3, TCP Basics & Handshake: http://www.saminiir.com/lets-code-tcp-ip-stack-3-tcp-handshake/
- Part 4, TCP Data Flow & Socket API: http://www.saminiir.com/lets-code-tcp-ip-stack-4-tcp-data-flow-socket-api/
- Part 5, TCP Retransmission: http://www.saminiir.com/lets-code-tcp-ip-stack-5-tcp-retransmission/See [Getting Started](Documentation/getting-started.md).
For development documentation, start with [Development](Documentation/development.md).
# Reference works
* Linux kernel TCP/IP stack, [source code](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/net/ipv4)
* picoTCP, [source code](https://github.com/tass-belgium/picotcp)
* Xiaochen Wang's TCP/IP stack, [source code](https://github.com/chobits/tapip)# License
See [LICENSE.md](LICENSE.md) (MIT)