-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm using mysql-3.23.51 compiled with libwrap support.
If hosts.{allow,deny} have similar to the following structure:

hosts.allow:
#start of hosts.allow
mysqld: ALL
#end of hosts.allow

hosts.deny:
#start of hosts.deny
ALL: ALL
#end of hosts.deny

I end with a rejected access. A message is logged to syslog
which says:
mysqld[4639]: refused connect from <>

I place <> instead of some binary data, which definetely doesn't look
like a host name or ip address(probably s.t. taken from the memory
where it expects to find the address but the area has not been initialized
yet)

mysqld also complains:
mysqld[4639]: warning: can't get client address: Socket operation on 
non-socket

strace shows it tries to do socket operations on /dev/null ?!

Anyway,
If I comment out "ALL: ALL" in hosts.deny access is granted.
The problem is, the "mysqld: ALL" in hosts.allow is ignored.

I'm using the default mysql package from slack 8.1 which comes
with libwrap support compiled in.

God bless You.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+FWEdg1ZnHrWwRYURAr/sAKCLOfoh9fJwKKpOdQzscWrDH4O2oQCfZvVl
RKdA3D+qjWnGN4uUTbPPPWE=
=C4uq
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to