Access strings use Synchronet's ARS syntax, so strings from SCFG carry over: LEVEL 60 AND FLAG A, 60$FA, !GUEST, ANSI AND COLS 80, (LEVEL 90 OR FLAG S) AND AGE 18, USER=1, NOT FLAG 2G. Keywords: LEVEL, FLAG (FLAG1-4), EXEMPT, REST, AGE, SEX, CREDIT, DAY, TIME, NODE, USER, PCR, UDR, UDFR, EXPIRE, LASTON, TLEFT, TUSED, CALLS, POSTS, ULS, DLS, COLS, ROWS, ANSI, UTF8, SYSOP, GUEST, EXPERT, SSH, TELNET, RLOGIN, UNIX, WINDOWS. A string that can't be read lets only sysops in.
Flags are four sets of letters A-Z that you give users and test with FLAG. Exemptions: A anonymous posts, C page the sysop any time, D downloads without credits or ratio, E the account never expires, G several nodes at once, H no idle hang-up, L unlimited logons a day, N log on to locked nodes, P permanent (never expires, never removed as inactive), R manage any file, T no time limit, X doors cost nothing. Restrictions: A no colour codes in posts, B no beeps, C no chat, D no downloads, E no mail (except to the sysop), G guest, J no quoting, K can't read sent mail, L one logon a day, M no netmail, N no posting in networked areas, P no posting, S can't mail the sysop, T no file section, U no uploads, W no auto-message, X no doors. When an account's expiry date passes it drops to [bbs] expired_level (0 = it can't log on).
Credits are off unless you switch them on:
[credits] enabled = true new_user = 102400 # starting credits per_day = 0 # given on the first call each day per_post = 0 per_upload_byte = 1.0 # credits earned per byte uploaded per_download_byte = 1.0 # credits charged per byte downloaded min_ratio_percent = 0 # uploads must be at least this % of downloads (0 = no ratio) ratio_free_bytes = 1048576 # downloads allowed before the ratio applies
A file area with free = true costs nothing. @CREDITS@, @UPBYTES@ and @DLBYTES@ show the numbers on screens.
Blocking uses Synchronet's filter files, read from screens/ or text/ (a Synchronet text folder works as it is): ip.can (refused, with the badip screen), ip-silent.can (dropped without a word), host.can (badhost), name.can, email.can, password.can (for new users), file.can (uploads), subject.can (posts). One entry per line; * and ? are wildcards, ~ at the start means “contains”, ^ “begins with”, ! “not”, and IP files take ranges like 10.1.2.0/24. Failed logins and floods block an address for a while:
[security] max_login_failures = 5 # within failure_window_minutes failure_window_minutes = 10 block_minutes = 60 block_permanently = false # also add it to ip.can max_connects_per_minute = 10 lookup_hosts = true # reverse DNS for host.can guest_name = "Guest" guest_check = true # guests press a letter shown on screen first hide_short_guest_secs = 30 # guest calls shorter than this are not listed or counted (0 = off) system_password = "" # sysops must also give this after logging in (empty = off)
Guests and login robots. Programs that scan the internet for telnet logins try the usual names and passwords, and sooner or later type “guest” and get in, then leave a few seconds later. With guest_check on (the default), a guest is asked to press a letter shown on the screen (Guest login: to show you are a person, press the letter W:); anything typed before it is thrown away, so a robot that sends its password straight after the name fails. A miss is logged (“guest key check failed from IP”) and counts towards max_login_failures. With hide_short_guest_secs (30 by default), a guest call shorter than that is taken out of the callers list (last callers, the Gazette) and the call counts when it ends; the log keeps a line for it. Set it to 0 to keep every call.
System password. With system_password set, every sysop (level 90 or more) is asked System password: straight after logging in, as Synchronet's SY: prompt does. It is asked on telnet, SSH and RLogin alike, also when an SSH key or RLogin logged the sysop in. Case doesn't matter. Three misses end the call; each miss is logged (“wrong system password for NAME from IP”) and counts towards max_login_failures. Other users never see it. The web admin's log-in page then has a third box, System password, and a sysop needs all three to get in.
The web admin's Blocked page lists blocked addresses (with an Unblock button) and the filter files. Local connections (127.0.0.1) are never blocked.
Uploads are checked before they go into a file area:
[uploads]
scan_command = "clamscan --no-summary %f" # exit code 0 = clean
test_archives = true # zip built in; others with test_commands
test_commands = { arj = "arj t %f", rar = "unrar t %f" }
reject_duplicates = true # same name, or same contents, anywhere
quarantine = "data/quarantine" # refused files are kept here
validate = false # true: new uploads wait for the sysop (section 6)
From the Ironbark Sysop Guide, which is also in every download as SYSOP-GUIDE.txt.