Wednesday, August 25, 2010

Welcome Phaser 3124, so long Docuprint 203A

I bought my second printer, Fuji Xerox Docuprint 203A when I did my masters degree in USM back in 2006. At that time I printed out papers and stuffs with that printer, without much hassle. Once I reported back to my workplace, the printer left idle in the store room since most of the time I just print stuffs in the office (and not much need to print paper since usually I just printed out exam questions for my students). 

In 2010, I've to use my printer back. Unfortunately, when I lived in my old rented house, the printer was colonized by pests, even the box was munched out. So I've to clean out the printer so that it'll look okay. Yeah, perhaps I am wrong, after a rim papers was printed out, the printer experienced problem, it won't work. Say, for example, I want to print a page, it will print two, one sheet where it suppose to get the writings printed, another one just blank sheet. But most of the time it won't print at all, and just stuck at the paper feeder. I sent the printer for repair to Low Yat, to a Pakistani technician, he charged me RM80 and I thought it'll worth it, but it is not. The printer can't be used at all, plus the unlucky part, I just bought a brand new ink toner for RM160.

Now, just yesterday, I trade-in my printer for another Xerox printer, Phaser 3124, whereby I got a year additional warranty as the price of trade in (default 2 years, so now become three). It supposed to work only for Windows. But after got some love, I managed to get PPD file from open printing website. So now it should work with Ubuntu and Mac, since both are using CUPS. 

Download the PPD file here

Actually for Mac I was using Samsung's driver (it works..), but for Ubuntu Lucid, although I'm connected to the printer with IPP (which physically connected to the Mac using USB) , I need the driver which exactly matched with the printer, so simply click the given link above. It works for me.

Monday, August 16, 2010

Pattern Search Algorithm

Algorithms, specifically pattern matching algorithm widely being used in information processing areas, such as bioinformatics and computer security.

In computer security domain, this includes packet inspection, file maliciousness detection and such. To name a few, Aho-Carosick being used for one IDS' string search (not sure if it still using it). Then there are anti viruses looking for certain string for their signature matching detection.

Wednesday, August 11, 2010

Kippo Honeypot

My laptop currently running Kippo honeypot which can be downloaded here. It supports MySQL database (and soon, the author plans to support SQLite, I am not sure as an option or successor). Basically it's a honeypot which listen on SSH service on port 2222, which, if you're running on Linux for example you can reroute from port 22 (the normal port).

As in my case, I am currently running this service behind NAT, so I've to do the port forwarding thing prior to make it work.

This can be achieved by;

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 22 -j REDIRECT --to-port 2222

And you can check it by;

iptables -t nat -vL
Chain PREROUTING (policy ACCEPT 46764 packets, 3114K bytes)
 pkts bytes target     prot opt in     out     source               destination
    1    60 REDIRECT   tcp  --  eth1   any     anywhere             anywhere            tcp dpt:ssh redir ports 2222

I have plenty of attempts including a brute force attempts with Japanese dictionary passwords. Seems MySQL really helps to get them shown to the screen in handy.