redsn0w .0.8 for Mac.....Jailbreak for the 3GS.

Download link

Install instructions