mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
added ability to optionally block Korean and/or Chinese IP address blocks towards the end via a dialog box.
This commit is contained in:
parent
aca54c66bf
commit
adf7ca25ea
@ -7,6 +7,8 @@ Script is pretty self explanatory it prepares iptables, ipset, and the cron tab.
|
|||||||
This also adds persistence, and removes iptables-persistent from 1.0 as a requirement. In fact you won't need it at all. I average thousands of more malicious IP addresses now ~48,000 as of testing. Maximum ipset can handle is 65535 from what I have read.
|
This also adds persistence, and removes iptables-persistent from 1.0 as a requirement. In fact you won't need it at all. I average thousands of more malicious IP addresses now ~48,000 as of testing. Maximum ipset can handle is 65535 from what I have read.
|
||||||
Tested on Ubuntu 14.04LTS for my own servers, so please test on your own systems before fully deploying.
|
Tested on Ubuntu 14.04LTS for my own servers, so please test on your own systems before fully deploying.
|
||||||
|
|
||||||
|
I have also added the capability to block all Chinese and/or Korean IP Addresses as a good number of spam and malicious activity are linked to them. Towards the end after ipset has added thousands of IP addresses, a dialog will appear giving the option to choose if you want to block China, Korea, both, or neither. Simply select the option you desire and it will take care of the rest. The Korean and/or Chinese addresses will only update weekly, as it blocks entire IP blocks off assigned to the country/countries you have chosen. I may add more countries down the line if need be.
|
||||||
|
|
||||||
Simply run this once, and that's it.
|
Simply run this once, and that's it.
|
||||||
sudo ./install.sh
|
sudo ./install.sh
|
||||||
alon@ganon.me
|
alon@ganon.me
|
||||||
|
Loading…
Reference in New Issue
Block a user