Centroid.EU Blog
(this blog is mostly encrypted - adults only)
|
Previous Page
January 15th, 2012
The wait is finally over! FreeBSD released its version 9.0 a few days ago and
dedicated it to Dennis Ritchie. Here is the 9.0 Release announcement.
Also PC-BSD (which is forked from FreeBSD) released it's 9.0 version.
Here is the
release pages from its blog.
0 comments
2.97 euros for Jamaica (iTunes)
January 14th, 2012
Today I bought 5 songs off iTunes. 3 songs hail from Jamaica with the
artists Chuck Fender, Movado and Fantan Mojah who I have heard on Youtube
long enough to warrant putting some money in their pocketses. The other
two songs are from Stratford, Ontario artist Nukky Grissom who was featured
on SVPRadio last week. Good stuff. I lived in Stratford for 7 years so
I know what he talks about in his songs (especially Small Town which was one
that I bought). I can relate. I'm overall happy with the purchase.
0 comments
Setting up iked on OpenBSD (my story)
January 9th, 2012
I have two hosts. One is a vmware workstation vm called dione. The other is
an OpenBSD/macppc G4 Cube called mars. Both are seperated by a router called
uranus. In ascii it looks a little like this:
+---------+ +---------+ +---------+
| dione }----------------{ uranus }---------------{ mars |
+---------+ +---------+ +---------+
2001:a60:f074::30 X 2001:a60:f074:5::2
I want to encrypt communication with IPsec between these two hosts. Here
is what my config (/etc/iked.conf) looks like on dione:
dione# grep -v ^# iked.conf
ikev2 active esp from 2001:a60:f074::30 to 2001:a60:f074:5::2 srcid "2001:a60:f0
74::30" dstid "2001:a60:f074:5::2" psk "swearword!"
Here is what my config (/etc/iked.conf) looks like on mars:
# grep -v ^# /etc/iked.conf
ikev2 active esp from 2001:a60:f074:5::2 to 2001:a60:f074::30 srcid "2001:a60:f0
74:5::2" dstid "2001:a60:f074::30" psk "swearword!"
I also set up the following commands on dione in reference to the ikectl
manual page:
dione# ikectl ca vpn create
dione# ikectl ca vpn certificate 2001:a60:f074::30 create
dione# ikectl ca vpn certificate 2001:a60:f074:5::2 create
dione# ikectl ca vpn install
dione# ikectl ca vpn certificate 2001:a60:f074::30 install
dione# ikectl ca vpn certificate 2001:a60:f074:5::2 export
dione# scp 2001_a60_f074_5__2.tgz mars:.
mars# tar -C /etc/iked -xzpf 2001_a60_f074_5__2.tgz
Then I started /sbin/iked on both machines and typed:
dione# ipsecctl -sall
FLOWS:
flow esp in from 2001:a60:f074:5::2 to 2001:a60:f074::30 peer 2001:a60:f074:5::2
srcid IPV6/2001:a60:f074::30 dstid IPV6/2001:a60:f074:5::2 type use
flow esp out from 2001:a60:f074::30 to 2001:a60:f074:5::2 peer 2001:a60:f074:5::
2 srcid IPV6/2001:a60:f074::30 dstid IPV6/2001:a60:f074:5::2 type require
SAD:
esp tunnel from 2001:a60:f074:5::2 to 2001:a60:f074::30 spi 0x1ee7655a auth hmac
-sha2-256 enc aes-256
esp tunnel from 2001:a60:f074::30 to 2001:a60:f074:5::2 spi 0xa0f22d34 auth hmac
-sha2-256 enc aes-256
Also tcpdumping shows that the traffic is encrypted:
mars# tcpdump -v -n -i gem0 -p -X ip6 and not port 22 and not port 9999
tcpdump: listening on gem0, link-type EN10MB
22:25:09.875931 esp 2001:a60:f074:5::2 > 2001:a60:f074::30 spi 0x1ee7655a seq 24
7 len 200 [class 0x10] (len 200, hlim 64)
0000: 6100 0000 00c8 3240 2001 0a60 f074 0005 a....È2@ ..`ðt..
0010: 0000 0000 0000 0002 2001 0a60 f074 0000 ........ ..`ðt..
0020: 0000 0000 0000 0030 1ee7 655a 0000 00f7 .......0.çeZ...÷
0030: 9de0 df93 049b bddc 5c94 936c 7352 d89f .àß...½Ü\..lsRØ.
0040: 982a 9497 c2a7 3117 930b 853b a69d 89ef .*..§1....;¦..ï
0050: 94a0 a7b8 9bce fa26 339b 1845 ad7f 8637 . §¸.Îú&3..E..7
0060: 27c0 f679 6eb9 'Àöyn¹
22:25:09.876728 esp 2001:a60:f074::30 > 2001:a60:f074:5::2 spi 0xa0f22d34 seq 28
1 len 120 [class 0x10] (len 120, hlim 62)
0000: 6100 0000 0078 323e 2001 0a60 f074 0000 a....x2> ..`ðt..
0010: 0000 0000 0000 0030 2001 0a60 f074 0005 .......0 ..`ðt..
0020: 0000 0000 0000 0002 a0f2 2d34 0000 0119 ........ ò-4....
0030: 3ca6 1eb5 81c0 f64a b5a8 b2c3 b933 c896 <¦.µ.ÀöJµ¨²Ã¹3È.
0040: fa73 17cd a054 5ff9 151e b781 3b50 5972 ús.Í T_ù..·.;PYr
0050: 1d7d 2709 7dc8 c36c 8dcc e42b 0c86 e186 .}'.}ÈÃl.Ìä+..á.
0060: 927b a804 50bd .{¨.P½
If that procedure doesn't work for you I also copied the .pub key of each
respective hosts and stuck them into /etc/iked/pubkeys/ but I doubt that
made a diff.
Have a lot of fun (I only wasted 4 hours on this).
Another thing worth mentioning is that the certificates created are
self-signed. Iked as of 20120109 does not support self signed certificates
so the PSK method seems to be the only way.
Suggestions on how to better this always welcome.
0 comments
New Comment System
January 6th, 2012
I've put up a new commenting system and fixed the io.solarscale.de instance
for commenting. Hopefully this is useful.
0 comments
470:1 where my money goes...
January 2nd, 2012
Wikimedia has broken
off the fundraiser. 1 million donors donated on average 20 dollars for the
470 million visitors that wikipedia gets. My contribution (25 euros) was
slightly above average then, I'll keep that in mind for next year. If you
donated, congratulations you too support 470 others on wikipedia.
0 comments
Turning off WPS
January 1st, 2012
According to this article (german) and
a CERT advisory the key
to a WPA2 network can be broken within 11,000 tries. In computers 11,000 tries
isn't much.
I've found and turned off WPS on my parents problematic Speedport W303V Type A
router which had it set in the pushbutton method by default. Now it's off.
At home I don't use Wifi so that's safe (I have cat5 cable everywhere though).
Happy New Year 2012 everyone.
0 comments
Added a bit of Javascript
December 28th, 2011
As you can probably tell this site has been getting a bit of javascript
and HTML5 improvements. I'm dabbling here and there with my book I got
a while ago. One noticeable change on this blog is that the ads on the
top will get reloaded every minute to a new one. You can see what ads
there are by reading the page source. Cheers!
0 comments
Donation to the Pirates
December 27th, 2011
Yesterday I was systematically going through the website of the Pirate Party
of Germany. At first I was a little shy about them, now I think they are
my party. The good thing is that you can vote for them twice. Once with your
money and once with your vote. I donated 10 euros to them which I will
money transfer to them tomorrow. For all those that use computers and internet
as much as I do and aren't convinced they are _the_ party to vote I urge you
to look at the politics section of their website and make up your own mind.
Invest 40 minutes which I did to really take a look at the program. Sure there
is some things missing like defence and finances as well as foreign relations
but their priority number 1 for politics is to make the Internet political
topic number 1. I don't expect them to win the elections but if they get into
parliament it would be grand considering I vote for them.
0 comments
Goodbye Facebook
December 23th, 2011
I finally left Facebook. I never really needed it. And hopefully all my
friends who facebook said will miss me, will actually miss me. If they
leave facebook I'll be there on old methods like email.
0 comments
Throwing out the productions of 2011
December 22th, 2011
Early this year (sometime in april or so) I made 2 shows for SVP Radio which
have never been broadcasted. They deal with OpenBSD and have all songs by
OpenBSD on them. I DJ these songs together in a random order. If you're
interested in listening to my mediocre voice and good OpenBSD songs then
go ahead. Free 2 hour listening.
The shows are up to date until OpenBSD 4.8 song. The rest of the songs you
can find at OpenBSD.
Thanks to OpenBSD for the songs!
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
|