passive finger printing in linux

i need two passive finger printing programs.

i've tried p0f, but the results i am getting are not consistent --maybe just wrong ...

i load up p0f, and use the line p0f -f p0f.fp log1.log

then i either use netcat to try and open a connection or a browser to open a connection, but, i get all sorts of results, but not the ip of the target i'm shooting for

i need to identify the target(yahoo, google, microsoft, whatever) operating system through a passive program

so, i dig the domain name or ping the site and retreive an ip address, and then wait for it to populate in p0f, but
i never actually see a packet come back from that site identifying an OS

this is for an ethical hacking class


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Couple of things (I'm using p0f-3.09b-1) which are a bit different in my version.

To capture a file - p0f -i eth2 > p0f.log

I suggest you set -i to a specific interface, so you know exactly what you're tracking.

The issue a command, like netcat or curl -I -L $URL.

Then stop p0f + search for the IP.

If the IP is missing, likely p0f has attached to a bridge or VETH interface or just the wrong physical interface.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Original poster seems to have stopped posting.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.