Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

While troubleshooting a MySQL issue, I came across this command at commandlinefu:

tshark -i any -T fields -R mysql.query -e mysql.query

I am trying to understand it before I actually use it. Looking at the man page helped me understand the options used. The MySQL filter documentation was also helpful. However, how can I actually see what the filter looks like? I'm assuming all the filters are saved in a directory somewhere. Is this assumption incorrect?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

On CentOS they're all compiled into /usr/lib/libwireshark.so

All of the filters are called dissectors within the source code and are located in epan/dissectors.

The MySQL dissector is epan/dissectors/packet-mysql.c

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.