This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this line after <?php in /etc/phpmyadmin/config.inc.php | |
$cfg['SendErrorReports'] = 'never'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP USER 'root'@'localhost'; | |
CREATE USER 'root'@'%' IDENTIFIED BY 'PASSWORD'; | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Некоторые провайдеры присылают при коннекте на заблокированный айпи адрес RST пакеты и коннект рвется | |
# Вот такое правило блокирует прием RST пакетов от провайдера и коннект к айпи адресу больше не рвется | |
# Это будет работать в тандеме с DNSCrypt. Поднять можно на роутере или локально на компе | |
iptables -A INPUT -p tcp -m tcp --sport 443 --tcp-flags RST RST -j DROP | |
iptables -A INPUT -p tcp -m tcp --sport 80 -m string --string "Location: http://lawfilter.ertelecom.ru" --algo bm --to 65535 -j DROP | |
iptables -A INPUT -p tcp -m tcp --sport 80 -m string --string "Location: http://info.ertelecom.ru" --algo bm --to 65535 -j DROP | |
# может без vpn еще несколько лет проживем нормально... Впн слишком избыточен для таких целей. |