pypwnat's People
Forkers
madtrapper koofio achillesa eastonlee michalliu qardeneden qwivan bb33bb songkl kaixinsoft mysugar dcrozz luftreich falseen pepenm u125300 pzz2011 lzufalcon xuduofeng wanyvic wbsss martiniele arryboom tyat kyzrong huangtd1995 yukiisait zezezezpypwnat's Issues
客户端如何知道服务器的外网IP的
假设客户端也在NAT 下.
我们知道,客户端是不可能接收到服务器发送的死Ping,也就是说在没有第三方服务器告诉客户端的情况下,客户端没有办法知道服务器的外网IP . 也就是说客户端不可能了解到 131.159.15.231这个IP 是服务器对应的外网IP.没有源地址我是不可能发送欺骗数据包的吧.
如果说的有错误请您告诉我具体要怎么理解,谢谢
抱歉 我看到了声明,但是客户端需要知道服务器的公网出口的话还不如用一个服务器吧
有个问题
当两个节点都知道对方的外网 IP 之后,互发 udp,但只能发到对方的 NAT 的某个端口,而不能控制自己的 NAT 用哪个端口发出,这两个端口是怎么对上的?
例如:
A 用约定的 port 2222 向 NAT_B 的 port 3333 发 udp,可是这个包是从 NAT_A 的 port 4444 发出的。同时 B 向 NAT_A 的 port 2222 发 udp(它不知道 NAT_A 把 A 的 2222 映射到 4444,无法穿透 NAT_A。同理 A 发的包也无法穿透 NAT_B。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.