Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put attack on hold when VPN is disabled #525

Open
Geniy00 opened this issue May 2, 2022 · 4 comments
Open

Put attack on hold when VPN is disabled #525

Geniy00 opened this issue May 2, 2022 · 4 comments

Comments

@Geniy00
Copy link

Geniy00 commented May 2, 2022

I'd like to suggest the next improvement:
It could be much safer to put the attack on hold when VPN is disabled.
I'm using my Windows 10 to run db1000n together with some VPN application. Sometimes when I have network issues my VPN application can be closed or disabled automatically, but db1000n continues attack. It leads to situations when another side could understand that my IP sends too many requests.

I'd like to have some argument, that allows to pause the attack if my IP belongs to my original country. The logs could show the message like: "Please turn on VPN". It could be good to check my current IP every 1-5 seconds

@arriven
Copy link
Owner

arriven commented May 4, 2022

would it work for you if the app would just crash/exit in that scenario and you had to restart it? assuming that you'd have to restart your vpn app anyway it feels like I could kill 2 birds with one stone that way (see linked issue above)

@Geniy00
Copy link
Author

Geniy00 commented May 4, 2022

It will work for me.

I understand that some calls can be sent to the goal under attack, and my real IP can be leaked, but I think it's a good reason to stop attack ASAP

@tony1492
Copy link

tony1492 commented May 5, 2022

That is best idea hopefully that will work with linux too lol !

@arriven
Copy link
Owner

arriven commented May 8, 2022

Implemented it in 8951bbb
You'll need a combination of --strict-country-check and --country-check-interval <interval> to have a desired effect

The release should be available soon, I just want to check if everything works correctly first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants