filterout broadcast traffic for metasploit


I have a pcap file and I want to filter out all broadcast traffic such as ARP

What is the syntax I would need to type in the FILTER: box?
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.

Zephyr ICTCloud ArchitectCommented:
You could try with something like this:

 !(arp or icmp) 

Open in new window

You can add extra things like dns or http ...

!(arp or icmp or dns or http) 

Open in new window

Rich RumbleSecurity SamuraiCommented:
And if you want to filter them out of the saved version after you apply such a filter, you can go to File->Export Specified Packets -> (select displayed packets) All Packets and save as a new filename.

in the future, you can highlight a broadcast packet, right-click and Apply as Filter ->Not selected and that will filter out things you don't want. You can adjust the filters anytime and change things like ip.src to ip.addr (I do this all the time so I don't need ip.src and ip.dst statements), ip.addr is both src/dst. You can clear the filters anytime too, they can be quite picky so mess with the right-click apply as filter, and when you start to add more layers (additional criteria), use the AND, OR, AND NOT, OR NOT logic statements.

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
trojan81Author Commented:
Thank you
right clicked the packet < prepared as filter < then added a ! before the filter did the trick
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.