Commit Graph

1445 Commits

Author SHA1 Message Date
Bryan Ashby fa3e3e5802
Introduce new user_temporary_token & use for token storage of 2FA/OTP registration 2019-06-11 21:20:34 -06:00
Bryan Ashby 18eecb6223
Fix user_temporary_token table 2019-06-11 19:54:57 -06:00
Bryan Ashby f8788d56d6
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates 2019-06-11 18:25:35 -06:00
Bryan Ashby 4158b07ad0
Better naming, start on temp tokens table, etc. 2019-06-11 18:25:24 -06:00
Bryan Ashby d6af9a1caa
Minor 2019-06-10 20:12:17 -06:00
Bryan Ashby 80eb8ad38d
Add latency est., activity level indicators, etc. 2019-06-10 20:07:45 -06:00
Bryan Ashby da93fd53e9
Start of custom format obj stuff. Want to add more info 2019-06-09 22:36:24 -06:00
Bryan Ashby 5c978e05bf
Ability to override idle time and/or temporary disable from MRC 2019-06-09 13:41:11 -06:00
Bryan Ashby 487968dac9
Fix my previous dumb 2019-06-09 09:19:34 -06:00
Bryan Ashby 433ad72752 Fixes & /clear
* Fix use port from config
* Add /clear & menu method: clearMessages()
2019-06-09 00:09:07 -06:00
Bryan Ashby ad305b4ccc
Implement 'maxScrollbackLines' config for MRC module 2019-06-08 12:12:29 -06:00
Bryan Ashby f2e769a27a
Fix up colors, clear out socket 2019-06-08 11:58:21 -06:00
Bryan Ashby afb7854ea5
Clean up logging a bit & implement 'omit'
* 'omit' can be set to omit views from form submission
* Don't log as much noise
2019-06-08 11:57:36 -06:00
Bryan Ashby 094385a150
Minor bug fixes and improvements
* Color help text a bit
* Split lines for buffer so padding works - may need to do elsewhere also
* Fix a couple crashes
2019-06-07 23:23:06 -06:00
Bryan Ashby 6e855884ad
Merge pull request #235 from davestephens/0.0.10-alpha
Bring in MRC to 0.0.10 alpha!
2019-06-05 22:41:20 -06:00
David Stephens 43e22cfc74 Turn off debug logging of MRC message sending 2019-06-05 23:41:28 +01:00
David Stephens 8726128cda Turn off MRC by default 2019-06-02 15:47:15 +01:00
David Stephens 5d73a224be Compress MRC help text 2019-06-02 15:24:08 +01:00
Bryan Ashby 9cc59f8ff8
Hopefully a little better handling of external doors/processes 2019-06-01 14:38:48 -06:00
David Stephens 8153473b89 Dial down MRC logging 2019-05-31 22:00:48 +01:00
David Stephens b6d0d0d95e Move generic config options to general config section 2019-05-31 21:20:18 +01:00
David Stephens 19e10bb096 Tweak to MRC handshake 2019-05-31 21:19:29 +01:00
David Stephens ce16f17081 Fix MRC MLTEV padding bug 2019-05-31 20:34:07 +01:00
David Stephens 136854017a Lots of tidy-up from PR #235 feedback 2019-05-31 20:32:16 +01:00
David Stephens 593bf67b45 Stop passing sockets all over the place. General tidy up and refactor. Add reconnection to MRC logic. 2019-05-31 01:16:32 +01:00
Bryan Ashby 29e0c8f790
Ability to show secret or backup codes 2019-05-29 22:03:29 -06:00
David Stephens ca8add36b5 reenable disabled jobs 2019-05-27 15:50:07 +01:00
David Stephens 2c3219fc67 Remove heartbeat when client exits mrc 2019-05-26 23:44:38 +01:00
David Stephens 0b95997554 MRC general config 2019-05-26 00:16:49 +01:00
David Stephens 109b157c02 more MRC bug squashing and tidy up 2019-05-26 00:14:36 +01:00
Bryan Ashby 8802ae24ba
Good progress on 2FA/OTP config 2019-05-24 22:27:50 -06:00
Bryan Ashby b62f55961f
Better formatting 2019-05-24 22:27:28 -06:00
Bryan Ashby 4ef32d1c52
Formatting + refs 2019-05-24 22:26:56 -06:00
Bryan Ashby 9018bc363c
show_art module can now take Buffer to display 2019-05-24 22:26:27 -06:00
David Stephens 9f4f1fca13 Refactor and rename of MRC client and multiplexer 2019-05-22 23:43:41 +01:00
David Stephens 92528fc16f MRC bug squashing 2019-05-20 23:37:32 +01:00
David Stephens 3436dad57a Merge branch '0.0.10-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha
* '0.0.10-alpha' of github.com:NuSkooler/enigma-bbs:
  Fix real names during message save
  Improve legacy EOF detector: Must be at least >= size of SAUCE
  Fix to read direct / full path & 'readSauce' option of art
2019-05-19 13:00:40 +01:00
David Stephens 67ecad4e1a Implemented most MRC server calls 2019-05-19 00:01:58 +01:00
David Stephens 9c2b3be0b1 MRC WIP 2019-05-18 00:25:35 +01:00
Bryan Ashby 50d108b44c
Merge branch '0.0.10-alpha' of github.com:NuSkooler/enigma-bbs into security-updates 2019-05-15 21:55:32 -06:00
Bryan Ashby da91bf0191
Fix real names during message save 2019-05-15 21:51:44 -06:00
Bryan Ashby 013c088651
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha 2019-05-13 21:32:34 -06:00
Bryan Ashby 228d3e3ae7
Improve legacy EOF detector: Must be at least >= size of SAUCE 2019-05-13 21:31:34 -06:00
Bryan Ashby b0d081ad04
Fix to read direct / full path & 'readSauce' option of art 2019-05-13 21:27:59 -06:00
Bryan Ashby d215919bff
Improvements to oputil
* Major update to --help
* '2fa' is now '2fa-otp' or just 'otp'
* Better 2fa-otp output & handling
2019-05-11 00:21:42 -06:00
Bryan Ashby 6953cdf159
QR's can't alwasy be created 2019-05-11 00:20:02 -06:00
Bryan Ashby 401d0a10b1
Fix 'AR' ACS check 2019-05-11 00:19:11 -06:00
Bryan Ashby 2767f3c4e3
Don't store hashed versions of backup codes
* Really no point; secret must be in plain-text and only ever used in conjunction with pass/etc.
* Better oputil handling
2019-05-09 20:25:47 -06:00
Bryan Ashby 6070bc94e7
Good progress on QR support 2019-05-09 19:56:04 -06:00
Bryan Ashby 3c6c8d2a5c
Add missing OTP file, minor updates 2019-05-08 21:06:10 -06:00
Bryan Ashby e5398db07b
WIP on OTP 2FA, stats, etc. 2019-05-07 21:36:33 -06:00
Bryan Ashby e960e2800d
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates 2019-05-06 20:49:16 -06:00
Bryan Ashby 826e5fc0f1
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.10-alpha 2019-04-23 18:17:54 -06:00
Bryan Ashby 509831cc0c
Better handling of active door instances 2019-04-23 18:16:55 -06:00
Bryan Ashby 50426d0e60
Listen 'address' for WebSockets 2019-04-09 20:25:37 -06:00
Bryan Ashby 37ea1e3a30
Listen 'address' for SSH 2019-04-09 20:25:27 -06:00
Bryan Ashby 8114a1e3f2
Listen 'address' for Telnet 2019-04-09 20:25:14 -06:00
Bryan Ashby 3460b98bf5
Listen 'address' for Web 2019-04-09 20:25:03 -06:00
Bryan Ashby d54338c46e
Listen 'address' for Gopher 2019-04-09 20:24:52 -06:00
Bryan Ashby 0ed507cd7b
Initial real 2FA/OTP work 2019-04-09 20:07:19 -06:00
Bryan Ashby 75d6eef92f
Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into security-updates 2019-04-08 20:16:16 -06:00
Bryan Ashby 19e70d1c78
Fix log message & hopefully handle client socket errors better 2019-04-08 20:14:00 -06:00
Bryan Ashby 64de10cbf7
Fix crash if client disconnects/is logged out while door is running 2019-04-05 21:53:30 -06:00
Bryan Ashby 23779c3abe
Use authInfo obj vs weird params. auth factor 1: factor 2 for 2FA, etc. 2019-02-22 22:51:12 -07:00
Bryan Ashby 57938e761e
+ Implement SSH PubKey authentication
* Security related items to config/security dir
2019-02-20 23:55:09 -07:00
Bryan Ashby 65ef1feb6c
Use crypto.timingSafeEqual() vs hand rolled method for constant time password comparison 2019-02-20 21:12:41 -07:00
Bryan Ashby f41d12c688
+ oputil user rename 2019-02-16 11:03:46 -07:00
Bryan Ashby 83d0daf4b7
Add 'My Messages' module 2019-02-15 21:55:18 -07:00
Bryan Ashby c695c1f4c5
New findMessages() filters 2019-02-15 21:53:18 -07:00
Bryan Ashby 1ca1128df6
Update docs & examples on SSH Private Key (PK) generation 2019-02-15 18:48:16 -07:00
Bryan Ashby 562c73e096
Merge 0.0.9-alpha into develop 2019-02-15 14:43:50 -07:00
FrozenFOXX fd514e9613
Added better description of options for SSH keys 2019-02-15 11:38:33 -08:00
Bryan Ashby f8bbc23951 Add Luciano art for message search 2019-02-15 12:37:17 -07:00
FrozenFOXX 66bd2ce108
Downgraded to AES128
Downgraded to AES128, AES256 does not currently seem to work.
2019-02-15 10:15:37 -08:00
FrozenFOXX 95214b0fb2
Update config.js
Updated the OpenSSL command to use aes256 over des3.
2019-02-14 11:05:02 -08:00
Bryan Ashby a314b40eb8 Update to daily maintenance schedule 2019-02-10 12:31:25 -07:00
Bryan Ashby 6a7aa5acb8 Reset daily stats @ midnight, duh 2019-02-09 10:56:36 -07:00
Bryan Ashby 50c1a60838 File scan improvements
* Support more versions of RAR signatures & file listings
* Better FILE_ID.DIZ, NFO, etc. extraction
2019-02-02 19:04:36 -07:00
Bryan Ashby 8ba80426e3 Better disconnect - should resolve issues with SSH 2019-02-02 10:20:22 -07:00
Bryan Ashby 6aa6712edc Minor achievement event improvements 2019-01-30 23:36:00 -07:00
Bryan Ashby 4bb4a06e66 Fix duplicate announcements for retroactive achievements 2019-01-30 21:01:49 -07:00
Bryan Ashby 8458d47f0c Fix funkyness with theme getting overridden from prefs when using SSH 2019-01-30 20:42:30 -07:00
Bryan Ashby 21b54eda7e Fix interrupt bug when connecting over SSH with multi-node 2019-01-29 21:31:39 -07:00
Bryan Ashby f15629682c Fix outstanding SSH bug seen with NetRunner and SyncTERM with ugly hack: Disable keep-alives 2019-01-29 20:36:45 -07:00
Bryan Ashby 1cd73ec78b Merge branch '0.0.9-alpha' of github.com:NuSkooler/enigma-bbs into 0.0.9-alpha 2019-01-26 15:30:41 -07:00
Bryan Ashby 6193dca58a Stats that are numbers should be formatted 2019-01-26 12:57:29 -07:00
Bryan Ashby bec497b209 totalCount & totalPoints should be numbers 2019-01-26 12:57:07 -07:00
Bryan Ashby c98e1474d0 Add totalPoints, totalCount 2019-01-26 12:05:07 -07:00
Bryan Ashby 3450500d27 factory() should not crash if data is null 2019-01-26 12:04:59 -07:00
Bryan Ashby 0efa148f63 Better incrementUserStat() 2019-01-24 21:54:16 -07:00
Bryan Ashby eea9e7b5e6 Don't use Errors 2019-01-24 21:53:45 -07:00
Bryan Ashby aa9cd8899c New 'userStatIncNewVal' achievement type 2019-01-24 21:53:31 -07:00
Bryan Ashby ae2a225e3a Module for listing user achievements earned 2019-01-22 21:55:28 -07:00
Bryan Ashby 4f0ade6ce1 * getAchievementsEarnedByUser() exported as standard method using global inst
* Added timestamp info
2019-01-22 21:54:37 -07:00
Bryan Ashby 4b763cc369 Spelling 2019-01-22 21:54:12 -07:00
Bryan Ashby b45cccaef7 Don't real-time interrupt while you interrupt... yo dawg. 2019-01-22 20:19:05 -07:00
Bryan Ashby 16e903d4c6 Achievements are now recorded in more detail such that they can be retrieved *as they were* at the time of earning 2019-01-20 21:58:00 -07:00
Bryan Ashby 18a7a79f14 TopX mciMap standardized on "value" vs (propName, logName, etc.) 2019-01-20 21:57:31 -07:00
Bryan Ashby 34f0afc175 Fix INSERT clause for cases of overlap 2019-01-20 12:22:42 -07:00
Bryan Ashby 4696bd9ff2 Fix PCBoard/WildCat! color codes 2019-01-18 23:46:15 -07:00