[MDEV-9122] Please consider tcp wrappers support in all MariaDB packages/distros Created: 2015-11-12 Updated: 2016-11-25 Resolved: 2016-11-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Packaging |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Alex | Assignee: | Otto Kekäläinen |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Hello, Your page about "considering source rpm" is too old and no news. Maybe it can be done out of box? I am used to compile almost everything from source rpms and adjust everything I need on the fly, so don't mind to have source rpm as well. But if everything remains as is - well,no choice then and need to either reconsider security again or get back to bazaar/cmake journey... Thanks! |
| Comments |
| Comment by Daniel Black [ 2015-11-14 ] | ||
|
Isn't Honestly I doubt libwrap can do better performance under high load than a stateless firewall doing the same job. This would add an additional dependency so can't be done during a stable release. So referring to clouds are you saying there has to be some access control beyond the mysql authentication on uncontrolled interfaces? I agree. I do see libwrap as something old and antiquated and probably just as ugly as your perception of firewalls. Sorry, I don't think enabling libwrap by default is a good idea. Currently you can bind to a local network address (--bind-address=192.168.1.0). I'm going to repackage my systemd socket activation patches ( | ||
| Comment by Alex [ 2015-11-14 ] | ||
|
Hi Daniel and thanks for looking into this! I am not sure tcp wrappers are old and ugly, I do know many people that keep using hosts.allow file for controlling ssh access for example (including myself), and it's still sounds like a good idea to me to not let the connection hit the application authentication level until checked by hosts.allow for example. And I never liked firewalls I have MariaDB spread over dozen of virtual machines (on physical servers) in different corners of the world, all of which needs to replicate either for purpose of HA (DRP) or backups. Today I am using VPN tunnels between such locations. I have 2 LAN interfaces, one used for APP access and the other one for VPN (which is used for both internet, replication and remote access). No external access, and MariaDB listens to 0.0.0.0 in such case. So here is my situation and my explanation for having libwrap. I see the things are not gonna change, and you have reasons for that. Thanks again for looking into this! Alex | ||
| Comment by Daniel Black [ 2015-11-14 ] | ||
|
Good explanation. btw, to produce rpms (in this case for f22 - suffix on rpm)
The systemd patches I'll do will supported a limited number of binding interfaces. | ||
| Comment by Alex [ 2015-11-14 ] | ||
|
Thanks! | ||
| Comment by Otto Kekäläinen [ 2016-11-25 ] | ||
|
libwrap is deprecated in Debian and Ubuntu, we will not ever start using it anymore |