]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/miau/miaurc
openssl: Rootfile update
[people/pmueller/ipfire-2.x.git] / config / miau / miaurc
1 #
2 # miau 0.6.2 configuration file example
3 # (C) 2003-2006 Tommi Saviranta <wnd@iki.fi>
4 #
5
6 # About structure of this configuration file:
7 #
8 # - All parameters are written inside quotes (for example, "foobar")
9 #
10 # - Options are defined like: option = "parameter1"[:"parameter2"] ...
11 #
12 # - When entering multiparameter options, certain parameters have default
13 # values and can be left out.
14 #
15 # - When entering multiparameter options and, for example, user doesn't want
16 # to set parameter2 at all but he needs to set parameter3, parameter2 can
17 # be skipped with column (':') like: "parameter1"::"parameter3".
18 #
19 # - Empty lines and characters after '#' (hash) are ignored.
20 #
21 # - When setting permissions, switched etc. (switches (booleans) are described
22 # as "state"), everything beginning with "t", "r" and "1" are concidered as
23 # "true" or "yes" (positive). Everything else is "false" or "no" (negative).
24
25
26
27 # Required settings
28 ################################################################################
29
30
31 # nicknames = { "nick" }: Your nickname (and secondary nicknames) on IRC.
32 #
33 # If the primary nick (first nick on the list) is already on use, miau will try
34 # the others on the list.
35 #
36 # Default: no default
37 #
38 # Example:
39 #nicknames = {
40 # "zak"
41 # "zakh"
42 #}
43 nicknames = {
44 "miau_bnc_on_ipfire"
45 "miau_bnc_on_ipfire_"
46 "miau_bnc_on_ipfire__"
47 }
48
49
50 # realname = "realname": Your "real" name on IRC.
51 #
52 # Default: no default
53 #
54 # Example:
55 #realname = "Prokhor Zakharov"
56 realname = "miau_bnc_on_ipfire"
57
58
59 # username = "username": Your username.
60 #
61 # Your ident, matters only if you don't have identd running.
62 #
63 # Default: no default
64 #
65 # Example:
66 #username = "zak"
67
68 username = "miau_bnc_on_ipfire"
69
70 # password = "password": The password miau will expect to receive from client
71 # when it's registering with nick.
72 #
73 # If this is 13 characters long, miau assumed it's crypted.
74 #
75 # If miau is compiled with ENABLE_MKPASSWD, miau can generate password-hashes
76 # (from command line) with -c -switch.
77 #
78 # Default: no default
79 #
80 # Example:
81 #password = "foobar"
82 password = ""
83
84
85 # listenport = "port": The port miau will wait for incoming connections.
86 #
87 # Default: no default
88 #
89 # Example:
90 listenport = "4096"
91
92
93 # servers = { "server":"port":"password":"timeout" }: miau's IRC-server-list.
94 #
95 # Each line represents one server, where timeout is delay in seconds before
96 # connectiong attempt times out. Only "server" parameter is required.
97 #
98 # Default: no default
99 #
100 # Example:
101 #servers = {
102 # "irc.net"
103 # "irc.foo.bar":"6662"
104 # "localhost"::"foobar"
105 # "127.0.0.1":"6670"::"5"
106 #}
107 servers = {
108 "irc.freenode.net"
109 }
110
111
112 # connhosts = { "host":"permitted" }: List of hosts that are allowed (or denied)
113 # to connect to miau.
114 #
115 # When boolean-value is left unset, it is assumed to be "true". This list will
116 # be processed as a chain which means latter rules can override previous ones.
117 #
118 # Default: no default
119 #
120 # Example:
121 #connhosts = {
122 # "*":"yes"
123 # "client*.evil.net":"no"
124 #}
125 connhosts = {
126 # "192.168.1.*":"yes"
127 "*":"yes"
128 }
129
130
131
132 # Optional settings
133 ################################################################################
134
135
136 # statelog = "state": Should miau write state log.
137 #
138 # When true, log will be written to "$MIAUDIR/log". If set to false, the same
139 # stuff is printed on stdout (on terminal).
140 #
141 # Default: true
142 #
143 # Example:
144 #statelog = "false"
145
146
147 # listenhost = "host": Host miau uses to listen on.
148 #
149 # If you are compiled with IPV6 and need this to listen on an IPV4 port, you
150 # must use an IP in the form ::FFFF:127.0.0.1
151 #
152 # Default: no default
153 #
154 # Example:
155 listenhost = "0.0.0.0"
156
157
158 # floodtimer = "number": Time it takes to send one message.
159 #
160 # When configuring flood-protection, this variable defined how fast you can
161 # send messages; how many seconds sending one message takes. See also burstsize.
162 #
163 # Default: 2
164 #
165 # Example
166 #floodtimer = "1"
167
168
169 # burstsize = "number": How manu messages can be sent at once.
170 #
171 # When onfiguring flood-protection, this variable defined how many messages
172 # can be sent at once (in a burst). See also floodtimer.
173 #
174 # Default: 5
175 #
176 # Example:
177 #burstsize = "5"
178
179
180 # jointries = "number": Number of tries to join channel after dropping from
181 # server etc. miau tries to join channels once a minute.
182 #
183 # Default: 30
184 #
185 # Example:
186 #jointries = "1440"
187
188
189 # bind = "host": Host/IP miau uses for outgoing connections.
190 #
191 # Default: none
192 #
193 # Example:
194 #bind = "172.16.1.1"
195
196
197 # maxclients = "number": Maximum number of clients connected to miau
198 # concurrently.
199 #
200 # Set to zero for unlimited clients.
201 #
202 # Default: 3
203 #
204 #Example:
205 #maxclients = "1"
206
207
208 # stonedtimeout = "seconds": Time (in seconds) with no data from the server
209 # before it is declared stoned and being disconnected.
210 #
211 # Although minimum value is 30, this value has no upper limit. Watch out,
212 # though, if this value is set too high, death of servers may stay undetected
213 # for a very long time if you are idle.
214 #
215 # Default: 90
216 #
217 # Example:
218 #stonedtimeout = "150"
219
220
221 # connecttimeout = "seconds": Time (in seconds) before connection attampt will
222 # time out.
223 #
224 # Note that while connecting to the server miau will not respond to clients.
225 # Minimum value is 5, and many systems define maximum value.
226 #
227 # Default: 30
228 #
229 # Example:
230 #connecttimeout = "60"
231
232
233 # channels = { "channel":"keyword" }: List of channels to join.
234 #
235 # Default: none
236 #
237 # Example:
238 #channels = {
239 # "#lugop"
240 #}
241 channels = {
242 }
243
244 # rejoin = "state": Rejoin channels after disconnecting from the server.
245 #
246 # If rejoin is set to true, channels defined in "channels" are also joined when
247 # client first time connects to miau.
248 #
249 # Default: true
250 #
251 # Example:
252 #rejoin = "false"
253
254
255 # leave = "state": Leave channels when all clients have detached from miau.
256 #
257 # If "leave" is set to "false" and "rejoin" is set to "true", channels defined
258 # at "channels" will be joined at miau startup. If both "leave" and "rejoin"
259 # is set to "true", channels that are left at client detach, are rejoined when
260 # client attached back to miau.
261 #
262 # Default: false
263 #
264 # Example:
265 #leave = "false"
266
267
268 # leavemsg = "message": Message miau will either use as PART-message or as an
269 # ACTION when all clients have detached from miau.
270 #
271 # If unset or set to empty, no message will be shown. Note that many people
272 # dislike event-based messages (which happens when "leave" is set to "false"
273 # and "leavemsg" is set). Also see usequitmsg.
274 #
275 # Note: Note that commenting this option out and rehashing after leavemsg was
276 # set, this option is _not_ reverted. To disable leavemsg afterwards you
277 # need to write an empty string here and rehash.
278 #
279 # Default: none
280 #
281 # Example:
282 #leavemsg = "doh"
283
284
285 # awaymsg = "message": Text that will be set to miau's away-reason when all
286 # clients have detached from miau.
287 #
288 # If unset or set to empty, AWAY-status will be left untouched. When any client
289 # attaches back to miau, AWAY-status will be reset. Also see usequitmsg.
290 #
291 # Note: If user sets him/herself away, miau will not touch away-status nor
292 # message neither when connecting to or disconnecting from miau.
293 #
294 # Note: Note that commenting this option out and rehashing after awaymsg was
295 # set, this option is _not_ reverted. To disable awaymsg afterwards you
296 # need to write an empty string here and rehash.
297 #
298 # Default: none
299 #
300 # Example:
301 #awaymsg = "bouncing around - all private messages will be logged"
302
303
304 # usequitmsg = "state": Use last quit-reason as away-reason and/or leave-message
305 # (if respective options are enabled) when all clients have
306 # disconnected from miau.
307 #
308 # If quit-reason is empty, default values of awaymsg and leavemsg will be used,
309 # otherwise most recent quit-message overrides values in miaurc.
310 #
311 # Default: true
312 #
313 # Example:
314 # usequitmsg = "false"
315
316
317 # autoaway = "selection": miau can set user away automatically.
318 #
319 # This option allows to define when to do that. This option may be one of the
320 # following: "never", "detach", "noclients".
321 #
322 # never: never set user away
323 # detach: set user away when any of the clients disconnects
324 # noclients: set user away when the last client disconnects
325 #
326 # Default: detach
327 #
328 # Example:
329 #autoaway = "noclients"
330
331
332 # chandiscon = "selection": When miau is disconnected from the server e.g.
333 # because of network problem, miau can notify user about this in
334 # a couple of ways.
335 #
336 # nothing: only print server notice
337 # notice: send notice to each channel
338 # part: part each channel. mIRC users probably don't want to use this.
339 # privmsg: send a private message to the user
340 #
341 # Default: part
342 #
343 # Example:
344 #chandiscon = "notice"
345
346
347 # getnick = "selection": miau can try to reclaim your primary nick when it is
348 # lost.
349 #
350 # This option may be one of the following: "never", "detached", "attached", or
351 # "always".
352 #
353 # never miau will not try to get your nick back
354 # detached miau will try to get your nick when no clients are attached
355 # attached miau will try to get your nick when there are one or more
356 # clients attached
357 # always miau will try to get your nick
358 #
359 # Note: Do _not_ use options "attached" and "always" with clients (like
360 # irc-II EPIC) that automatically change your nick when they receive
361 # NICKINUSE from the server - you might end up chaning your nick until
362 # server drops your connection due excess flood.
363 #
364 # Note: If you issue "/nick not-primary-nick", miau will start trying to get
365 # your primary nick back.
366 #
367 # Default: detached
368 #
369 # Example:
370 getnick = "always"
371
372
373 # getnickinterval = "seconds": Time between tries (in seconds) to obtain
374 # currently (possibly) lost primary nick.
375 #
376 # Don't set it too low or you might get kicked out the server due to excess
377 # flood.
378 #
379 # Default: 60
380 #
381 # Example:
382 #getnickinterval = "30"
383
384
385 # antiidle = "minutes": Time between idle-timer resets in minutes. Set to 0 to
386 # disable.
387 #
388 # Default: 0
389 #
390 # Example:
391 #antiidle = "300"
392
393
394 # qloglength = "minutes": Age of oldest line in quicklog in minutes. Set to zero
395 # to disable quicklog.
396 #
397 # This option might not be compiled in.
398 #
399 # Default: 30
400 #
401 # Example:
402 qloglength = "60"
403
404
405 # timestamp = "option": Location of timestamp in quicklog events.
406 #
407 # This option may be one of the following "beginning", "end", or "none".
408 #
409 # This option might not be compiled in.
410 #
411 # Default: none
412 #
413 # Example:
414 #timestamp = "beginning"
415
416
417 # flushqlog = "state": Erase quicklog when quicklog is replayed.
418 #
419 # If set to true, quicklog will be written only when no clients are connected
420 # and quicklog will be erased when client connects to miau. If you are running
421 # a single client, you probably want to leave this to "false.
422 #
423 # This option might not be compiled in.
424 #
425 # Default: true
426 #
427 # Example:
428 #flushqlog = "true"
429
430
431 # autoqlog = "minutes": Automatically replay number of minutes of quiclog on
432 # attach.
433 #
434 # This option might not be compiled in.
435 #
436 # Default: 30
437 #
438 # Example:
439 #autoqlog = "30"
440
441
442 # inbox = "state": Enables logging private messages when no clients are
443 # connected to miau.
444 #
445 # This option might not be compiled in.
446 #
447 # Default: true
448 #
449 # Example:
450 #inbox = "true"
451
452
453 # nevergiveup = "state": Don't die when miau runs out of working servers.
454 #
455 # If set to true, miau will reset "working"-status of servers to working when
456 # all are set to dysfunctional. Respectively, if set to false, miau will quit
457 # when all servers on the list have been set to dysfunctional.
458 #
459 # Default: true
460 #
461 # Example:
462 #nevergiveup = "false"
463
464
465 # norestricted = "state": Don't join servers where you get "+r".
466 #
467 # If set to true, miau will not stay on server that forces user to have
468 # restricted-status (+r).
469 #
470 # Default: true
471 #
472 # Example:
473 #norestricted = "false"
474
475
476 # reconnectdelay = "seconds": Time (in seconds) between connection attempts.
477 #
478 # Minumun value is set to 1.
479 #
480 # Default: 10
481 #
482 # Example:
483 #reconnectdelay = "30"
484
485
486 # nickfillchar = "fill character": Fill nick with this character when unique
487 # nick is required.
488 #
489 # Character used to modify your primary nick when all defined nicks are already
490 # occupied. Note character is a single octet (byte) and if longer string is
491 # fed, only the first character is used.
492 #
493 # Example: When nickfillchar is set to '_', primary nick is "zak" and all
494 # defined nicks are occupied, next nicks tried are "zak_", "zak__",
495 # "zak___" and so on. When nick has grown too long, it will be shifted
496 # one characted to right (where shift is cyclic) - this means
497 # "zak______" will become "_zak_____", which, again, will become
498 # "__zak____".
499 #
500 # Default: _
501 #
502 # Example:
503 #nickfillchar = "^"
504
505
506 # maxnicklen = "length": Maximum nick length, used with nickfillchar.
507 #
508 # Default: 9
509 #
510 # Example:
511 #maxnicklen = "11"
512
513
514 # usermode = "usermode(s)": Usermode.
515 #
516 # Usermode that miau will request (if no clients are attached at the moment)
517 # from the server when connection to the server is established. Leave unset or
518 # set to empty to disable this feature.
519 #
520 # Default: none
521 #
522 # Example:
523 #usermode = "+i"
524
525
526 # forwardmsg = "command": Commands to pipe private messages to.
527 #
528 # miau can collect the (private) messages within specified time (see
529 # forwardtime) and pipe them into the program specified. Leave this unset or
530 # set to empty to disable this feature.
531 #
532 # Default: none
533 #
534 # Example:
535 #forwardmsg = "mail user@host"
536
537
538 # forwardtime = "seconds": Time between sending stuff in forwardmsg queue.
539 #
540 # Time in seconds after first inserted line into forwardmsg queue before
541 # piping the stuff out.
542 #
543 # Default: 180
544 #
545 # Example:
546 #forwardtime = "3600"
547
548
549 # ignore = { "mask":"ignored" }: Ignored users.
550 #
551 # List of users whose private messages (PRIVMSG) and noticies (NOTICE) are
552 # ignored when no clients are attached to miau. When "ignored" is left
553 # undefined, it is assumed to be "true". Setting "ignored" to "false" means
554 # that this user will _not_ be ignored. This list is processed as a chain.
555 #
556 # Default: none
557 #
558 # Example:
559 #ignore = {
560 # "*@localhost":"yes"
561 # "zak*":"no"
562 #}
563
564
565 # privlog = "mode": Log private messages.
566 #
567 # Whatever private messages should be logged in nick-specific files. Can be one
568 # of "never", "detached", "attached", and "always".
569 #
570 # This option might not be compiled in.
571 #
572 # Default: never
573 #
574 # Example:
575 privlog = "always"
576
577
578 # chanlog = { "channel(s)":"options":"logfile" }: List of channel logfiles.
579 #
580 # When channel is set to "*", line represents global log. When logging,
581 # if channel doesn't have entry of it's own in this list, it will use settings
582 # of global log and write log to it's own file. When defining global log,
583 # "logfile" is ignored. Each line can have multiple channels
584 # (like "#foobar,#miau").
585 #
586 # If logfile is left undefined, logfile will be named after the channel with
587 # possible suffix (see logsuffix). All lofiles are written in miau's work
588 # directory.
589 #
590 # Options consist of abritary set of following possibilities:
591 # j: log joins
592 # e: log parts (exits)
593 # q: log quits
594 # m: log messages (privmsg/notice)
595 # c: log mode changes (changes)
596 # n: log nick changes
597 # o: log misc events (other)
598 # b: log messages from miau (bouncer)
599 # a: log all of above
600 # A: log when a client is attached
601 # D: log when a client is detached
602 # C: log continuously (status of clients doesn't matter)
603 #
604 # Note that all channelless messages (such as QUIT) are logged on every active
605 # channel. This is a feature, not a bug.
606 #
607 # This option might not be compiled in.
608 #
609 # Default: none
610 #
611 # Example:
612 chanlog = {
613 "#epel":"a":"epel.log" # log everything on #foobar
614 "#lugop":"a":"lugop.log" # log everything on #foobar
615 # "#miau":"aD":"foo.log" # log everything to file "foo.log" when
616 # all clients are detached
617 # "*":"mjeq" # log only messages, joins, parts and quits
618 # by default
619 #}
620
621
622 # logsuffix = "suffix": Suffix for logfiles.
623 #
624 # When writing log to undefined logfile, each logfile consists of channel name
625 # followed by suffix. Suffix can be defined here.
626 #
627 # This option might not be compiled in.
628 #
629 # Default: no suffix
630 #
631 # Example:
632 #logsuffix = ".log"
633
634
635 # onconnect = { "mode":"target/data"(:"data") }: Commands to write at server
636 # connect.
637 #
638 # When miau connects and registers user to server, miau can send pre-defined
639 # messages. User can define miau to send normal messages (PRIVMSG), notices
640 # (NOTICE) or arbitrary messages.
641 #
642 # Mode can be one of the following:
643 # p: private message (PRIVMSG).
644 # n: notice (NOTICE). Should be used with services and automatons, but
645 # unfortunately some network services can't cope with notices.
646 # r: "raw" message. This means user must provide complete message to send
647 # to the server. Using raw message user has complete control over what
648 # is being sent. If you don't know what this is, you don't need this.
649 # When using modes "p" or "n", user must provide both message and target where
650 # as with raw messages only one parameter in addition to type should be given.
651 #
652 # This option might not be compiled in.
653 #
654 # Default: none
655 #
656 # Example:
657 onconnect = {
658 "p":"nickserv":"identify password"
659 # "n":"nickserv@services.host.net":"id raboof"
660 # "r":"OPER foo bar"
661 }
662
663
664 # automodes = { "mask":"privilegded" }: List of people who are automatically
665 # given certain privilege on channel.
666 #
667 # Mask is given in form of "mode:nick!username@host/#channel" (where "mode" is
668 # a single character) and list is processed as a chain.
669 #
670 # This option might not be compiled in.
671 #
672 # Default: none
673 #
674 # Example:
675 #automodes = {
676 # "o:zak*!zak@client*-myisp.com/#channel":"yes"
677 # "o:zak*!*@evil.impersonator.net/#foobar":"no"
678 # "v:newbie*!*@ircnet.com/#newbie":"yes"
679 #}
680
681
682 # automodedelay = "seconds": Time (in seconds) after first queued mode change
683 # would take effect.
684 #
685 # During this period of time miau can collect more than one mode change and
686 # commit up to three at a time. Other situation reasonaly big value (like 30)
687 # here could prove useful is channel where there are stupid "auto-oping" bots.
688 # (Stupid bots do mode changes even if someone else did that already.)
689 #
690 # This option might not be compiled in.
691 #
692 # Default: 30
693 #
694 # Example:
695 #automodedelay = "60"
696
697
698 # cmdpasswd = "password": Password for remote commands.
699 #
700 # Please ignore this options.
701 #
702 # If this is 13 characters long, miau assumes it's crypted. Comment this out or
703 # leave it empty to disable remote commands. When sending miau a remote
704 # command, password _always_ begins with column (':') (if cmdpasswd is set to
705 # "foobar" (or hash of it), you need to send miau a message beginning with
706 # ":foobar" to issue a remote command).
707 #
708 # This feature might not be compiled in.
709 #
710 # If miau is compiled with ENABLE_MKPASSWD, miau can generate password-hashes
711 # (from command line) with -c -switch.
712 #
713 # Default: disabled
714 #
715 # Example:
716 #cmdpasswd = ""
717
718
719 # dccbounce = "state": Bounce DDCs.
720 #
721 # miau can bounce DCCs. Set to true to enable bouncing. You probably don't
722 # need this.
723 #
724 # This option might not be compiled in.
725 #
726 # Default: false
727 #
728 # Example:
729 #dccbounce = "true"
730
731
732 # dccbindhost = "host": IP to bind for DDC bounce.
733 #
734 # If miau has separate IPs for IRC-network and clients, you should enter IP for
735 # clients here.
736 #
737 # This option might not be compiled in.
738 #
739 # Default: no default
740 #
741 # Example:
742 #dccbindhost = "10.0.0.1"