Synchronet issueshttps://gitlab.synchro.net/main/sbbs/-/issues2024-03-28T21:43:18Zhttps://gitlab.synchro.net/main/sbbs/-/issues/739Consider always using 'Title' field from DIZ SAUCE records2024-03-28T21:43:18ZRob SwindellConsider always using 'Title' field from DIZ SAUCE recordsThe description (e.g. from a `.tic` or from the text part of a DIZ) might not be a good short file description while the SAUCE 'Title' field may be. See fire-39.zip for example.
The SAUCE field might be good to use instead, in some case...The description (e.g. from a `.tic` or from the text part of a DIZ) might not be a good short file description while the SAUCE 'Title' field may be. See fire-39.zip for example.
The SAUCE field might be good to use instead, in some cases:
| Title | Character [3] | 35 | The title of the file. | no | 00.0 |
Maybe an a per-directory option to import these.
file_sauce_hfields() currently does not use the Title file from the SAUCE record if the description (otherwise provided/parsed) is non-blank.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/738ircdcfg.js doesn't create working configuration.2024-03-17T03:32:26ZTim Smithircdcfg.js doesn't create working configuration.after running the ircdcfg.js config script I did not get a working ircd.ini, it could be something I did, or did'nt do. I dunno, I refreshed my ircd.ini with the one in repo and then ran the ircdcfg script. did not see anything in the wi...after running the ircdcfg.js config script I did not get a working ircd.ini, it could be something I did, or did'nt do. I dunno, I refreshed my ircd.ini with the one in repo and then ran the ircdcfg script. did not see anything in the wiki on what steps to use in the configuration itself, so just kinda went through the steps provided and below is the complete product of that. when I found that it did'nt work I looked at the ircd.ini in the repo and copied the missing info over to make it work correctly.
IRCD.INI created by ircdcfg
\[Info\] Servername=kk4qbn.synchro.net Description=KK4QBN BBS Admin1=KK4QBN BBS (KK4QBN) Admin2=Synchronet BBS for Linux Version 3.20 Admin3=Sysop- [sysop@kk4qbn.synchro.net](mailto:sysop@kk4qbn.synchro.net)
\[Port:6667\] Default=true
\[Port:6697\]
\[Class:1\] Comment=Regular, unauthenticated users from the Internet PingFrequency=120 ConnectFrequency=0 Maximum=100 SendQ=1000000
\[Class:2\] Comment=Users from the local BBS or authenticated against BBS accounts PingFrequency=30 ConnectFrequency=0 Maximum=100 SendQ=1000000
\[Class:10\] Comment=IRC operators PingFrequency=400 ConnectFrequency=0 Maximum=100 SendQ=2000000
\[Class:30\] Comment=Servers: Leaf->Hub PingFrequency=60 ConnectFrequency=300 Maximum=1 SendQ=15000000
\[Class:40\] Comment=Servers: Hub->Hub PingFrequency=60 ConnectFrequency=60 Maximum=10 SendQ=20000000
\[Class:50\] Comment=Servers: Hub->QWK Master PingFrequency=60 ConnectFrequency=60 Maximum=1 SendQ=20000000
\[Allow:1\] Mask=*@* Class=1
\[Services:1\] Servername=services.synchro.net
\[Services:2\] Servername=stats.synchro.net
\[Server:1\] Servername=example.synchro.net Hostname=127.0.0.1 Port=6667 InboundPassword=\* OutboundPassword=\* Class=10 Hub=false
\[Restrict:1\] Mask=\*Serv Reason=Reserved for Services
\[Restrict:2\] Mask=Global Reason=Reserved for Services
\[Restrict:3\] Mask=IRCOp\* Reason=Reserved for IRC Operators
\[Restrict:4\] Mask=Sysop Reason=Reserved for Sysop
========================================================================================================== here is the ircd.ini that works for me that was manually edited.
\[Info\] Servername=kk4qbn.synchro.net Description=KK4QBN BBS Admin1=KK4QBN BBS (KK4QBN) Admin2=Synchronet BBS for Linux Version 3.20 Admin3=Sysop- [sysop@kk4qbn.synchro.net](mailto:sysop@kk4qbn.synchro.net)
\[Port:6667\] Default=true
\[Port:6697\] ssl=true
\[Class:1\] Comment=Regular, unauthenticated users from the Internet PingFrequency=120 ConnectFrequency=0 Maximum=100 SendQ=1000000
\[Class:2\] Comment=Users from the local BBS or authenticated against BBS accounts PingFrequency=30 ConnectFrequency=0 Maximum=100 SendQ=1000000
\[Class:10\] Comment=IRC operators PingFrequency=400 ConnectFrequency=0 Maximum=100 SendQ=2000000
\[Class:30\] Comment=Servers: Leaf->Hub PingFrequency=60 ConnectFrequency=300 Maximum=1 SendQ=15000000
\[Class:40\] Comment=Servers: Hub->Hub PingFrequency=60 ConnectFrequency=60 Maximum=10 SendQ=20000000
\[Class:50\] Comment=Servers: Hub->QWK Master PingFrequency=60 ConnectFrequency=60 Maximum=1 SendQ=20000000
\[Allow:1\] Mask=*@* Class=1
\[Services:1\] Servername=services.synchro.net
\[Services:2\] Servername=stats.synchro.net
\[Restrict:1\] Mask=\*Serv Reason=Reserved for Services
\[Restrict:2\] Mask=Global Reason=Reserved for Services
\[Restrict:3\] Mask=IRCOp\* Reason=Reserved for IRC Operators
\[Restrict:4\] Mask=Sysop Reason=Reserved for Sysop
\[Class:1\] Comment=Regular, unauthenticated users from the Internet PingFrequency=120 ConnectFrequency=0 Maximum=100 SendQ=1000000
\[Class:2\] Comment=Users from the local BBS or authenticated against BBS accounts PingFrequency=30 ConnectFrequency=0 Maximum=100 SendQ=1000000
\[Class:10\] Comment=IRC operators PingFrequency=400 ConnectFrequency=0 Maximum=100 SendQ=2000000
\[Class:30\] Comment=Servers: Leaf->Hub PingFrequency=60 ConnectFrequency=300 Maximum=1 SendQ=15000000
\[Class:40\] Comment=Servers: Hub->Hub PingFrequency=60 ConnectFrequency=60 Maximum=10 SendQ=20000000
\[Class:50\] Comment=Servers: Hub->QWK Master PingFrequency=60 ConnectFrequency=60 Maximum=1 SendQ=20000000
\[Ban:whitehouse\] Mask=*@whitehouse.gov,\~*@\*.whitehouse.gov Reason=I doubt someone's using IRC from the White House.
\[Ban:noroot\] Mask=\~root@\* Reason=Don't IRC as root.
\[Ban:badip\] Mask=*@0.0.0.0,*@255.255.255.255 Reason=Bogus IP address tried to connect??
\[Server:vert\] Servername=vert.synchro.net Hostname=vert.synchro.net Port=6667 InboundPassword=\* OutboundPassword=\* Class=30 Hub=true
\[Server:cvs\] Servername=cvs.synchro.net Hostname=cvs.synchro.net Port=6667 InboundPassword=\* OutboundPassword=\* Class=30 Hub=truehttps://gitlab.synchro.net/main/sbbs/-/issues/735SlyEdit cuts off long lines when editing a file2024-03-12T00:27:07ZEric OulashinSlyEdit cuts off long lines when editing a fileAs reported by Nelgin. And:
To be clear, the long lines are there, but you cannot see them. You hit enter and it puts the rest on a new line, but you cannot seem to rejoin themAs reported by Nelgin. And:
To be clear, the long lines are there, but you cannot see them. You hit enter and it puts the rest on a new line, but you cannot seem to rejoin themEric OulashinEric Oulashinhttps://gitlab.synchro.net/main/sbbs/-/issues/734add support for creating/editing/deleting ssh keys to user_settings2024-03-11T20:05:59ZNigel Reedadd support for creating/editing/deleting ssh keys to user_settingsI looked into this and I'm just not getting the whole text thing. Not to mention the wiki that mentions gettext doesn't tell you that it's actually something you need to load in and not in the jsobj model.I looked into this and I'm just not getting the whole text thing. Not to mention the wiki that mentions gettext doesn't tell you that it's actually something you need to load in and not in the jsobj model.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/733services thread doesn't say that it has been terminated2024-03-04T04:11:21ZNigel Reedservices thread doesn't say that it has been terminatedWhen shutting down the BBS, the services thread does not tell you that it has been terminated.
```
Mar 3 20:44:15 bbs synchronet: Services thread still running
Mar 3 20:44:25 bbs synchronet: Services thread still running
Mar 3 20:44:...When shutting down the BBS, the services thread does not tell you that it has been terminated.
```
Mar 3 20:44:15 bbs synchronet: Services thread still running
Mar 3 20:44:25 bbs synchronet: Services thread still running
Mar 3 20:44:35 bbs synchronet: Services thread still running
$ ps -ef|grep sbbs
bbs 1728171 1 4 Mar02 ? 01:15:56 /sbbs/exec/sbbs s! d
bbs 1773863 1352988 0 20:44 pts/0 00:00:00 grep --color=auto sbbs
$
Mar 3 20:44:45 bbs synchronet: Services thread still running
Mar 3 20:44:55 bbs synchronet: Services thread still running
$ ps -ef|grep sbbs
bbs 1773874 1352988 0 20:45 pts/0 00:00:00 grep --color=auto sbbs
$
```Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/730IMAP service does not properly support deeply nested brackets in search terms2024-03-02T00:59:16ZDeucеIMAP service does not properly support deeply nested brackets in search termsThis is discovered as part of #397 but it seems to be working now with the try/catch change and latest Apple updates.
The underlying issue however has still not been resolved. This ticket is to track that work.This is discovered as part of #397 but it seems to be working now with the try/catch change and latest Apple updates.
The underlying issue however has still not been resolved. This ticket is to track that work.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/725syslog support for Windows builds2024-02-27T23:36:51ZRob Swindellsyslog support for Windows builds> From: dragon (IPTIA)
>
> I'm running Synchronet on Windows. I have most of my other services on
> dozens of machines sending log data to a central Windows syslog server.
> I would LOVE to get Synchronet to do that as well. Possible?...> From: dragon (IPTIA)
>
> I'm running Synchronet on Windows. I have most of my other services on
> dozens of machines sending log data to a central Windows syslog server.
> I would LOVE to get Synchronet to do that as well. Possible?
> Currently I'm using a syslog server my buddy and I wrote in Perl. I've
> used free and commercial Syslog servers for Windows as well. None of
> those were open source, which is what prompted creating our own.
>
> I have several closed souced commercial Windows applications, as well as
> numerous Perl applicationes we wrote sending to syslog.
>
> The Perl syslog server is format agnostic and can deal with IETF or BSD
> format. I actually run 2 instances, one for each. Only one application
> currently uses BSD format.
>
> If you're looking for example code for sending messages, the Perl
> Net::Syslog module has it all and is pretty small.
xpdev wrappers for openlog() syslog() seems doable with some additional configuration/connection function (and probably global variable(s) to track the configuration/state). That'd enable sbbs.exe to send to a syslog server. And then add some syslog options to sbbsntsvcs and sbbsctrl.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/722sometimes tickit leaves the file in the incoming directory2024-02-18T06:31:56ZFernando Toledosometimes tickit leaves the file in the incoming directoryMany times it happens to me that tickit after processing the file and moving it, it still remains in the incoming directory
I can see that the files (.tic and .zip) are received by binkit correctly.
```
Feb 14 19:25:18 scarlet synchrone...Many times it happens to me that tickit after processing the file and moving it, it still remains in the incoming directory
I can see that the files (.tic and .zip) are received by binkit correctly.
```
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Sent M_GOT command
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Got M_FILE command args: apod0214.tic 3262 1707948040 0
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Receiving file: /sbbs/temp/event/apod0214.tic (3.2KB)
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Got data frame length 3262
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Received file: /sbbs/temp/event/apod0214.tic (3.2KB)
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Moving '/sbbs/temp/event/apod0214.tic' to '/sbbs/fido/inbound/apod0214.tic'.
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Sending M_GOT command args: apod0214.tic 3262 1707948040
Feb 14 19:25:18 scarlet synchronet: evnt BINKPOLL Sent M_GOT command
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got M_FILE command args: apod0214.zip 8924360 1707900456 0
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Receiving file: /sbbs/temp/event/apod0214.zip (8715.2KB)
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:19 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
[..............]
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Got data frame length 16384
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Got data frame length 11464
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Received file: /sbbs/temp/event/apod0214.zip (8715.2KB)
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Moving '/sbbs/temp/event/apod0214.zip' to '/sbbs/fido/inbound/apod0214.zip'.
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Sending M_GOT command args: apod0214.zip 8924360 1707900456
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Sent M_GOT command
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Got M_EOB command args:
Feb 14 19:25:27 scarlet synchronet: evnt BINKPOLL Unlocking /sbbs/fido/outbound.015/00020064.bsy.
```
then, according to the registry, the file is moved to the corresponding directory (in this case fsx_imge)
```
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Running native timed event: TICKIT
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Executing external: ?tickit.js
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT TickIT 2.0
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Using system.temp_dir = '/sbbs/temp/event/'
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Global address is main system address: 4:902/26
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Parsing /sbbs/fido/inbound/apod0214.tic
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Created by HTick, written by Gabriel Plutzar
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Path 21:4/106.0 @240214004735 PST+8
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Path 21:1/100 1707948040 Wed Feb 14 22:00:40 2024 UTC htick/lnx 1.9 2022-07-03
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Path 21:2/100 1707948074 Wed Feb 14 22:01:14 2024 UTC Mystic/1.12 A48
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Verifying password for sender: 21:2/100
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Configured TicFilePwd is empty, but TIC file has a password, node: 21:2/100
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Verifying password with domain this time: 21:2/100@fsxnet
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Matched 21:2/100@fsxnet's password.
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Working with 'apod0214.zip' in 'FSX_IMGE'.
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT ForceReplace enabled for area FSX_IMGE.
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Moving /sbbs/fido/inbound/apod0214.zip to /sbbs/data/dirs/fsxnet/fsx_imge/.
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Deleting TIC file '/sbbs/fido/inbound/apod0214.tic'.
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Forwarding...
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Importing...
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Using global uploader: Ragnarok
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Importing file list into: fsxnetfsx_imge
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Adding file (apod0214.zip) to: fsxnetfsx_imge
Feb 14 19:25:55 scarlet synchronet: evnt TICKIT Timed event: TICKIT returned 0
```
But if I check the incoming directory, I can see that the file (.zip) still exists there
```
$/sbbs/fido/inbound# ls -l
total 8716
-rw------- 1 root root 8924360 feb 14 05:47 apod0214.zip
```
although it has also been moved to the destination directory correctly.
```
$/sbbs/fido/inbound# ls -l /sbbs/data/dirs/fsxnet/fsx_imge/apod0214.zip
-rw------- 1 root root 8924360 feb 14 05:47 /sbbs/data/dirs/fsxnet/fsx_imge/apod0214.zip
```https://gitlab.synchro.net/main/sbbs/-/issues/719FSEditor: User how has problems pasting UTF-8 text2024-02-15T19:53:21ZNigel ReedFSEditor: User how has problems pasting UTF-8 textThis is a report verbatim from my user
```
I am writing to report a change in how the editor behaves. ▒
This is not urgent, i just thought i would give a heads up. ▒
Formerly, when i pasted content...This is a report verbatim from my user
```
I am writing to report a change in how the editor behaves. ▒
This is not urgent, i just thought i would give a heads up. ▒
Formerly, when i pasted content containing UTF-8 encoded ▒
characters, the editor would translate them to ASCII ▒
"line noise." Now it seems to interpret them as editor ░
commands and it rearranges the existing text. ░
░
For example, the word Saute' where the "e'" represents the ░
Unicode character LATIN SMALL LETTER E WITH ACUTE, whose ░
UTF-8 encoding is 0xC3 0xA9. ░
░
Input text:
Saute' onions, celery, pepper, garlic, and spices in oil. ░
░
Old result: ░
Saut|- onions, celery, pepper, garlic, and spices in oil. ░
░
New result: ░
onions, celery, pepper, garlic, and spices in oil. ▒
Saut ▒
▒
With longer texts, the rearrangement is more dramatic.
```
This user is one of my biggest contributors so I'd like to make sure this gets fixed ASAP.https://gitlab.synchro.net/main/sbbs/-/issues/714syncterm: Crash on OpenBSD2024-02-19T21:13:54ZDan Crosssyncterm: Crash on OpenBSDSyncterm seems to crash in `ssh_input_thread` when running under OpenBSD 7.4 x86_64. I get the following when connecting to e.g. Agency BBS:
```plaintext
Program received signal SIGABRT, Aborted.
[Switching to thread 276170]
thrkill () ...Syncterm seems to crash in `ssh_input_thread` when running under OpenBSD 7.4 x86_64. I get the following when connecting to e.g. Agency BBS:
```plaintext
Program received signal SIGABRT, Aborted.
[Switching to thread 276170]
thrkill () at /tmp/-:3
3 /tmp/-: No such file or directory.
in /tmp/-
Current language: auto; currently asm
(gdb) where
#0 thrkill () at /tmp/-:3
#1 0x18ff757db4dc9362 in ?? ()
#2 0x00000bf6b4546992 in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51
#3 0x00000bf6b455230f in _rthread_mutex_timedlock (mutexp=Variable "mutexp" is not available.
) at /usr/src/lib/libc/thread/rthread_mutex.c:117
#4 0x00000bf49aa43b1d in ssh_input_thread (args=0x0) at ssh.c:131
#5 0x00000bf6f482bcd5 in _rthread_start (v=Unhandled dwarf expression opcode 0xa3
) at /usr/src/lib/librthread/rthread.c:96
#6 0x00000bf6b4531f0a in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:86
#7 0x00000bf6b4531f0a in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:86
Previous frame identical to this frame (corrupt stack?)
```
Curiously, `lldb` gives a different stack trace (GDB seems confused):
```plaintext
: experimental; lldb ./clang.openbsd.amd64.exe.debug/syncterm
(lldb) target create "./clang.openbsd.amd64.exe.debug/syncterm"
Current executable set to '/home/cross/unix/ports/sbbs/src/syncterm/clang.openbsd.amd64.exe.debug/syncterm' (x86_64).
(lldb) run
Process 74034 launched: '/home/cross/unix/ports/sbbs/src/syncterm/clang.openbsd.amd64.exe.debug/syncterm' (x86_64)
This version of LLDB has no plugin for the language "assembler". Inspection of frame variables will be limited.
Process 74034 stopped
* thread #1, stop reason = signal SIGABRT
frame #0: 0x00000eb8882cbd7b libc.so.97.1`_thread_sys_nanosleep at -:3(lldb) bt all
* thread #1, stop reason = signal SIGABRT
* frame #0: 0x00000eb8882cbd7b libc.so.97.1`_thread_sys_nanosleep at -:3
frame #1: 0x00000eb8883210d2 libc.so.97.1`_libc_nanosleep_cancel(timeout=<unavailable>, remainder=<unavailable>) at w_nanosleep.c:27:8
frame #2: 0x00000eb6863c989c syncterm`doterm(bbs=0x00000eb68671a930) at term.c:4597:4
frame #3: 0x00000eb6863d9ec7 syncterm`main(argc=1, argv=0x000076d9eb78f128) at syncterm.c:1924:8
frame #4: 0x00000eb6863954d2 syncterm`__start + 338
(lldb)
```
Telnet seems unaffected; the crash seems localized to using ssh.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/713Disconnected users cannot reconnect occasionally.2024-02-10T22:39:45ZNigel ReedDisconnected users cannot reconnect occasionally.I've had a couple of users mention this so thought I'd open an issue. The latest one said that their wifi disconnected, which dropped their BBS connection. When he tried to relog in the BBS said he was already connected. It seems the BBS...I've had a couple of users mention this so thought I'd open an issue. The latest one said that their wifi disconnected, which dropped their BBS connection. When he tried to relog in the BBS said he was already connected. It seems the BBS didn't timeout his connection for quite a while.
This is probably going to be one of those random hard to pin down issues, but I thought I'd at least log it.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/712github.com mirror of the sbbs repo no longer syncs from gitlab.synchro.net su...2024-02-05T09:00:49ZRob Swindellgithub.com mirror of the sbbs repo no longer syncs from gitlab.synchro.net successfulyEver since the super large source file Deuce committed to the conio lib:
```
13:push to mirror: git push: exit status 1, stderr: "remote: error: Trace: 4fb6dabe5b6871c2b2654400e667681c8e1f7a73fb58be8e717be44fb0999d20
remote: error: See h...Ever since the super large source file Deuce committed to the conio lib:
```
13:push to mirror: git push: exit status 1, stderr: "remote: error: Trace: 4fb6dabe5b6871c2b2654400e667681c8e1f7a73fb58be8e717be44fb0999d20
remote: error: See https://gh.io/lfs for more information.
remote: error: File src/conio/rgbmap.c is 388.00 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
...
error: failed to push some refs to 'https://github.com/SynchronetBBS/sbbs.git'\n".
```DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/709K_NUMBER doesn't allow negative or decimal numbers2024-01-31T06:38:06ZNigel ReedK_NUMBER doesn't allow negative or decimal numbersI need to get a number input from the user between two values, such as between -100 and 100. The number could be a decimal number.
K_NUMBER is really more like K_SIGNEDINT. Some optiosn
Allow K_NUMBER to accept - and . characters thoug...I need to get a number input from the user between two values, such as between -100 and 100. The number could be a decimal number.
K_NUMBER is really more like K_SIGNEDINT. Some optiosn
Allow K_NUMBER to accept - and . characters though this could cause regression issues when it comes to checking values.
K_REALNUMBER that will accept - and . characters so you can enter a negative real number.
A new method such as getrnum that will allow the use of a signed decimal.
You'll probably tell me to use getstr and then check if the variable is a number, but that sort of defeats the purpose of allowing the user to enter only numbers and - . characters.
Or open to other options.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/706A configuration file (e.g. text.ini) issue can cause a server to fail to recy...2024-01-26T01:16:26ZRob SwindellA configuration file (e.g. text.ini) issue can cause a server to fail to recycle, but not terminateReported by Nelgin via IRC, running "sbbs t!" (terminal server over) and introducing a syntax error to ctrl/text.ini file, would cause the terminal server to fail to (re)load config upon recycle and then terminate (as expected), but the ...Reported by Nelgin via IRC, running "sbbs t!" (terminal server over) and introducing a syntax error to ctrl/text.ini file, would cause the terminal server to fail to (re)load config upon recycle and then terminate (as expected), but the sbbs process was still running, never terminating. No additional log output after "Terminal Server thread terminated".
Attaching with gdb showed the main thread in the select(NULL,0,0,0) /* sleep forever */ call in sbbscon.c.https://gitlab.synchro.net/main/sbbs/-/issues/703getting "!setregid FAILED with error 1 (operation not permitted) two times in...2024-01-28T00:03:31ZTim Smithgetting "!setregid FAILED with error 1 (operation not permitted) two times in console of externalsGetting !setregid FAILED with error 1 (operation not permitted) it shows up two times in the console output when running externals, for sure when running under dosemu, think I have also seen it running Javascripts aso but do not know for...Getting !setregid FAILED with error 1 (operation not permitted) it shows up two times in the console output when running externals, for sure when running under dosemu, think I have also seen it running Javascripts aso but do not know for sure, it does'nt seem to be hindering operation of anything, but on some dosemu games it makes the actual BBS console output show up before and be seen before the game output comes up.
!setregid FAILED with error 1 (Operation not permitted)
!setreuid FAILED with error 1 (Operation not permitted) [Threads: 23 Sockets: 19 Clients: 7 Served: 1061 Errors: 19] (?=Help):
don't know if this is an actual error or just a "Feature" but thought it should be seen, tried searching for this issue with Synchronet and really nothing came up..https://gitlab.synchro.net/main/sbbs/-/issues/701ssl.cert is no longer created when starting sbbs2024-01-25T00:16:14ZNigel Reedssl.cert is no longer created when starting sbbsIf you shutdown sbbs, remove both ssl.cert and cryptlib.key then run scfg and change the system password, exit and re-run sbbs cryptlib.key is created but ssl.cert is not. Tried on both rpi and linux with latest build.If you shutdown sbbs, remove both ssl.cert and cryptlib.key then run scfg and change the system password, exit and re-run sbbs cryptlib.key is created but ssl.cert is not. Tried on both rpi and linux with latest build.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/issues/700JS socket related error messages all go to the terminal server log output2024-01-20T04:42:04ZRob SwindellJS socket related error messages all go to the terminal server log outputThis is misleading and confusing.This is misleading and confusing.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/699Linux setcap not working on non-symlink install2024-01-16T13:45:11ZDaniel CloughLinux setcap not working on non-symlink installI'm going to paste in the text from a message I posted on DoveNet regarding this:
I've been off-and-on fighting with using 'setcap' to allow binding to ±
low ports as a non-root user, and today found (I think) what might be ...I'm going to paste in the text from a message I posted on DoveNet regarding this:
I've been off-and-on fighting with using 'setcap' to allow binding to ±
low ports as a non-root user, and today found (I think) what might be ±
causing my difficulties. ±
±
I've been doing my updates with an automated script, and the setcap °
option on the make line didn't seem to work. So, I was trying to use it °
in the update script as a command (sudo setcap ...<blah>). That didn't °
work either, and I think it's because there are weird/complicated things °
with 'setuid' and 'inherited' permissions type things in a bash script. °
With both of those issues not working, I just manually did the setcap °
command after the build was complete, and that works as expected. °
°
So today I once again used the command on the make line, thus: °
°
cd /sbbs/repo/src/sbbs3; make RELEASE=1 setcap install °
°
That *appears* to work, as the relevant make output is this:
°
Linking gcc.linux.x64.exe.release/umonitor °
make[1]: Leaving directory '/sbbs/repo/src/sbbs3/umonitor' °
sudo `whereis -b setcap | cut -d" " -f2` 'cap_net_bind_service=+ep' °
gcc.linux.x64.exe.release/sbbs °
install gcc.linux.x64.exe.release/* /sbbs/exec ±
install gcc.linux.x64.lib.release/* /sbbs/exec ±
install */gcc.linux.x64.exe.release/* /sbbs/exec ±
±
(side note: it doesn't prompt me for user password because I have my °
user allowed to run all sudo commands without a password). °
°
The problem is that it.... still doesn't work, 'sbbs' fails to bind to a °
low port number. So I started looking closer. In a Linux terminal °
window, my files appear in different colors depending on file °
extensions, when using the 'ls' command. The executable files in °
/sbbs/exec are green, for example. The 'sbbs' executable is green after
running the build. If I manually use setcap to give it binding °
capabilities, it now shows as black text on a red background, which I'm °
sure means it is now considered some kind of "special" file. °
However.... the 'sbbs' executable in °
/sbbs/repo/src/sbbs3/gcc.linux.x64.exe.release/ is.... RED, even when °
the 'sbbs' executable in /sbbs/exec is green (not capable). What's °
happening is that the install commands there above that copy the newly °
compiled executables to /sbbs/exec remove the special capabilities. °
°
This problem isn't noticed by those that use 'symlinks' on their make ±
line, only when a person uses 'install', because that copies the file ±
somewhere else, which apparently breaks the capabilites that it's been ±
given.https://gitlab.synchro.net/main/sbbs/-/issues/695Stopping a server doesn't (usually/always) put its MQTT state to "stopped"2024-01-13T00:27:44ZRob SwindellStopping a server doesn't (usually/always) put its MQTT state to "stopped"Appears to be a race condition during shutdown of a server. The will status of "DISCONNECTED" does get set, but the transition to stopped doesn't get recorded (i.e. in server/state/stopped topic).Appears to be a race condition during shutdown of a server. The will status of "DISCONNECTED" does get set, but the transition to stopped doesn't get recorded (i.e. in server/state/stopped topic).Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/issues/694ciolib-win32-gdi divide by zero crash in 43-line/EGA mode (run with '-l43' co...2024-01-04T23:21:06ZRob Swindellciolib-win32-gdi divide by zero crash in 43-line/EGA mode (run with '-l43' command-line option)> Unhandled exception at 0x005BCADF in scfg.exe: 0xC000041D: An unhandled exception was encountered during a user callback.
Problem/crash does not happen 100% of the time.
The line of code in scale.c where the exception occurs is
```
...> Unhandled exception at 0x005BCADF in scfg.exe: 0xC000041D: An unhandled exception was encountered during a user callback.
Problem/crash does not happen 100% of the time.
The line of code in scale.c where the exception occurs is
```
// If x/y scaling isn't a simple multiple, block scale everything...
if ((total_yscaling % total_xscaling) == 0) {
```
total_xscaling 0 int
total_yscaling 1 int
Backtrace:
```
scfg.exe!do_scale(rectlist * rect, int fwidth, int fheight) Line 249
at c:\sbbs\src\conio\scale.c(249)
scfg.exe!gdi_handle_wm_paint(HWND__ * hwnd) Line 296
at c:\sbbs\src\conio\win32gdi.c(296)
scfg.exe!gdi_WndProc(HWND__ * hwnd, unsigned int msg, unsigned int wParam, long lParam) Line 579
at c:\sbbs\src\conio\win32gdi.c(579)
[External Code]
[Frames below may be incorrect and/or missing, no symbols loaded for user32.dll]
scfg.exe!gdi_thread(void * arg) Line 874
at c:\sbbs\src\conio\win32gdi.c(874)
scfg.exe!invoke_thread_procedure(void(*)(void *) procedure, void * const context) Line 82
at d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(82)
scfg.exe!thread_start<void (__cdecl*)(void *)>(void * const parameter) Line 115
at d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(115)
[External Code]
scfg.exe!__crt_stdio_input::input_processor<wchar_t,__crt_stdio_input::string_input_adapter<wchar_t>>::process_state() Line 1122
at d:\th\minkernel\crts\ucrt\inc\corecrt_internal_stdio_input.h(1122)
```
Stepping through the code, I see this calculation:
```
int yscale = fheight / rect->rect.height;
```
Results in yscale = 0 (350 / 400).
And then in the `if (xscale > yscale) {` block, the `yscale` value (0) is assigned to `xscale` which is then later assigned to `total_xscaling`.
Why this problem doesn't happen 100% of the time, I don't know. Perhaps the `rect` object is shared with another thread?
When it doesn't crash, the `fheight` parameter value is 400, so `yscale` is assigned 1 and no divide by zero happens.DeucеDeucе