db1000n icon indicating copy to clipboard operation
db1000n copied to clipboard

Put attack on hold when VPN is disabled

Open Geniy00 opened this issue 2 years ago • 4 comments

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

Geniy00 avatar May 02 '22 19:05 Geniy00

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)

arriven avatar May 04 '22 13:05 arriven

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

Geniy00 avatar May 04 '22 15:05 Geniy00

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

tony1492 avatar May 05 '22 01:05 tony1492

Implemented it in https://github.com/Arriven/db1000n/commit/8951bbb66d98262e869bd4ca15ffc68fe6480c09 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

arriven avatar May 08 '22 10:05 arriven