推荐学习书目
› 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 · 3358 views
    This topic created in 1474 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
    zhlxsh
    Nov 10, 2022 via iPhone❤️1
    1
    很厉害👍
    lookStupiToForce
    lookStupiToForce
    Nov 10, 2022❤️1
    2
    有意思
    wwqgtxx
    wwqgtxx
    Nov 10, 2022❤️1
    3
    有点意思
    echoechoin
    echoechoin
    OP
    Nov 10, 2022 via Android
    4
    主要的收包原理和 openvpn 类似,用的 linux 的 tap 虚拟设备。 看了 level-ip 中的教程, 对 arp 缓存,路由,环回接口和 tcp 状态机都有了更深的理解。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2163 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 14:25 · PVG 22:25 · LAX 06:25 · JFK 09:25
    ♥ Do have faith in what you're doing.