Comments (2)
I found some interesting fact surrounding multicast address maybe?
On Windows machine, if you started Wireshark/Npcap to capture packets, the interface metric actually favors Wireshark (because it needs to be high up enough to capture traffic of course) but for some reason Npcap didn't forward the multicast to the main interface, thus the packet never had a chance to go to my main router.
I've experience similar problem of you, and if anyone having the same issue and also on Windows, this might be a special case worth checking out.
I have to specifically listen on my local address that's listed on my main interface to get around with this. The brute force solution would be to find all possible interfaces, listen and send IGD request to all of them, and then randomly select any valid/ok result.
from rust-igd.
I solved this issue using the "local_ip_address" crate and passing the local ip it resolves to the search_gateway function:
from rust-igd.
Related Issues (17)
- 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
- search_gateway(), IO error: Resource temporarily unavailable (os error 11) HOT 2
- 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
- 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.