Centroid.EU Blog
(this blog is mostly encrypted - adults only)
|
Previous Page
August 29th, 2019
Today I got shaving foam and razor at the supermarket. Then in the late
morning I shaved it all off. There is a red area on my chin, I may have
to seek a skin doctor if this doesn't naturally go away. It was probably
the area that I had dandruff on. It won't be snowing on my shirts anymore.
0 comments
Server replaced after a 48 hour downtime
August 29th, 2019
My provider has replaced the server (except harddrives). I am so sorry for
the downtime, but we have more RAM now and overall a speedier server.
Hopefully the problem was not software related, but we couldn't even get on
console of the old one it was frozen up every time. Time will tell.
0 comments
Longer outtage on centroid.eu
August 28th, 2019
I just restored the computer, the provider put new RAM in it. Let's hope it
stays up now. Sorry for the inconvenience according to my records the box
was down since 9:01PM yesterday.
0 comments
Downtime on centroid.eu
August 27th, 2019
Sorry for any inconvenience this has caused. The server went down at 9:47AM and was restored at 12:49PM in the afternoon, a three hour outtage.
0 comments
Safari is scary
August 24th, 2019
I was browsing Wetter.com for the weather stats and it automatically downloaded
something (a supposed anti-virus) in my Downloads directory. I'm reinstalling
my Mac OS come Monday. What a PITA (pain in the ass). Oh yes I immediately
turned off javascript.
0 comments
A week of synfloods
August 24th, 2019
Since about the 16th I've noticed a subtle synflood emanating from up to
160 /24's on mostly cloud providers. For the last day or so this has gone
down to a trickle and I assume it's only testing the water or so.
I learned a lot about netfilter and pf this week. For one in pf when you
do a os fingerprinting there is no statistics in a pfctl -srules -vv on
fingerprinted packets. Finally I applied the synproxy rules on my openbsd
servers with:
pass in quick on em0 proto tcp from any to $kite_ip port { 53 } synproxy state
On Linux the story is a bit different. At first I applied the hosts that were
synflooding me with a small script, such as this:
#!/bin/sh
netstat -na | awk '/SYN_REC/ {print $5}' | awk -F: '{a = split($1, b, "."); prin
tf("%s.%s.%s.0/24\n", b[1], b[2], b[3]); }' | sort -u |\
while read i; do
iptables -L -v -n | awk '{ print $8 }' | grep -q $i
if [ $? -eq 1 ]; then
iptables -A SYNNERS --proto tcp -s $i --dport 53 -j DRO
P
iptables -A SYNNERS --proto tcp -s $i --dport 80 -j DRO
P
iptables -A SYNNERS --proto tcp -s $i --dport 443 -j DR
OP
fi
done
exit 0
But that can only go so far, then I analysed the SYNflood packets closer,
immediately I realized that the window size was 29200 bytes. This is the
window size of some Linux'es. But they differ in that this synflood did not
apply any options (making it a 1st generation exploit), making it easy to
filter. I have made another script to install the filters:
iptables -F INPUT
iptables -F NORMALIP
iptables -A INPUT --proto tcp --dport 53 -m u32 --u32 "0&0x0f000000>>24=5" -j NO
RMALIP
iptables -A NORMALIP --proto tcp --dport 53 -m u32 --u32 "0&0x000000ff=0x28 && 3
2&0x0000ffff=0x7210" -j DROP
iptables -A INPUT --proto tcp --dport 53 --j SYNNERS
What the first u32 rule does is it finds "normal" IPv4 headers that don't have
options, (and are thus) of 20 bytes length. This allows it to traverse into
the NORMALIP table where IP length of 40 bytes is checked and the window size
of 29200 bytes. For most Linux'es that use a win size of 29200 bytes this is
ok because they add the TCP MSS option on SYN when connecting, thus increasing
their IP length beyond 40 bytes.
While this was a great way to spend time with colleagues and friends on IRC
(because they had synfloods as well), I got little delphinusdnsd programming
done this week (which I had originally planned). Oh well.. maybe next week!
As far as the synflooder it's hard to know what it is. I suspect it's a worm
that uses spectre to break into other cloud hosts and then installs a syn-
flooder. But it's only a guess.
0 comments
EuroBSDCon 2019 in Lillehammer, Norway
August 18th, 2019
In almost exactly one month is Eurobsdcon in beautiful Norway. Unfortunately
I won't be going. But I recommend anyone who thinks they are somewhat good
with the BSD's to go meet the people that frequent BSDCon's. A lot can still
be learned, and getting together in Norway makes a nice setting.
0 comments
RIP MrBill
August 16th, 2019
The news has reached me that mrbill died. Sad. 1990's Efnet IRC is where
we all sat and chatted. Best of times! You can compare now with then and
back then everyone was just ok. I'm sure someone has logs of those days,
but it was one thing to read logs and another to have a socket connected and
view things in real time.
0 comments
Next Page
|
Search
RSS Feed
Click here for RSS
On this day in
Other links
Have feedback?
By clicking on the header of an article you will be
served a cookie. If you do not agree to this do not
click on the header. Thanks!
Using a text-based webbrowser?
... such as lynx? Welcome back it's working again for the time being.
Older Blog Entries
November, 2023
October, 2023
September, 2023
August, 2023
July, 2023
June, 2023
May, 2023
April, 2023
March, 2023
February, 2023
January, 2023
December, 2022
November, 2022
October, 2022
September, 2022
August, 2022
July, 2022
June, 2022
May, 2022
April, 2022
March, 2022
February, 2022
January, 2022
December, 2021
November, 2021
October, 2021
September, 2021
March, 2021
February, 2021
January, 2021
December, 2020
November, 2020
October, 2020
September, 2020
August, 2020
July, 2020
June, 2020
May, 2020
April, 2020
March, 2020
February, 2020
January, 2020
December, 2019
November, 2019
October, 2019
September, 2019
August, 2019
July, 2019
June, 2019
May, 2019
April, 2019
March, 2019
February, 2019
January, 2019
December, 2018
November, 2018
October, 2018
September, 2018
August, 2018
July, 2018
June, 2018
May, 2018
April, 2018
March, 2018
February, 2018
January, 2018
December, 2017
November, 2017
October, 2017
September, 2017
August, 2017
July, 2017
June, 2017
May, 2017
April, 2017
March, 2017
February, 2017
January, 2017
December, 2016
November, 2016
October, 2016
September, 2016
August, 2016
July, 2016
June, 2016
May, 2016
April, 2016
March, 2016
February, 2016
January, 2016
December, 2015
November, 2015
October, 2015
September, 2015
August, 2015
July, 2015
June, 2015
May, 2015
April, 2015
March, 2015
February, 2015
January, 2015
December, 2014
November, 2014
October, 2014
September, 2014
August, 2014
July, 2014
June, 2014
May, 2014
April, 2014
March, 2014
February, 2014
January, 2014
December, 2013
November, 2013
October, 2013
September, 2013
August, 2013
July, 2013
June, 2013
May, 2013
April, 2013
March, 2013
February, 2013
January, 2013
December, 2012
November, 2012
October, 2012
September, 2012
August, 2012
July, 2012
June, 2012
May, 2012
April, 2012
March, 2012
February, 2012
January, 2012
December, 2011
November, 2011
October, 2011
September, 2011
August, 2011
July, 2011
June, 2011
May, 2011
April, 2011
March, 2011
February, 2011
January, 2011
December, 2010
November, 2010
October, 2010
September, 2010
August, 2010
July, 2010
June, 2010
May, 2010
April, 2010
March, 2010
February, 2010
January, 2010
December, 2009
November, 2009
October, 2009
September, 2009
August, 2009
July, 2009
June, 2009
May, 2009
Powered by BCHS
|