No description
  • Shell 77.7%
  • Dockerfile 8.9%
  • Go 4.3%
  • Makefile 3.7%
  • C 2.4%
  • Other 3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-16 01:36:28 -03:00
.github/workflows GH url. www push removed 2025-12-03 18:15:40 +00:00
base 0.5.8rc2 2025-06-11 15:49:48 +01:00
config/etc sfwg 2025-09-26 14:51:54 +01:00
contrib &1 and &2 fix 2025-12-03 18:08:42 +00:00
dnscrypt sfwg 2025-09-26 14:51:54 +01:00
encfsd sfwg 2025-09-26 14:51:54 +01:00
gsnc 0.5.8rc2 2025-06-11 18:29:01 +01:00
guest ipt for wg/net for stray packets 2025-12-02 12:02:23 +00:00
host ipt for wg/net for stray packets 2025-12-02 12:02:23 +00:00
master ipt for wg/net for stray packets 2025-12-02 12:02:52 +00:00
provision 0.5.8rc2 2025-06-11 18:29:01 +01:00
router ipt for wg/net for stray packets 2025-12-02 12:02:23 +00:00
sfbin ipt for wg/net for stray packets 2025-12-02 12:02:23 +00:00
tools fix: logpipe socket permission 2023-11-22 14:18:45 +00:00
tor routing/tc fixes 2023-04-26 18:57:44 +01:00
wgvpn 0.5.9a1 2025-07-17 17:51:47 +01:00
.gitignore lftp 2023-03-28 20:24:58 +01:00
agmh.txt Mirroring with AGMH v0.4.1 2026-06-16 01:36:28 -03:00
ChangeLog curl onion, geoip, resolv, ... 2025-07-02 11:49:04 +01:00
docker-compose.yml sfwg 2025-09-26 14:51:54 +01:00
Makefile 0.5.9a1 2025-07-17 17:51:47 +01:00
README.md wiretap key fix and 2025build 2025-01-02 19:38:56 +00: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 [email protected] # 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.

GUI

SFUI is a companion project created by @messede-degod. It provides a 'Remote Desktop' (X11/Gnome) to your Root Server. It is run as a Cloud Service by the community. Try it!


Join us: https://thc.org/ops