I think the general understanding is that jailbreaking the iPhone/iPod touch isn't technically illegal however downloading and installing the cracked apps is.