Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-11 Thread Camaleón
On Tue, 10 Jul 2012 20:18:07 +0200, Zdenek Herman wrote: On 10/07/12 17:29, Camaleón wrote: (...) Ah, how curious... It seems to be documented here: 4.2.2. Connecting to the MySQL Server http://dev.mysql.com/doc/refman/5.6/en/connecting.html (...) Camaleón is correct. When you are

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Zdenek Herman
I tried from same and from another host too (with -h parameters) In log I don't see any in log about connecting. Is the tcp wrapper check first and than check by mysql grants or reverse? _ # mysql -h localhost -p Enter password: Welcome to

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Camaleón
On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply at the bottom) Dne 9.7.2012 16:52, Camaleón napsal(a): On Sun, 08 Jul 2012 22:26:11 +0200, Zdenek Herman wrote: (...) When I set hosts.deny ALL: ALL and hosts.allow is empty. I can allow connect to MySQL from anywhere

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Zdenek Herman
On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply at the bottom) Dne 9.7.2012 16:52, Camaleón napsal(a): On Sun, 08 Jul 2012 22:26:11 +0200, Zdenek Herman wrote: (...) When I set hosts.deny ALL: ALL and hosts.allow is empty. I can allow connect to MySQL from anywhere -

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Camaleón
On Tue, 10 Jul 2012 18:09:42 +0200, Zdenek Herman wrote: On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply at the bottom) Dne 9.7.2012 16:52, Camaleón napsal(a): (...) I don't know why does not work for you. Take a look into this article that shows a few samples for

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Dom
On 10/07/12 17:29, Camaleón wrote: On Tue, 10 Jul 2012 18:09:42 +0200, Zdenek Herman wrote: On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply at the bottom) Dne 9.7.2012 16:52, Camaleón napsal(a): (...) I don't know why does not work for you. Take a look into this

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Zdenek Herman
On 10/07/12 17:29, Camaleón wrote: On Tue, 10 Jul 2012 18:09:42 +0200, Zdenek Herman wrote: On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply at the bottom) Dne 9.7.2012 16:52, Camaleón napsal(a): (...) I don't know why does not work for you. Take a look into this

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-09 Thread Camaleón
On Sun, 08 Jul 2012 22:26:11 +0200, Zdenek Herman wrote: (...) When I set hosts.deny ALL: ALL and hosts.allow is empty. I can allow connect to MySQL from anywhere - settings in hosts.allow and hosts.deny are ignored. (...) I wonder if you aren't just missing the daemon to filter (mysqld)

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-09 Thread Zdenek Herman
My hosts.deny # /etc/hosts.deny: list of hosts that are _not_ allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example:ALL: some.host.name, .some.domain # ALL EXCEPT in.fingerd: other.host.name, .other.domain # # If

Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-09 Thread Kushal Kumaran
On Mon, Jul 9, 2012 at 11:41 PM, Zdenek Herman zdenek.her...@ille.cz wrote: My hosts.deny # /etc/hosts.deny: list of hosts that are _not_ allowed to access the system. # See the manual pages hosts_access(5) and hosts_options(5). # # Example:ALL: some.host.name,