As an alternative to Limera1n this program will allow you to jailbreak your iPhone 4, 3GS, iPod touch 4G / 3G or iPad. This is not an unlock so if your device is carrier locked it will not help you at all if you have upgraded to 4.1 already.
If can be downloaded from http://www.greenpois0n.com/