Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
service:index [2018/03/04 23:02] – [Standard Services] "Standard" implies on by default. deuceservice:index [2023/12/23 02:31] (current) – Add screen shots digital man
Line 2: Line 2:
  
 Synchronet Services((a feature suggested by Angus McLeod of ANJO BBS)) are loadable modules or external executables designed to be loaded by the Synchronet //Services Server// to service a particular TCP or UDP protocol for remote client connections. Synchronet Services are similar in concept to UNIX's [x]inetd services. Synchronet Services((a feature suggested by Angus McLeod of ANJO BBS)) are loadable modules or external executables designed to be loaded by the Synchronet //Services Server// to service a particular TCP or UDP protocol for remote client connections. Synchronet Services are similar in concept to UNIX's [x]inetd services.
 +
 +===== Configure =====
 +
 +The //Services Server// can be configured via [[util:SCFG]]:Servers->Services Server:
 +
 +<file>
 +╔══════════════════════════════════════════════╗
 +║                Services Server               ║
 +╠══════════════════════════════════════════════╣
 +║ │Enabled                       Yes           ║
 +║ │Log Level                     Informational ║
 +║ │Network Interfaces            0.0.0.0, ::   ║
 +║ │Lookup Client Hostname        No            ║
 +║ │Configuration File            services.ini 
 +║ │JavaScript Settings...                      ║
 +║ │Failed Login Attempts...                    ║
 +╚══════════════════════════════════════════════╝
 +</file>
 +
 +... or (on Windows) via [[monitor:SBBSCTRL]]:Services->Configure:
 +
 +{{:service:sbbsctrl.3.20.srvcs.config.png}}
 +
 +... or by editing the ''[Services]'' section of the ''[[dir:ctrl]]/[[config:sbbs.ini]]'' file.
 +
 +==== Services ====
 +
 +Services are normally configured via the ''[[dir:ctrl]]/[[:config:services.ini]]'' file with some global settings controlled via the ''[Services]'' section of the ''[[:config:sbbs.ini]]'' file.
 +
 +... or (on Windows) via the "Services" tab of the [[monitor:SBBSCTRL]]:Services->Configure dialog:
 +
 +{{:service:sbbsctrl.3.20.services.config.png}}
 +
 +Some static services (e.g. the [[:service:ircd|IRC Daemon]]) may alternatively be executed independently of the //Services Server// using [[:util:JSexec]].
  
 ===== Service Types ===== ===== Service Types =====
Line 31: Line 65:
 |''server.client_update''|void|''server.client_update(//Socket//, [user], [host])''|Update client based on specified socket connection, with optional username and hostname| |''server.client_update''|void|''server.client_update(//Socket//, [user], [host])''|Update client based on specified socket connection, with optional username and hostname|
 |''server.client_remove''|void|''server.client_remove(//Socket//)''    |Unregister client based on specified socket connection| |''server.client_remove''|void|''server.client_remove(//Socket//)''    |Unregister client based on specified socket connection|
- 
-===== Configuration ===== 
- 
-Services are normally configured via the ''[[:config:services.ini]]'' file in the ''[[dir:ctrl]]'' directory with some global settings controlled via the ''[Services]'' section of the ''[[:config:sbbs.ini]]'' file. 
- 
-Some static services (e.g. the [[:service:ircd|IRC Daemon]]) may alternatively be executed independently of the //Services Server// using [[:util:JSexec]]. 
  
 ===== Included Services ===== ===== Included Services =====
Line 45: Line 73:
   * [[:config:services.ini]]   * [[:config:services.ini]]
   * [[:server:|Servers]]   * [[:server:|Servers]]
 +  * [[server:web|Web Server]]
  
 {{tag>tcpip servers services javascript}} {{tag>tcpip servers services javascript}}