推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
echoechoin
V2EX  ›  Python

借鉴 level-ip 和 tapip 用 Python 写了一个 tcp/ip 协议栈

  •  
  •   echoechoin · Nov 10, 2022 · 3057 views
    This topic created in 1305 days ago, the information mentioned may be changed or developed.

    https://github.com/echoechoin/teeceepee2

    抄袭借鉴 level-ip 和 tapip 用 python 写了一个 tcp/ip 协议栈,没有任何测试代码,仅仅能跑起来。。。

    level-ip: https://github.com/saminiir/level-ip

    tapip: https://github.com/chobits/tapip

    4 replies    2022-11-10 13:22:37 +08:00
    zhlxsh
        1
    zhlxsh  
       Nov 10, 2022 via iPhone   ❤️ 1
    很厉害👍
    lookStupiToForce
        2
    lookStupiToForce  
       Nov 10, 2022   ❤️ 1
    有意思
    wwqgtxx
        3
    wwqgtxx  
       Nov 10, 2022   ❤️ 1
    有点意思
    echoechoin
        4
    echoechoin  
    OP
       Nov 10, 2022 via Android
    主要的收包原理和 openvpn 类似,用的 linux 的 tap 虚拟设备。 看了 level-ip 中的教程, 对 arp 缓存,路由,环回接口和 tcp 状态机都有了更深的理解。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3113 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 14:06 · PVG 22:06 · LAX 07:06 · JFK 10:06
    ♥ Do have faith in what you're doing.