Archive for the ‘Operating Systems’ Category

LMCC and Router Configs

Wednesday, October 22nd, 2008

Source code attached, see end of article.

I had to pull the password for the internet connection out of a router at work recently and stumbled upon a problem that didn’t seem to have much of a solution, the router allows you to save a binary copy of the config, but it didn’t appear to be a known format.

kosh@aerith ~ $ file config.bin
config.bin: data

So after a little digging I found a Zlib header in the file and found a resource on the internet that had a windows only decoder (which failed for me :( ) so I proceeded to figure it out for myself.

kosh@aerith ~ $ hexdump -C config.bin | head -n 2
00000000 4c 4d 4d 43 00 03 00 00 c9 1a 00 00 8d 0e 8d cb |LMMC............|
00000010 e0 a2 00 00 78 9c ed 3d 6b 73 db 38 92 9f ef 7e |....x..=ks.8...~|

You can see the Zlib style magic at the 20-byte mark (0×14, “78 9c”). I tested my theory by grabbing zpipe.c from the zlib website and using dd to decode it.

kosh@aerith ~ $ dd if=config.bin of=test.bin.Z bs=20 skip=1
342+1 records in
342+1 records out
6857 bytes (6.9 kB) copied, 0.0165227 s, 415 kB/s
kosh@aerith ~ $ ./zpipe -d < test.bin.Z
<config version="3.7.0" fsstamp="20061221093151">
....
</config>

But considering I was 5 minutes from a simple working setup, I hacked zpipe.c down and made zlmcc.c from it. I've made zlmcc.c available for anyone else that wants to deflate these files quickly.

Usual guarantee applies, if it blows up the world, not my fault. I only tested it on my system and with my single config file, using the above steps you should be able to figure it out if they change the format by a little (offset, etc)

KoshWiki - zlmcc.c

SyncML Errors

Monday, May 5th, 2008

I’ve been having an issue with strangely “non” Nokia SyncML servers causing my mobile to stop contact syncing at 180 of 303 with “System Error”.

Using the Horde SyncML server I finally found out what was causing the error, it was one of the contacts thumbnails was malformed somehow.

After removing the contacts thumbnail it worked fine.

GRAGGH !

Anyway, the best process for determining which contact it is (sounds simple, but here it is) create the /tmp/sync folder for horde to write the debug info into, then load up the largest syncml_client* file after doing a test sync.

Scroll to the bottom and then just scroll up until you see the contact name in cleartext, I could make a smarter “use this strings/grep/tail one-liner” but I need to get back to studying.

USB 2.0 hubs are really slow

Monday, March 19th, 2007

I’ve had a problem with my iPod syncing to my computer lately, it has been REALLY SLOW, I mean in the range of kb/sec in transfer.

Anyway, I’m posting this here hoping that others will find it through google, the problem I had was a Bluetooth dongle attached to the Hub, I’ve bought a few new hubs and tested them all, and I still had the problem, but after removing the bluetooth dongle the speeds just ramped right up.

So my solution was removing another device that probably had a fair bit of chatter with the desktop, and therefore chewed up the resources of the hub.

Vista Dislikes – Pretty

Tuesday, February 27th, 2007

Vista windows seem to be much larger than normal windows, this is because they are bloated with pretty borders and useless information.

I’ve decided if I post a “Vista Like” I need a dislike to go along with it, and vica-versa

RE: Vista Likes – Mixer

Tuesday, February 27th, 2007

From seeing the screen shot (which Kooby asked to see, which is why I took it) he msg’d me and said

Kooby says:
rofl YAY im featured

Noone reads this except me and googlebot … Featuring isn’t much of a deal :)

Vista Likes – Mixer

Tuesday, February 27th, 2007

I like the new Vista Mixer, now you can mute programs individually, finally it’s going to be easier to regulate the volume between WoW and VLC/Media Player Classic (if that runs on Vista)

vista-sound_mixer

MailEnable Exploit – Rootkitting Servers

Sunday, February 25th, 2007

From: Oz Servers Pty Ltd
Sent: Sunday, February 25, 2007 8:42 PM
Subject: Critical Security Vulnerability :: Mail Enable

MailEnable has issued a critical alert for a security vulnerability that may affect Plesk for Windows customers. If you are using MailEnable, it is recommended that you download and install Hotfixes ME-10026 and ME-10027 from MailEnable’s Hotfix download page: http://www.mailenable.com/hotfix/default.asp

Please patch immediately, several servers have been compromised through this vulnerability.

If you have problems with the installation or if you have further questions, please visit MailEnable’s technical support page: http://www.mailenable.com/support.asp

Please note that this security vulnerability only applies to Plesk for Windows customers that are using MailEnable. All other Plesk for Windows users are unaffected.

If you are running MailEnable without Plesk, this critical alert applies too.

More Information:
http://forums.swsoft.com/showthread.php?s=&threadid=40792

Plesk Thread
http://forum.swsoft.com/showthread.php?threadid=41317&perpage=15

Best Regards,
Oz Servers Technical Support

———————————————–
Oz Servers Pty Ltd
Phone: 1300 13 89 69
Web: http://www.ozservers.com.au

Nokia N91 – The Optus Story

Friday, February 16th, 2007

After all is said and done .. This is the Optus Story.

(more…)

Nokia N91 – Final Result

Friday, February 9th, 2007

After using the N91 for a few months now … I’m over it.

Having a HDD in a mobile phone sounds like a great idea, but when it comes into practise, it’s fubar. An iPod at least you can treat with “kid gloves” look after it and protect it, with the N91 it’s your mobile, it goes everywhere with you and will get dropped at least once.

The Hard Drive in my N91 is now fubar, it’s giving me “Memory Errors” when I leave it idle.

I’m looking at the Windows Mobile 5.0 handset the iMate K-JAM. One feature I loved about the Nokia OS’s was always the caller groups, even the way the symbian OS does the caller groups by applying the ring tone to the individuals in a caller group. I’m not sure if WM5.0 supports the grouping and mass ringtone application on the contacts.

Vista Addiciton

Wednesday, January 31st, 2007

I picked up my vista ultimate DVD today, OEM with some hardware.

It looks like it’s only 32bit though, so I won’t install that yet

UPDATE: or not for a while yet, thanks philoking (This seems to be the standard, Vista runs WoW like Crap)