Comments (1)
My apologies for not getting back to you sooner. To be honest I'm not a STUN expert at all. I just happened to need this module, saw that one existed (thanks to original author gaohawk), and noticed it wasn't available on PyPI so I decided to fix that situation. Nevertheless, doing some quick web searches for a STUN server in Python didn't return much, however, this looks sort of promising:
https://github.com/myrual/python-stun/blob/master/htcp/p2pnetwork/stun/stun.py#L195
I'm not sure if it even runs let alone works correctly so you'll have to do your own investigation but it's likely a good place to start. I'm going to close this now given that it's out of scope for pystun the stun client.
from pystun.
Related Issues (20)
- Is pystun still being maintained? HOT 5
- [Bug] The wrong way to determine the port restricted NAT or restricted NAT HOT 1
- [Bug] Never returns OpenInternet if explicit bind address not specified
- Stun Packet Magic Cookie Must Be `0x2112A442` HOT 1
- Installation on IronPython error
- dict_item indexing issue in Python 3.5 HOT 9
- KeyError: b'0101' issue in Python 3.5 HOT 2
- KeyError: '0100'
- NAT type detect run "Do Test3" had a BUG HOT 1
- how set passwd and username
- i think the stun server is all down, so this tool can't work well now.
- KeyError: u'0800'
- why not test mapping rules?
- TypeError: 'dict_items' object is not subscriptable HOT 2
- Fixed multiple bugs with pystun and added async support
- Broken on Python 3.11 HOT 2
- UnboundLocalError
- Logic error in handling error response HOT 2
- always getting 54320 as external port HOT 1
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.
from pystun.