Use of this plugin with JackDB's services shall be subject to the Terms of Service. This plugin is released under the MIT license. If you receive this error then try running the plugin command again and it should work. The connection tokens expire after a couple of minutes (currently five) and the server rejects connection attempts for expired tokens. See here for more on how JackDB handles security. Is it secure?Īll data transfer is done using SSL and the encryption key to decrypt your data source configuration is not persisted anywhere on the JackDB server. JackDB works entirely in your web browser. No attempt to connect to your data source is made until after you log in and open the URL in your browser. If your browser does not open automatically, the URL is also printed. If not, then you'll be sent to the login page. If you're already logged into JackDB, then we'll immediately connect you to your data source. The encryption key used to encrypt your database configuration details is not saved by JackDB, and is only sent in response to the plugin's POST request.įinally, the plugin then generates a URL to log in directly to JackDB using the token from the previous step and opens using your default web browser. Returns back a signed token containing the encryption key and id.Saves the encrypted database configuration details, keyed by the id.Encrypts the data source config information with the key using AES-256-CBC.Generates a unique random id for the request.Then, if the plugin finds a valid database configuration, it sends a POST request to JackDB with the config information for your database. The plugin's other commands change where to look for a database configuration and what type of configuration to look for. By default, the plugin attempts to get configuration details for the PostgreSQL database in the Heroku configuration property DATABASE_URL. How does it work?įirst the plugin identifies the database to connect to. JackDB connects directly to your database so it's not currently possible to reach databases that are behind a firewall. Can I use this with a database running on my local machine or network? If your database is behind a firewall, you will need to open up the appropriate ports to allow JackDB to access it. The plugin has been tested with Heroku Postgres and ClearDB MySQL and works without any additional setup with both. Let us know what data sources you'd like us to support next. We're working on adding support for additional data sources. Can I use this for other types of databases? JackDB supports a number of other data source types. And I haven't updated any rules in a while, so I don't know why these commands are getting run.The JackDB Heroku plugin currently supports PostgreSQL, MySQL, MariaDB, and Oracle RDBMS databases. Isn't modprobe for loading kernel modules? Why would that command be run in the background as root? I certainly didn't run it. I'm also seeing on the audit.log file that the commands "modprobe" and "iptables-restor" (yes, without the e) were run a few times as root. I found the corresponding logs in the audit.log file, and here is the output: Today, (like every day that I delete the files), the contents of the directory had reappeared. So I deleted all the files in the jack_db directory, downloaded auditctl, and set a rule to watch the jack_db directory for any activity. So the best solution I have come up with so far to garner more information is to use auditctl. I also never use any database interaction software, and certainly never installed jackDB or any other such software I just use the psql cli tool and the ORM in whatever I'm working on. I DO use postgresql quite often for my work, and I have a postgresql server running on localhost, but deleting the files doesn't seem to interfere with that at all. There is apparently some product called jackDB for interacting with databases. There are no other files on my system that match any "jack" and "db" regex (that I could find). I ran xbps-query -o on each file to see if any installed packages owned them, and nothing. I installed software to view Berkley DB files, and the file appears to be empty. The first three are _db00x.db (x = 1, 2, 3), and their filetypes are "Applesoft BASIC program data." The 4th file is metadata.db, of filetype Berkeley DB. Apache CouchDB lets you access your data where you need it by defining the Couch Replication Protocol that is implemented by a variety of projects and products that span every imaginable computing environment from globally distributed server-clusters, over mobile phones to web browsers. It is called jack_db, and it contains four files. I have a very mysterious directory that keeps reappearing in my /dev/shm directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |