-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support for the Message Send Protocol, which is a simple protocol that may be used to receive short messages targeted towards system users. Both TCP and UDP support is present. The main intended use case of this is to allow remote servers to deliver messages to the system via the IRC and notification subsystems, without requiring that they maintain persistent TCP connections to the BBS.
- Loading branch information
1 parent
3425fb8
commit a6b7512
Showing
9 changed files
with
740 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
; net_msp.conf - Message Send Protocol | ||
; | ||
; This protocol can be used to allow various clients (e.g. other servers) to submit | ||
; messages to deliver to local BBS users. This avoids the need to, for example, | ||
; create an IRC user for other clients and set up persistent IRC connections, | ||
; for applications that may only need to send messages to users or channels. | ||
; | ||
; WARNING: This protocol may allow unwanted anonymous and spoofed messages to reach users. | ||
; If you load this module, it is HIGHLY recommend that you configure restrictions on the UDP | ||
; listener to only listen to a private interface, through which trusted messages can be | ||
; sent by other endpoints. | ||
; You are urged to NOT EXPOSE this protocol to the Internet or other public networks. | ||
|
||
[ports] | ||
tcp=18 | ||
udp=18 | ||
|
||
; Additional configuration for the UDP listener | ||
[udp] | ||
;ip=127.0.0.1 ; Restrict listener to this IP address | ||
;interface=eth1 ; Specific interface on which to listen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.