Хочу поснифить пакеты с определенным приоритетом 802.1p
Пробую делать так:
tshark -i eth2 -c 2 -V vlan.priority=0
tshark: Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled
Running as user "root" and group "root". This could be dangerous.
Capturing on eth2
tshark: Invalid capture filter "vlan.priority=0" for interface eth2!
That string isn't a valid capture filter (syntax error).
See the User's Guide for a description of the capture filter syntax.
0 packets captured
через eth2 бегает тегированный трафик.
В чем моя ошибка?
tshark -v
tshark: Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled
TShark 1.8.2
Copyright 1998-2012 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GLib 2.32.4, with libpcap, with libz 1.2.7, with POSIX
capabilities (Linux), with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without
Python, with GnuTLS 2.12.20, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP.
Running on Linux 3.2.0-4-amd64, with locale ru_RU.UTF-8, with libpcap version
1.3.0, with libz 1.2.7.
Built using gcc 4.7.2.