Skip to content

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

@xiaozhute

Description

@xiaozhute

环境:
系统: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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions