mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix hostcache_ipv4_blocked and hostcache_ipv6_blocked to pass.
Don't abort plugin reads whem mpvio->make_it_fail is set - this can leak information.
This commit is contained in:
@ -32,7 +32,7 @@ select current_user();
|
||||
current_user()
|
||||
root@localhost
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4,native_password_bad_reply";
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 192.0.2.4
|
||||
HOST santa.claus.ipv4.example.com
|
||||
@ -61,7 +61,7 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 192.0.2.4
|
||||
HOST santa.claus.ipv4.example.com
|
||||
@ -90,7 +90,7 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 192.0.2.4
|
||||
HOST santa.claus.ipv4.example.com
|
||||
@ -178,7 +178,7 @@ COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
flush hosts;
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv4.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 192.0.2.4
|
||||
HOST santa.claus.ipv4.example.com
|
||||
|
@ -32,7 +32,7 @@ select current_user();
|
||||
current_user()
|
||||
root@localhost
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6,native_password_bad_reply";
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 2001:db8::6:6
|
||||
HOST santa.claus.ipv6.example.com
|
||||
@ -61,7 +61,7 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 2001:db8::6:6
|
||||
HOST santa.claus.ipv6.example.com
|
||||
@ -90,7 +90,7 @@ COUNT_LOCAL_ERRORS 0
|
||||
COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 2001:db8::6:6
|
||||
HOST santa.claus.ipv6.example.com
|
||||
@ -178,7 +178,7 @@ COUNT_UNKNOWN_ERRORS 0
|
||||
FIRST_ERROR_SEEN set
|
||||
LAST_ERROR_SEEN set
|
||||
flush hosts;
|
||||
ERROR 28000: Access denied for user 'quota'@'santa.claus.ipv6.example.com' (using password: NO)
|
||||
ERROR 08S01: Bad handshake
|
||||
"Dumping performance_schema.host_cache"
|
||||
IP 2001:db8::6:6
|
||||
HOST santa.claus.ipv6.example.com
|
||||
|
@ -31,7 +31,7 @@ disconnect con1;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv4,getnameinfo_fake_ipv4,getaddrinfo_fake_good_ipv4,native_password_bad_reply";
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
@ -39,7 +39,7 @@ connect (con2a,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2b,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
@ -47,7 +47,7 @@ connect (con2b,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2c,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
@ -74,7 +74,7 @@ connect (con2e,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
flush hosts;
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2c,"127.0.0.1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
|
@ -32,7 +32,7 @@ disconnect con1;
|
||||
set global debug_dbug= "+d,vio_peer_addr_fake_ipv6,getnameinfo_fake_ipv6,getaddrinfo_fake_good_ipv6,native_password_bad_reply";
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2a,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
@ -40,7 +40,7 @@ connect (con2a,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2b,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
@ -48,7 +48,7 @@ connect (con2b,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
--source ../include/hostcache_dump.inc
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2c,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
@ -75,7 +75,7 @@ connect (con2e,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
flush hosts;
|
||||
|
||||
--disable_query_log
|
||||
--error ER_ACCESS_DENIED_ERROR
|
||||
--error ER_HANDSHAKE_ERROR
|
||||
connect (con2c,"::1",quota,,test,$MASTER_MYPORT,);
|
||||
--enable_query_log
|
||||
|
||||
|
Reference in New Issue
Block a user