From 8715b1f9331e455087aad5b57f33459e5ec4ebca Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 3 Jun 2010 17:07:57 +0000 Subject: mysqlsniffer is a tcpdump clone specifically for dumping/sniffing/watching MySQL network protocol traffic over TCP/IP networks. mysqlsniffer is coded in C using the pcap library and works with MySQL version 4.0 and newer. mysqlsniffer is the only MySQL-specific network sniffer. WWW: http://hackmysql.com/mysqlsniffer PR: ports/147079 Submitted by: Frederic Hardy --- databases/mysqlsniffer/files/patch-misc.c | 10 ++++++++++ databases/mysqlsniffer/files/patch-mysqlsniffer.c | 10 ++++++++++ databases/mysqlsniffer/files/patch-packet_handlers.c | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 databases/mysqlsniffer/files/patch-misc.c create mode 100644 databases/mysqlsniffer/files/patch-mysqlsniffer.c create mode 100644 databases/mysqlsniffer/files/patch-packet_handlers.c (limited to 'databases/mysqlsniffer/files') diff --git a/databases/mysqlsniffer/files/patch-misc.c b/databases/mysqlsniffer/files/patch-misc.c new file mode 100644 index 000000000000..fbe10e2ec0c3 --- /dev/null +++ b/databases/mysqlsniffer/files/patch-misc.c @@ -0,0 +1,10 @@ +--- misc.c.ori 2006-08-18 16:37:02.000000000 +0200 ++++ misc.c 2010-05-26 14:01:16.000000000 +0200 +@@ -4,6 +4,7 @@ + #include + #include + #include ++#include + #include "user_defines.h" + #include "mysql_defines.h" + #include "misc.h" diff --git a/databases/mysqlsniffer/files/patch-mysqlsniffer.c b/databases/mysqlsniffer/files/patch-mysqlsniffer.c new file mode 100644 index 000000000000..0de93db9e578 --- /dev/null +++ b/databases/mysqlsniffer/files/patch-mysqlsniffer.c @@ -0,0 +1,10 @@ +--- mysqlsniffer.c.ori 2006-08-18 16:52:52.000000000 +0200 ++++ mysqlsniffer.c 2010-05-26 14:01:24.000000000 +0200 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + #include + #include + #include "user_defines.h" diff --git a/databases/mysqlsniffer/files/patch-packet_handlers.c b/databases/mysqlsniffer/files/patch-packet_handlers.c new file mode 100644 index 000000000000..c26706d305eb --- /dev/null +++ b/databases/mysqlsniffer/files/patch-packet_handlers.c @@ -0,0 +1,10 @@ +--- packet_handlers.c.ori 2006-08-18 16:37:02.000000000 +0200 ++++ packet_handlers.c 2010-05-26 14:01:30.000000000 +0200 +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + #include "mysql_defines.h" + #include "user_defines.h" + #include "state_map.h" -- cgit v1.2.3