Archive for the ‘General’ Category

BarCamp 3 slides from my talk

Saturday, September 6th, 2008

As a first time attendee of BarCamp Brighton I had to do a short presentation/talk about a topic of my choice, I decided to cover some basic pointers on how to avoid being flagged up on the radar of script kiddies, the talk was titled “Protecting your server against
script kiddie attacks”
You can grab a copy of the slides here
Cover image courtesy of linuxisforbitches.com
Thank you for the support Paul, Jim, Mike & the other people who attended.

Going IPv6

Monday, June 9th, 2008

Looking for something to do this weekend I remembered that a few years back after reading Secure Architectures with OpenBSD I’d signed up to freenet6, I retrieved my forgotten account details & logged in to the portal to get started, then remembered why I never got off the ground with this project, the client is a PITA to setup, a quick search of the ports tree showed up net/aiccu.
The description of the port:
AICCU makes it very easy for anybody to get IPv6 connectivity
everywhere they want. It uses the TIC (Tunnel Information & Control)
protocol to request the information needed to setup a tunnel through
which the connectivity is created.

AICCU supports the following tunneling protocols:
– 6in4 static (RFC 2893)
– 6in4 heartbeat (RFC 2893 + draft-massar-v6ops-heartbeat)
– tinc (http://www.tinc-vpn.org)
– AYIYA (draft-massar-v6ops-ayiya)

As AYIYA even works from behind NAT’s, thus unless there is a very
restrictive firewall in place, anybody should be able to get IPv6
connectivity without problems and everywhere they want.

One does need a SixXS account and at least a tunnel. These
can be freely & gratis requested from the SixXS website.

Before installing the port I headed over to the SixXS website to have a nose around, the FAQ is well worth a read, it lays down the basics of the signup process quiet well.
The only hold up between signing up & getting going with your 1st tunnel is the wait for approval by the project admins which though the site says it can be as long as a week took, it only a few hours for me (even on a saturday!:))
The project works on a credit basis (there is no money inolved), costs are broken down in the FAQ, basically you start off with 25 credits, which allows you to get a tunnel for a single host setup at the cost of 15 credits.
Once you’ve been able to demonstrate that you can keep the tunnel up for seven days you’ll be credited 5 credits, this will give you enough credits to apply for a subnet.
Fingers crossed, if it all goes well I’ll be migrating my home network to IPv6 sometime next week.

The setup of the aiccu client was pretty straightforward, I just needed to provide my username & password to the config file. You don’t actually have to use the aiccu client, you can create a gif(4) manually, this is covered in the faq aswell, but seeing as I’m a n00b at this I will ditch the client once I’m more comfortable. Before you fire up the client you need to configure your firewall rules so that ipv6 traffic is allowed, most importantly icmp6, details covered in the faq.

So, now I have a tunnel setup, the next step is to find a registrar to move my domains to whom supports IPv6 records, surprisingly the big boys, tucows, 1&1, go daddy don’t (well go daddy allows the creation of AAAA records but you can’t use them for your NS records).
The FAQ once again has this covered here
Once I’ve transfered my domains across, I’ll be ditching OpenBSD 4.3 & moving to -CURRENT temporarily as Apache supports IPv6 there.

RIP Jun-ichiro “itojun” Hagino

1.5Ghz VIA C7 Mini-itx motherboard vs 8 Core MacPro

Saturday, November 24th, 2007

the results from md5 -t

Jetway J7F2WE1G5D-OC-PB Motherboard running OpenBSD
MD5 time trial. Processing 10000 10000-byte blocks...
Digest = 52e5f9c9e6f656f3e1800dfa5579d089
Time = 1.087264 seconds
Speed = 91973982.399859 bytes/second

8 Core MacPro running OS X 10.5
MD5 time trial. Digesting 100000 10000-byte blocks ... done
Digest = 766a2bb5d24bddae466c572bcabca3ee
Time = 2.261262 seconds
Speed = 442230944.000000 bytes/second

Another 15 Mins! :)

Thursday, October 5th, 2006

I was interviewed yesterday by Will Backman about Brighton Chilli on the BSD Talk Podcast

You can download a copy of the interview in ogg or MP3 format from here

New Toy!! Workpad Z50

Tuesday, August 1st, 2006

The postman delivered my Workpad Z50 today. Just gotta wait for a 1GB CF card to turn up now & then I can get cracking on with NetBSD.
Could have gone for a microdrive but the longer battery life is much more important.

Workpad Z50 vs 17" PowerBook

Workpad & NetBSD

Me & my Axim X50

Sunday, July 16th, 2006

Well, it’s just a little over a year since I got my Axim X50 PDA & I have finally put it to good use. After a couple of plays with PocketMac Pro I purchased my license for Missing Sync from Mark/Space

Though PocketMac Pro had a couple of really usefull features which aren’t included in Missing Sync (extract .cab files from .exe’s & sync iTunes library), Life is so much better with Missing Sync. Missing Sync is soooooo much more stable for starters (I’m running a alpha version of Missing Sync aswell), it also allows doesn’t get confused if you factory reset your pda & try to re-sync it. I was never able to re-sync my pda with pocketmac if I let my battery run flat, I’d have to uninstall Pocketmac & re-install so that It’d give me the option to scan for a device & install its sync components onto the device.
Another problem with PocketMac was that it was extremely unstable when used with wifi & bluetooth usually causing the system to panic!!

I have also upgraded my Axim to Windows Mobile 5 which kinda makes PocketMac redundent as they still don’t support it!

Sun Blade 100 Compatible RAM

Wednesday, June 21st, 2006

Im using 2 Dimms from Crucial the model number on the dimms is CT16M72S4D8E.9LTG
A good source of info for compatible dimms & other stuff about the workstation is the Unofficial Sun Blade 100 FAQ

New addition to the toy collection, Sun Blade 100 Workstation

Wednesday, June 21st, 2006

Picked up a Sun Blade 100 at a bargain price just because the seller thought the unit was dead cause they didn’t plug a Sun keyboard into it!
After sticking 2x128MB ECC PC100 Dimms into it and powering up this came out of the console:
Sun Blade 100 (UltraSPARC-IIe), No Keyboard
OpenBoot 4.0, 256 MB memory installed, Serial #50638801.
Ethernet address 0:3:ba:5:a4:2, Host ID: 8305a402.

Surprise, More Benchmark results

Monday, March 20th, 2006

This time from a £300 Dell Dimension 3000 running OS X 10.4.4 with a 16MB TNT2 m64 PCI graphics card installed as the onboard card is not supported.

compare results here

Results 47.91
System Info
Xbench Version 1.2
System Version 10.4.4 (8G1171)
Physical RAM 512 MB
Model ADP2,1
Drive Type SAMSUNG SP0401N
CPU Test 50.12
GCD Loop 71.35 3.76 Mops/sec
Floating Point Basic 68.36 1.62 Gflop/sec
vecLib FFT 29.68 978.99 Mflop/sec
Floating Point Library 57.23 9.97 Mops/sec
Thread Test 95.33
Computation 70.31 1.42 Mops/sec, 4 threads
Lock Contention 147.98 6.37 Mlocks/sec, 4 threads
Memory Test 69.75
System 60.54
Allocate 45.84 168.33 Kalloc/sec
Fill 83.04 4037.70 MB/sec
Copy 63.72 1316.09 MB/sec
Stream 82.27
Copy 79.54 1642.87 MB/sec
Scale 79.94 1651.63 MB/sec
Add 85.41 1819.49 MB/sec
Triad 84.52 1808.05 MB/sec
Quartz Graphics Test 36.45
Line 33.85 2.25 Klines/sec [50% alpha]
Rectangle 23.61 7.05 Krects/sec [50% alpha]
Circle 25.20 2.05 Kcircles/sec [50% alpha]
Bezier 66.73 1.68 Kbeziers/sec [50% alpha]
Text 94.28 5.90 Kchars/sec
User Interface Test 36.60
Elements 36.60 167.97 refresh/sec
Disk Test 38.91
Sequential 71.79
Uncached Write 44.16 27.11 MB/sec [4K blocks]
Uncached Write 91.29 51.65 MB/sec [256K blocks]
Uncached Read 78.80 23.06 MB/sec [4K blocks]
Uncached Read 106.13 53.34 MB/sec [256K blocks]
Random 26.69
Uncached Write 8.84 0.94 MB/sec [4K blocks]
Uncached Write 68.24 21.85 MB/sec [256K blocks]
Uncached Read 74.52 0.53 MB/sec [4K blocks]
Uncached Read 115.52 21.44 MB/sec [256K blocks]

More Benchmark Results

Monday, March 20th, 2006

XBench results from my G4 PowerMac with SATA disks installed

compare results here

Results 19.38
System Info
Xbench Version 1.2
System Version 10.4 (8A428)
Physical RAM 640 MB
Model PowerMac3,1
Processor PowerPC G4 @ 450 MHz
Version 7400 (Max) v2.8
L1 Cache 32K (instruction), 32K (data)
L2 Cache 1024K @ 225 MHz
Bus Frequency 100 MHz
Video Card ATY,R350
Drive Type WDC WD1200JS-55NCB1
CPU Test 20.67
GCD Loop 43.58 2.30 Mops/sec
Floating Point Basic 14.04 333.48 Mflop/sec
vecLib FFT 22.79 751.85 Mflop/sec
Floating Point Library 18.04 3.14 Mops/sec
Thread Test 21.41
Computation 19.39 392.84 Kops/sec, 4 threads
Lock Contention 23.90 1.03 Mlocks/sec, 4 threads
Memory Test 14.00
System 18.66
Allocate 46.73 171.62 Kalloc/sec
Fill 18.49 899.16 MB/sec
Copy 11.72 242.17 MB/sec
Stream 11.20
Copy 10.54 217.72 MB/sec [altivec]
Scale 10.65 219.94 MB/sec [altivec]
Add 11.91 253.66 MB/sec [altivec]
Triad 11.84 253.26 MB/sec [altivec]
Quartz Graphics Test 23.58
Line 21.31 1.42 Klines/sec [50% alpha]
Rectangle 19.14 5.71 Krects/sec [50% alpha]
Circle 20.11 1.64 Kcircles/sec [50% alpha]
Bezier 30.81 777.20 beziers/sec [50% alpha]
Text 32.61 2.04 Kchars/sec
OpenGL Graphics Test 28.94
Spinning Squares 28.94 36.71 frames/sec
User Interface Test 9.87
Elements 9.87 45.29 refresh/sec
Disk Test 60.80
Sequential 80.24
Uncached Write 98.83 60.68 MB/sec [4K blocks]
Uncached Write 105.54 59.72 MB/sec [256K blocks]
Uncached Read 45.87 13.43 MB/sec [4K blocks]
Uncached Read 118.21 59.41 MB/sec [256K blocks]
Random 48.94
Uncached Write 18.52 1.96 MB/sec [4K blocks]
Uncached Write 110.22 35.28 MB/sec [256K blocks]
Uncached Read 90.48 0.64 MB/sec [4K blocks]
Uncached Read 131.51 24.40 MB/sec [256K blocks]

Linksys BEFSX41 Random Reboots

Saturday, September 17th, 2005

The release firmware for the Linksys BEFSX41 router contains a bug which causes the router to reboot when you run a traceroute from any machine connected on the internal interfaces. If you contact linksys support they have a beta version firmware available which addresses the issue (v1.52.5 beta)

Improving Virtual PC performance under OS X

Saturday, August 20th, 2005

From the Application Preferences in Virtual PC install the script menu. Then pick the VM from the Virtual PC list you’d like to speed up, goto the Virtual PC Scripts section in the script menu & choose Toggle System Disc Cache.

Typo in Webalizer manpage

Tuesday, July 5th, 2005

Whilst writing the weblizer.conf file for this site I came across a typo in the man page. The keyword Hostname listed in the manpage is wrong, if used the following error is spat out when webalizer is run:
Warning: Invalid keyword 'Hostname' (/etc/webalizer.conf)

The correct keyword is: HostName

More stat goodness

Tuesday, July 5th, 2005

I’ve setup Webalizer to generate stats on the hour for this site, you can reach them via the link at the bottom of the sidebar.

Slashdot

Wednesday, June 15th, 2005

WooHoo!, my 1st published submission on /.

Awaiting A New Toy

Wednesday, June 15th, 2005

I placed a order for a Axim X50 with Dell yesterday, fingers crossed, it’ll hopefully be here on tuesday ready to goto glastonbury with me! :)

17″ PowerBook xBench Results

Thursday, May 26th, 2005

compare results here


Results 132.93
System Info
Xbench Version 1.1.3
System Version 10.4.1 (8B15)
Physical RAM 512 MB
Model PowerBook5,7
Processor PowerPC G4 @ 1.67 GHz
L1 Cache 32K (instruction), 32K (data)
L2 Cache 512K @ 1.67 GHz
Bus Frequency 167 MHz
Video Card ATY,RV360M11
Drive Type ST9100823A
CPU Test 193.63
GCD Loop 182.83 7.14 Mops/sec
Floating Point Basic 193.07 698.23 Mflop/sec
AltiVec Basic 204.41 5.94 Gflop/sec
vecLib FFT 199.44 3.10 Gflop/sec
Floating Point Library 189.86 7.60 Mops/sec
Thread Test 137.50
Computation 97.15 1.31 Mops/sec, 4 threads
Lock Contention 235.21 2.95 Mlocks/sec, 4 threads
Memory Test 133.55
System 141.28
Allocate 771.57 503.29 Kalloc/sec
Fill 170.86 1360.08 MB/sec
Copy 71.00 354.98 MB/sec
Stream 126.62
Copy 125.39 916.62 MB/sec [altivec]
Scale 126.36 932.57 MB/sec [altivec]
Add 129.31 827.57 MB/sec [altivec]
Triad 125.50 766.79 MB/sec [altivec]
Quartz Graphics Test 149.33
Line 130.15 3.31 Klines/sec [50% alpha]
Rectangle 125.46 8.83 Krects/sec [50% alpha]
Circle 146.70 3.38 Kcircles/sec [50% alpha]
Bezier 161.82 1.76 Kbeziers/sec [50% alpha]
Text 207.00 3.37 Kchars/sec
OpenGL Graphics Test 134.70
Spinning Squares 134.70 94.27 frames/sec
User Interface Test 231.27
Elements 231.27 74.39 refresh/sec
Disk Test 69.98
Sequential 79.31
Uncached Write 86.47 36.04 MB/sec [4K blocks]
Uncached Write 58.84 24.09 MB/sec [256K blocks]
Uncached Read 152.72 24.18 MB/sec [4K blocks]
Uncached Read 65.26 26.37 MB/sec [256K blocks]
Random 62.61
Uncached Write 48.56 0.73 MB/sec [4K blocks]
Uncached Write 63.16 14.24 MB/sec [256K blocks]
Uncached Read 71.21 0.47 MB/sec [4K blocks]
Uncached Read 74.50 15.33 MB/sec [256K blocks]

More Toys, YAY!!!!

Thursday, May 26th, 2005

Since I last posted I have bought myself a beautiful new 17″ PowerBook & a cool new iSight.

GeekLAN

Thursday, March 17th, 2005

My kit list:

Sun Sparc20 (quad 100mhz ross cpu’s) running Solaris 8
Sun Ultra 1E (170mhz) running Solaris 8
Sun Ultra 2 (single 200mhz) running Solaris 9
Sun Sparcengine AXI (330mhz UltrasparcIIi with 2mb l2 cache) running OpenBSD 3.6-STABLE
Dec Alphastation 250 4/266 & 255 4/300 atm not running anything but will be running OpenVMS & Tru64
P3 550 testbox, was running OpenDarwin up until a couple of days ago
P3 533 running OpenBSD 3.5-STABLE
P3 800 running Zeta YellowTAB
Dual P3-800 running Win2k3 Standard
PPro 166 running RedHat 8
Dual PPro 200 running FreeBSD 4.10
Celeron 1.3ghz running Win2k Pro
Performa 630 running A/UX
G3 12″ iBook 500mhz running OS X 10.4
G4 450 (Sawtooth) running OS X 10.3
ThinkPad T20 running Win2k Pro
APC UPS 700 & 1500
16 Port 100mbit switch
12 Port HP Procurve Switch
Netgear 802.11g Access Point
19″ Hansol monitor

Patch Accepted

Thursday, November 25th, 2004

Cool!
Cool! PT2
:D