Synchronet issueshttps://gitlab.synchro.net/main/sbbs/-/issues2024-03-22T07:20:16Zhttps://gitlab.synchro.net/main/sbbs/-/issues/736scfg doesn't clone access reqauirements2024-03-22T07:20:16ZNigel Reedscfg doesn't clone access reqauirementsI setup a new network with one group having SYSOP as the access requirement. My template group has an empty access requirement.
When I set that group as the default template group and did a clone, it added SYSOP to all the groups after ...I setup a new network with one group having SYSOP as the access requirement. My template group has an empty access requirement.
When I set that group as the default template group and did a clone, it added SYSOP to all the groups after it. Now, I cannot change the access requirement using clone. I have to manually go in and clear out the requirement.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/732msglist can't handle way in the future dates2024-03-03T13:03:27ZNigel Reedmsglist can't handle way in the future datesI received a spam email with a forged date. smbutil shows:
when_written 90ABE044 0000 Fri Nov 30 03:32:52 2046 UTC
and msglist gives the following error when I try to access the message:
!JavaScript msglist.js line 1513: Error: c...I received a spam email with a forged date. smbutil shows:
when_written 90ABE044 0000 Fri Nov 30 03:32:52 2046 UTC
and msglist gives the following error when I try to access the message:
!JavaScript msglist.js line 1513: Error: can't convert 2427183172 to an integer
I also have the same problem in DDMsgReader. I expect this is going to be an issue anywhere an external entity is able to forge a date into the far future.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/731MRC client error when exiting after 24 hours of usage2024-03-02T02:40:43ZKeyop TroyMRC client error when exiting after 24 hours of usageAfter 24 hours usage of the MRC client (upon exiting) the following error is produced:
term Node 2 <Keyop> !JavaScript /sbbs/mods/chat_sec.js line 163: Error: Infinite loop (864336 operation callbacks) detectedAfter 24 hours usage of the MRC client (upon exiting) the following error is produced:
term Node 2 <Keyop> !JavaScript /sbbs/mods/chat_sec.js line 163: Error: Infinite loop (864336 operation callbacks) detectedhttps://gitlab.synchro.net/main/sbbs/-/issues/729add text.dat item for adding ssh keys2024-03-11T20:04:04ZNigel Reedadd text.dat item for adding ssh keysSince sbbs now supports ssh keys, I'd like to add the ability to add/change keys into the user_defaults.js program.
Please add something like AddorChangeSSHKeys "Add or Change SSH Keys" to the text.dat file + whatever else needs to suppo...Since sbbs now supports ssh keys, I'd like to add the ability to add/change keys into the user_defaults.js program.
Please add something like AddorChangeSSHKeys "Add or Change SSH Keys" to the text.dat file + whatever else needs to support it.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/728sftp hangs. Node stuck at login prompt2024-02-29T20:17:27ZNigel Reedsftp hangs. Node stuck at login promptFrom my logs
```
Feb 28 03:06:12 bbs synchronet: term Node 2 SSH bbs.endofthelinebbs.com [192.138.210.158]
Feb 28 03:06:12 bbs synchronet: term Node 2 0038 SSH Setting attribute: SESSINFO_ACTIVE
Feb 28 03:06:15 bbs synchronet: term Nod...From my logs
```
Feb 28 03:06:12 bbs synchronet: term Node 2 SSH bbs.endofthelinebbs.com [192.138.210.158]
Feb 28 03:06:12 bbs synchronet: term Node 2 0038 SSH Setting attribute: SESSINFO_ACTIVE
Feb 28 03:06:15 bbs synchronet: term Node 2 0038 SSH dbg 'No algorithm compatible with the remote system's selection was found: 'ssh-ed25519'' (-50) setting session active
Feb 28 03:06:15 bbs synchronet: term Node 2 SSH login: 'nelgin'
Feb 28 03:06:15 bbs synchronet: term Node 2 <nelgin> 0038 SSH Setting attribute: SESSINFO_AUTHRESPONSE
Feb 28 03:06:15 bbs synchronet: term Node 2 <nelgin> 0038 SSH Setting attribute: SESSINFO_ACTIVE
Feb 28 03:06:15 bbs synchronet: term Node 2 <nelgin> 0038 SSH [192.138.210.158] waiting for channel type.
Feb 28 03:06:15 bbs synchronet: term Node 2 <nelgin> SFTP initialized on channel 1
```
I tried 3 times connecting from the bbs server
```
$ node status -vaddr
Synchronet Node Display/Control Utility v3.20
Node 1: User #1 at main menu via ssh (MP) [UQ]
addr=47.186.62.206
Node 2: At login prompt
addr=192.138.210.158
Node 3: At login prompt
addr=192.138.210.158
Node 4: At login prompt
addr=192.138.210.158
Node 5: Waiting for connection
Node 6: Waiting for connection
```
and now I have 3 nodes stuck at login prompt and they have been all night, so not timing out.
netstat is showing just the one connection, which is me on node 1.
```
root@bbs:~# netstat -anp|grep :22
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1533543/sbbs
tcp 0 0 192.138.210.158:22 47.186.62.206:64636 ESTABLISHED 1533543/sbbs
tcp6 0 0 :::22 :::* LISTEN 1533543/sbbs
```https://gitlab.synchro.net/main/sbbs/-/issues/727unable to ssh to BBS after latest build2024-03-02T01:49:47ZNigel Reedunable to ssh to BBS after latest build```
Feb 27 19:47:36 bbs synchronet: term 0030 SSH [192.138.210.158] Attaching to Node 1
Feb 27 19:47:36 bbs synchronet: term Node 1 constructor using socket 30 (settings=8212)
Feb 27 19:47:36 bbs synchronet: term Node 1 temporary file di...```
Feb 27 19:47:36 bbs synchronet: term 0030 SSH [192.138.210.158] Attaching to Node 1
Feb 27 19:47:36 bbs synchronet: term Node 1 constructor using socket 30 (settings=8212)
Feb 27 19:47:36 bbs synchronet: term Node 1 temporary file directory: /sbbs/node1/TEMP/
Feb 27 19:47:36 bbs synchronet: term Node 1 passthru listen socket 33 opened
Feb 27 19:47:36 bbs synchronet: term Node 1 passthru socket listening on port 36969
Feb 27 19:47:36 bbs synchronet: term Node 1 passthru connect socket 34 opened
Feb 27 19:47:36 bbs synchronet: term Node 1 input thread started
Feb 27 19:47:36 bbs synchronet: term Node 1 thread started
Feb 27 19:47:36 bbs synchronet: term Node 1 JavaScript: Creating node runtime: 134217728 bytes
Feb 27 19:47:36 bbs synchronet: term Node 1 output thread started
Feb 27 19:47:36 bbs synchronet: term Node 1 outbuf highwater mark tuned to 20000 based on MSS
Feb 27 19:47:36 bbs synchronet: term Node 1 19:47 Tue Feb 27 2024 Node 1
Feb 27 19:47:36 bbs synchronet: term Node 1 SSH bbs.endofthelinebbs.com [192.138.210.158]
Feb 27 19:47:36 bbs synchronet: term Node 1 0030 SSH Setting attribute: SESSINFO_ACTIVE
Feb 27 19:47:39 bbs synchronet: term Node 1 0030 SSH dbg 'No algorithm compatible with the remote system's selection was found: 'ssh-ed25519'' (-50) setting session active
Feb 27 19:47:39 bbs synchronet: term Node 1 SSH login: 'nelgin'
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH Setting attribute: SESSINFO_AUTHRESPONSE
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH Setting attribute: SESSINFO_ACTIVE
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH [192.138.210.158] waiting for channel type.
Feb 27 19:47:39 bbs synchronet: term Node 1 SSH WARNING: attempt to use channel 'shell' (1 != -1 or -1)
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH ERROR 'Cannot close last remaining channel without closing the overall session' (-21) closing channel
Feb 27 19:47:39 bbs synchronet: term Node 1 SSH ERROR 'Cannot close last remaining channel without closing the overall session' (-21) popping data from input_thread
Feb 27 19:47:39 bbs synchronet: term Node 1 input thread terminated (received 0 bytes in 0 blocks)
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH [192.138.210.158] height 136
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH [192.138.210.158] height 49
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> 0030 SSH [192.138.210.158] term: xterm
Feb 27 19:47:39 bbs synchronet: term Node 1 <nelgin> nelgin #1 System password attempt: ''
Feb 27 19:47:39 bbs synchronet: term Node 1 passthru socket disconnected
Feb 27 19:47:39 bbs synchronet: term Node 1 output thread terminated
Feb 27 19:47:40 bbs synchronet: term Node 1 thread terminated (0 node threads remain, 3 clients served)
Feb 27 19:47:40 bbs synchronet: term Node 1 destructor begin
Feb 27 19:47:40 bbs synchronet: term Node 1 JavaScript: Destroying context
Feb 27 19:47:40 bbs synchronet: term Node 1 JavaScript: Destroying runtime
Feb 27 19:47:40 bbs synchronet: term Node 1 destructor end
```
When I ssh with SyncTerm it connects and then disconnects after a second or two.https://gitlab.synchro.net/main/sbbs/-/issues/726Feature request: Add SSH no auth2024-02-28T13:02:22ZKeyop TroyFeature request: Add SSH no authAdd SSH no auth capability so that ssh users can get to the login screen after seeing the welcome messages etc that they would do with telnet, but using an encrypted session.
This change would negate the need to add TELNETS to sbbs.Add SSH no auth capability so that ssh users can get to the login screen after seeing the welcome messages etc that they would do with telnet, but using an encrypted session.
This change would negate the need to add TELNETS to sbbs.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/724DDMsgReader - User gets stuck logged in if they close connection2024-02-27T20:59:18ZNigel ReedDDMsgReader - User gets stuck logged in if they close connectionI just tested this which seems to confirm an issue keyop had earlier.
I logged in with SyncTerm and went to read an email with DDMsgReader.
While reading a message, I closed SyncTerm with the X button. However, the users is still showi...I just tested this which seems to confirm an issue keyop had earlier.
I logged in with SyncTerm and went to read an email with DDMsgReader.
While reading a message, I closed SyncTerm with the X button. However, the users is still showing logged on.
So it looks like DDMsgReader needs some checks for users disconnecting at various places.Eric OulashinEric Oulashinhttps://gitlab.synchro.net/main/sbbs/-/issues/723IRC Client: invalid nicknames hang the Synchronet ircd client.2024-02-23T13:02:32ZNigel ReedIRC Client: invalid nicknames hang the Synchronet ircd client.Just encountered this issue with 8BitGuy. irc nicknames are required to start with an alpha character, though I can't find where it says so in RFC1459, I do remember seeing it somewhere and verified on another ircd.
Unfortunately the cl...Just encountered this issue with 8BitGuy. irc nicknames are required to start with an alpha character, though I can't find where it says so in RFC1459, I do remember seeing it somewhere and verified on another ircd.
Unfortunately the client doesn't handle this and hangs the user in a state of trying to log into the server.
It could be handled a few ways.
1. Allow the user to choose their own nickname before connecting. Since they can use /NICK anyway, no reason why not to.
2. Have the irc client strip any leading numbers and/or add a character. Not a fan
3. Handle the rejection properly. This is numeric 432
4. Allow the irc server to automatically rename users with a bad username so it would also catch regular clients. Not a big fan on this either.https://gitlab.synchro.net/main/sbbs/-/issues/721SCFG: If you change the internal code of a message editor, users who were usi...2024-02-19T07:33:14ZEric OulashinSCFG: If you change the internal code of a message editor, users who were using that now don't have an external editor configuredIn SCFG, if you change the internal code of a message editor, SCFG seems to blank out the external editor configuration of users who were using that (user.editor in JS). Would it be able to change their external editor internal code to ...In SCFG, if you change the internal code of a message editor, SCFG seems to blank out the external editor configuration of users who were using that (user.editor in JS). Would it be able to change their external editor internal code to the new internal code instead?Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/720missing chars in input fields2024-02-21T13:02:32ZMax Lindmissing chars in input fieldsif you have utf-8, nothing is visible when you write in the input field as subject, all utf8 characters are invisibleif you have utf-8, nothing is visible when you write in the input field as subject, all utf8 characters are invisiblehttps://gitlab.synchro.net/main/sbbs/-/issues/718backspace no longer works in FSeditor2024-02-12T19:52:22ZNigel Reedbackspace no longer works in FSeditorIt was, and now it isn't. I tried it with two accounts, once that I have changed the terminal settings for and one without.
user settings show DEL=BS
Backspace works elsewhere, such as in find message text or entering an email address.It was, and now it isn't. I tried it with two accounts, once that I have changed the terminal settings for and one without.
user settings show DEL=BS
Backspace works elsewhere, such as in find message text or entering an email address.https://gitlab.synchro.net/main/sbbs/-/issues/717Add UTF-8 support to umonitor spy mode2024-02-25T13:02:35ZKeyop TroyAdd UTF-8 support to umonitor spy modeUmonitor is currently unable to properly display a spy session on a node which is currently in UTF-8 mode.
Add functionality to support UTF-8 similarly to mqtt_spy.js.Umonitor is currently unable to properly display a spy session on a node which is currently in UTF-8 mode.
Add functionality to support UTF-8 similarly to mqtt_spy.js.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/716Stale xtrn (external program/door) configuration used in node status2024-02-11T14:32:42ZRob SwindellStale xtrn (external program/door) configuration used in node statusPrograms (e.g. umonitor, gtkmonitor) that use nodestatus() from userdat.c use the index into scfg.xtrn[] to get the external program being run. This index can change if external programs are added or removed from xtrn.ini (e.g. using SCF...Programs (e.g. umonitor, gtkmonitor) that use nodestatus() from userdat.c use the index into scfg.xtrn[] to get the external program being run. This index can change if external programs are added or removed from xtrn.ini (e.g. using SCFG).
Other scripts/logic in SBBS use the xtrn program code read from the user's record to determine the program being run. nodestatus() should be updated to the same for consistency/accuracy.
This issue was reported on DOVE-Net by kk4qbn (KK4QBN)Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/715letsyncrypt authorization error2024-02-17T01:48:13ZNick Youngnick@tfsi.devletsyncrypt authorization errorGot an email about my letsencrypt certs expiring, turns out letsyncrypt.js is failing to run. I have tried to reset the .ini file to standard (without key-id & State) to no avail.
```plaintext
nick ➜ /sbbs/ctrl $ jsexec letsyncrypt.js
...Got an email about my letsencrypt certs expiring, turns out letsyncrypt.js is failing to run. I have tried to reset the .ini file to standard (without key-id & State) to no avail.
```plaintext
nick ➜ /sbbs/ctrl $ jsexec letsyncrypt.js
JSexec v3.20a-Linux master/e230bd350 - Execute Synchronet JavaScript Module
Compiled Jan 8 2024 10:03:03 with GCC 11.4.0Loading configuration files from /sbbs/ctrl
JavaScript-C 1.8.5 2011-03-31
JavaScript: Creating runtime: 8388608 bytesReading script from /sbbs/exec/letsyncrypt.js
/sbbs/exec/letsyncrypt.js compiled in 0.00 seconds
!JavaScript : uncaught exception: Authorization failed... https://acme-v02.api.letsencrypt.org/acme/authz-v3/<redacted>
/sbbs/exec/letsyncrypt.js executed in 4.10 seconds
!Module (letsyncrypt.js) set exit_code: 1JavaScript: Destroying context
JavaScript: Destroying runtimeReturning error code: 1
```https://gitlab.synchro.net/main/sbbs/-/issues/711Log new user responses in daily log2024-02-05T13:02:21ZNigel ReedLog new user responses in daily logI have a new user that signed up but they used my personal email address. It would seem highly unlikely they'd do this so not sure if it's a bug somewhere or it is what they enetered.
it would be nice if the daily log in /sbbs/data woul...I have a new user that signed up but they used my personal email address. It would seem highly unlikely they'd do this so not sure if it's a bug somewhere or it is what they enetered.
it would be nice if the daily log in /sbbs/data would record the details of a new users. It would also be useful in case their account got lost for some reason (accidentally deleted), it could be recreated from the log entries.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/710JS: QUOTES.TXT is deleted when console.editfile() is called2024-02-05T13:02:21ZEric OulashinJS: QUOTES.TXT is deleted when console.editfile() is calledAs I've been working on my news reader door for Synchronet (in JS), I've recently noticed something else about console.editfile(). I've been using that to allow the user to edit a message just before posting it in a newsgroup. I now hav...As I've been working on my news reader door for Synchronet (in JS), I've recently noticed something else about console.editfile(). I've been using that to allow the user to edit a message just before posting it in a newsgroup. I now have my news reader writing a QUOTES.TXT in the user's node directory so that the message editor can read that and allow the user to quote the message they're replying to. However, I've noticed that when console.editfile() is called, QUOTES.TXT is deleted (thus, the editor is unable to quote any of the message). I'm wondering if that's by design? If so, is there (or could there be) a way to have it not delete QUOTES.TXT when console.editfile() is called?Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/708SYNCRYPT error re http.js2024-03-01T01:08:00ZKeyop TroySYNCRYPT error re http.jsSince updating to the latest Synchronet code, which includes multiple updates to Crypto related code, I have one occurance of this error message:
Sun Jan 28 00:00:02 2024 master/3a4a59edc
evnt SYNCRYPT !JavaScript /sbbs/exec/load/http...Since updating to the latest Synchronet code, which includes multiple updates to Crypto related code, I have one occurance of this error message:
Sun Jan 28 00:00:02 2024 master/3a4a59edc
evnt SYNCRYPT !JavaScript /sbbs/exec/load/http.js line 147: Error: Unable to read status
Please let me know if you require any additional info.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/707IMAPS TLS ERROR2024-01-30T09:32:15ZKeyop TroyIMAPS TLS ERRORSince updating recently, I am now seeing errors appearing in data/error.log
Sat Jan 27 23:52:20 2024 master/3a4a59edc
srvc 0119 IMAPS TLS ERROR 'Resources/space exhausted' (-30) setting session active
These errors did not appear befor...Since updating recently, I am now seeing errors appearing in data/error.log
Sat Jan 27 23:52:20 2024 master/3a4a59edc
srvc 0119 IMAPS TLS ERROR 'Resources/space exhausted' (-30) setting session active
These errors did not appear before the recent changes to the crypto functionality within Synchronet.
For reference, I'm using my iPhone to regularly check my BBS inbox using the IMAPS service.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/705bbs.event_code returns an empty string.2024-01-25T13:02:21ZNigel Reedbbs.event_code returns an empty string.~~~
eval bbs.event_code
Result (string):
~~~
I checked event_time and it does say something is scheduled
~~~
eval bbs.event_time
Result (number): 1706441580
~~~
Confirming what Max said in Sync sysops.~~~
eval bbs.event_code
Result (string):
~~~
I checked event_time and it does say something is scheduled
~~~
eval bbs.event_time
Result (number): 1706441580
~~~
Confirming what Max said in Sync sysops.Rob SwindellRob Swindell