BAD crawler / scraper ip address blacklist

IPv4 blacklist http-dos related activity, bad bot, fast user agent switching. Not included: italian IP address, googlebot.com, yandex.ru,baidu.com,yahoo.net,amazon,cloudflare https://www.texilee.it/bad-crawler-scraper-ip-address-blacklist

20/02/2024   blacklist, DDOS, ipset

body / header rules spamassassin

/etc/spamassassin/local.cf header LOCAL_ET_PHISHINGIe ALL =~ /(Antonio Balajadia|gocompany.top>|godatastamp.top|expresscourier.icu)/iscore LOCAL_ET_PHISHINGIe 20.1 body LOCAL_ET_URL_RULEea /(Password\ archivio|equipamentosmix|daprofesional.com|cse-engineer.com|psyberhawk.com|muebleslostroncos.cl)/iscore LOCAL_ET_URL_RULEea 20.1

03/11/2020   Spamassassin

Spamassassin channel

/etc/cron.hourly/sa-update sa-update –nogpg –channel updates.spamassassin.org retval=”$?” if [ $retval -eq 0 ]; then compile=1; fi sa-update –nogpg –channel spamassassin.heinlein-support.de retval=”$?” if [ $retval -eq 0 ]; then compile=1; fi sa-update –nogpg –channel sa.schaal-it.net retval=”$?” if [ $retval -eq 0 ]; then compile=1; fi

03/11/2020   Spamassassin

Fail2Ban Whitelist Cloudflare IP

edit /etc/fail2ban/jail.conf “ignoreip” can be an IP address, a CIDR mask or a DNS host. Fail2ban will not ban a host which matches an address in this list. Several addresses can be defined using space separator. ignoreip = 127.0.0.1/8 173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/12 172.64.0.0/13 131.0.72.0/22

03/11/2020   Linux

Change default php version Ubuntu/Debian

update-alternatives –set php /usr/bin/php7.Xupdate-alternatives –set phar /usr/bin/phar7.Xupdate-alternatives –set phar.phar /usr/bin/phar.phar7.Xupdate-alternatives –set phpize /usr/bin/phpize7.Xupdate-alternatives –set php-config /usr/bin/php-config7.X

03/11/2020   Linux, Php

MegaCLI tiny cheat sheets

MegaCLI SAS RAID Management Tool Ver 8.00.46 Feb 03, 2011 MegaCli -EncInfo -aN|-a0,1,2|-aALL MegaCli -PhyInfo -phyM -aN|-a0,1,2|-aALL MegaCli64 -LDInfo -Lall -aALL MegaCli -LdPdInfo -aALL MegaCli -AdpEventLog -GetEventLogInfo -aALL

19/05/2011   Linux

KVM start vm CLI – Proxmox

/usr/bin/kvm -monitor unix:/var/run/qemu-server/103.mon,server,nowait -vnc unix:/var/run/qemu-server/103.vnc,password -pidfile /var/run/qemu-server/103.pid \ -daemonize -usbdevice tablet -name grunt -smp sockets=2,cores=1 -nodefaults -boot menu=on -vga cirrus -tdf -k it \ -drive file=/dev/drbdvg/testlv,if=ide,index=0,cache=none,boot=on -drive file=/var/lib/vz/template/iso/ubuntu-9.04-server-amd64.iso,if=ide,index=2,media=cdrom -m 2048 \ -netdev type=tap,id=vlan0d0,ifname=tap103i0d0,script=/var/lib/qemu-server/bridge-vlan -device rtl8139,mac=5A:19:1D:DA:E1:BD,netdev=vlan0d0 -balloon virtio

19/05/2011   KVM