From 755c144eb608f457bd2c9264e01987c4301319f0 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 13 Mar 2012 22:41:39 +0100 Subject: [PATCH] Specify more about IP addresses in TS6 protocol document. --- doc/technical/ts6-protocol.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/technical/ts6-protocol.txt b/doc/technical/ts6-protocol.txt index ffeded408..37c9fef2f 100644 --- a/doc/technical/ts6-protocol.txt +++ b/doc/technical/ts6-protocol.txt @@ -21,6 +21,10 @@ the function hunt_server(). Any rate limiting should be done locally. duration: a parameter type used for ban durations. It is a duration in seconds. A value of 0 means a permanent ban. +IP addresses: IP addresses are converted to text in the usual way, including +'::' shortening in IPv6, with the exception that a zero is prepended to any +IP address that starts with a colon. + propagation: to which other servers the command is sent For all commands with a hunted parameter, the propagation is determined by @@ -280,6 +284,11 @@ propagation: broadcast Introduces a client. The client is on the source server of this command. +The IP address MUST be '0' (a zero) if the true address is not sent such as +because of a spoof. Otherwise, and if there is no dynamic spoof (i.e. the +visible and real hostname are equal), the IP address MAY be shown to normal +users. + The account name is '0' if the user is not logged in with services. Nick TS rules apply. @@ -947,6 +956,10 @@ propagation: broadcast Introduces a client. The client is on the source server of this command. +The IP address MUST be '0' (a zero) if the true address is not sent such as +because of a spoof. Otherwise, and if there is no dynamic spoof (ENCAP +REALHOST, charybdis TS6 only), the IP address MAY be shown to normal users. + Nick TS rules apply. UNDLINE