Go to file
SkyperTHC 2c1f5258cc
curl
2023-01-15 10:37:45 +00:00
admin/monitor_ssh mfs: add report for downtime 2022-11-19 15:37:11 +02:00
cleaner/cg foobar 2023-01-12 10:43:33 +00:00
config/etc 0.3.8rc2 2022-11-28 14:36:13 +00:00
encfsd tor fix 2022-11-28 17:20:51 +00:00
gsnc tor fix 2022-11-28 17:20:51 +00:00
guest curl 2023-01-15 10:37:45 +00:00
host release-0.3.9a2-VNC 2023-01-11 18:22:52 +00:00
provision release-0.3.9a2-VNC 2023-01-11 18:22:52 +00:00
router new toys 2022-12-06 14:15:57 +00:00
sfbin more-GUI 2023-01-08 13:43:32 +00:00
tor tor fix 2022-11-28 17:20:51 +00:00
ChangeLog more-GUI 2023-01-08 13:43:32 +00:00
docker-compose.yml 0.3.8rc1 2022-11-27 13:17:00 +00:00
Makefile foobar 2023-01-12 10:43:33 +00:00
README.md Update README.md 2022-10-28 10:50:41 +01:00

segfault.net - A Server Centre Deployment

This page is for server administrators and those folks who like to run their own Segfault.net Server Centre (SSC). Running your own SSC allows you to offer root-servers to other users.

If this is not what you want and you just like to get a root-shell on your own server then please go to https://www.thc.org/segfault or try our demo deployment:

ssh root@segfault.net # the password is 'segfault'

Deploy a Server Centre:

git clone --depth 1 https://github.com/hackerschoice/segfault.git && \
cd segfault && \
export SF_SEED="$(head -c 1024 /dev/urandom | tr -dc '[:alpha:]' | head -c 32)" && \
echo "SF_SEED=${SF_SEED}" && \
make

To start execute:

SF_BASEDIR="$(pwd)" SF_SSH_PORT=2222 sfbin/sf up

Take a look at provision/env.example for a sample .env file.

The limits and constraints for all root servers are configured in config/etc/sf/sf.conf. It is possible to relax limits per individual root server by creating a file in config/db/db-<LID>/limits.conf. The is the ID of the server (type echo $SF_LID when logged in to the server). Alternatively it is possible to get the LID from the Root Server's name: cat config/db/hn/hn2lid-<SF_HOSTNAME>.

Provisioning

Provisioning turns a freshly created Linux (a bare minimum Installation) into a SSC. It's how we 'ready' a newly launched AWS Instance for SSC deployment. You likely dont ever need this but we wrote it down anyway.


Telegram: https://t.me/thcorg Twitter: https://twitter.com/hackerschoice