Restrict session to IP 
Warbox API and instructions
These pages are for "Warbox" administrators.
A Warbox is a computer that offers hacking challenges, but does not keep track of it´s users and their progress.

If you are the admin of a Warbox, adding it to WeChall has never been easier.

All you need todo is make sure that you have an identd running on a port below 4141 and being reachable by
Also your box needs to be able to connect to on port 4141.
How does it work?
When a user does the netcat(nc) command from your box, the identd will securely tell the service at port 4141 which level on your box sent the command.
As the user sends a unique Warbox token as well, the service at can keep track of a users progress.
Users can then link your Warbox as any regular site, via as a data proxy.

Of course adding a new site also requires us to choose a proper display name, hostname and other settings manually.
Send us an email with the required information to get your box added to wechall.

Let us thank epoch_qwert, for this fabulous idea and implementation!
Setting up identd
Some examples how to install an identd can be found here.
emerge -av oidentd
/etc/init.d/oidentd start
rc-update add oidentd default

Configuring iptables
Allow incoming 113 from
iptables -I INPUT -p tcp -m tcp --dport 113 -s -j ACCEPT

Allow outgoing to port 4141
iptables -I OUTPUT -p tcp -m tcp --dport 4141 -d -j ACCEPT