1 |
/* doc/kline.txt - Overview of the remote kline system |
/* doc/kline.txt - Overview of the remote kline system |
2 |
* |
* |
3 |
* Copyright (C) 2005-2012 Hybrid Development Team |
* Copyright (C) 2005-2013 Hybrid Development Team |
4 |
* |
* |
5 |
* $Id$ |
* $Id$ |
6 |
*/ |
*/ |
61 |
The shared block contains two settings, a user@host mask of the oper |
The shared block contains two settings, a user@host mask of the oper |
62 |
who is allowed to K-Line, and a servername. |
who is allowed to K-Line, and a servername. |
63 |
|
|
64 |
- If both of these options are present, K-Lines will only be allowed |
- If both of these options are present, K-Lines will only be allowed |
65 |
from that specific user@host on that specific server. |
from that specific user@host on that specific server. |
66 |
- If only the servername is present, all K-Lines from opers on that |
- If only the servername is present, all K-Lines from opers on that |
67 |
server will be accepted. |
server will be accepted. |
68 |
- If only the user@host is present, all K-Lines from that user@host on |
- If only the user@host is present, all K-Lines from that user@host on |
70 |
- If neither are present, the shared block is invalid. |
- If neither are present, the shared block is invalid. |
71 |
|
|
72 |
shared { |
shared { |
73 |
/* The name of the server we allow K-Lines from */ |
/* The name of the server we allow K-Lines from */ |
74 |
name = "this.server.net"; |
name = "this.server.net"; |
75 |
|
|
76 |
/* the user@host allowed to K-Line */ |
/* the user@host allowed to K-Line */ |
77 |
user = "user@host.com"; |
user = "user@host.com"; |
78 |
}; |
}; |
79 |
|
|
80 |
Server to Server Protocol |
Server to Server Protocol |
87 |
Server to server messages are formatted like this: |
Server to server messages are formatted like this: |
88 |
|
|
89 |
":oper KLINE target.server duration user host :reason" |
":oper KLINE target.server duration user host :reason" |
90 |
|
|
91 |
Note the difference between hybrid-6 GLINE which explicitly passed |
Note the difference between hybrid-6 GLINE which explicitly passed |
92 |
the oper user@host and server along. This was originally done to handle |
the oper user@host and server along. This was originally done to handle |
93 |
possible desync conditions, but is now shelved in favor of saving |
possible desync conditions, but is now shelved in favor of saving |
94 |
some bandwidth. |
some bandwidth. |
95 |
|
|
96 |
oper: the nick of the oper performing the K-Line |
oper: the nick of the oper performing the K-Line |
97 |
target.server: the server(s) this K-Line is destined for |
target.server: the server(s) this K-Line is destined for |
98 |
duration: the duration if a TK-Line, 0 if permanent. |
duration: the duration if a TK-Line, 0 if permanent. |
99 |
user: the 'user' portion of the K-Line |
user: the 'user' portion of the K-Line |
100 |
host: the 'host' portion of the K-Line |
host: the 'host' portion of the K-Line |
101 |
reason: the reason for the K-Line. |
reason: the reason for the K-Line. |