A person who will stay with you through thick and thin. If they're sitting next to you in a jail cell saying 'dude, wtf did we do?', you got a good friend.
A person who isn't afraid to call you on your faults. If they let you know that you're being an idiot before you get into trouble, you got a friend.
Someone who will listen to you no matter what, even when no one else will.