Comments (8)
- Can you confirm whether both Downloads folder & Logcat did not work?
The 'Logcat' option seems to work fine. The 'Downloads folder' option creates a file successfully - the file just isn't correctly formatted.
- For Downloads folder, make sure Rethink has been granted access to write to the external storage.
The first time I tried it, it prompted me to grant that, and I did. I wondered whether the header had been lost as a result of that somehow, but I tried it a second time with the permission already granted, and it failed the same way.
I've had a chance to examine the broken files more closely. It looks like they're missing the initial global header, and instead begin with the first packet header. (Enough network activity happens in the background that I don't know whether any actual packets from the beginning are being lost or not.) I don't see any sign of the global header (D4C3B2A1
etc.) anywhere else in the file - it seems to just be missing.
from rethink-app.
I just did some more testing, and it seems like once I start capturing (to either a file or logcat), it keeps going even after I turn it back off. Turning Rethink off and back on seems to stop the capture.
Yikes.
rethink-app/app/src/main/java/com/celzero/bravedns/service/BraveVPNService.kt
Lines 1714 to 1722 in 02eda85
Network engine (vpnAdapter
) must be instructed to stop capturing before the return
on line 1718.
from rethink-app.
Fix: 3788577
from rethink-app.
Just got 055g through F-Droid, and this seems to be fixed. I've tested both Logcat and Downloads folder modes, and they both seem to stop immediately when I change the setting again. Thanks!
from rethink-app.
🤦 Sorry, I think perhaps I wasn't quite fully awake yet when I posted that, because I completely forgot to check on the thing this issue was originally about. But I can confirm that the new .pcap files seem to have the proper header, and are loaded correctly by Wireshark.
from rethink-app.
This is helpful. I think the ongoing "improvements" we are making where we never restart the network engine (regardless of whether the VPN service is restarted) might have caused this.
from rethink-app.
Could be. I also noticed that one of the test files kept getting written to for a long time after I thought I had stopped it, ending up over 2 GiB. I had convinced myself that I just missed stopping the capture somehow, but I just did some more testing, and it seems like once I start capturing (to either a file or logcat), it keeps going even after I turn it back off. Turning Rethink off and back on seems to stop the capture.
from rethink-app.
Thanks for confirming. The pcap file isn't malformed anymore, is it?
from rethink-app.
Related Issues (20)
- General firewall: Allow apps to internet when proxy is ON HOT 3
- Block internet access when not in use/locked on app level HOT 1
- Fallback VPN HOT 6
- Rethink DNS App Accessibility Settings Blocked on Android 13 HOT 1
- Option to block port 80 breaks HTTPS HOT 2
- Firewall blocking for suspended apps HOT 3
- Feature request: Using IPinfo IP to Country ASN database HOT 1
- WireGuard-connection fails because using ipv6 HOT 5
- v055m: Always crash while starting-up the app on 32bit HOT 2
- Application rules do not disappear on uninstallation of app HOT 1
- Logs mixed up after uninstalling apps HOT 3
- Per-app logs older than 7 days HOT 3
- Clicking on Action required should open the app page HOT 2
- Virtual Hosts File HOT 1
- v055l (F-Droid): Connection of Fritz apps interrupts / Unstable WireGuard connection HOT 1
- Local domains trying to get resolved by system DNS HOT 2
- App keeps stopping HOT 1
- Re-start the app after updates automatically HOT 3
- Fatal Exception: java.lang.IllegalStateException: Unable to load publicsuffixes.gz resource from the classpath. HOT 3
- V055m: phone is not receiving messages if screen is off or app is not in the foreground
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 rethink-app.