[interfaces] #Select on which network interfaces to sniff. You can use the "any" # keyword to sniff on all connected interfaces. device = "any"
[protocols] #Configure which protocols to monitor and on which ports are they #running. You can disable a given protocol by commenting out its #configuration.
[protocols.http] ports = [80, 8080, 8000, 5000, 8002]
[protocols.mysql] ports = [3306]
[protocols.pgsql] ports = [5432]
#[protocols.redis] #ports = [6379]
发布于 2015-11-24 12:07:32
如果使用"localhost“,MySQL将尝试通过UNIX进行连接(参见https://dev.mysql.com/doc/refman/5.5/en/connecting.html)。但是,如果您指定IP (可能是127.0.0.1),它将通过TCP进行连接,从而允许Packet节拍嗅探该连接。
https://stackoverflow.com/questions/30473723
复制相似问题