< 022020-08-03⋎04 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
06:24*andifi[m] is now known as andifi[m]
09:01*friedrich[m]1 has quit (Quit: Idle for 30+ days)
15:20tool172[m]symbioquine: It always has CVS vulnerabilities on BSD usually including SQL injection techniques.
15:26symbioquine[m]Specifically on BSD?
15:27tool172[m]yes sir. I run a Freebsd home server on a xeon backbone.
15:27tool172[m]Nas, nextlcoud, webserver, mediaserver, etc
15:27tool172[m]parts are open to the internet
15:28symbioquine[m]No, I mean it's surprising to me that the vulnerbilities would be specific to BSD.
15:28tool172[m]unless they cleaned it up
15:28tool172[m]last two updates i did had open cvs
15:28tool172[m]most likely to all
15:28tool172[m]it's the web server that's the problem
15:30tool172[m]correction, the php scripting in the web serving
15:30tool172[m]sorry, i'm updating my dev environment right now
15:30symbioquine[m]But phpmyadmin doesn't include a web server (unless you choose a docker container or something) the vulnerbilities which phpmyadmin would be specifically responsible for would be at the php implementation layer.
15:31symbioquine[m]Don't get me wrong, there definitely is a steady stream of issues; www.cvedetails.com/vulnerability-list/ve
15:32tool172[m]i hear ya
15:32tool172[m]i just turn it on and shut it off on my apache server as needed
15:32symbioquine[m]But I think it may require a bit more nuanced evaluation since many large php projects have similar vulnerability history;
15:32symbioquine[m]* Drupal: www.cvedetails.com/vulnerability-list/ve
15:32symbioquine[m]* Wordpress: www.cvedetails.com/vulnerability-list/ve
15:37mstenta[m]my two cents (FWIW): i stopped using phpmyadmin because it's just another thing to stay on top of with updates, increases attack surface, etc - when there are alternatives (eg: pure client apps like MySQL Workbench) that obviate the need for it entirely
15:38mstenta[m]but to each their own! i know a lot of folks just run it in dev too
15:38mstenta[m]i am curious to try the PHPStorm db features, since i'm already using PHPStorm, and MySQL Workbench isn't always super stable :-)
15:39tool172[m]i'm about to plugin with it today
15:39tool172[m]once i get my docker updated
15:39mstenta[m]also fwiw: i'm going to try to make postgresql the default for farmOS 2.x
15:40mstenta[m]MySQL Workbench does not support postgresql
15:40mstenta[m]there is an equivalent to phpmyadmin for postgresql
15:40mstenta[m]but i may just make the switch to using PHPStorm since it support postgresql as well
15:40symbioquine[m]But postgre has a great "workbench" tool
15:40mstenta[m] * but i may just make the switch to using PHPStorm since it supports postgresql as well
15:40symbioquine[m]*postgres
15:40tool172[m]it'll be fine
15:41mstenta[m]yea it looks great! i played with it a bit
15:41tool172[m]postgres i'm very familiar with from college
15:41mstenta[m]but i come back to: i want something i can use in dev and prod
15:41tool172[m]that was in 06'
15:41mstenta[m]and i don't want to install that on prod
15:41mstenta[m]just easier to have a consistent solution in both envs
15:42symbioquine[m]It's a good point about the attack surface area... my current mitigation is that I just bind the port only to localhost and use an SSH tunnel when I need to access it...
15:42mstenta[m]ah yea that works
15:42tool172[m]i literally enable and disable it as needed
15:42tool172[m]from the http.conf
15:43mstenta[m]still - i really like the idea of only running a client on my laptop - keeps the prod deployment simpler
15:43symbioquine[m]yeah
15:43mstenta[m]i wonder if either of them can connect to remote dbs?
15:43mstenta[m]if so you could run phpmyadmin in dockre locally
15:43symbioquine[m]Why not? Just forward the port with SSH...
15:44mstenta[m]true
15:44symbioquine[m]You could even use github.com/jnovack/docker-autossh to persistently expose the tunnel within a docker-compose stack...
15:45mstenta[m]near
15:45mstenta[m] * neat
15:46mstenta[m]i guess the other thing that would need to do, though, is tunnel through ssh... so you don't actually expose the db to the public at all
15:46mstenta[m](or maybe that's what you meant)
15:46symbioquine[m]Yep, exactly.
15:46tool172[m]i use vpn and ssh
15:46symbioquine[m]I can't think of a reason I would ever expose the DB port beyond localhost.
15:47mstenta[m]i generally put DB on another server, with firewall rules so only the web server can access it
15:47symbioquine[m]well, at least not within a single-host environment
15:47symbioquine[m]Totally different situation once you start scaling up with multiple hosts.
15:47tool172[m]i use bsd users and groups to limit that
15:47mstenta[m]yea
15:47tool172[m]then run jails or vms with differnt ips and ports
15:47tool172[m]to limit access
15:48tool172[m]overhead is having mulitple mysql installs
15:48tool172[m]but data is cheap, and if they hacked the account, it's highest directory is the vm
15:50symbioquine[m]Once you have multiple hosts, firewall and/or some sort of network isolation is the way to go for sure.
15:50tool172[m]i use a software one on the server and my router
15:50tool172[m]i have like 5 pages on config notes
16:11tool172[m]in docker for the dev site what is the database location db@localhost?
16:12tool172[m]i'm trying to connect it to my phpstorm
16:12mstenta[m]`farm@db`
16:12mstenta[m]db name is `farm`
16:12mstenta[m]db host is `db`
16:13mstenta[m](assuming you use the `docker-compose.development.yml` example
16:13mstenta[m] * (assuming you use the `docker-compose.development.yml` example)
16:13mstenta[m]farmos.org/development/docker/#database-
16:13tool172[m]thanks. i'm going to refill my joe
16:14*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
16:14*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
16:14mstenta[m]gotta run - talk to you all later!
16:15mstenta[m]good luck tool172 !
16:15tool172[m]later
16:23paul121[m]tool172: you prob figured this out, in PHPStorm the host is `localhost` not `db` - I believe `db` is only recognized in the docker containers?
16:24tool172[m]i'm having to rebuild all since i forgot my last creds
16:24tool172[m]i'll get back to that in a bit
16:25mstenta[m]Yes that's true! Good point "paul121" (matrix.to/#/@paul121:matrix.org)
16:25mstenta[m]And that's assuming you have 3306 opened from the container
16:59tool172[m]it's opened by the docker yml
17:14*harry[m]2 has joined
20:06*kader[m] has joined
20:51*brent[m]2 has joined
23:43*JustTB has joined

< 022020-08-03⋏04 >