Spamhaus daily bad IP autoblocker script
curl -s https://www.spamhaus.org/drop/drop.txt >drop.txt
cut -d' ' -f 1 drop.txt >drop2.txt
mv drop2.txt drop.txt
grep -v '^{;}' drop.txt >drop2.txt
echo "#!/bin/sh" >script
cat drop3.txt | while read line
do
# $line="$line{var ;*}"
echo iptables -A INPUT -s $line -j DROP >>script
echo iptables -A OUTPUT -s $line -j DROP >>script
done
curl -s https://www.spamhaus.org/drop/edrop.txt >drop.txt
cut -d' ' -f 1 drop.txt...
Sysctl.conf example security settings
There are probably better ways of doing this, buuuuttt....
kernel.printk = 4 4 1 7 kernel.panic = 10 kernel.sysrq = 0 kernel.shmmax = 4294967296 kernel.shmall = 4194304 kernel.core_uses_pid = 1 kernel.msgmnb = 65536 kernel.msgmax = 65536 vm.swappiness = 20 vm.dirty_ratio = 80 vm.dirty_background_ratio = 5 fs.file-max = 2097152 net.core.netdev_max_backlog = 262144 net.core.rmem_default = 31457280 net.core.rmem_max =...
Example iptables firewall #security
Use at your own risk. There are probably better ways to do this, and I use this (and more)....you may want to open or close more ports depending on what you want to do.
### 1: Drop invalid packets ### /sbin/iptables -t mangle -A PREROUTING -m conntrack --ctstate INVALID -j DROP
### 2: Drop TCP packets that are new and are not SYN ### /sbin/iptables -t mangle -A PREROUTING -p tcp ! --syn -m conntrack --ctstate NEW -j DROP ### 3: Drop SYN packets with...
Connectivity issues?
internet outage in the NE?
The article sounds like finger pointing galore....
https://abcnews.go.com/Technology/wireStory/widespread-internet-outages-hit-northeast-us-75494318
Thank you Simon Parkes
Press Release 1#
Press Release 1#
Everyone is distracted. Now is the time to get back into academia. I’m going to really try and improve my life and push it the extra mile. I have started working out and I’ve been regaining my strength. My medical issues had gotten in the way, the NHS has huge problems. I got setback for a little bit, but I’ve bounced back.
I need to focus my will here. I really do. I got all the pieces ready, I just need to get them set. 2020 has been my best year to...
Let's kick it in gear!
LOONY Inc.
It's time to kick in gear
Oh hey! It's been a long time! Things have been crazy in my life. But I'm trying really hard to be a success. Navigating the world has been nuts. But I've been moving up. I'm from the streets, self-made. I'm not bragging. I want others to say the same. I've been focusing on my local life and try to lead with the lessons Trump taught me. It's working out!!!
I need to go more professional. So I need to get used to writing documents. What I...
Sayfa Oluştur
Read More
Kim Jong’s Ill?
https://archive.ph/MyBXS
So, yeah, you probably heard by now that old Majin Un finally crawled...
Österreich: Bitte unbedingt die Petition der FPÖ gegen die Zwangsimpfungen unterschreiben!!
Unser Klubobmann und Bundesparteiobmann-Stellvertreter Herbert Kickl hat heute einen...
Insurer Must Defend Those Chosen by the Named Insured
When Insurer Let’s Insured Unilaterally Choose Additional Insureds it has no Standing to...
Zalma's Insurance Fraud Letter - December 1, 2020
ZALMA’S INSURANCE FRAUD LETTER DECEMBER 1, 2020
Read the full Zalma's Insurance Fraud...