Yeah, try bison
It's kind of spooky to see how much our pooches are alike! I finally got him to not pay attention to people who walk by us or across the street. He used to lunge at people (mostly to sniff), when people come to us saying "how cute the puppy is" he would bark at them.
For lunging at people - try and be more proactive. When you approach someone, don't wait for you to pass them, instead just face him away from the person(people), make him sit/stay and go in front of him, and practice: two-three steps back and call him to come and sit in front of you. Or just stay on the same spot and do down/sit/down/sit while someone is passing you. Basically the idea is to draw his attention from the passerby onto you - yes! It is more fun to be with my dad rather than some passerby.
This part I finally got under control with humans, but he still lunges at passing by dogs sometimes. Not every time though. I'm thinking they might be other intact males and it's a competitive thing. But we are working on it.
As far as lunging at people who come to you to pet him - just say something like "Please wait, I'm training him.", then make him sit/stay and then say that it's ok to come and pet.
I might be wrong, but what I think is happening is that he is not sure how to act and takes initiative by "shooing" people away from you. I.e. "I don't know you, strange human. Get away from us, this human is mine!". But when you make him sit ahead of time, it somewhat triggers the submissive part in him (following your command), and takes away any hints at leadership from him. So now he is much calmer and more accepting of strangers attention.
I actually did that at least 3-4 times already, and 2 of them were with little kids (you know how obnoxious they can be). The first time two kids just ran towards us that I barely had time to say "sit". I could tell he was not very comfortable but didn't bark or lunge at them and let them pet him (thank God! The last thing I want is scared parents contributing to the issue and yelling at us). The second pair of kids to my surprise asked if they can pet my pup. Of course I said "Just let me sit him" and then they came to us - worked like a charm and he was calm when they pet him.
Try some of this stuff, see if it helps you
. I think the key to adjusting any behavior is timing and looking at the world through dogs eyes every once in a while. I sometimes catch myself thinking "Yep, if I were him I would probably do exactly the same thing."