Giter Site home page Giter Site logo

Unblock for 10 Min about pcapdroid HOT 10 CLOSED

smexyy avatar smexyy commented on June 11, 2024
Unblock for 10 Min

from pcapdroid.

Comments (10)

emanuele-f avatar emanuele-f commented on June 11, 2024 1

I reproduced this. The bug occurs when the device enters deep sleep, as https://developer.android.com/reference/android/os/SystemClock#uptimeMillis() does not count time spent sleeping

from pcapdroid.

emanuele-f avatar emanuele-f commented on June 11, 2024

Hello, is the hourglass icon still displayed after the 10 minutes pass? Does the same happen with other apps like chrome?

from pcapdroid.

smexyy avatar smexyy commented on June 11, 2024
  • Yes still displayed after the 10 M ,1H ,8 H.
  • Yes For any/other apps
  • And the connection keep open and I have to manually block it.

from pcapdroid.

emanuele-f avatar emanuele-f commented on June 11, 2024

@smexyy in the screenshot above, I can see the checkmark icon ✅, which indicates that the firewall is working in whitelist mode (block everything except the whitelisted apps) and that whatsapp is whitelisted, so this is why the app is unblocked even if the grace period has ended.
The bug to fix here is that PCAPdroid allows you to temporary unblock an app which is already whitelisted.

Edit: actually block rules co-exist with whitelist rules, as explained in the whitelist help dialog, so this is not the case

from pcapdroid.

emanuele-f avatar emanuele-f commented on June 11, 2024

I've tested this on Android 14 and could not reproduce it. Please try with this beta APK and post here the App log, which you can find in the left drawer of PCAPdroid

2023-12-25_18-34

from pcapdroid.

smexyy avatar smexyy commented on June 11, 2024

@smexyy in the screenshot above, I can see the checkmark icon ✅, which indicates that the firewall is working in whitelist mode (block everything except the whitelisted apps) and that whatsapp is whitelisted, so this is why the app is unblocked even if the grace period has ended. The bug to fix here is that PCAPdroid allows you to temporary unblock an app which is already whitelisted.

Edit: actually block rules co-exist with whitelist rules, as explained in the whitelist help dialog, so this is not the case

I add some apps in whilelist and add the same apps in blocklist, and when I need to allow connection, I allow the app for 10 Min use and it will auto block again after grace period end. this issue happen only with my pixel 6a not my other phone which is the same setup.

from pcapdroid.

emanuele-f avatar emanuele-f commented on June 11, 2024

I see, I will need the log to investigate further

from pcapdroid.

smexyy avatar smexyy commented on June 11, 2024

Hello, is the hourglass icon still displayed after the 10 minutes pass? Does the same happen with other apps like chrome?

I tested now and seems not all apps, it random apps. after 10 min it takes some time to revert back to block sign again.

from pcapdroid.

anpic avatar anpic commented on June 11, 2024

I tested now and seems not all apps, it random apps

I think it's not about PCAPdroid. Although PCAPdroid has strange global permissive rules. But in the worst case they will only lead to DNS leaks.
And here something is probably interfering with the firewall. Try to turn on Always-on VPN and Block connections without VPN for PCAPdroid in VPN system settings.
It would be useful to look at all PCAPdroid settings in general. But this requires the feature of exporting them but Emanuele denies the need for this feature :(

from pcapdroid.

emanuele-f avatar emanuele-f commented on June 11, 2024

I tested now and seems not all apps, it random apps. after 10 min it takes some time to revert back to block sign again.

@smexyy please provide the app log as explained in #390 (comment), it's necessary to proceed with the troubleshooting

from pcapdroid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.