* [PATCH v2 4/5] netd: setup TLS bits for well-known STARTTLS ports
2022-07-20 9:24 6% ` [PATCH v2 0/5] public-inbox " Eric Wong
@ 2022-07-20 9:24 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2022-07-20 9:24 UTC (permalink / raw)
To: meta
Unfortunately, I can't think of an easy way to test this in
our test suite since binding these ports are privileged and
are often in use, anyways.
---
lib/PublicInbox/Daemon.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/Daemon.pm b/lib/PublicInbox/Daemon.pm
index fbce9154..bceae6e5 100644
--- a/lib/PublicInbox/Daemon.pm
+++ b/lib/PublicInbox/Daemon.pm
@@ -208,7 +208,7 @@ EOF
$tls_opt{"$scheme://$sockname"} ||= accept_tls_opt('');
} elsif (($scheme = $KNOWN_STARTTLS{$1})) {
$xnetd->{$sockname} = load_mod($scheme);
- next if $tls_opt{"$scheme://$sockname"};
+ $tls_opt{"$scheme://$sockname"} ||= accept_tls_opt('');
$tls_opt{''} ||= accept_tls_opt('');
}
}
^ permalink raw reply related [relevance 7%]
* [PATCH v2 0/5] public-inbox POP3 daemon
@ 2022-07-20 9:24 6% ` Eric Wong
2022-07-20 9:24 7% ` [PATCH v2 4/5] netd: setup TLS bits for well-known STARTTLS ports Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2022-07-20 9:24 UTC (permalink / raw)
To: meta
Deletes seem working, and some more bugs with well-known ports.
Mainly tested with public-inbox-netd, but it's live and running
on public-inbox.org (sharing the same process with NNTP and
IMAP).
username: $(uuidgen)@inbox.comp.mail.public-inbox.meta
password: anonymous
ports 110 (POP3 w/ STARTTLS) and 995 (POP3S)
7fh6tueqddpjyxjmgtdiueylzoqt6pt7hec3pukyptlmohoowvhde4yd.onion:110
should also work for Tor users.
Eric Wong (5):
public-inbox-pop3d - a mostly read-only POP3 server
pop3: implement IN-USE from RESP-CODES (RFC 2449)
pop3: TOP requests do not expire messages
netd: setup TLS bits for well-known STARTTLS ports
pop3: advertise STLS in CAPA if appropriate
Documentation/public-inbox-config.pod | 12 +-
Documentation/public-inbox-pop3d.pod | 122 +++++++
Documentation/standards.perl | 13 +-
MANIFEST | 5 +
lib/PublicInbox/Config.pm | 5 +-
lib/PublicInbox/Daemon.pm | 10 +-
lib/PublicInbox/Inbox.pm | 10 +-
lib/PublicInbox/POP3.pm | 447 ++++++++++++++++++++++++++
lib/PublicInbox/POP3D.pm | 231 +++++++++++++
script/public-inbox-pop3d | 8 +
t/pop3d.t | 303 +++++++++++++++++
11 files changed, 1148 insertions(+), 18 deletions(-)
create mode 100644 Documentation/public-inbox-pop3d.pod
create mode 100644 lib/PublicInbox/POP3.pm
create mode 100644 lib/PublicInbox/POP3D.pm
create mode 100755 script/public-inbox-pop3d
create mode 100644 t/pop3d.t
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-07-19 2:49 [PATCH 0/2] preliminary POP3 daemon Eric Wong
2022-07-20 9:24 6% ` [PATCH v2 0/5] public-inbox " Eric Wong
2022-07-20 9:24 7% ` [PATCH v2 4/5] netd: setup TLS bits for well-known STARTTLS ports Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).