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

使用mysql客户端连接上去的无法被抓取,作者还维护吗? #43

Open
xiaozhute opened this issue Dec 28, 2020 · 0 comments

Comments

@xiaozhute
Copy link

环境:
系统:CentOS Linux release 7.6.1810
MySQL: 5.7.30-log
MySQL 服务端地址:192.168.66.200
端口:3306
测试连接客户端地址:192.168.66.101

监听方式:

go-sniffer ens32 mysql -p 3306

问题描述:
使用 navicat、Dbeaver 等工具连接的话是可以抓取到信息的
但使用mysql client 远程连接的话,执行的操作无法被抓取到

  • MySQL 客户端【101】使用连接命令
mysql -utestuser -p123456 -h192.168.66.200 -P 3306

mysql> show databases;
mysql> create database abc;

mysql> use abc
Database changed

mysql> create table a(id int);
Query OK, 0 rows affected (0.11 sec)

mysql> insert into a values(1);
Query OK, 1 row affected (0.02 sec)
  • MySQL服务端【200】go-sniffer展示内容如下,没有抓取到任何行为操作。
[root@initnode ~]# go-sniffer ens32 mysql -p 3306
tcp and port 3306
# Start new stream: 192.168.66.101->192.168.66.200 46632->3306
# Start new stream: 192.168.66.200->192.168.66.101 3306->46632
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