Test the syntax of your BPF easily using tshark.
- Assumes you are using a 'nix-based OS
- Requires tshark
- Simply put in the the path to your BPF
- Run this script
- Assumes that the machine running the script is also the machine with a BPF and capturing traffic.