Interesting Files - C0ntr07/Firewalla-Information GitHub Wiki

Install Firewalla Gold on a native Ubuntu OS image

/home/pi/firewalla/scripts/install.sh

Setup Swap Files

/home/pi/firewalla/scripts/sbin/setup_zram.sh

Location of the ssh password

/home/pi/.firewalla/.sshpasswd /media/home-rw/overlay/pi/.firewalla/.sshpasswd

Contains the code to change the ssh password

./firewalla/net2/SysManager.js

          case "System:SSHPasswordChange": {
            const SSH = require('../extension/ssh/ssh.js');
            const ssh = new SSH('info');
            ssh.getPassword((err, password) => {
              this.sshPassword = password;
            });
            break;
          }
...
  setSSHPassword(newPassword) {
    this.sshPassword = newPassword;
    pclient.publish("System:SSHPasswordChange", "");
  }
...
  mySSHPassword() {
    return this.sshPassword;
  }

Redis

A good reference sheet can be found here, here, and here.

List all keys

redis-cli KEYS '*' | cut -d ':' -f 1 | sort -u

Watch current live commands. Use with care when on production. Cancel with Ctrl-C.

monitor

List all connections.

CLIENT LIST