MunGell / cjdns-php-gui

A nice GUI for editing cjdroute.conf - also horribly insecure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple GUI for editing cjdroute.conf

Some screenshots, so you know what you're getting into

Installing:

  1. Drop into an http-accessable directory

  2. Copy config.inc.example.php to cjdns.inc.php and edit it to point to your cjdroute.conf file

  3. ensure that your webserver's user has read write access to cjdroute.conf - this is proly a bad idea. Also make sure it's PHP readable JSON (so no comments). Try this to parse them out: cat cjdroute.conf | perl -p0e 's!/\*.*?\*/!!sg' | grep -v "//"

  4. Restrict access to the directory. One way to do this is to make a .htaccess file that looks like this:

Order Deny,Allow
Deny from all
Allow from <your IP here>

About

A nice GUI for editing cjdroute.conf - also horribly insecure