Comments (2)
In the code, specifically parsing.rs
on line 53 a check is made for urn:schemas-upnp-org:service:WANIPConnection:1
, the closest thing I have in my xml is urn:schemas-upnp-org:service:WANPPPConnection1
and changing it to that gets the example to run. I don't really have much experience with networking but all routers in South Africa use PPP as far as I know, perhaps I could open a pull request to check for either of the above and use the appropriate one?
from rust-igd.
Added some code to #40 that could possibly make the search_gateway() function a little more versatile, thanks @sbstp for merging! 👍
from rust-igd.
Related Issues (18)
- Feature: Support port mappings HOT 3
- IGD 2.0 support HOT 4
- Use rustdoc for documentation
- Feature: Support parsing of the device's information
- GetListOfPortMappings()
- Support WANPPPConnection service type
- Support InternetGatewayDevice:2 HOT 1
- Move to hyper
- Future/Tokio compatible HOT 6
- Problems with signal traps since 0.7 HOT 16
- Improve error handling, remove unwraps/panics
- IPv6 support
- Wrong order of arguments in AddPortMapping HOT 1
- Add a timeout/deadline to the udp socket HOT 1
- search_gateway() fails on dual-stack LAN HOT 2
- upgrade to [email protected]
- Proper XML parsing HOT 3
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 rust-igd.