+ NNTP Content Server

* Read-only to public conf/areas only for now
* Missing some protocol support
* Could use better encoding practices and ANSI prep
This commit is contained in:
Bryan Ashby 2018-12-14 22:21:57 -07:00
parent cde329b439
commit 772022f0d0
6 changed files with 840 additions and 9 deletions

View file

@ -404,6 +404,33 @@ function getDefaultConfig() {
// Set messageConferences{} to maps of confTag -> [ areaTag1, areaTag2, ... ]
// to export message confs/areas
//
},
nntp : {
// internal caching of groups, message lists, etc.
cache : {
maxItems : 200,
maxAge : 1000 * 30, // 30s
},
//
// Set publicMessageConferences{} to a map of confTag -> [ areaTag1, areaTag2, ... ]
// in order to export *public* conf/areas that are available to anonymous
// NNTP users. Other conf/areas: Standard ACS rules apply.
//
publicMessageConferences: {},
nntp : {
enabled : false,
port : 8119,
},
nntps : {
enabled : false,
port : 8563,
certPem : paths.join(__dirname, './../config/nntps_cert.pem'),
keyPem : paths.join(__dirname, './../config/nntps_key.pem'),
}
}
},