Use LD_PRELOAD on ubuntu to intercept the network interaction of mysqld

268 views Asked by At

I want to use LD_PRELOAD to intercept the network interaction(including listen, bind, send, recv,read,write, recvmsg, sendmsg of libc.so.6) of mysqld.

I can intercept the network interaction of my own programs, but it didn't work on mysqld.

Could anyone please tell me the reason? Or mysqld uses other network functions instead of send/recv, read/write, recvmsg/sendmsg the to perform network interactions?

0

There are 0 answers