Comments (5)
This should be fixed in 1bb6ae3 . Can you try the debug apk https://github.com/emanuele-f/PCAPdroid/blob/debug-apks/PCAPdroid-debug-1bb6ae3.apk and confirm it works? Please note that you will need to manually uninstall the old apk in order to install this.
from pcapdroid.
Thank you for such a quick response!
I've installed the debug apk and I was able to capture the traffic from the app to the backpack and back, if the connection had been established before the capture start.
However, if I first started the capture and then tried to initiate the connection, it didn't work.
So this is the capture, when I
- Connect successfully to the backpack
- Start the PCAP capture
- Send some commands from the app to the backpack
capture 1
And this is the capture, where I
- Start the PCAP capture
- Cannot connect to the backpack
capture 2
I guess the reason may be the source of the response, which is 255.255.255.255
from pcapdroid.
"capture 2" shows that the UDP connection is now handled correctly. I've also tested it with a UDP tester app on android and I can correctly receive the UDP broadcast response.
The led space application may employ some checks on the local network which prevent the connection from happening, e.g. 192.168.43.1 is not into the main network of the phone, which is 10.215.173.0/24 due to the VPN. For this reason I would consider this issue as solved, unless you can prove that the UDP broadcast is not handled correctly.
from pcapdroid.
I think this line could be changed to something like
if(conn->tuple.dst_ip.ip4 == INADDR_BROADCAST) {
ip->saddr = gateway_IP;
}
else ip->saddr = conn->tuple.dst_ip.ip4;
to simulate a more real response, but my applied goal is now achievable, thanks to you, so I'm OK with closing the bug.
from pcapdroid.
You assume that the reply comes from the gateway IP, but this may not be the case, for example it may come from another device into your LAN.
from pcapdroid.
Related Issues (20)
- Pvapdroid
- no network connection in specific app when using PCAPDroid HOT 12
- Log: [AppsResolver] Could not retrieve package HOT 1
- Filtering by Prepared Hosts HOT 1
- sslkeylogfile.txt produces "Duplicated entry" warnings in scapy, fails to decrypt traffic HOT 2
- PCAPdroid Trailer not work,lua plugin is loaded normally HOT 8
- Feature request: Geo location block
- ICMP traffic not available HOT 2
- App crashes on Android permissions reset
- Start on boot doesn't seem to work HOT 3
- High cpu usage when use it through root mode, and libcapd.so process doesn't be killed HOT 6
- Implement PCAPdroid trailer equivalent in pcapng
- Garbage characters in PCAPdtoid trailer app name HOT 6
- Save mitmproxy capture HOT 1
- I want to thank those for being patient with me. I didn't know anything about the internet until I got hacked. I have a big problem with reading much more than 2 sentences and I loose focus and skip a quarter page.
- Add network interface information HOT 1
- Mention the Blacklist source when Malware connection is detected and other disclosures HOT 3
- Improve connections error reporting
- PCAPdroid block Eset Endpoint Security virus signature updates. HOT 4
- Tips to see all truncated data? HOT 8
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 pcapdroid.