ircd2.11の新機能 サーバOP向け

Last-modified: 2008-07-12 (土) 12:59:01

サーバIDの指定

M:xxxxxxxxxx.jp:xxx.xxx.xxx.xxx:comment:primary-port:392C

最後のカラムがサーバIDです。サーバIDはUIDの先頭部分に使われます。
最初の3桁は ftp://ftp.ripe.net/iso3166-countrycodes.txt の国コード、
残り1桁はA-Zの英字をIRC網の各サーバでユニークになるように選びます。

オペレータフラグ

O:host:password:opername::12:Pp&ACDdehKlRrSTqtv

:で区切った最後のカラムがオペレータフラグです。
ircdのdoc/INSTALL.txt によると

    Flags
       This field contains flags of an O:line; flags are one character
       in size, can be combined and their order does not matter.  They
       define privileges of an operator.
       +  L - local operator (disables all remote functions)
       +  P - removes penalty
       +  p - allows flooding
       +  & - allows joining &CLIENTS
       +  A - enables all flags below
       +  C - allows local and remote CONNECT
       +  c - allows local CONNECT
       +  D - allows DIE
       +  d - allows DNS
       +  e - allows SET
       +  h - allows HAZH
       +  K - allows local and remote KILL
       +  k - allows local KILL
       +  l - allows CLOSE
       +  R - allows RESTART
       +  r - allows REHASH
       +  S - allows local and remote SQUIT
       +  s - allows local SQUIT
       +  T - allows TKLINE
       +  q - allows KLINE
       +  t - enables full TRACE and STATS L
       +  v - allows SIDTRACE
       ``L'' flag cannot be overridden by other flags.  If <Flags>
       field is left empty, no privileges will be granted.

KLINE,TKLINEコマンド

サーバopがIRCコマンドでKLINEを追加できます。

/tkline user@(FQDN or IP) reason
/kline user@(FQDN or IP) reason

TKLINEは保存されません。rehashによって解除されます。
KLINEはetc/ircd.klineに保存されます。あらかじめ touch etc/ircd.kline しておかないと失敗します。

ソースIPの指定

c:to-addr:password:servername:to-port:class:source-addr

リレー先のサーバにconnectする際に、ソースアドレスをbindする指定が可能になりました。
複数のネットワークインタフェースを持つマシン等で有用です。

I-line の変更

	* I-line now requires both addr and name fields to match.
	* I-line flags
		D - restricted, when client has no reverse DNS.
		E - client is exempted from K-lines.
		e - client is exempted from X-lines.
		F - fall-through to next I-line if password did not match.
		I - restricted, when client has no ident.
		N - disable resolved hostname to be used.
		M - disable resolved hostname to be shown.
		R - restricted.