<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.darenet.org/skins/common/feed.css?12"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>IRCu readme.gline - Revision history</title>
		<link>http://wiki.darenet.org/index.php?title=IRCu_readme.gline&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Sun, 05 Apr 2026 21:07:53 GMT</lastBuildDate>
		<item>
			<title>Secretagent:&amp;#32;New page: &lt;pre&gt;GLINE documentation, last updated on 8 April 2004  For an ordinary user, the syntax is:    GLINE [&lt;mask&gt;]  If &lt;mask&gt; is given, and if a G-line for that server exists, all the informat...</title>
			<link>http://wiki.darenet.org/index.php?title=IRCu_readme.gline&amp;diff=2247&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: &amp;lt;pre&amp;gt;GLINE documentation, last updated on 8 April 2004  For an ordinary user, the syntax is:    GLINE [&amp;lt;mask&amp;gt;]  If &amp;lt;mask&amp;gt; is given, and if a G-line for that server exists, all the informat...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;GLINE documentation, last updated on 8 April 2004&lt;br /&gt;
&lt;br /&gt;
For an ordinary user, the syntax is:&lt;br /&gt;
&lt;br /&gt;
  GLINE [&amp;lt;mask&amp;gt;]&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;mask&amp;gt; is given, and if a G-line for that server exists, all the&lt;br /&gt;
information about that G-line is displayed.  If &amp;lt;mask&amp;gt; is not given,&lt;br /&gt;
an error is returned.&lt;br /&gt;
&lt;br /&gt;
For an operator, the syntax is:&lt;br /&gt;
&lt;br /&gt;
  GLINE [[!][+|-][$&amp;lt;type&amp;gt;]&amp;lt;mask&amp;gt; [[&amp;lt;target&amp;gt;] &amp;lt;expiration&amp;gt; :&amp;lt;reason&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;mask&amp;gt; is not given, or if it is not prefixed by &amp;quot;+&amp;quot; or &amp;quot;-&amp;quot;, the&lt;br /&gt;
operation is exactly the same as if it were issued by an ordinary&lt;br /&gt;
user, except that a list of all G-lines may be returned.  If the &amp;quot;+&amp;quot;&lt;br /&gt;
or &amp;quot;-&amp;quot; prefixes are used, the arguments &amp;lt;target&amp;gt;, &amp;lt;expiration&amp;gt;, and&lt;br /&gt;
&amp;lt;reason&amp;gt; must be given, even if the G-line already exists.  If&lt;br /&gt;
&amp;lt;target&amp;gt; is &amp;quot;*&amp;quot; and the currently existing G-line is a local G-line,&lt;br /&gt;
the local G-line will be erased and recreated with the parameters&lt;br /&gt;
given, as described below.  Otherwise, if the G-line currently exists,&lt;br /&gt;
a prefix of &amp;quot;+&amp;quot; will cause an inactive G-line to be activated, whereas&lt;br /&gt;
a prefix of &amp;quot;-&amp;quot; will cause an active G-line to be deactivated.  If an&lt;br /&gt;
attempt is made to modify a G-line set by a U-lined service such as&lt;br /&gt;
Uworld, the change will be forced to be local.  If the mask would not&lt;br /&gt;
be permitted due to it being too wide or affecting too many users&lt;br /&gt;
(governed by the GLINEMAXUSERCOUNT feature), the &amp;quot;!&amp;quot; prefix may be&lt;br /&gt;
used to force the G-line to be set anyway. The &amp;lt;type&amp;gt; argument can&lt;br /&gt;
be used to G-line user Realnames by using $R. For example&lt;br /&gt;
&lt;br /&gt;
  GLINE +$R*sub7* local.server 123456 :infected with sub7&lt;br /&gt;
&lt;br /&gt;
This would G-line all users that have &amp;quot;sub7&amp;quot; in their realnames.&lt;br /&gt;
&lt;br /&gt;
If the G-line does not already exist, it is created. The &amp;lt;target&amp;gt;&lt;br /&gt;
parameter is used to select whether the G-line is only to apply to a&lt;br /&gt;
single server (which need not be the local server) or to the whole&lt;br /&gt;
network; if &amp;lt;target&amp;gt; is not given, it is assumed to be the local&lt;br /&gt;
server.  This could be useful if a single particular link is having&lt;br /&gt;
problems, for instance.  The &amp;lt;expiration&amp;gt; parameter is a number of&lt;br /&gt;
seconds, not to exceed 7 days, for the G-line to exist.  The &amp;lt;reason&amp;gt;&lt;br /&gt;
argument is mandatory and should describe why this particular G-line&lt;br /&gt;
was placed.  The &amp;lt;mask&amp;gt; parameter must be a nick!user@host mask. The&lt;br /&gt;
nick part is optional, a user@host mask will work. The host component&lt;br /&gt;
must contain at least 2 non-wildcarded subdomains or, if it is an IP&lt;br /&gt;
address, at least 16 bits.  Normally, the host component may not contain&lt;br /&gt;
*any* wildcards, but that can be overridden with the &amp;quot;!&amp;quot; prefix, as&lt;br /&gt;
indicated above, if the operator has the WIDE_GLINE privilege.&lt;br /&gt;
&lt;br /&gt;
For a server, the syntax is:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;prefix&amp;gt; GL &amp;lt;target&amp;gt; (+|-)[$&amp;lt;type&amp;gt;]&amp;lt;mask&amp;gt; &amp;lt;expiration&amp;gt; &amp;lt;lastmod&amp;gt; :&amp;lt;reason&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;target&amp;gt; may be a server numeric or the character &amp;quot;*&amp;quot;, for a&lt;br /&gt;
globally scoped G-line.  The &amp;lt;mask&amp;gt; argument is a server name, and&lt;br /&gt;
must be prefixed by one of &amp;quot;+&amp;quot; (to indicate an active G-line) or &amp;quot;-&amp;quot;&lt;br /&gt;
(to indicate an inactive G-line).  The parameter &amp;lt;expiration&amp;gt; is a&lt;br /&gt;
total number of seconds the G-line is to live for, and &amp;lt;lastmod&amp;gt; is&lt;br /&gt;
used for versioning.  Since GLINEs are propagated during netbursts,&lt;br /&gt;
there must be some way of resolving conflicting states, which is the&lt;br /&gt;
reason for this argument, and is also the reason G-lines cannot be&lt;br /&gt;
deleted, only deactivated.  The &amp;lt;reason&amp;gt; parameter indicates the&lt;br /&gt;
reason the G-line was placed. The &amp;lt;type&amp;gt; arguement is the same as&lt;br /&gt;
a normal G-line done by a opers (See second paragraph from top). Nicks&lt;br /&gt;
can also be G-lined via the mask just like norml G-Lines done by opers&lt;br /&gt;
&lt;br /&gt;
If a GLINE is received with a &amp;lt;target&amp;gt; of &amp;quot;*&amp;quot;, any G-lines with local&lt;br /&gt;
scope are deleted, in preference for the globally scoped version.  If&lt;br /&gt;
the G-line already exists, the values of &amp;lt;lastmod&amp;gt; are compared; if&lt;br /&gt;
the received &amp;lt;lastmod&amp;gt; is less than the stored &amp;lt;lastmod&amp;gt;, the existing&lt;br /&gt;
G-line is resent to the server from which the GLINE message was&lt;br /&gt;
received; otherwise, the G-line is activated or deactivated, depending&lt;br /&gt;
on the &amp;lt;mask&amp;gt; prefix.  If the G-line does not currently exist, it is&lt;br /&gt;
created with the parameters given.&lt;br /&gt;
&lt;br /&gt;
For a U-lined server, this syntax should be used:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;prefix&amp;gt; GL &amp;lt;target&amp;gt; +&amp;lt;mask&amp;gt; &amp;lt;expiration&amp;gt; :&amp;lt;reason&amp;gt;&lt;br /&gt;
  &amp;lt;prefix&amp;gt; GL &amp;lt;target&amp;gt; -&amp;lt;mask&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;lastmod&amp;gt; parameter will be assumed to be 0.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</description>
			<pubDate>Fri, 25 Apr 2008 03:37:20 GMT</pubDate>			<dc:creator>Secretagent</dc:creator>			<comments>http://wiki.darenet.org/Talk:IRCu_readme.gline</comments>		</item>
	</channel>
</rss>