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...
Blogs
Leia Mais
Liability Insurance
What Is Liability Insurance?
Read the full article at...
Insurer Who Pas Jury Verdict Has No Duty to Appeal
He Who Represents Himself Has a Fool for a Client
Insurer Punished For Fulfilling Terms of...
I Had A Dream
I had a dream today while taking a nap. I'm not making it up, I really dreamed this.
I was...
My Other Dream
Right before I dreamed about Joe Biden getting clubbed in the head, I dreamed that the Biden's...
Don't Sue Until You Exhaust Administrative Remedies
Suing too Soon Defeats Claim for Health Insurance Proceeds
Read the full article at...