InterNetNews / inn

INN (InterNetNews) Usenet server
https://www.isc.org/othersoftware/#INN
Other
72 stars 13 forks source link

Add TLS support in pullnews #256

Closed Julien-Elie closed 1 year ago

Julien-Elie commented 1 year ago

pullnews does not currently support TLS connections. An option to activate it for downstream servers may be useful. We can already configure a port for the downstream server (via -p or -s), but not implicit TLS. As Net::NNTP natively provides a function to activate it, it should be easy to support it in pullnews.

As for upstream servers, pullnews.marks could use the following syntax:

server[:port][_TLS] [username password]

so as to ask for implicit TLS and/or a different port.

Make sure that server is correctly parsed, as it may contain colons (if written as an IPv6 address). We would had:

news.server.com:563_TLS
news.server.com:433