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

Make special-case exemptions for blocking 0.0.0.0 and 255.255.255.255 #19

Open
EvanAnderson opened this issue Sep 24, 2014 · 2 comments

Comments

@EvanAnderson
Copy link
Owner

Make sure the script can't block 0.0.0.0 and 255.255.255.255.

That shouldn't ever happen, since the only way the script gets IP addresses is from IPs that failed logons from the Event Log, but it's not a big deal to special-case except them anyway.

@greatquux
Copy link

This actually just happened to me on a production server. Knocked everyone out. I will add a simple check to avoid these being blocked.

greatquux added a commit to greatquux/ts_block that referenced this issue Mar 31, 2017
@greatquux
Copy link

I also had to add a special case exemption for 127.0.0.1 as I noticed this IP being added too. Of course any of these can be added to the simple Whitelist but it's best to hardcode these IPs as they can't be properly unblocked and server must be rebooted to fix network communications.

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

No branches or pull requests

2 participants