Giter Site home page Giter Site logo

injbg3's Introduction

injbg3

博德之门3联机-基于IP的游戏发现

公网 UDP 单播联机,不再需要虚拟局域网!

利用 Hook 技术,拦截游戏对 UDP 的发送、接收等操作,实现基于 IP 的游戏发现和联机

至此,博德之门3联机不再需要诸如 n2n, OpenVPN, Hamachi 等虚拟局域网,直接公网联机!

主要实现以下两点

  • 拦截客户端发现服务器时发出的 UDP 广播包,将其改为单播到指定服务器 IP,实现稳定的游戏发现 (IPv4/IPv6)
  • 对于 IPv6
    • 重定向对 0.0.0.0 的监听到 [::0]
    • 建立 FakeIP 表,将 IPv6 地址映射到 127.0.127.1 ~ 127.0.127.100 并提供给 文明6 虚假的 IPv4 地址 (实现原理同 Clash 的 FakeIP)

暂时还在 injciv6 的 branch 上,当然功能已经可以用了,移步injbg3

injbg3's People

Contributors

xaxys avatar

Stargazers

 avatar  avatar  avatar  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.