Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter example #20

Open
6eh01der opened this issue Nov 1, 2022 · 0 comments
Open

Filter example #20

6eh01der opened this issue Nov 1, 2022 · 0 comments

Comments

@6eh01der
Copy link

6eh01der commented Nov 1, 2022

Hello.

Could somebody provide me with filter example. What if i want to get only vrrp packets (0x70 in hex, protocol number 112). In pcapy it looks like pcap = pcapy.open_live (interface, 1524, 1, timeout) and pcap.setfilter ('proto 112'). In winpcapy it must be compile method with filter expression first and than setfilter for applying this filter if i understand right. So how expression should looks like?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant