Beyond
This is the beyond page that an additional post enumeration and assessment are conducted as the root
user after compromising the target system.
Firewall
root@wombo:/var# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere ctstate NEW,RELATED,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:6379
ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt
ACCEPT tcp -- anywhere anywhere tcp dpt:27017
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT icmp -- anywhere anywhere icmp echo-reply
DROP all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:ssh state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:domain state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:domain state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:http state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:6379 state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:6379 state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:http-alt state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp dpt:27017 state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:27017 state NEW,ESTABLISHED
ACCEPT udp -- anywhere anywhere udp dpt:domain state NEW,ESTABLISHED
ACCEPT icmp -- anywhere anywhere icmp echo-request
ACCEPT icmp -- anywhere anywhere icmp echo-reply
DROP all -- anywhere anywhere
Firewall is enforced
PS & Services
root@wombo:~# ps -auxwww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.6 56848 6600 ? Ss 11:50 0:00 /sbin/init
root 241 0.0 0.4 58132 4692 ? Ss 11:50 0:00 /lib/systemd/systemd-journald
root 243 0.0 1.1 214184 11804 ? Ssl 11:50 0:01 /usr/bin/vmtoolsd
root 254 0.0 0.4 46936 5052 ? Ss 11:50 0:00 /lib/systemd/systemd-udevd
systemd+ 448 0.0 0.4 127288 4160 ? Ssl 11:50 0:00 /lib/systemd/systemd-timesyncd
root 457 0.0 1.7 153524 18264 ? Ss 11:50 0:00 /usr/bin/VGAuthService
root 458 0.0 0.3 250112 3096 ? Ssl 11:50 0:00 /usr/sbin/rsyslogd -n
root 459 0.0 0.2 29636 2928 ? Ss 11:50 0:00 /usr/sbin/cron -f
message+ 460 0.0 0.3 45128 3800 ? Ss 11:50 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 469 0.0 0.4 46424 4836 ? Ss 11:50 0:00 /lib/systemd/systemd-logind
mongodb 564 0.1 8.1 1153916 82892 ? Ssl 11:51 0:05 /usr/bin/mongod --config /etc/mongod.conf
root 571 0.0 0.1 14524 1804 tty1 Ss+ 11:51 0:00 /sbin/agetty --noclear tty1 linux
root 573 0.0 0.5 69960 5448 ? Ss 11:51 0:00 /usr/sbin/sshd -D
root 583 0.0 0.1 159544 1632 ? Ss 11:51 0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
nodebb 584 0.0 3.7 605048 38644 ? Ssl 11:51 0:00 node loader.js --no-silent --no-daemon
www-data 586 0.0 0.3 159880 3264 ? S 11:51 0:00 nginx: worker process
nodebb 640 0.3 11.0 906160 113012 ? Sl 11:51 0:08 /usr/bin/node /opt/nodebb/app.js
root 1068 0.0 0.6 99356 6972 ? Ss 12:21 0:00 sshd: root@pts/0
root 1070 0.0 0.5 56396 5336 ? Ss 12:21 0:00 /lib/systemd/systemd --user
root 1071 0.0 0.1 84432 1528 ? S 12:21 0:00 (sd-pam)
root 1077 0.0 0.5 21140 5228 pts/0 Ss 12:21 0:00 -bash
root 1089 0.0 0.4 52076 4540 ? Ssl 12:21 0:00 /usr/local/bin/redis-server 0.0.0.0:6379
root 1232 0.0 0.3 38304 3184 pts/0 R+ 12:36 0:00 ps -auxwww
root@wombo:~# systemctl list-units --state=running
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active running Arbitrary Executable File Formats File System Automount Point
init.scope loaded active running System and Service Manager
session-2.scope loaded active running Session 2 of user root
cron.service loaded active running Regular background program processing daemon
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
mongod.service loaded active running MongoDB Database Server
nginx.service loaded active running A high performance web server and a reverse proxy server
nodebb.service loaded active running NodeBB
open-vm-tools.service loaded active running Service for virtual machines hosted on VMware
redis-server.service loaded active running Advanced key-value store
rsyslog.service loaded active running System Logging Service
ssh.service loaded active running OpenBSD Secure Shell server
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-udevd.service loaded active running udev Kernel Device Manager
user@0.service loaded active running User Manager for UID 0
vgauth.service loaded active running Authentication service for virtual machines hosted on VMware
dbus.socket loaded active running D-Bus System Message Bus Socket
syslog.socket loaded active running Syslog Socket
systemd-journald-audit.socket loaded active running Journal Audit Socket
systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/log)
systemd-journald.socket loaded active running Journal Socket
systemd-udevd-control.socket loaded active running udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
mongod.service
nginx.service
nodebb.service
redis-server.service
Mongo
root@wombo:~# systemctl status mongodb.service
Unit mongodb.service could not be found.
root@wombo:~# systemctl status mongod.service
● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2024-08-02 03:26:53 EDT; 7 months 8 days ago
Docs: https://docs.mongodb.org/manual
Main PID: 564 (mongod)
Tasks: 32
CGroup: /system.slice/mongod.service
└─564 /usr/bin/mongod --config /etc/mongod.conf
root@wombo:~# cat /lib/systemd/system/mongod.service
[Unit]
Description=MongoDB Database Server
Documentation=https://docs.mongodb.org/manual
After=network.target
[Service]
User=mongodb
Group=mongodb
EnvironmentFile=-/etc/default/mongod
ExecStart=/usr/bin/mongod --config /etc/mongod.conf
PIDFile=/var/run/mongodb/mongod.pid
# file size
LimitFSIZE=infinity
# cpu time
LimitCPU=infinity
# virtual memory size
LimitAS=infinity
# open files
LimitNOFILE=64000
# processes/threads
LimitNPROC=64000
# locked memory
LimitMEMLOCK=infinity
# total threads (user+kernel)
TasksMax=infinity
TasksAccounting=false
# Recommended limits for for mongod as specified in
# http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings
[Install]
WantedBy=multi-user.target
/etc/mongod.conf
root@wombo:~# cat /etc/mongod.conf | grep -v '^[#/]' | sed '/^$/d'
storage:
dbPath: /var/lib/mongodb
journal:
enabled: true
systemLog:
destination: file
logAppend: true
path: /var/log/mongodb/mongod.log
net:
port: 27017
bindIp: 0.0.0.0
processManagement:
timeZoneInfo: /usr/share/zoneinfo
security:
authorization: enabled
nginx
root@wombo:~# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2024-08-02 03:26:53 EDT; 7 months 8 days ago
Docs: man:nginx(8)
Process: 581 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 563 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 583 (nginx)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/nginx.service
├─583 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─586 nginx: worker process
root@wombo:~# cat /lib/systemd/system/nginx.service | grep -v '^[#/]' | sed '/^$/d'
[Unit]
Description=A high performance web server and a reverse proxy server
Documentation=man:nginx(8)
After=network.target
[Service]
Type=forking
PIDFile=/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t -q -g 'daemon on; master_process on;'
ExecStart=/usr/sbin/nginx -g 'daemon on; master_process on;'
ExecReload=/usr/sbin/nginx -g 'daemon on; master_process on;' -s reload
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid
TimeoutStopSec=5
KillMode=mixed
[Install]
WantedBy=multi-user.target
root@wombo:~# cat /etc/nginx/nginx.conf | grep -v '^[#/]' | sed '/^$/d'
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
root@wombo:~# cat /etc/nginx/sites-enabled/default | grep -v '^[#/]' | sed '/^$/d'
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Note: You should disable gzip for SSL traffic.
# See: https://bugs.debian.org/773332
#
# Read up on ssl_ciphers to ensure a secure configuration.
# See: https://bugs.debian.org/765782
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
# include snippets/snakeoil.conf;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
# pass PHP scripts to FastCGI server
#
#location ~ \.php$ {
# include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
nodebb
root@wombo:~# systemctl status nodebb.service
● nodebb.service - NodeBB
Loaded: loaded (/etc/systemd/system/nodebb.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2024-08-02 03:26:53 EDT; 7 months 8 days ago
Docs: https://docs.nodebb.org
Main PID: 584 (node)
Tasks: 22 (limit: 4915)
CGroup: /system.slice/nodebb.service
├─584 node loader.js --no-silent --no-daemon
└─640 /usr/bin/node /opt/nodebb/app.js
root@wombo:~# cat /etc/systemd/system/nodebb.service
[Unit]
Description=NodeBB
Documentation=https://docs.nodebb.org
After=system.slice multi-user.target mongod.service
[Service]
Type=exec
User=nodebb
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=nodebb
Environment=NODE_ENV=production
WorkingDirectory=/opt/nodebb
ExecStart=/usr/bin/env node loader.js --no-silent --no-daemon
Restart=always
[Install]
WantedBy=multi-user.target
/opt/nodebb/
root@wombo:~# ll /opt/nodebb/
total 688K
4.0K drwxr-xr-x 2 nodebb nodebb 4.0K Aug 7 2020 logs
4.0K drwxr-xr-x 12 nodebb nodebb 4.0K Aug 7 2020 .
8.0K -rw-r--r-- 1 nodebb nodebb 5.8K Aug 7 2020 loader.js
8.0K -rw-r--r-- 1 root root 5.8K Aug 7 2020 loader.js.bak
0 -rw-r--r-- 1 nodebb nodebb 0 Jul 12 2020 pidfile
4.0K drwxr-xr-x 4 nodebb nodebb 4.0K Apr 30 2020 build
4.0K -rw-r--r-- 1 nodebb nodebb 398 Apr 24 2020 config.json
400K -rw-r--r-- 1 nodebb nodebb 397K Apr 24 2020 package-lock.json
8.0K -rw-r--r-- 1 nodebb nodebb 4.8K Apr 24 2020 package.json
20K drwxr-xr-x 524 nodebb nodebb 20K Apr 24 2020 node_modules
4.0K drwxr-xr-x 8 nodebb nodebb 4.0K Apr 24 2020 .git
4.0K drwxr-xr-x 6 nodebb nodebb 4.0K Apr 24 2020 test
4.0K drwxr-xr-x 23 nodebb nodebb 4.0K Apr 24 2020 src
4.0K -rw-r--r-- 1 nodebb nodebb 41 Apr 24 2020 renovate.json
4.0K -rw-r--r-- 1 nodebb nodebb 327 Apr 24 2020 require-main.js
4.0K drwxr-xr-x 8 nodebb nodebb 4.0K Apr 24 2020 public
4.0K -rw-r--r-- 1 nodebb nodebb 2.7K Apr 24 2020 app.js
4.0K -rw-r--r-- 1 nodebb nodebb 77 Apr 24 2020 commitlint.config.js
4.0K -rw-r--r-- 1 nodebb nodebb 397 Apr 24 2020 docker-compose.yml
4.0K -rw-r--r-- 1 nodebb nodebb 336 Apr 24 2020 Dockerfile
8.0K -rw-r--r-- 1 nodebb nodebb 5.6K Apr 24 2020 Gruntfile.js
4.0K drwxr-xr-x 3 nodebb nodebb 4.0K Apr 24 2020 install
36K -rw-r--r-- 1 nodebb nodebb 35K Apr 24 2020 LICENSE
4.0K -rwxr-xr-x 1 nodebb nodebb 58 Apr 24 2020 nodebb
4.0K -rw-r--r-- 1 nodebb nodebb 42 Apr 24 2020 nodebb.bat
8.0K -rw-r--r-- 1 nodebb nodebb 5.1K Apr 24 2020 README.md
72K -rw-r--r-- 1 nodebb nodebb 71K Apr 24 2020 CHANGELOG.md
4.0K -rw-r--r-- 1 nodebb nodebb 389 Apr 24 2020 .codeclimate.yml
4.0K -rw-r--r-- 1 nodebb nodebb 157 Apr 24 2020 .editorconfig
4.0K -rw-r--r-- 1 nodebb nodebb 255 Apr 24 2020 .eslintignore
4.0K -rw-r--r-- 1 nodebb nodebb 4.0K Apr 24 2020 .eslintrc
4.0K -rw-r--r-- 1 nodebb nodebb 257 Apr 24 2020 .gitattributes
4.0K drwxr-xr-x 2 nodebb nodebb 4.0K Apr 24 2020 .github
4.0K -rw-r--r-- 1 nodebb nodebb 972 Apr 24 2020 .gitignore
4.0K -rw-r--r-- 1 nodebb nodebb 455 Apr 24 2020 .jsbeautifyrc
8.0K -rw-r--r-- 1 nodebb nodebb 5.3K Apr 24 2020 .jshintrc
4.0K -rw-r--r-- 1 nodebb nodebb 2.9K Apr 24 2020 .travis.yml
4.0K drwxr-xr-x 2 nodebb nodebb 4.0K Apr 24 2020 .tx
4.0K drwxr-xr-x 3 root root 4.0K Apr 24 2020 ..
config.json
package.json
config.json
root@wombo:~# cat /opt/nodebb/config.json
{
"url": "http://localhost:4567",
"secret": "1bd93731-233b-4116-843a-3d66404e402f",
"database": "mongo",
"mongo": {
"host": "127.0.0.1",
"port": "27017",
"username": "nodebb",
"password": "6ee2d89219d3d7af7f7666e483ffaed4",
"database": "nodebb",
"uri": ""
},
"port": "8080",
"socket.io": {
"origins": "*:*"
}
}
package.json
root@wombo:~# cat /opt/nodebb/package.json
{
"name": "nodebb",
"license": "GPL-3.0",
"description": "NodeBB Forum",
"version": "1.13.2",
"homepage": "http://www.nodebb.org",
"repository": {
"type": "git",
"url": "https://github.com/NodeBB/NodeBB/"
},
"main": "app.js",
"scripts": {
"start": "node loader.js",
"lint": "eslint --cache ./nodebb .",
"pretest": "npm run lint",
"test": "nyc --reporter=html --reporter=text-summary mocha",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"ace-builds": "^1.2.9",
"archiver": "^3.0.0",
"async": "^3.0.1",
"autoprefixer": "^9.4.6",
"bcryptjs": "2.4.3",
"benchpressjs": "^2.0.0",
"body-parser": "^1.18.2",
"bootstrap": "^3.4.0",
"bootswatch": "git://github.com/thomaspark/bootswatch.git#c41a8f066feb8950c6f9c6bcf5a3c37d1085404e",
"chart.js": "^2.7.1",
"cli-graph": "^3.2.2",
"clipboard": "^2.0.1",
"colors": "^1.1.2",
"commander": "^3.0.0",
"compression": "^1.7.1",
"connect-ensure-login": "^0.1.1",
"connect-flash": "^0.1.1",
"connect-mongo": "3.2.0",
"connect-multiparty": "^2.1.0",
"connect-pg-simple": "^6.0.0",
"connect-redis": "4.0.4",
"cookie-parser": "^1.4.3",
"cron": "^1.3.0",
"cropperjs": "^1.2.2",
"csurf": "^1.9.0",
"daemon": "^1.1.0",
"diff": "^4.0.1",
"express": "^4.16.2",
"express-session": "^1.15.6",
"express-useragent": "^1.0.12",
"graceful-fs": "^4.1.11",
"helmet": "^3.11.0",
"html-to-text": "^5.0.0",
"ipaddr.js": "^1.5.4",
"jquery": "3.4.1",
"jsesc": "2.5.2",
"json-2-csv": "^3.0.0",
"jsonwebtoken": "^8.4.0",
"less": "^3.10.3",
"lodash": "^4.17.15",
"logrotate-stream": "^0.2.5",
"lru-cache": "5.1.1",
"material-design-lite": "^1.3.0",
"mime": "^2.2.0",
"mkdirp": "^1.0.3",
"mongodb": "3.5.2",
"morgan": "^1.9.1",
"mousetrap": "^1.6.1",
"mubsub-nbb": "^1.5.1",
"nconf": "^0.10.0",
"nodebb-plugin-composer-default": "6.3.21",
"nodebb-plugin-dbsearch": "4.0.7",
"nodebb-plugin-emoji": "^3.0.0",
"nodebb-plugin-emoji-android": "2.0.0",
"nodebb-plugin-markdown": "8.11.0",
"nodebb-plugin-mentions": "2.7.4",
"nodebb-plugin-soundpack-default": "1.0.0",
"nodebb-plugin-spam-be-gone": "0.6.7",
"nodebb-rewards-essentials": "0.1.2",
"nodebb-theme-lavender": "5.0.11",
"nodebb-theme-persona": "10.1.34",
"nodebb-theme-slick": "1.2.28",
"nodebb-theme-vanilla": "11.1.15",
"nodebb-widget-essentials": "4.0.18",
"nodemailer": "^6.0.0",
"passport": "^0.4.0",
"passport-local": "1.0.0",
"pg": "^7.4.0",
"pg-cursor": "^2.0.0",
"postcss": "7.0.26",
"postcss-clean": "1.1.0",
"promise-polyfill": "^8.0.0",
"prompt": "^1.0.0",
"redis": "2.8.0",
"request": "2.88.0",
"rimraf": "3.0.1",
"rss": "^1.2.2",
"sanitize-html": "^1.16.3",
"semver": "^7.0.0",
"serve-favicon": "^2.4.5",
"sharp": "0.24.0",
"sitemap": "^5.0.0",
"socket.io": "2.3.0",
"socket.io-adapter-cluster": "^1.0.1",
"socket.io-adapter-mongo": "^2.0.4",
"socket.io-adapter-postgres": "^1.2.1",
"socket.io-client": "2.3.0",
"socket.io-redis": "5.2.0",
"socketio-wildcard": "2.0.0",
"spdx-license-list": "^6.0.0",
"spider-detector": "2.0.0",
"textcomplete": "^0.17.1",
"textcomplete.contenteditable": "^0.1.1",
"toobusy-js": "^0.5.1",
"uglify-es": "^3.3.9",
"validator": "12.2.0",
"winston": "3.2.1",
"xml": "^1.0.1",
"xregexp": "^4.1.1",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/config-angular": "8.3.4",
"coveralls": "3.0.9",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-plugin-import": "2.18.2",
"grunt": "1.0.4",
"grunt-contrib-watch": "1.1.0",
"husky": "4.2.1",
"jsdom": "15.2.1",
"lint-staged": "10.0.7",
"mocha": "7.0.1",
"mocha-lcov-reporter": "1.3.0",
"nyc": "15.0.0",
"smtp-server": "3.5.0"
},
"bugs": {
"url": "https://github.com/NodeBB/NodeBB/issues"
},
"engines": {
"node": ">=8"
},
"maintainers": [
{
"name": "Andrew Rodrigues",
"email": "andrew@nodebb.org",
"url": "https://github.com/psychobunny"
},
{
"name": "Julian Lam",
"email": "julian@nodebb.org",
"url": "https://github.com/julianlam"
},
{
"name": "Barış Soner Uşaklı",
"email": "baris@nodebb.org",
"url": "https://github.com/barisusakli"
}
]
}
nodebb 1.13.2
redis-server
root@wombo:~# systemctl status redis-server.service
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2025-03-11 12:21:49 EDT; 26min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 1083 ExecStop=/bin/kill -s TERM (code=exited, status=1/FAILURE)
Process: 1088 ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
Main PID: 1089 (redis-server)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/redis-server.service
└─1089 /usr/local/bin/redis-server 0.0.0.0:6379
root@wombo:~# cat /lib/systemd/system/redis-server.service
[Unit]
Description=Advanced key-value store
After=network.target
Documentation=http://redis.io/documentation, man:redis-server(1)
[Service]
Type=forking
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf
TimeoutStopSec=0
Restart=always
User=root
Group=root
ExecStop=/bin/kill -s TERM
[Install]
WantedBy=multi-user.target
Alias=redis.service
/etc/redis/redis.conf
/etc/redis/redis.conf
root@wombo:~# cat /etc/redis/redis.conf | grep -v '^[#/]' | sed '/^$/d'
bind 0.0.0.0
protected-mode no
port 6379
tcp-backlog 511
timeout 0
tcp-keepalive 300
daemonize yes
supervised no
pidfile /var/run/redis/redis-server.pid
loglevel notice
logfile /var/log/redis/redis-server.log
databases 16
protected-mode no