tcp wrappers and mysqld

Jaco Kroon <[email protected]>
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <Pine.LNX.4.58.0311191102400.4361@localhost>
Hello

We found a problem with MySQL that can cause serious problems when 
receiving connections from disallowed hosts.  On our systems we can 
produce the problem by following the following steps:
1.  Configure tcpwrappers to deny connections from everywhere to mysqld
2.  Configure MySQL to accept connections from the network.
3.  Start/Restart MySQL
4.  Connect from a disallowed host.
5.  Whilst the above is still "blocking" connect to MySQL on the machine 
itself.  It should block until 4 has finished.

And number 5 is excactly the problem.  You would expect 4 to terminate 
almost immediately due to access denied or something and then to start 
authenticating 5.  Instead, it locks up.

J Kroon

-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.