Commit Graph
20 Commits
Author SHA1 Message Date
cathugger a8695c5caf srnd: message/rfc822 doesn't have charset parameter 2019-01-26 15:08:12 +02:00
cathugger b61741fdda srnd: use all bits of blake2b for signature 2019-01-25 20:43:12 +02:00
cathugger 40e4ae1fc4 srnd: custom email address formatter, some tweaks
This adds custom email address formatter, which, unlike stdlib one, doesn't needlessly quote names.
Quoted names can be a bit of issue with older nodes which parse addresses in simpler way, and end up not removing quote characters.
This also ensures that newlines cannot be inserted in in From and Subject headers, which effectively allowed insertion of new headers in message being posted, and generating invalid messages.
2018-12-12 18:38:58 +02:00
cathugger 7e6f143108 generate compliant From headers, more tolerance to non-compliant From headers, other fixups 2018-12-11 22:57:42 +00:00
cathugger 740bf82a1e srnd: properly parse email addresses
this replaces faulty address parsing code with calls to stdlib' email parser and some reasonable fallbacks.
note that nntpArticle.Email() function was completely incorrect, but it's not used anywhere in code, apparently.
2018-12-03 14:54:08 +02:00
Jeff Becker 4d4aea61fe try fixing issues #161 and #162 2018-11-27 10:24:27 -05:00
Jeff Becker 69f868ecb9 add frontend key based blocking (initial) 2018-03-09 16:16:41 -05:00
Jeff Becker b919c095a8 fix 2017-11-07 13:37:22 -05:00
Jeff Becker 666549e1e4 gay bullshit 2017-11-06 19:09:45 -05:00
Jeff Becker bf357a3461 durr 2017-11-06 18:22:51 -05:00
Jeff Becker cda181e820 spamassassin integration 2017-11-06 18:12:18 -05:00
Jeff Becker 09504ca363 xpat 2017-10-24 08:51:21 -04:00
Jeff Becker 59ea3da355 add tests and try making no libsodium version work properly 2017-08-26 10:41:28 -04:00
Jeff Becker fea75f7200 try fixing signing omg this suxass 2017-08-25 10:52:57 -04:00
Jeff Becker 64c52e327a unbreak maybe? 2017-08-25 09:37:05 -04:00
Jeff Becker 86b3d3ce62 probably broken 2017-08-25 09:30:34 -04:00
Jeff Becker ed2f88c0fc add ed25519-blake2b signature support 2017-08-25 08:20:06 -04:00
Jeff Becker a66d31f447 enforce limits better 2017-04-04 11:01:02 -04:00
Jeff Becker 8b5952f66b add configurable max message sizes 2017-04-04 10:31:41 -04:00
Jeff Becker 3a6cbf9de6 move srndv2 to nntpchan repo with vendored deps so that nothing breaks every again
this deprecates the github.com/majestrate/srndv2 repo
2017-04-03 10:00:38 -04:00