The Pirate Bay's old web server and BitTorrent tracker, hypercube.
| .idea | ||
| akbuf | ||
| asio | ||
| .gitignore | ||
| access.cfg.dist | ||
| cfg.c | ||
| cfg.h | ||
| CMakeLists.txt | ||
| config.h.dist | ||
| http.c | ||
| http.h | ||
| hypercube.cfg.dist | ||
| hypercube.h | ||
| hypercube.includes | ||
| hypercube.pro | ||
| log.c | ||
| log.h | ||
| main.c | ||
| Makefile.orig | ||
| net.c | ||
| net.h | ||
| README | ||
| setdist.sh | ||
| tracker.c | ||
| tracker.cfg.dist | ||
| tracker.h | ||
<beak> hypercube är ungefär som rap på skånska
<beak> coolt men lite skumt
How to compile (no autoconf, sorry...):
- Edit asio/asio.h and select what async I/O interface you wanna use.
- Edit Makefile.
- If you are on Linux, USE_LINUX_SENDFILE should be defined.
- If you are on Linux, using epoll (kernel >=2.6), and have a libc which
doesn't support them (warnings about 'epoll_* is not implemented and
will always fail' on linking), uncomment the AKEPOLL* lines.
- Maybe put that final touch to config.h.
It ships with DEBUG enabled. You probably want to disable this.
Now make :-).
The rest of the configuration is in your CFG_FILE (hypercube.cfg by
default).
- anakata@anakata.hack.se || anakata@g-con.org