Groups | Search | Server Info | Login | Register


Groups > comp.protocols.misc > #76

Virtual hosting in IRC and NNTP

Path csiph.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From news@zzo38computer.org.invalid
Newsgroups comp.protocols.misc
Subject Virtual hosting in IRC and NNTP
Date Wed, 22 Oct 2025 13:43:13 -0700
Organization A noiseless patient Spider
Lines 24
Message-ID <1761165237.bystand@zzo38computer.org> (permalink)
MIME-Version 1.0
Injection-Date Wed, 22 Oct 2025 20:43:48 +0000 (UTC)
Injection-Info dont-email.me; posting-host="c85a56b2d1cdee3b342590a61db3cd22"; logging-data="954993"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oXQdOmMOpUkGx/LO4JUCo"
User-Agent bystand/1.3.0pre1
Cancel-Lock sha1:tsW5y4G477DrSbx4k3Y/hmh0Q4o=
Xref csiph.com comp.protocols.misc:76

Show key headers only | View raw


I have a proposal for implementing virtual hosting in IRC and NNTP (if it
does not already have them).

The HOST command takes one argument being a domain name in ASCII format,
and will cause the server to treat as though the client is trying to
connect to the server with the specified name (like "Host:" in HTTP). The
port number is not specified, because the server already knows what port
number the client tried to connect to.

The HOST command cannot be used with TLS (use SNI instead if you are using
TLS) nor can it be used in combination with the STARTTLS command.

In IRC, HOST must precede USER and NICK if virtual hosting is used.

In NNTP, HOST will reset the state of the connection if it is successful,
and the server responds by 200, 201, 400, or 502, as appropriate, just
as though it is a new connection. HOST should be used before any other
commands since the capabilities etc might be different for different
virtual hosts and because authentication, etc will probably be different
so you will have to make any authentication and other state after you
specify the domain name rather than before.

-- 
Don't laugh at the moon when it is day time in France.

Back to comp.protocols.misc | Previous | Find similar


Thread

Virtual hosting in IRC and NNTP news@zzo38computer.org.invalid - 2025-10-22 13:43 -0700

csiph-web