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

centos7 -I指定其他端口抓不到数据 #21

Open
lazzyfu opened this issue Jan 9, 2018 · 3 comments
Open

centos7 -I指定其他端口抓不到数据 #21

lazzyfu opened this issue Jan 9, 2018 · 3 comments

Comments

@lazzyfu
Copy link

lazzyfu commented Jan 9, 2018

我使用proxysql作为代理,启动的是6033端口
./mysql-sniffer -i eth0 -p 6033
没有数据?

@yihaoDeng
Copy link
Contributor

用的的什么方式,直接填写的主机实际IP的应该没这个问题

@nicholascp
Copy link

root@mysql-1 ~]# mysql-sniffer 192.168.56.102 -i enp0s8 -e stderr
FILE: /opt/snap/mysql-sniffer/src/session.cpp LINE: 109 in add_mysql_resume_session:"adding resume session: 1731766464:37046 -> 1714989248:3306"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_START msg_type: client "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_WAIT_SERVER msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/session.cpp LINE: 109 in add_mysql_resume_session:"adding resume session: 1731766464:48262 -> 1714989248:3306"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_START msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/session.cpp LINE: 109 in add_mysql_resume_session:"adding resume session: 1748543680:39954 -> 1714989248:3306"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_START msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_WAIT_CLIENT msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_WAIT_CLIENT msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_WAIT_CLIENT msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 484 in handle_resume_state:"handle resume state: current state: SESSION_STATE_RESUME_WAIT_CLIENT msg_type: server "
FILE: /opt/snap/mysql-sniffer/src/mysql-dissector.c LINE: 538 in mysql_dissector:"handle canceled due to resume state"

@nicholascp
Copy link

5.6抓的到,5.7抓不到

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

3 participants