Guest User

Untitled

a guest
Aug 10th, 2015
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.14 KB | None | 0 0
  1. ##############################################################################
  2. ## iroffer-dinoex config file ##
  3. ## lines starting with "#" or are blank are ignored ##
  4. ##############################################################################
  5.  
  6. # Version of this file:
  7. #
  8. # $Id: sample.config,v 1.277 2014/07/20 08:30:11 cvs Exp $
  9. #
  10.  
  11. ##############################################################################
  12. ## FILES ##
  13. ##############################################################################
  14.  
  15. ##############################################################################
  16. ### - pid file - ###
  17. ### Writes the process id to this file on startup ###
  18. pidfile simpson.pid
  19.  
  20. ##############################################################################
  21. ### - log file - ###
  22. ### Writes logging information to this file. ###
  23. logfile simpson.log
  24.  
  25. ##############################################################################
  26. ### - log rotate - ###
  27. ### After the time given here a logfile will be rotated. ###
  28. ### logrotate can be set to none, 1 - 24 hours, daily, weekly or monthly ###
  29. logrotate weekly
  30.  
  31. ##############################################################################
  32. ### - expire logfiles - ###
  33. ### After the given number of days the old logfiles are deleted. ###
  34. ### This will only be checked after logrotate. ###
  35. ### Default: logfiles are not deleted. ###
  36. #expire_logfiles 31
  37.  
  38. ##############################################################################
  39. ### - log stats - ###
  40. ### Setting logstats will log statistical information and this will also ###
  41. ### send this stats to a dcc chat if one is active. ###
  42. logstats yes
  43.  
  44. ##############################################################################
  45. ### - state file - ###
  46. ### temporary storage for iroffer state information across restarts ###
  47. statefile simpson.state
  48.  
  49. ##############################################################################
  50. ### - old state file - ###
  51. ### Writes smaller iroffer statefile by default. Set this option to write ###
  52. ### a statefile that is compatible with old versions. ###
  53. ### WARNING!! You need this option for the PHP weblist iroffer-state.php ###
  54. ### version 2.10 and below. ###
  55. #old_statefile
  56.  
  57. ##############################################################################
  58. ### - send state file - ###
  59. ### send statefile every hour via DCC to the specified nick ###
  60. #send_statefile XDCC|statistik
  61.  
  62. ##############################################################################
  63. ### - send state file minute - ###
  64. ### send statefile every hour via when the minute matches ###
  65. #send_statefile_minute 0
  66.  
  67. ##############################################################################
  68. ### - xdcc listing file - ###
  69. ### if you want to export your xdcc list via a webserver, or other means ###
  70. ### define 'xdcclistfile' and iroffer will write the xdcc list to it when ###
  71. ### needed. ###
  72. ### If xdcclistfileraw is set the file will be written with the IRC ###
  73. ### control characters included (color, formatting, etc..). ###
  74. xdcclistfile simpson.txt
  75. #xdcclistfileraw
  76.  
  77. ##############################################################################
  78. ### - xdcc listing group only - ###
  79. ### Export your xdcc list with group and main information only. ###
  80. ### Default output is all packs and no group information. ###
  81. #xdcclist_grouponly
  82.  
  83. ##############################################################################
  84. ### - group seperator - ###
  85. ### printed between group name and group description. ###
  86. ### Default: space ###
  87. #group_seperator " "
  88. group_seperator " - "
  89.  
  90. ##############################################################################
  91. ### - dos text files - ###
  92. ### Write xdcclistfile as DOS text format, with CRLF als line break. ###
  93. ### Default: no, on CYGWIN Default: yes ###
  94. #dos_text_files yes
  95. #dos_text_files no
  96.  
  97. ##############################################################################
  98. ### - send listfile - ###
  99. ### Packnumber of xdcclistfile added to the bot, enables XDCC SEND LIST. ###
  100. ### A value of -1 will send the xdcclistfile without creating a pack. ###
  101. ### Default: off ###
  102. #send_listfile 1
  103. send_listfile -1
  104.  
  105. ##############################################################################
  106. ### - xdcc xml file - ###
  107. ### if you want to export your packlist in XML define xdccxmlfile. ###
  108. xdccxmlfile simpson.xml
  109.  
  110. ##############################################################################
  111. ### - charset - ###
  112. ### This must be set to the encoding of your filenames. ###
  113. ### The charset in header.html must match to this. ###
  114. ### Default: UTF-8 ###
  115. charset UTF-8
  116. #charset iso-8859-1
  117.  
  118. ##############################################################################
  119. ### - xdcc list by privmsg - ###
  120. ### send the result of XDCC LIST by privmsg instead of notice. ###
  121. ### Default: notice ###
  122. #xdcclist_by_privmsg
  123.  
  124. ##############################################################################
  125. ### - xdcc remove file - ###
  126. ### export stats on removed packs for better statistics. ###
  127. #xdccremovefile mybot.removed.xdcc
  128.  
  129. ##############################################################################
  130. ### - admin job file - ###
  131. ### when defined, read this file for commands and execute them. ###
  132. #admin_job_file mybot.job
  133.  
  134. ##############################################################################
  135. ### - admin job done file - ###
  136. ### Write the output from the commands in "admin_job_file" into this file. ###
  137. ### Default: <admin_job_file>.done ###
  138. #admin_job_done_file mybot.done
  139.  
  140. ##############################################################################
  141. ### - http port - ###
  142. ### Port for the build-in webserver. ###
  143. ### Default: 0 = disabled. ###
  144. #http_port 8000
  145.  
  146. ##############################################################################
  147. ### - http access log - ###
  148. ### If defined, iroffer will log http request in CLF compatible format. ###
  149. ### Default: disabled. ###
  150. #http_access_log httpd_access.log
  151.  
  152. ##############################################################################
  153. ### - http vhost - ###
  154. ### List of up to 2 local IP addresses for the Webserver to run on. ###
  155. ### Use "::" or "0.0.0.0" to allow any IP address. ###
  156. ### Use "::1" or "127.0.0.1" to limit access to localhost only. ###
  157. ### Default: disabled. ###
  158. http_vhost ::
  159. http_vhost 0.0.0.0
  160.  
  161. ##############################################################################
  162. ### - http admin - ###
  163. ### Defines admin login for the build-in webserver. ###
  164. ### Default: disabled. ###
  165. #http_admin superuser
  166.  
  167. ##############################################################################
  168. ### - http allow - ###
  169. ### Defines ip networks, which are allowed to access the server. ###
  170. ### Multiple ip networks can be specified ###
  171. ### Default: all. ###
  172. #http_allow 127.0.0.1
  173. #http_allow 192.168.1.0/24
  174.  
  175. ##############################################################################
  176. ### - http deny - ###
  177. ### Defines ip networks, that should not access the server. ###
  178. ### Multiple ip networks can be specified ###
  179. ### Default: none. ###
  180. #http_deny 172.16.0.0/16
  181.  
  182. ##############################################################################
  183. ### - http dir - ###
  184. ### Defines directory for extra files handled out by the webserver. ###
  185. ### For example: robots.txt favicon.ico ###
  186. ### Default: disabled. ###
  187. #http_dir htdocs
  188.  
  189. ##############################################################################
  190. ### - http admin dir - ###
  191. ### Defines directory for protected files handled out by the webserver ###
  192. ### for the admin user. ###
  193. ### Default: disabled. ###
  194. #http_admin_dir htadmin
  195.  
  196. ##############################################################################
  197. ### - http date - ###
  198. ### Define output from of dates on the webpage. ###
  199. ### Default: %Y-%m-%d %H:%M ###
  200. #http_date %Y-%m-%d %H:%M
  201.  
  202. ##############################################################################
  203. ### - http search - ###
  204. ### Enables search form in HTML page. ###
  205. ### Default: disabled. ###
  206. http_search
  207.  
  208. ##############################################################################
  209. ### - http index - ###
  210. ### Defines the page to show when no filename is given in the URL. ###
  211. ### Default: xdcclistfile ###
  212. ### For Weblist set: http_index /? ###
  213. ### For your own static page in htdocs set: http_index /index.html ###
  214. #http_index /?
  215.  
  216. ##############################################################################
  217. ### - http forbidden - ###
  218. ### Defines the URL page to show when access is forbidden. ###
  219. ### The given URL must resolve in a file in http_dir. ###
  220. ### Default: Send only the HTTP error. ###
  221. #http_forbidden /forbidden.html
  222.  
  223. ##############################################################################
  224. ### - http geoip - ###
  225. ### Enables geoip country check for HTTP requests. ###
  226. ### Default: disabled. ###
  227. #http_geoip
  228.  
  229. ##############################################################################
  230. ### - weblist info - ###
  231. ### Show additional information in the HTML page. ###
  232. weblist_info uptime "Uptime"
  233. #weblist_info running "Total Uptime"
  234. #weblist_info minspeed "Min speed"
  235. #weblist_info maxspeed "Max speed"
  236. weblist_info cap "Max bandwidth"
  237. #weblist_info record "Record bandwidth"
  238. #weblist_info send "Record download"
  239. weblist_info daily "Traffic today"
  240. weblist_info weekly "Traffic this week"
  241. weblist_info monthly "Traffic this month"
  242.  
  243. ##############################################################################
  244. ### - mime type - ###
  245. ### Define additional mime types for the HTML pages. ###
  246. #mime_type torrent application/x-bittorrent
  247.  
  248. ##############################################################################
  249. ### - telnet port - ###
  250. ### Port for the build-in Telnet server. ###
  251. ### To login you must add adminhost or hadminhost with "telnet!*@telnet" ###
  252. ### Default: 0 = disabled. ###
  253. #telnet_port 2323
  254.  
  255. ##############################################################################
  256. ### - telnet vhost - ###
  257. ### List of up to 2 local IP addresses for the Telnet server to run on. ###
  258. ### Use "::" or "0.0.0.0" to allow any IP address. ###
  259. ### Use "::1" or "127.0.0.1" to limit access to localhost only. ###
  260. ### Default: disabled. ###
  261. telnet_vhost ::1
  262. telnet_vhost 127.0.0.1
  263.  
  264. ##############################################################################
  265. ### - telnet allow - ###
  266. ### Defines ip networks, which are allowed to access the bot via telent. ###
  267. ### Multiple ip networks can be specified ###
  268. ### Default: all. ###
  269. #telnet_allow 127.0.0.1
  270. #telnet_allow 192.168.1.0/24
  271.  
  272. ##############################################################################
  273. ### - telnet deny - ###
  274. ### Defines ip networks, that should not access the bot via telnet. ###
  275. ### Multiple ip networks can be specified ###
  276. ### Default: none. ###
  277. #telnet_deny 172.16.0.0/16
  278.  
  279.  
  280. ##############################################################################
  281. ## IRC ##
  282. ##############################################################################
  283.  
  284. ##############################################################################
  285. ### - network name - ###
  286. ### Start a new set of servers/channels for a different irc network. ###
  287. ### The bot supports identifying via an self signed SSL certificate. ###
  288. ### See: http://www.oftc.net/oftc/NickServ/CertFP ###
  289. ### The bot looks for the file "<networkname>.pem" which must hold cert ###
  290. ### and key. If this file is not found it looks for "<networkname>.crt" ###
  291. ### and and "<networkname>.key". ###
  292. ### The found certificate is passed to the server on connect. ###
  293. network recycled-irc
  294.  
  295. ##############################################################################
  296. ### - connection method - ###
  297. ### How should iroffer connect to the irc server. Choices are: ###
  298. ### direct - connect directly to the irc server ###
  299. ### ssl - connect to the irc server via SSL. ###
  300. ### Make sure to connect to ssl compatible ###
  301. ### port of your irc server. ###
  302. ### bnc <ip> <port> <password> <vhost> ###
  303. ### - connect to the irc server through a bnc ###
  304. ### relay at <ip>:<port> using <password> ###
  305. ### <vhost> is optional ###
  306. ### wingate <ip> <port> - connect to the irc server through a ###
  307. ### wingate relay at <ip>:<port> ###
  308. ### custom <ip> <port> - connect to the irc server through a ###
  309. ### custom set of commands, see proxyinfo ###
  310. ### below for more information ###
  311. ### most people will want to use the direct ###
  312. connectionmethod ssl
  313.  
  314. ##############################################################################
  315. ### - custom connection info - ###
  316. ### if you use connectionmethod of custom you can place any number of ###
  317. ### custom lines for use with your proxy/gateway/redirector. Place "$s" ###
  318. ### and "$p" where the server and port should be placed in your text ###
  319. #proxyinfo connect $s:$p
  320. #proxyinfo blah blah
  321.  
  322. ##############################################################################
  323. ### - server connect timeout - ###
  324. ### Set the starting timeout in seconds on connect to the IRC-server. ###
  325. ### This setting can only be set per network. ###
  326. ### Default: 5 ###
  327. #server_connect_timeout 10
  328.  
  329. ##############################################################################
  330. ### - onjoin information - ###
  331. ### you can use server_join_raw to send raw IRC commands to the server ###
  332. ### when connected (sent after NICK, USER, before MODE ) ###
  333. ### ###
  334. ### you can use server_connected_raw to send raw IRC commands to the ###
  335. ### server when connected (sent after MODE, before JOIN ) ###
  336. ### ###
  337. ### you can use channel_join_raw to send raw IRC commands to the ###
  338. ### server when you join a channel (multiple instances can be configured ###
  339. ### if needed) ###
  340. ### ###
  341. ### multiple instances of all 3 can be configured if needed ###
  342. #server_join_raw
  343. #server_connected_raw
  344. #channel_join_raw
  345.  
  346. ##############################################################################
  347. ### - virtual hosts - ###
  348. ### If the computer you want to run iroffer on has multiple local IP ###
  349. ### addresses, you can run iroffer on any of those IP addresses. ###
  350. ### To automatically choose a local IP address leave undefined. ###
  351. ### This setting can be global or per network. ###
  352. ### NOTE: You must use the IP address in x.x.x.x format not a DNS name. ###
  353. ### To restrict to IPv4 use local_vhost 0.0.0.0 ###
  354. ### To restrict to IPv6 use local_vhost :: ###
  355. #local_vhost 123.456.789.123
  356.  
  357. ##############################################################################
  358. ### - manual dcc ip translation - ###
  359. ### if you are behind a NAT (Network Address Translation) device which ###
  360. ### _does_ _not_ intercept and translate dcc commands but _does_ do port ###
  361. ### forwarding place the ip address of the NAT below if unsure, leave ###
  362. ### commented ###
  363. ### NOTE: You must use the IP address in x.x.x.x format not a DNS name. ###
  364. #usenatip 1.2.3.4
  365.  
  366. ##############################################################################
  367. ### - automatic dcc ip translation - ###
  368. ### Get my own IP from the irc server and use this as value for usenatip. ###
  369. ### Set usenatip to a default value (0.0.0.0) when using this option. ###
  370. #getipfromserver
  371.  
  372. ##############################################################################
  373. ### - automatic dcc ip translation - ###
  374. ### Get my own IP from the upnp router and use this as value for usenatip. ###
  375. ### Set usenatip to a default value (0.0.0.0) when using this option. ###
  376. #getipfromupnp
  377.  
  378. ##############################################################################
  379. ### - get ip from network - ###
  380. ### Get my own IP for the current Network from a different network. ###
  381. ### You need this when the given network does not return your IP. ###
  382. #getip_network 1
  383.  
  384. ##############################################################################
  385. ### - noannounce - ###
  386. ### Disable all announces for the current network. ###
  387. #noannounce
  388.  
  389. ##############################################################################
  390. ### - plaintext - ###
  391. ### Disable colors when announcing on this network. ###
  392. #plaintext
  393.  
  394. ##############################################################################
  395. ### - offline - ###
  396. ### Disable connecting to this network. ###
  397. #offline
  398.  
  399. ##############################################################################
  400. ### - nickserv - ###
  401. ### If you would like to register with nickserv add settings here. ###
  402. ### This setting can be global or per network. ###
  403. nickserv_pass jesuispasassezconpourlaissermonpassnickservici
  404.  
  405. ##############################################################################
  406. ### - auth name - ###
  407. ### If you would like to register with the AUTH command you need to define ###
  408. ### the name if the service you have to use here. ###
  409. ### This setting can only be set per network. ###
  410. #auth_name services@recycled-irc.net
  411.  
  412. ##############################################################################
  413. ### - login name - ###
  414. ### If you would like to register with the LOGIN command you need to ###
  415. ### define the name if the service you have to use here. ###
  416. ### This setting can only be set per network. ###
  417. #login_name HomerSimpson
  418.  
  419. ##############################################################################
  420. ### - server information - ###
  421. ### List server/ports in the form "server irc.domain.com 6667". Port is ###
  422. ### optional (default 6667). Server password should be listed 3rd if ###
  423. ### needed (port must be specified if using a password). ###
  424. ### Multiple servers can be specified ###
  425. server irc.recycled-irc.net 6600
  426. #server irc.efnet.net 6667
  427. #server irc.efnet.net 6667 server-password
  428.  
  429. ##############################################################################
  430. ### - channels (up to 50) - ###
  431. ### channel format: ###
  432. ### "channel <channel> [-plist <time>] [-plistoffset <time>] ###
  433. ### [-pformat <full|minimal|summary>] [-pgroup <group>] [-key <key>] ###
  434. ### [-delay <time>] [-noannounce] [-joinmsg "text"] [-headline "text"] ###
  435. ### [-fish <key>] [-listmsg "text"] [-rgroup "group1 group2"] ###
  436. ### [-notrigger] [-plaintext] [-waitjoin <time>] ###
  437. ### plist: <time> is number of minutes between plists. Using same or ###
  438. ### multiples of the same number plist time is recommended. ###
  439. ### plistoffset: <time> is number of minutes to offset list. ###
  440. ### pformat: "full" is normal and default if pformat is not used. ###
  441. ### "minimal" is similar to full but removes some lines. ###
  442. ### "summary" displays only a 2 line summary. ###
  443. ### pgroup: Send normal list of <group> to channel. ###
  444. ### key: For +k channels, the key specified is used when joining. ###
  445. ### delay: Delay output to channel by <time> seconds between lines. ###
  446. ### noannounce: No extra announces on this channel. ###
  447. ### joinmsg: After join, post <text> to the channel. ###
  448. ### headline: <text> after this keyword is used as a channel specific ###
  449. ### headline. ###
  450. ### fish: For encrypted channels, the <key> specified is used when ###
  451. ### posting into that channel and parsing triggers in it. ###
  452. ### listmsg: <text> is used as a channel specific ###
  453. ### respondtochannellistmsg. ###
  454. ### rgroup: Users in this channel can only access packs in groups ###
  455. ### group1 or group2, or packs in main pool. ###
  456. ### notrigger: No triggers are active in this channel. ###
  457. ### plaintext: Disable colors when announcing for this channel. ###
  458. ### waitjoin: Wait given seconds after connect before joining this ###
  459. ### channel. ###
  460. channel #meuh
  461. #channel #chan02 -plist 14
  462. #channel #chan03 -plist 28 -pformat minimal
  463. #channel #chan04 -plist 14 -pformat summary -key thekey
  464. #channel #chan04 -plist 14 -pformat summary -headline "moving soon"
  465. #channel #chan04 -plist 14 -pformat summary -delay 60 -noannounce
  466. #channel #chan04 -plist 14 -pformat full -pgroup XXX
  467. #channel #chan04 -plist 14 -pformat full -joinmsg "!voiceme"
  468. #channel #chan04 -plist 14 -pformat full -fish secret
  469.  
  470.  
  471. # 1st Network, only IPv4
  472. network recycled-irc {
  473. server irc.recycled-irc.net 6600
  474. channel #meuh -noannounce
  475. user_nick HomerSimpson
  476. }
  477.  
  478. # 2nd Network
  479. #network otakubox
  480. #{
  481. #server irc.otakubox.at 6667
  482. #channel #dinoex -noannounce
  483. #}
  484.  
  485. # 3st Network
  486. #network rizon6, only IPv6
  487. #{
  488. #local_vhost ::
  489. #user_nick XDCC|MyBot|IPv6
  490. #server irc.rizon.net
  491. #channel #dinoex -noannounce
  492. #}
  493.  
  494. ##############################################################################
  495. ### - wait after join - ###
  496. ### When joining a channel, skip announces for given seconds. ###
  497. ### This will avoid banning your bot for join+spam. ###
  498. ### Default: 200 seconds. ###
  499. #waitafterjoin 200
  500.  
  501. ##############################################################################
  502. ### - no auto rejoin - ###
  503. ### Do not rejoin channel when bots is kicked. ###
  504. noautorejoin
  505.  
  506. ##############################################################################
  507. ### - reconnect delay - ###
  508. ### Do not reconnect when connections is dropped for given seconds. ###
  509. #reconnect_delay 15
  510.  
  511. ##############################################################################
  512. ### - user information - ###
  513. ### user_nick global setting is required, can be changed per network ###
  514. user_nick cow
  515. user_realname Moo
  516.  
  517. ##############################################################################
  518. ### - user mode - ###
  519. ### user_modes global setting is required, can be changed per network ###
  520. ### B Marks you as being a Bot ###
  521. ### i Invisible (not shown in /who) ###
  522. ### Modes are diffrent on the IRC networks you use, please read the docs ###
  523. ### for your networks before setting then. ###
  524. user_modes +Bi
  525.  
  526. ##############################################################################
  527. ### - owner nick - ###
  528. ### Nick to notify if bot has trouble. Answer to XDCC OWNER command. ###
  529. owner_nick moo
  530.  
  531. ##############################################################################
  532. ### - watch this user - ###
  533. ### No new "xdcc send" are accepted, when this user is not online. ###
  534. ### Old queue entries are still send. ###
  535. #enable_nick master
  536.  
  537. ##############################################################################
  538. ### - incoming TCP connections - ###
  539. ### If you are behind a firewall that you control and want to have iroffer ###
  540. ### use a specified range for TCP ports for incoming connections set ###
  541. ### tcprangestart to the first port used (ports will be used from that ###
  542. ### number upwards as needed (usually 1 per transfer attempt). ###
  543. ### If undefined, incoming TCP ports are automatically chosen by the OS. ###
  544. ### You can limit the maximum port number used, by setting tcprangelimit. ###
  545. tcprangestart 4000
  546. tcprangelimit 4200
  547.  
  548. ##############################################################################
  549. ### - TCP buffer size - ###
  550. ### Set the Networkbuffer for TCP connection to the given value in kByte. ###
  551. ### Default: 0 = the operating system default. ###
  552. ### On CYGWIN the default is 372 ###
  553. #tcp_buffer_size 372
  554.  
  555. ##############################################################################
  556. ### - TCP no delay - ###
  557. ### Disable the Nagle buffering algorithm in TCP. ###
  558. ### The operating system will not optimze the size of each TCP packet. ###
  559. ### Default: no, on CYGWIN Default: yes ###
  560. #tcp_nodelay no
  561. #tcp_nodelay yes
  562.  
  563. ##############################################################################
  564. ### - override unix loginname - ###
  565. ### Override your unix loginname. Will only work if identd isn't running. ###
  566. #loginname fakelogin
  567.  
  568. ##############################################################################
  569. ### - passive dcc - ###
  570. ### Force all downloads over passive dcc. ###
  571. ### NOTE: all users must have working NAT on their end with this option. ###
  572. ### Default: normal dcc ###
  573. #passive_dcc
  574.  
  575. ##############################################################################
  576. ### - mirc dcc64 - ###
  577. ### All transfers greater 4GB will use mIRC style 64bit DCC. ###
  578. ### NOTE: This works only with mIRC version 6.33 and upper. ###
  579. ### NOTE: XChat, Irssi will work only in 32bit DCC mode. ###
  580. ### Default: 32bit DCC ###
  581. #mirc_dcc64
  582.  
  583. ##############################################################################
  584. ### - UPnP router - ###
  585. ### activate UPnP support. ###
  586. #upnp_router
  587.  
  588. ##############################################################################
  589. ### - excluded from auto-ignore - ###
  590. ### These hostmasks (one per line) will never be ignored. ###
  591. autoignore_exclude *!*@v.ache
  592. autoignore_exclude *!services@recycled-irc.net
  593.  
  594. ##############################################################################
  595. ### - auto-ignore rate - ###
  596. ### How strict should the auto-ignore be? autoignore_rate is the maximum ###
  597. ### number of requests per second from a user. ###
  598. ### auto-ignore. The default is 8 request. ###
  599. #autoignore_rate 8
  600.  
  601. ##############################################################################
  602. ### - auto-ignore threshold - ###
  603. ### How long should the auto-ignore last? autoignore_threshold is the ###
  604. ### average number of seconds between requests that will re-trigger the ###
  605. ### auto-ignore. The default is 10 seconds. ###
  606. #autoignore_threshold 10
  607.  
  608. ##############################################################################
  609. ### - flood protection rate - ###
  610. ### How strict should the bot activate its global flooding protection. ###
  611. ### Value is the maximum number successful executed commands in the last ###
  612. ### 10 seconds. ###
  613. ### Default: 6 ###
  614. #flood_protection_rate 6
  615.  
  616.  
  617. ##############################################################################
  618. ## xdcc ##
  619. ##############################################################################
  620.  
  621. ##############################################################################
  622. ### - maximum xdcc slots - ###
  623. slotsmax 10
  624.  
  625. ##############################################################################
  626. ### - Queue Information - ###
  627. ### Main Queue Size, set to 0 for no queue ###
  628. queuesize 15
  629.  
  630. ##############################################################################
  631. ### - max transfers per person - ###
  632. ### maximum transfers per person at a time ###
  633. maxtransfersperperson 2
  634.  
  635. ##############################################################################
  636. ### - ignore duplicate ip - ###
  637. ### Detect faked hostmasks and abort multiple transfers to the same host ###
  638. ### and ignore the user for the give time in hours. ###
  639. ### Default: 0 == no check. ###
  640. #ignore_duplicate_ip 24
  641.  
  642. ##############################################################################
  643. ### - max queued items per person - ###
  644. ### maximum number of times a user can be in a queue simultaneously ###
  645. maxqueueditemsperperson 1
  646.  
  647. ##############################################################################
  648. ### - idle queue size - ###
  649. ### Idle queue size, set to 0 for no queue ###
  650. ### This queue is required to support XDCC BACTH. ###
  651. idlequeuesize 100
  652.  
  653. ##############################################################################
  654. ### - max idle queued items per person - ###
  655. ### maximum number of times a user can be in the idle queue simultaneously ###
  656. maxidlequeuedperperson 20
  657.  
  658. ##############################################################################
  659. ### - balanced_queue - ###
  660. ### When a user is done using a slot, the next file retrieved from the ###
  661. ### queue would NOT be a file queued by the same user. This helps to ###
  662. ### distribute the bandwidth better in bots with few slots. ###
  663. ### Default: first in, first out ###
  664. balanced_queue
  665.  
  666. ##############################################################################
  667. ### - requeue_sends - ###
  668. ### When the bot shutdowns, sends are aborted. With this option set, sends ###
  669. ### are saved with the queued items, so transfers might resume on restart. ###
  670. #requeue_sends
  671.  
  672. ##############################################################################
  673. ### - reminder send retry - ###
  674. ### Defines how often the bot retries to start the XDDC SEND to the user. ###
  675. ### The default is 2 retries. ###
  676. #reminder_send_retry 2
  677.  
  678. ##############################################################################
  679. ### - send batch - ###
  680. ### Permit XDCC BATCH. The packs are Queued up in the bot is possible. ###
  681. ### Default: disabled ###
  682. send_batch
  683.  
  684. ##############################################################################
  685. ### - holdqueue - ###
  686. ### don't send from queue, let current transfers run out, so the bot ###
  687. ### can shutdown cleanly without stopping transfers ###
  688. #holdqueue
  689.  
  690. ##############################################################################
  691. ### - add/chfile command helper directory - ###
  692. ### optional directory where iroffer will look after trying normal ###
  693. ### relative/absolute paths when using the add or chfile admin command. ###
  694. ### Add/chfile will first try to open the file using just the argument you ###
  695. ### provide to the command, and if that fails it will try again with ###
  696. ### filedir added to the front of the argument. ###
  697. ### multiple directories can be configured. ###
  698. #filedir /home/me/files
  699.  
  700. ##############################################################################
  701. ### - no duplicate files - ###
  702. ### When configured, add, adddir and addnew refuses to add a files that ###
  703. ### already have been added. ###
  704. noduplicatefiles
  705.  
  706. ##############################################################################
  707. ### - no duplicate filenames - ###
  708. ### When configured, add, adddir and addnew refuses to add a files with a ###
  709. ### name that already have been added. ###
  710. #no_duplicate_filenames
  711.  
  712. ##############################################################################
  713. ### - include subdirs - ###
  714. ### When configured, addir, addnew and removedir will scan into sub- ###
  715. ### directories and process the files found. ###
  716. include_subdirs
  717.  
  718. ##############################################################################
  719. ### - subdirs delayed - ###
  720. ### When configured, addir, addnew, and autoadd will scan subdirs later. ###
  721. ### This keeps the bot responsive if you have a huge directory tree. ###
  722. ### Default: off, subdirectories are scanned immediatly. ###
  723. #subdirs_delayed
  724.  
  725. ##############################################################################
  726. ### - remove lost files - ###
  727. ### if a files is no longer accessible on the server, remove the pack. ###
  728. ### use with care, if started in wrong dir it may delete all packs. ###
  729. #removelostfiles
  730.  
  731. ##############################################################################
  732. ### - monitor files - ###
  733. ### Check only given number of files per second for removal or update. ###
  734. ### Default: 20 ###
  735. #monitor_files 20
  736.  
  737. ##############################################################################
  738. ### - groups in caps - ###
  739. ### if set, all groups names changed will be folded to uppercase. ###
  740. #groupsincaps
  741.  
  742. ##############################################################################
  743. ### - auto default group - ###
  744. ### When adding a new file, search for matching filenames and add the new ###
  745. ### file to the same group. ###
  746. auto_default_group
  747.  
  748. ##############################################################################
  749. ### - auto path group - ###
  750. ### When adding a new file, search for matching directories and add the ###
  751. ### new file to the same group. ###
  752. auto_path_group
  753.  
  754. ##############################################################################
  755. ### - auto crc check - ###
  756. ### When adding a new file, verify the crc32 in the given filename. ###
  757. auto_crc_check
  758.  
  759. ##############################################################################
  760. ### - crc exclude pattern - ###
  761. ### When configured, auto crc check will ignore files matching this ###
  762. ### patterns. ###
  763. autocrc_exclude *.torrent
  764. autocrc_exclude *.xdelta
  765.  
  766. ##############################################################################
  767. ### - adddir exclude pattern - ###
  768. ### When configured, addir, adnew and autoadd will skip all files or dirs ###
  769. ### that match this patterns. ###
  770. adddir_exclude *.txt
  771. adddir_exclude *.md5
  772.  
  773. ##############################################################################
  774. ### - adddir match pattern - ###
  775. ### When configured, addir, adnew and autoadd will skip all files that do ###
  776. ### not match this patterns. ###
  777. #adddir_match *.avi
  778. #adddir_match *.mkv
  779. #adddir_match *.mp4
  780.  
  781. ##############################################################################
  782. ### - adddir min size - ###
  783. ### When configured, addir, adnew and autoadd will skip all files that are ###
  784. ### smaller then the gives size in kB. ###
  785. ### Default: no check ###
  786. #adddir_min_size 10
  787.  
  788. ##############################################################################
  789. ### - auto add announce - ###
  790. ### When configured, each add will be announced on all channels with <msg> ###
  791. ### patterns. ###
  792. #autoaddann added
  793.  
  794. ##############################################################################
  795. ### - auto add announce short - ###
  796. ### When configured, each add will be announced on all channels with pack ###
  797. ### Number and Filename. ###
  798. #autoaddann_short
  799.  
  800. ##############################################################################
  801. ### - auto add announce match - ###
  802. ### When configured, addir, adnew and autoadd will only announce files ###
  803. ### that do match this patterns. ###
  804. #autoaddann_mask *.avi
  805. #autoaddann_mask *.mkv
  806.  
  807. ##############################################################################
  808. ### - announce seperator - ###
  809. ### printed between pack number and name on announce. ###
  810. ### Default: space ###
  811. #announce_seperator " "
  812. announce_seperator " - "
  813.  
  814. ##############################################################################
  815. ### - announce size - ###
  816. ### Print size of pack on announce. ###
  817. ### Default: no ###
  818. #announce_size
  819.  
  820. ##############################################################################
  821. ### - auto add time - ###
  822. ### Time in seconds when the bot checks for new files in autoadd_dir. ###
  823. ### Default: 0 = disabled. ###
  824. #autoadd_time 300
  825.  
  826. ##############################################################################
  827. ### - auto add delay - ###
  828. ### Time in seconds that files must been unchanged to be added. ###
  829. ### Default: 0 = disabled. ###
  830. #autoadd_delay 300
  831.  
  832. ##############################################################################
  833. ### - auto add dir - ###
  834. ### Directory for files that will be added without further interaction ###
  835. ### either by "autoadd_time" or by the "AUTOADD" command. ###
  836. ### You can list multiple directories here. ###
  837. #autoadd_dir /home/me/new
  838. #autoadd_dir /home/other/new
  839.  
  840. ##############################################################################
  841. ### - auto add group - ###
  842. ### Set group for files to be added in autoadd_dir. Default "MAIN" ###
  843. #autoadd_group NEWSTUFF
  844.  
  845. ##############################################################################
  846. ### - autoadd_group match - ###
  847. ### Define groups for files to be added in autoadd_dir based on matching ###
  848. ### the given pattern with the full path of the file. ###
  849. #autoadd_group_match NEWVIDEO *.avi
  850. #autoadd_group_match NEWMUSIC *.mp3
  851.  
  852. ##############################################################################
  853. ### - auto add color - ###
  854. ### Set color for files to be added in autoadd_dir. ###
  855. ### Default no color. ###
  856. ### Format: <color>,<background>,<style> ###
  857. ### values for color, background: ###
  858. ### 0 no color ###
  859. ### 1 black ###
  860. ### 2 blue (navy) ###
  861. ### 3 green ###
  862. ### 4 red ###
  863. ### 5 brown (maroon) ###
  864. ### 6 purple ###
  865. ### 7 orange (olive) ###
  866. ### 8 yellow ###
  867. ### 9 light green (lime) ###
  868. ### 10 teal (a green/blue cyan) ###
  869. ### 11 light cyan (cyan) (aqua) ###
  870. ### 12 light blue (royal) ###
  871. ### 13 pink (light purple) (fuchsia) ###
  872. ### 14 grey ###
  873. ### 15 light grey (silver) ###
  874. ### 16 white ###
  875. ### ###
  876. ### values for style: ###
  877. ### 0 = none ###
  878. ### 1 = bold ###
  879. ### 2 = underline ###
  880. ### 4 = italic ###
  881. ### 8 = inverse ###
  882. ### ###
  883. #autoadd_color 0,0,1
  884.  
  885. ##############################################################################
  886. ### - announce suffix color - ###
  887. ### Set color for the instructions suffix in the announce message. ###
  888. ### This will print the text "/MSG <botname> XDCC GET <nr>" in color. ###
  889. ### Default no color. ###
  890. #announce_suffix_color 0,0,1
  891.  
  892. ##############################################################################
  893. ### - auto add sort - ###
  894. ### If defined, all added packs will be inserted in the giving order. ###
  895. ### The existing packs must already be sorted in the same way. ###
  896. ### You can define multiple arguments: ###
  897. ### NAME = sorted by full pathname -NAME = backwards sort ###
  898. ### DESC = sorted by description -DESC = backwards sort ###
  899. ### GROUP = sorted by group -GROUP = backwards sort ###
  900. ### PATH = sorted by directory -PATH = backwards sort ###
  901. ### SIZE = sorted by size in bytes -SIZE = backwards sort ###
  902. ### TIME = sorted by file modification time -TIME = backwards sort ###
  903. ### ADDED = sorted by file add time -ADDED = backwards sort ###
  904. #autoadd_sort GROUP NAME
  905.  
  906. ##############################################################################
  907. ### - no natural sort - ###
  908. ### If configurend, all text is sorted by plain ASCII. ###
  909. ### Default: use natural sort order. ###
  910. #no_natural_sort
  911.  
  912. ##############################################################################
  913. ### - restrict xdcc list and xdcc send - ###
  914. ### if set, xdcc list and/or xdcc send|info will be restricted to users ###
  915. ### who are on a known channel. If a user is not on one of the known ###
  916. ### channels they will not be able to list and/or get packs ###
  917. ### restrictprivlist disables all private xdcc list requests completely. ###
  918. ### use restrictprivlistmsg to change the message that restrictprivlist ###
  919. ### sends ###
  920. ### restrictsend, restrictlist can be global or per network. ###
  921. restrictlist
  922. #restrictprivlist
  923. #restrictprivlistmsg Wait for public list in the channel.
  924. #restrictsend
  925.  
  926. ##############################################################################
  927. ### - restrictsend warning - ###
  928. ### If set, it will try to warn the user when he/she leaves the channel. ###
  929. #restrictsend_warning
  930.  
  931. ##############################################################################
  932. ### - restrictsend timeout - ###
  933. ### Timeout in seconds to cancel transfer after user left channel. ###
  934. #restrictsend_timeout 300
  935.  
  936. ##############################################################################
  937. ### - restrictsend delay - ###
  938. ### Time in seconds to wait after connect till restrictsend is enforced. ###
  939. #restrictsend_delay 300
  940.  
  941. ##############################################################################
  942. ### - restrictprivlistmain - ###
  943. ### If set, "xdcc list" without an option will be rejected. ###
  944. ### This allows to list a single group only. ###
  945. #restrictprivlistmain
  946.  
  947. ##############################################################################
  948. ### - restrictprivlistfull - ###
  949. ### If set, "xdcc list all" will be rejected. ###
  950. #restrictprivlistfull
  951.  
  952. ##############################################################################
  953. ### - remove_dead_users - ###
  954. ### If the bot can't notify a nick: ###
  955. ### If set to 1, further queued messages are dropped. ###
  956. ### If set to 2, all this nicks queued packs are removed. ###
  957. ### Default: 0, no action. ###
  958. remove_dead_users 2
  959.  
  960. ##############################################################################
  961. ### - need voice - ###
  962. ### Restrict list/send to only voiced/opped users. ###
  963. ### restrictlist and restrictsend must be set yes. ###
  964. ### This setting can be global or per network. ###
  965. #need_voice
  966.  
  967. ##############################################################################
  968. ### - need level - ###
  969. ### Restrict list/send to only voiced/opped users. ###
  970. ### restrictlist and restrictsend must be set yes. ###
  971. ### This setting can be global or per network. ###
  972. ### 0 = all users ###
  973. ### 1 = user with voice,hop,op only ###
  974. ### 2 = user with hop,op only ###
  975. ### 3 = user with op only ###
  976. #need_level 1
  977.  
  978. ##############################################################################
  979. ### - channel xdcc commands - ###
  980. ### if set, iroffer will respond to xdcc requests sent to a channel in ###
  981. ### addition to xdcc requests sent to iroffer directly. ###
  982. ### This setting can be global or per network. ###
  983. #respondtochannelxdcc
  984.  
  985. ##############################################################################
  986. ### - channel !list command - ###
  987. ### if set, iroffer will respond to !list requests sent to a channel ###
  988. ### This setting can be global or per network. ###
  989. respondtochannellist
  990.  
  991. ##############################################################################
  992. ### - channel !list text - ###
  993. ### text that is put int each response to !list in a channel. ###
  994. #respondtochannellistmsg packlist at http://www.examle.com/
  995.  
  996. ##############################################################################
  997. ### - slow slow_privmsg - ###
  998. ### Restrict PRIVMSG to n lines per sec in this network to avoid flooding. ###
  999. ### This setting is only per network. ###
  1000. ### Default: 1 ###
  1001. #slow_privmsg 1
  1002.  
  1003. ##############################################################################
  1004. ### - server send max - ###
  1005. ### Restrict the size of the buffer the bot sends to the irc-server. ###
  1006. ### Otherwise the bot will be banned cause of excess flooding. ###
  1007. ### This setting is only per network. ###
  1008. ### Default: 600 ###
  1009. #server_send_max 600
  1010.  
  1011. ##############################################################################
  1012. ### - server send rate - ###
  1013. ### Limit the median number of characters per second the bot sends ###
  1014. ### to the IRC server. ###
  1015. ### Otherwise the bot will be banned cause of excess flooding. ###
  1016. ### This setting is only per network. ###
  1017. ### Default: 25 ###
  1018. #server_send_rate 25
  1019.  
  1020. ##############################################################################
  1021. ### - privmsg fish - ###
  1022. ### If set, decode encrypted messages with this global fish key. ###
  1023. #privmsg_fish secret
  1024.  
  1025. ##############################################################################
  1026. ### - fish only - ###
  1027. ### If set, ignores not encrypted triggers in channels with a fish key. ###
  1028. #fish_only
  1029.  
  1030. ##############################################################################
  1031. ### - privmsg encrypt - ###
  1032. ### If set, all notice and privmsg will be encrypted. ###
  1033. #privmsg_encrypt
  1034.  
  1035. ##############################################################################
  1036. ### - fish exclude nick - ###
  1037. ### Messages to this nicks won't be encryted. ###
  1038. #fish_exclude_nick nickserv
  1039.  
  1040. ##############################################################################
  1041. ### - channel @find command - ###
  1042. ### iroffer will respond to "@find pattern" requests sent to a channel ###
  1043. ### with a pattern that contains at least <n> non wild cards chars ###
  1044. ### wild cards are: ###
  1045. ### * = 0 or more characters, ? = 1 character, # = any positive integer ###
  1046. ### Default: 0 = no response at all ###
  1047. atfind 3
  1048.  
  1049. ##############################################################################
  1050. ### - no find trigger - ###
  1051. ### Iroffer will respond to "!find" too if atfind is defined. ###
  1052. ### This flag will make the bot ignore "!find". ###
  1053. ### Default: response to "!find" ###
  1054. #no_find_trigger
  1055.  
  1056. ##############################################################################
  1057. ### - new trigger - ###
  1058. ### iroffer will respond to "!new" requests sent to a channel. ###
  1059. ### It will respond with latest <n> packs added. ###
  1060. ### Default: 0 = no response at all ###
  1061. #new_trigger 3
  1062.  
  1063. ##############################################################################
  1064. ### - max find - ###
  1065. ### Limit matches to @find and XDCC SEARCH commands. ###
  1066. ### Default: 0 = no limit. ###
  1067. #max_find 100
  1068.  
  1069. ##############################################################################
  1070. ### - bypass queue for small files - ###
  1071. ### If someone requests a small file, bypass queue and max sends. If the ###
  1072. ### offered file is under this size (in KB), send immediately. ###
  1073. #smallfilebypass 0
  1074.  
  1075. ##############################################################################
  1076. ### - spaces in filenames - ###
  1077. ### Allow spaces in filenames via DCC ###
  1078. ### Default: spaces are converted to '_' ###
  1079. #spaces_in_filenames
  1080.  
  1081. ##############################################################################
  1082. ### - authorized download hosts - ###
  1083. ### Specify who can download from this bot. Use *!*@* to allow anyone. ###
  1084. ### Multiple hostmasks can be specified ###
  1085. ### wild cards are: ###
  1086. ### * = 0 or more characters, ? = 1 character, # = any positive integer ###
  1087. downloadhost *!*@*
  1088. #downloadhost *!~me@*.domain.com
  1089. #downloadhost *!me@192.168.10.#
  1090.  
  1091. ##############################################################################
  1092. ### - blacklist download hosts - ###
  1093. ### Specify who can not download from this bot. ###
  1094. ### Multiple hostmasks can be specified ###
  1095. ### wild cards are: ###
  1096. ### * = 0 or more characters, ? = 1 character, # = any positive integer ###
  1097. #nodownloadhost *!~me@*.domain.com
  1098.  
  1099. ##############################################################################
  1100. ### - unlimited download hosts - ###
  1101. ### Specify Nicks and Hostnames which are not limited in bandwidth. ###
  1102. #unlimitedhost XDCC|*!*@*
  1103.  
  1104. ##############################################################################
  1105. ### - xdcc allow - ###
  1106. ### Defines ip masks, which are allowed to download from the server. ###
  1107. ### Multiple ip masks can be specified ###
  1108. ### Default: all. ###
  1109. #xdcc_allow 127.0.0.1
  1110. #xdcc_allow 192.168.1.0/24
  1111.  
  1112. ##############################################################################
  1113. ### - xdcc deny - ###
  1114. ### Defines ip masks, that should not download from the server. ###
  1115. ### Multiple ip masks can be specified ###
  1116. ### Default: none. ###
  1117. #xdcc_deny 172.16.0.0/16
  1118.  
  1119. ##############################################################################
  1120. ### - geoip country check - ###
  1121. ### Allow downloads only for users in the given countries. ###
  1122. ### this sets default access to deny and disables nogeoipcountry. ###
  1123. #geoipcountry de
  1124. #geoipcountry ch
  1125. #geoipcountry at
  1126.  
  1127. ##############################################################################
  1128. ### - geoip country check - ###
  1129. ### Disallow downloads only for users in the given countries. ###
  1130. ### this sets default access to allow and disables geoipcountry. ###
  1131. #nogeoipcountry jp
  1132.  
  1133. ##############################################################################
  1134. ### - geoip exclude nick - ###
  1135. ### Allow downloads for this nicks, even if geoip entry differs. ###
  1136. #geoipexcludenick aoluser
  1137.  
  1138. ##############################################################################
  1139. ### - geoip exclude group - ###
  1140. ### Allow downloads for packs in this group, even if geoip entry differs. ###
  1141. #geoipexcludegroup FREE
  1142.  
  1143. ##############################################################################
  1144. ### - geoip database - ###
  1145. ### Use a custom path to the database file for IPv4. ###
  1146. ### If you don't have a database you can download it from: ###
  1147. ### http://dev.maxmind.com/geoip/geolite ###
  1148. #geoipdatabase /usr/local/share/GeoIP/GeoIP.dat
  1149. #geoipdatabase GeoIP.dat
  1150.  
  1151. ##############################################################################
  1152. ### - geoip6 database - ###
  1153. ### Set the path to the database file for IPv6. ###
  1154. ### If you don't have a database you can download it from: ###
  1155. ### http://www.maxmind.com/app/geolitecountry ###
  1156. ### Default: no lookups for IPv6. ###
  1157. #geoip6database GeoIPv6.dat
  1158.  
  1159.  
  1160. ##############################################################################
  1161. ## Network Usage ##
  1162. ##############################################################################
  1163.  
  1164. ##############################################################################
  1165. ### - Allow with low bandwidth - ###
  1166. ### If packs are queued, and the bandwidth usage is below this amount, a ###
  1167. ### queued person will be sent their pack. (K/sec) ###
  1168. ### WARNING! do not set this amount to an unreasonably high number! ###
  1169. #lowbdwth 15
  1170.  
  1171. ##############################################################################
  1172. ### - transfer min speed - ###
  1173. ### Per-transfer min speed in KB/sec used unless 'chmins' set per pack. ###
  1174. #transferminspeed 10
  1175.  
  1176. ##############################################################################
  1177. ### - transfer max speed - ###
  1178. ### Per-transfer max speed in KB/sec used unless 'chmaxs' set per pack. ###
  1179. #transfermaxspeed 50
  1180.  
  1181. ##############################################################################
  1182. ### - bandwidth limiting - ###
  1183. ### Is your sysadmin complaining about you using up too much bandwidth? ###
  1184. ### You can set a maximum KB/sec that will be sent to the network. ###
  1185. ### Please set the maximum bandwidth, so the bot can calculate the traffic ###
  1186. ### and share it under the users. ###
  1187. ### You can define two different limits depending on time of day, ###
  1188. ### overallmaxspeed is the general limit, overallmaxspeeddayspeed is the ###
  1189. ### limit during the hours defined by overallmaxspeeddaytime (0 ... 23) ###
  1190. ### (no looping) and during days of week ( MTWRFSU ) ###
  1191. #overallmaxspeed 300
  1192. #overallmaxspeeddayspeed 100
  1193. #overallmaxspeeddaytime 9 17
  1194. #overallmaxspeeddaydays MTWRF
  1195.  
  1196. ##############################################################################
  1197. ### - daily/weekly/monthly limits - ###
  1198. ### If you want to limit total sent during a day/week/month, define ###
  1199. ### transferlimits and set one or more of the limits. Setting to 0 ###
  1200. ### disables that limit, non-zero limits total transfered in that period ###
  1201. ### to that number of MB. If you define more than one value, then all ###
  1202. ### limits apply. Days begin at midnight, Weeks begin Sunday morning. ###
  1203. ### ###
  1204. ### transferlimits <daily MB> <weekly MB> <monthly MB> ###
  1205. ### ###
  1206. ### EXAMPLE: 'transferlimits 200' would limit to 200MB per day. ###
  1207. ### ###
  1208. ### EXAMPLE: 'transferlimits 0 0 5000' would limit to 5000MB per month. ###
  1209. ### ###
  1210. ### EXAMPLE: 'transferlimits 200 1200 5000' would limit to: ###
  1211. ### 200MB per day, 1200MB per week and 5000MB per month. ###
  1212. #transferlimits 200 1200 5000
  1213.  
  1214. ##############################################################################
  1215. ### - start of month - ###
  1216. ### day of month when to reset the monthly traffic limit, default 1 ###
  1217. ### this value is only checked when the old month is over. ###
  1218. #start_of_month 1
  1219.  
  1220. ##############################################################################
  1221. ### - ignore upload bandwidth - ###
  1222. ### don't count uploads traffic into transferlimits. ###
  1223. ### Fast uploads will stop any downloads without this option. ###
  1224. ignoreuploadbandwidth
  1225.  
  1226. ##############################################################################
  1227. ### - extend status line - ###
  1228. ### print out upload and download bandwidth in status line. ###
  1229. extend_status_line
  1230.  
  1231. ##############################################################################
  1232. ### - status time dcc chat - ###
  1233. ### Defines the time in seconds for a status line in dcc chat. ###
  1234. ### Default: 120 ###
  1235. #status_time_dcc_chat 120
  1236.  
  1237. ##############################################################################
  1238. ### - no status chat - ###
  1239. ### If defined, iroffer will suppress status line in chat. ###
  1240. #no_status_chat
  1241.  
  1242. ##############################################################################
  1243. ### - no status log - ###
  1244. ### If defined, iroffer will suppress status line in logfile. ###
  1245. #no_status_log
  1246.  
  1247. ##############################################################################
  1248. ### - no auto rehsh - ###
  1249. ### If defined, iroffer will not automaticlly REHASH when a configfile was ###
  1250. ### was changed. Default: Do a REHASH. ###
  1251. #no_auto_rehash
  1252.  
  1253. ##############################################################################
  1254. ## Other ##
  1255. ##############################################################################
  1256.  
  1257. ##############################################################################
  1258. ### - autosend feature - ###
  1259. ### Set if you want iroffer to automatically send a pack when someone says ###
  1260. ### a certain word publicly in a channel. ###
  1261. ### Only the first matching trigger will start a send. ###
  1262. ### autosendpack <pack#> <trigger> <message ...> ###
  1263. ### the message is now optional ###
  1264. ### == MOST USERS WILL NOT NEED THIS FEATURE == ###
  1265. ### == GET PERMISSION FROM YOUR CHANNEL OPS FIRST == ###
  1266. #autosendpack 1 !rules Sending you the rules.
  1267. #autosendpack 2 !faq Sending you the FAQ.
  1268.  
  1269. ##############################################################################
  1270. ### - headline - ###
  1271. ### Put a headline at the top of all xdcc lists ###
  1272. headline Les dons, en donuts, sont parfaitement autorisés !
  1273.  
  1274. ##############################################################################
  1275. ### - credit line - ###
  1276. ### Put a credit at the end of your xdcc list ###
  1277. #creditline Brought to you by me
  1278.  
  1279. ##############################################################################
  1280. ### - download completed msg - ###
  1281. ### Put a credit at the end of each transfer. ###
  1282. download_completed_msg Le téléchargement est fini... Doh !
  1283.  
  1284. ##############################################################################
  1285. ### - hide_list_info - ###
  1286. ### Don't print line with "/msg nick xdcc info #x" ###
  1287. #hide_list_info
  1288.  
  1289. ##############################################################################
  1290. ### - hide_list_stop - ###
  1291. ### Don't print line with "/msg nick xdcc stop" ###
  1292. #hide_list_stop
  1293.  
  1294. ##############################################################################
  1295. ### - show list all - ###
  1296. ### Print line with "/msg nick xdcc list all". ###
  1297. #show_list_all
  1298.  
  1299. ##############################################################################
  1300. ### - disablexdccinfo - ###
  1301. ### disable all XDCC INFO requests ###
  1302. #disablexdccinfo
  1303.  
  1304. ##############################################################################
  1305. ### - hidelockedpacks - ###
  1306. ### Don't show locked packs to users with XDCC INFO and XDCC SEND ###
  1307. #hidelockedpacks
  1308.  
  1309. ##############################################################################
  1310. ### - show date added - ###
  1311. ### Show date the pack was added with XDCC LIST. ###
  1312. #show_date_added
  1313.  
  1314. ##############################################################################
  1315. ### - show group of pack - ###
  1316. ### Export your xdcc list with group for each pack. ###
  1317. ### Default output is just the packs ###
  1318. #show_group_of_pack
  1319.  
  1320. ##############################################################################
  1321. ### - index bot notify - ###
  1322. ### if you want iroffer to periodically msg some nick for indexing or some ###
  1323. ### other purpose use periodicmsg in the form: ###
  1324. ### "periodicmsg <nick> <num minutes> <message ...> ###
  1325. ### This setting is only per network. Multiple lines per net allowed. ###
  1326. #periodicmsg nick 10 index me
  1327.  
  1328. ##############################################################################
  1329. ### - remote admin info - ###
  1330. ### Remote commands can only be issued by a nick with a matching hostmask ###
  1331. ### and knows the adminpass. Remote commands are issued by dcc chat or by ###
  1332. ### /msg nickDCC admin 'adminpass' 'command' adminhost's are full ###
  1333. ### hostmasks: nick!user@host don't forget a "~" if you don't use identd ###
  1334. ### wild cards are: ###
  1335. ### * = 0 or more characters, ? = 1 character, # = any positive integer ###
  1336. ### For security, your adminpass must be stored in the config file ###
  1337. ### encrypted. To generate an encrypted password run iroffer with the ###
  1338. ### "-c" flag and follow the instructions. ###
  1339. adminpass $1$9B!sDazefFm9wZpXaszNiLLp.
  1340. adminhost *!*@v.ache
  1341.  
  1342. ##############################################################################
  1343. ### - remote admin level - ###
  1344. ### Limit remote admin commands to level. ###
  1345. ### 1 = info and stats only ###
  1346. ### 2 = lock and unlock ###
  1347. ### 3 = add and change ###
  1348. ### 4 = remove packs ###
  1349. ### 5 = full, may rename or removes files on disk ###
  1350. ### Default: 5 ###
  1351. #adminlevel 4
  1352.  
  1353. ##############################################################################
  1354. ### - remote half admin info - ###
  1355. ### Remote commands can only be issued by a nick with a matching hostmask ###
  1356. ### and knows the hadminpass. Remote commands are issued by dcc chat or by ###
  1357. ### /msg nickDCC admin 'hadminpass' 'command' ###
  1358. ### This account can not modify packs besides locking or unlocking them. ###
  1359. ### For security, your hadminpass must be stored in the config file ###
  1360. ### encrypted. <hadminhost> should not overlap with the <adminhost>. ###
  1361. #hadminpass add_your_encrypted_password_here
  1362. #hadminhost *!~me@*.domain.com
  1363. #hadminhost *!me@192.168.10.#
  1364. #hadminhost telnet!*@telnet
  1365.  
  1366. ##############################################################################
  1367. ### - remote half admin level - ###
  1368. ### Limit remote half admin commands to level. ###
  1369. ### Values see adminlevel ###
  1370. ### Default: 2 ###
  1371. #hadminlevel 3
  1372.  
  1373. ##############################################################################
  1374. ### - remote group admin - ###
  1375. ### Remote commands can only be issued by a nick with a matching hostmask ###
  1376. ### and knows the coresponding password. Access is limit to the groups ###
  1377. ### listed in the same line and by the given level. ###
  1378. ### group_admin <level> <hostmask> <encrypted_password> <grouplist> ###
  1379. ### After the grouplist you can define an uploaddir for this admin. ###
  1380. ### The hostmask will be automatically added as uploadhost. ###
  1381. ### The hostmask should not overlap with <adminhost> or <hadminhost> ###
  1382. #group_admin 3 *!~me@*.domain.com encrypted_password GROUP1,GROUP2
  1383.  
  1384. ##############################################################################
  1385. ### - passive dcc xchat - ###
  1386. ### Allow all admins to use passive DCC chat on the bot. ###
  1387. ### Default: off. ###
  1388. ### Admins must use "/MSG bot ADMIN password CHATME" instead. ###
  1389. #passive_dcc_chat
  1390.  
  1391. ##############################################################################
  1392. ### - upload directory - ###
  1393. ### If you want iroffer to accept DCC transfers (upload) define one or ###
  1394. ### more uploadhosts and define an uploaddir where files should be saved. ###
  1395. ### uploadmaxsize if the maximum size in MB of any individual transfer, ###
  1396. ### files over that size will be rejected (0 for no limit). ###
  1397. ### wild cards are: ###
  1398. ### * = 0 or more characters, ? = 1 character, # = any positive integer ###
  1399. ### WARNING!! specify a directory used exclusively for uploads. This will ###
  1400. ### WARNING!! prevent users from creating/appending important files ###
  1401. #uploadhost *!~me@*.domain.com
  1402. #uploadhost *!me@192.168.10.#
  1403. #uploaddir /home/me/upload
  1404. #uploadmaxsize 10
  1405.  
  1406. ##############################################################################
  1407. ### - upload min space - ###
  1408. ### Check free space on disk and do not start uploads when disk gets full. ###
  1409. ### Specifies the minimum size in MB available before upload. ###
  1410. #uploadminspace 10
  1411.  
  1412. ##############################################################################
  1413. ### - disk quota - ###
  1414. ### Check used space on disk for files and do not add more packs. ###
  1415. ### Specifies the maximum size in MB used in all packs. ###
  1416. #disk_quota 1000
  1417.  
  1418. ##############################################################################
  1419. ### - max uploads - ###
  1420. ### Do not allow more than given number of concurrent uploads. ###
  1421. ### Default: not limited. ###
  1422. max_uploads 3
  1423.  
  1424. ##############################################################################
  1425. ### - max upspeed - ###
  1426. ### You can set a maximum KB/sec that will be uploaded over the network. ###
  1427. ### Default: no limit. ###
  1428. max_upspeed 1000
  1429.  
  1430. ##############################################################################
  1431. ### - hide OS information - ###
  1432. ### If you do not want iroffer to show OS information in version and quit ###
  1433. ### messages enable this option ###
  1434. hideos
  1435.  
  1436. ##############################################################################
  1437. ### - log notices/messages - ###
  1438. ### If defined, iroffer will log notices and/or messages to the msglog ###
  1439. #lognotices
  1440. #logmessages
  1441.  
  1442. ##############################################################################
  1443. ### - logfile notices/messages - ###
  1444. ### If defined, iroffer will log notices and/or messages to the given ###
  1445. ### logfile. ###
  1446. #logfile_notices notice.log
  1447. #logfile_messages message.log
  1448.  
  1449. ##############################################################################
  1450. ### - logfile httpd - ###
  1451. ### If defined, iroffer will log http request and errors in this logfile. ###
  1452. #logfile_httpd httpd_error.log
  1453.  
  1454. ##############################################################################
  1455. ### - log exclude host - ###
  1456. ### Exclude given list of hostmasks from filling up your logfiles ###
  1457. ### or polluting your saved messages. ###
  1458. #log_exclude_host SpamScanner!scanner@euirc.net
  1459. #log_exclude_host Defender!Defender@security.otakubox.de
  1460.  
  1461. #############################################################################
  1462. ### - log exclude text - ###
  1463. ### Exclude given list of patterns from filling up your logfiles ###
  1464. ### or polluting your saved messages. ###
  1465. ### Wild cards are: ###
  1466. ### * = 0 or more characters, ? = 1 character, [0-9] = any digit ###
  1467. #log_exclude_text LAG
  1468. #log_exclude_text TIME
  1469.  
  1470. ##############################################################################
  1471. ### - timestamp console - ###
  1472. ### If defined, iroffer will place timestamps on all console output ###
  1473. #timestampconsole
  1474.  
  1475. ##############################################################################
  1476. ### - quiet mode - ###
  1477. ### If defined, iroffer will suppress most informational messages to users ###
  1478. ### No transfer completed mesage ###
  1479. ### No DCC send remind message ###
  1480. ### No XDCC QUEUE notifications ###
  1481. #quietmode
  1482.  
  1483. ##############################################################################
  1484. ### - periodic notify time - ###
  1485. ### How often should iroffer notify users of queue/bandwidth status ###
  1486. ### (in minutes). If not defined default is 5 minutes. Setting to 0 ###
  1487. ### disables notification entirely. ###
  1488. #notifytime 5
  1489.  
  1490. ##############################################################################
  1491. ### - punish slow users - ###
  1492. ### If a user is disconnected due to failing to meet a minspeed ###
  1493. ### requirement, punish them by disconnecting all transfers/queues and ###
  1494. ### ignoring them for n minutes ###
  1495. #punishslowusers 10
  1496.  
  1497. ##############################################################################
  1498. ### - no minspeed on free - ###
  1499. ### Don't enforce minspeed when bot still has free slots. ###
  1500. no_minspeed_on_free
  1501.  
  1502. ##############################################################################
  1503. ### - disable md5sum of files - ###
  1504. ### By default, iroffer will calculate md5sums all offered files. If you ###
  1505. ### want to disable this feature define 'nomd5sum' below. ###
  1506. ### nomd5sum implies nocrc32, so disabling all checksums ###
  1507. #nomd5sum
  1508.  
  1509. ##############################################################################
  1510. ### - md5sum exclude pattern - ###
  1511. ### When configured, MD5 and CRC32 will be not computed for files matching ###
  1512. ### this patterns. ###
  1513. #md5sum_exclude *.txt
  1514.  
  1515. ##############################################################################
  1516. ### - disable crc32 of files - ###
  1517. ### By default, iroffer will calculate crc32 checksums for all offered ###
  1518. ### files. If you want to disable this feature define 'nocrc32' below. ###
  1519. #nocrc32
  1520.  
  1521. ##############################################################################
  1522. ### - verbose crc32 - ###
  1523. ### By default, after adding iroffer will only report bad checksums. ###
  1524. ### If set, it will print out the computed checksum in every case. ###
  1525. #verbose_crc32
  1526.  
  1527. ##############################################################################
  1528. ### - direct file access - ###
  1529. ### Enable admin commands to manipulate files on disk. ###
  1530. ### This is required if you want to download files with FETCH. ###
  1531. #direct_file_access
  1532.  
  1533. ##############################################################################
  1534. ### - direct config access - ###
  1535. ### Enable admin commands to manipulate configuration. ###
  1536. #direct_config_access
  1537.  
  1538. ##############################################################################
  1539. ### - trashcan dir - ###
  1540. ### Instead of deleting files, they are moved to this directory. ###
  1541. ### Default: delete files on disk. ###
  1542. #trashcan_dir /home/me/trashcan
  1543.  
  1544. ##############################################################################
  1545. ### - fileremove max packs - ###
  1546. ### Max number of packs on this bot, if more are added, the oldest ones ###
  1547. ### are removed from disk. ###
  1548. ### Default: 0 = disabled. ###
  1549. #fileremove_max_packs 10
  1550.  
  1551. ##############################################################################
  1552. ### - ruby script - ###
  1553. ### Run a ruby script on each line the bot gets from the irc server. ###
  1554. #ruby_script "ruby-helper.rb"
  1555.  
  1556. ##############################################################################
  1557. ### - dump all - ###
  1558. ### If set shows all config vars on DUMP. ###
  1559. ### Default is to show only non default entries. ###
  1560. #dump_all
  1561.  
  1562. ##############################################################################
  1563. ### - debug - ###
  1564. ### Show more information on the Console. ###
  1565. ### Default: 0 == none ###
  1566. ### 1 = general debug messages ###
  1567. ### 11 = channel members ###
  1568. ### 12 = dcc chat ###
  1569. ### 13 = queued irc ###
  1570. ### 14 = crypted irc ###
  1571. ### 15 = raw irc ###
  1572. ### 21 = ignoring directory ###
  1573. ### 22 = ignoring exlcuded file ###
  1574. ### 23 = ignoring matched file ###
  1575. ### 24 = ignoring added file ###
  1576. ### 31 = md5 read bytes ###
  1577. ### 41 = http not found ###
  1578. ### 42 = http send size ###
  1579. ### 47 = http send bytes ###
  1580. ### 48 = http recv data ###
  1581. ### 51 = upload recv bytes ###
  1582. ### 52 = transfer send bytes ###
  1583. ### 53 = transfer read junk ###
  1584. ### 54 = transfer mmap status ###
  1585. ### 55 = transfer acknowleged bytes ###
  1586. ### 81 = kqueue ###
  1587. ### 82 = select ###
  1588. #debug 77
  1589.  
  1590. ##############################################################################
  1591. ## End ##
  1592. ##############################################################################
Add Comment
Please, Sign In to add comment