Guest User

iroffer-dinoex config file template

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