Tip of the day: Channel mode +f is a powerful anti-flood feature. It is also slightly complex. Enable it in your most important channels, and consider setting a default in set::modes-on-join.

Server protocol:UID command

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

The UID command is used to introduce users from one server to another.

Syntax

Syntax:

UID nickname hopcount timestamp username hostname uid servicestamp umodes virthost cloakedhost ip :gecos

Where:

  • nickname: the nick name of the (new) user
  • hopcount: number of hops.
  • timestamp: timestamp when the user came online
  • username: username (ident)
  • hostname: real hostname
  • uid: unique user id (see below)
  • servicestamp: short metadata stamp of the user from Services. Just use * or 0 if none.
  • umodes: user modes of the user (see User modes).
  • virthost: virtual host (see Vhost block). This is * (asterisk) if no virtual host is set.
  • cloakedhost: cloaked host
  • ip: IP address of the user (base64 encoded version of the binary representation of the IP. The decoded version will thus be 32 bits for IPv4 and 128 bits for IPv6)
  • gecos: gecos or 'real name' of the user. This field that may contain spaces so always comes last.

Example:

UID James 1 1469538255 bond sis.gov.uk 00AAAAAAA 0 +ixwo Clk-123A45B6.gov.uk * :Bond, James Bond

If you have PROTOCTL MTAGS enabled then additional user properties are communicated ("early moddata"):

@s2s-md/creationtime=1679075545;s2s-md/operlogin=JamesBond;s2s-md/operclass=netadmin-with-override UID James 1 1469538255 bond sis.gov.uk 00AAAAAAA 0 +ixwo Clk-123A45B6.gov.uk * :Bond, James Bond