This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2016-08-19 12:32:04 +10:00
ansis_default Add new mail scan to mail menu 2016-08-13 20:19:59 +10:00
config_default Started on a WWW server, not complete disabled by default 2016-08-16 20:28:48 +10:00
inih Initial Commit 2016-03-22 11:48:59 +10:00
jamlib Ported to Minix 3.3.0 2016-08-01 10:36:53 +00:00
lua Started on a WWW server, not complete disabled by default 2016-08-16 20:28:48 +10:00
scripts_examples Add forgotten auto message to login_stanza 2016-08-04 17:50:36 +10:00
utils fix some bugs in ticproc 2016-08-13 09:18:49 +10:00
www Add viewing of email to WWW 2016-08-19 12:32:04 +10:00
Xmodem Added Experimental File areas 2016-04-03 09:26:17 +10:00
.gitignore Added reason for disconnect, fixed minix EINTR during accept 2016-08-01 12:03:46 +00:00
bbs_list.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
bbs.c Added email listing to www server 2016-08-17 19:26:01 +10:00
bbs.h Add viewing of email to WWW 2016-08-19 12:32:04 +10:00
chat_system.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
doors.c Started on a WWW server, not complete disabled by default 2016-08-16 20:28:48 +10:00
email.c Added email listing to www server 2016-08-17 19:26:01 +10:00
file_id.diz Update file_id.diz and bulletin to 0.3 2016-08-07 18:00:29 +10:00
files.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
LICENSE.txt Added License & FILE_ID.DIZ 2016-04-09 18:22:55 +10:00
lua_glue.c Attempt to make doors, chat and files work with ssh 2016-08-07 13:45:52 +10:00
magicka.strings Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
mail_menu.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
main_menu.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
main.c More work on WWW Server 2016-08-17 10:55:03 +10:00
Makefile.freebsd Started on a WWW server, not complete disabled by default 2016-08-16 20:28:48 +10:00
Makefile.freebsd.WWW Added email listing to www server 2016-08-17 19:26:01 +10:00
Makefile.linux Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
Makefile.linux.WWW Add viewing of email to WWW 2016-08-19 12:32:04 +10:00
Makefile.minix Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
Makefile.osx Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
README.md Fix README 2016-08-07 19:48:49 +10:00
settings.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
strings.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
users.c Move Strings into a String file so they can be customized 2016-08-14 19:56:15 +10:00
www_email.c Add viewing of email to WWW 2016-08-19 12:32:04 +10:00
www.c Add viewing of email to WWW 2016-08-19 12:32:04 +10:00

README!!

If you are upgrading from a version prior to 73aa146b84 You will need to make and run the update_pass utility on your user database. This will convert all plain text passwords to sha256 hashed and salted passwords.

eg.

	cd utils/update_pass
	make
	./update_pass ../../users.sq3

Although you probably should make a backup of your database first in case things go wrong...

MagickaBBS

Linux/FreeBSD bulletin board system (Should also work on NetBSD and OpenBSD, if it doesn't it's a bug)

As I lost the code to my initial BBS flea, I've decided to start over from scratch and this time I'm using git hub so I dont lose it again!

Magicka is meant to be a modern (haha) BBS system, using modern technologies, like Sqlite3, IRC, long filenames (gasp!) etc while still retaining the classic BBS feel. ANSI & Telnet, and good old ZModem.

If you want to install Magicka BBS, follow these steps.

  1. Ensure you have git, c compiler, libsqlite3-dev, libreadline-dev, libssl-dev, libssh-dev and gnu make

    sudo apt-get install build-essential libsqlite3-dev libreadline-dev git libssl-dev libssh-dev

    should work on debian and debian derivatives.

  2. Clone the repo git clone https://github.com/apamment/MagickaBBS

  3. Build JamLib

cd MagickaBBS/jamlib

make -f Makefile.linux (Linux) gmake -f Makefile.linux (*BSD)

  1. Build libzmodem

cd MagickaBBS/Xmodem

make (Linux) gmake (*BSD)

  1. Build LUA

    cd MagickaBBS/lua

    make linux (Linux) gmake freebsd (FreeBSD)

  2. Build the BBS (You may have to adjust the Makefile for your system)

make -f Makefile.linux (Linux) gmake -f Makefile.freebsd (FreeBSD)

  1. Make a directory for logs.

    mkdir logs

  2. Copy the config-default directory to a config directory.

cp -r config_default config

  1. Edit the config files and update essential information, like system paths and BBS name etc
  2. Copy the ansi-default directory to the one specified in your system path

eg.

cp -r ansi_default ansis

  1. If you are going to run SSH, you will need to create keys. To do this

mkdir keys

`ssh-keygen -f keys/ssh_host_rsa_key -N '' -t rsa`

`ssh-keygen -f keys/ssh_host_dsa_key -N '' -t dsa`
  1. Run Magicka BBS on a port over 1024 (Below require root, and we're not ready for that).

./magicka config/bbs.ini

  1. Your BBS is now running on the port you specified in the config.ini, log in and create yourself an account! (By default there is only one security level, you can add more, but you will need to use an SQLite Manager to modify users.sq3 and set security levels, as there is no user editor yet.

For information on how to configure your BBS, check the wiki https://github.com/apamment/MagickaBBS/wiki