Centroid.EU Blog
(this blog is mostly encrypted - adults only)
|
Previous Page
March 2nd, 2010
Well I finally got around to
wildcarddnsd again and trashed
all stuff I wrote
for it. That was yesterday. I was able to hack up some new stuff that uses a
sort of firewall ruleset to determine where a nameserver comes from and then
serve based on that information to which server the request should go. I
got it running in beta (centroid.eu) watch closely.
The following is a ping from proteus (germany) to centroid.eu, the IP it
gives is proteus itself (also germany).
pjp@proteus:~/blog> ping -c 1 centroid.eu
PING centroid.eu (62.75.160.180) 56(84) bytes of data.
64 bytes from proteus.solarscale.de (62.75.160.180): icmp_seq=1 ttl=64 time=0.06
3 ms
--- centroid.eu ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.063/0.063/0.063/0.000 ms
The next is a ping from dione (panama) to centroid.eu. The IP it gives is
dione itself, similar to the above ping:
goldflipper% ping -c 1 centroid.eu
PING centroid.eu (200.46.208.61): 56 data bytes
64 bytes from 200.46.208.61: icmp_seq=0 ttl=64 time=0.027 ms
--- centroid.eu ping statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.027/0.027/0.027/0.000 ms
Now there has been a few ethical debates whether DNS should "lie" or not
and I think in favour of loadbalancing it should lie and tell an IP that's
closest to the client. This is still in beta and I'm watching it closely
and then I'll merge it into HEAD.
PS: I've balanced it in such a way that IP's comeing from RIPE and APNIC go
to the server in Germany, and ARIN and LACNIC go to the server in Panama.
I haven't dealt with the other regions yet, they may get defaulted to LACNIC.
0 comments
The Hunter and his dog
February 27th, 2010
Yesterday I was able to see the starsky again. I took these pictures of
Sirius and Orion through the trees.
0 comments
Modification to webserver
February 27th, 2010
Privacy just got a lot better when you visit this website. According to an
article in the german magazine "C't magazin fĂr Computer technik" (2010 Edition
5, page 154), the storage
of IP data is illegal. Specifically the correlation between IP and access
time. So what I've done is patch my webserver (lighttpd) accordingly to throw
out the last last 2 octets from the dotted quad. I can now roughly see which
region you're from in my logs but not who exactly you were, I'm not interested
in that anyhow but if someone wants my logs it won't give them much.
Here is the patch:
--- mod_accesslog.c..orig 2010-02-27 17:31:49.000000000 +0100
+++ mod_accesslog.c 2010-02-27 17:38:01.000000000 +0100
@@ -742,8 +742,12 @@
case FORMAT_REMOTE_HOST:
/* handle inet_ntop cache */
+ {
+ sock_addr myaddr = con->dst_addr;
+ myaddr.ipv4.sin_addr.s_addr &= 0x0000fff
f;
- buffer_append_string(b, inet_ntop_cache_get_ip(s
rv, &(con->dst_addr)));
+ buffer_append_string(b, inet_ntop_cache_
get_ip(srv, &myaddr));
+ }
break;
case FORMAT_REMOTE_IDENT:
A typical log looks like this then:
66.230.0.0 solarscale.de - [27/Feb/2010:17:46:46 +0100] "HEAD /public/rfc2516nc.
mp3 HTTP/1.1" 200 0 "http://www.deezer.com" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
The other VPS I have in Panama I'm not going to do this patch because I'm unsure
of what the legalities there are there. This should only affect the centroid.eu
domain though and if you wish to read only from the german server use
solarscale.de. Cheers!
0 comments
The Internet Meltdown
February 18th, 2010
Yesterday I watched a Google Tech Talk on
IPv6
and specifically what transition technologies exist today. The speaker
basically thinks we'll have a meltdown near the end of 2011 but seemed very
calm about it. I yahoo'ed for it and found this
article
as well. Over here I've got IPv6 connectivity but I'm wishing that my VPS
would have it as well and I've asked about it repeatedly. Maybe by next
year, I'm hoping, as being available in both IPv4 and IPv6 land is a must after
we run out of addresses.
0 comments
OpenSMTPD bug (DoS) fixed
February 17th, 2010
Yesterday I found this bug with Mouring on IRC. Basically if you have a very
long string for an email address the smtpd will quit with a truncation error
in lowercase(). Gilles Chehade put in this
fix, revision 1.99 of lka.c, this morning (it should be noted it's Gilles
fix, we only identified the bug and wrote to him). Everyone should update to
this version or their smtpd will cease working when the DoS comes around that
came around to Mouring.
0 comments
Bruce Schneier has a new book out!
February 15th, 2010
Bruce Schneier has written a new
book. I've already ordered this and it should be delivered by march 30th,
it'll be released march 15th.
0 comments
Winter Star Sky
February 8th, 2010
Yesterday for the first time this year the cloudy sky went away and I was
able to use my dads camera to make photos of the star sky.
Check out more processed photos here.
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
|