############################################################################## ## iroffer 1.4.b03 config file ## ## lines starting with "#" or are blank are ignored ## ############################################################################## # Version of this file: # # $Id: sample.config,v 1.253 2011/02/10 18:31:33 cvs Exp $ # ############################################################################## ## FILES ## ############################################################################## ############################################################################## ### - pid file - ### ### Writes the process id to this file on startup ### pidfile [Final8]Omega.pid ############################################################################## ### - log file - ### ### Writes logging information to this file. ### logfile [Final8]Omega.log ############################################################################## ### - log rotate - ### ### After the time given here a logfile will be rotated. ### ### logrotate can be set to none, 1 - 24 hours, daily, weekly or monthly ### logrotate weekly ############################################################################## ### - expire logfiles - ### ### After the given number of days the old logfiles are deleted. ### ### This will only be checked after logrotate. ### ### Default: logfiles are not deleted. ### #expire_logfiles 31 ############################################################################## ### - log stats - ### ### Setting logstats will log statistical information and this will also ### ### send this stats to a dcc chat if one is active. ### logstats yes ############################################################################## ### - state file - ### ### temporary storage for iroffer state information across restarts ### statefile [Final8]Omega.state ############################################################################## ### - old state file - ### ### Writes smaller iroffer statefile by default. Set this option to write ### ### a statefile that is compatible with old versions. ### ### WARNING!! You need this option for the PHP weblist iroffer-state.php ### ### version 2.10 and below. ### #old_statefile ############################################################################## ### - send state file - ### ### send statefile every hour via DCC to the specified nick ### #send_statefile XDCC|statistik ############################################################################## ### - send state file minute - ### ### send statefile every hour via when the minute matches ### #send_statefile_minute 0 ############################################################################## ### - xdcc listing file - ### ### if you want to export your xdcc list via a webserver, or other means ### ### define 'xdcclistfile' and iroffer will write the xdcc list to it when ### ### needed. ### ### If xdcclistfileraw is set the file will be written with the IRC ### ### control characters included (color, formatting, etc..). ### xdcclistfile [Final8]Omega.txt #xdcclistfileraw ############################################################################## ### - xdcc listing group only - ### ### Export your xdcc list with group and main information only. ### ### Default output is all packs and no group information. ### #xdcclist_grouponly ############################################################################## ### - group seperator - ### ### printed between group name and group description. ### ### Default: space ### #group_seperator " " group_seperator " - " ############################################################################## ### - dos text files - ### ### Write xdcclistfile as DOS text format, with CRLF als line break. ### ### Default: no, on CYGWIN default: yes ### #dos_text_files yes #dos_text_files no ############################################################################## ### - send listfile - ### ### Packnumber of xdcclistfile added to the bot, enables XDCC SEND LIST. ### ### A value of -1 will send the xdcclistfile without creating a pack. ### ### Default: off ### #send_listfile 1 send_listfile -1 ############################################################################## ### - xdcc xml file - ### ### if you want to export your packlist in XML define xdccxmlfile. ### #xdccxmlfile [Final8]Omega.xml ############################################################################## ### - charset - ### ### This must be set to the encoding of your filenames. ### ### The charset in header.html must match to this. ### ### Default: UTF-8 ### #charset UTF-8 #charset iso-8859-1 ############################################################################## ### - xdcc list by privmsg - ### ### send the result of XDCC LIST by privmsg instead of notice. ### ### Default: notice ### xdcclist_by_privmsg ############################################################################## ### - xdcc remove file - ### ### export stats on removed packs for better statistics. ### xdccremovefile [Final8]Omega.removed.xdcc ############################################################################## ### - admin job file - ### ### when defined, read this file for commands and execute them. ### ### output will be written in .done ### admin_job_file [Final8]Omega.job ############################################################################## ### - http port - ### ### Port for the build-in webserver. ### ### Default: 0 = disabled. ### http_port 9090 ############################################################################## ### - http access log - ### ### If defined, iroffer will log http request in CLF compatible format. ### ### Default: disabled. ### http_access_log httpd_access.log ############################################################################## ### - http vhost - ### ### List of up to 2 local IP addresses for the Webserver to run on. ### ### Use "::" or "0.0.0.0" to allow any IP address. ### ### Use "::1" or "127.0.0.1" to limit access to localhost only. ### ### Default: disabled. ### http_vhost :: http_vhost 0.0.0.0 ############################################################################## ### - http admin - ### ### Defines admin login for the build-in webserver. ### ### Default: disabled. ### http_admin admin ############################################################################## ### - http allow - ### ### Defines ip masks, which are allowed to access the server. ### ### Multiple ip masks can be specified ### ### Default: all. ### #http_allow 127.0.0.1 #http_allow 192.168.1.0/24 ############################################################################## ### - http deny - ### ### Defines ip masks, that should not access the server. ### ### Multiple ip masks can be specified ### ### Default: none. ### #http_deny 172.16.0.0/16 ############################################################################## ### - http dir - ### ### Defines directory for extra files handled out by the webserver. ### ### For example: robots.txt favicon.ico ### ### Default: disabled. ### http_dir htdocs ############################################################################## ### - http admin dir - ### ### Defines directory for protected files handled out by the webserver ### ### for the admin user. ### ### Default: disabled. ### http_admin_dir htadmin ############################################################################## ### - http date - ### ### Define output from of dates on the webpage. ### ### Default: %Y-%m-%d %H:%M ### #http_date %Y-%m-%d %H:%M ############################################################################## ### - http search - ### ### Enables search form in HTML page. ### ### Default: disabled. ### http_search ############################################################################## ### - http index - ### ### Defines the page to show when no filename is given in the URL. ### ### Default: xdcclistfile ### ### For Weblist set: http_index /? ### ### For your own static page in htdocs set: http_index /index.html ### http_index /? ############################################################################## ### - http forbidden - ### ### Defines the URL page to show when access is forbidden. ### ### The given URL must resolve in a file in http_dir. ### ### Default: Send only the HTTP error. ### #http_forbidden /forbidden.html ############################################################################## ### - http geoip - ### ### Enables geoip country check for HTTP requests. ### ### Default: disabled. ### #http_geoip ############################################################################## ### - weblist info - ### ### Show additional information in the HTML page. ### weblist_info uptime "Uptime" weblist_info running "Total Uptime" weblist_info minspeed "Min speed" weblist_info maxspeed "Max speed" weblist_info cap "Max bandwidth" weblist_info record "Record bandwidth" weblist_info send "Record download" weblist_info daily "Traffic today" weblist_info weekly "Traffic this week" weblist_info monthly "Traffic this month" ############################################################################## ### - mime type - ### ### Define additional mime types for the HTML pages. ### #mime_type torrent application/x-bittorrent ############################################################################## ### - telnet port - ### ### Port for the build-in Telnet server. ### ### To login you must add adminhost or hadminhost with "telnet!*@telnet" ### ### Default: 0 = disabled. ### #telnet_port 2323 ############################################################################## ### - telnet vhost - ### ### List of up to 2 local IP addresses for the Telnet server to run on. ### ### Use "::" or "0.0.0.0" to allow any IP address. ### ### Use "::1" or "127.0.0.1" to limit access to localhost only. ### ### Default: disabled. ### #telnet_vhost ::1 #telnet_vhost 127.0.0.1 ############################################################################## ## IRC ## ############################################################################## ############################################################################## ### - network name - ### ### Start a new set of servers/channels for a different irc network. ### ### The bot supports identifying via an self signed SSL certificate. ### ### See: http://www.oftc.net/oftc/NickServ/CertFP ### ### The bot looks for the file ".pem" which must hold cert ### ### and key. If this file is not found it looks for ".crt" ### ### and and ".key". ### ### The found certificate is passed to the server on connect. ### network irc.rizon.net ############################################################################## ### - connection method - ### ### How should iroffer connect to the irc server. Choices are: ### ### direct - connect directly to the irc server ### ### ssl - connect to the irc server via SSL. ### ### Make sure to connect to ssl compatible ### ### port of your irc server. ### ### bnc ### ### - connect to the irc server through a bnc ### ### relay at : using ### ### is optional ### ### wingate - connect to the irc server through a ### ### wingate relay at : ### ### custom - connect to the irc server through a ### ### custom set of commands, see proxyinfo ### ### below for more information ### ### most people will want to use the direct ### connectionmethod ssl ############################################################################## ### - custom connection info - ### ### if you use connectionmethod of custom you can place any number of ### ### custom lines for use with your proxy/gateway/redirector. Place "$s" ### ### and "$p" where the server and port should be placed in your text ### #proxyinfo connect $s:$p #proxyinfo blah blah ############################################################################## ### - onjoin information - ### ### you can use server_join_raw to send raw IRC commands to the server ### ### when connected (sent after NICK, USER, before MODE ) ### ### ### ### you can use server_connected_raw to send raw IRC commands to the ### ### server when connected (sent after MODE, before JOIN ) ### ### ### ### you can use channel_join_raw to send raw IRC commands to the ### ### server when you join a channel (multiple instances can be configured ### ### if needed) ### ### ### ### multiple instances of all 3 can be configured if needed ### #server_join_raw #server_connected_raw #channel_join_raw ############################################################################## ### - virtual hosts - ### ### If the computer you want to run iroffer on has multiple local IP ### ### addresses, you can run iroffer on any of those IP addresses. ### ### To automatically choose a local IP address leave undefined. ### ### This setting can be global or per network. ### ### NOTE: You must use the IP address in x.x.x.x format not a DNS name. ### ### To restrict to IPv4 use local_vhost 0.0.0.0 ### ### To restrict to IPv6 use local_vhost :: ### #local_vhost 123.456.789.123 ############################################################################## ### - manual dcc ip translation - ### ### if you are behind a NAT (Network Address Translation) device which ### ### _does_ _not_ intercept and translate dcc commands but _does_ do port ### ### forwarding place the ip address of the NAT below if unsure, leave ### ### commented ### ### NOTE: You must use the IP address in x.x.x.x format not a DNS name. ### usenatip 188.165.0.33 ############################################################################## ### - automatic dcc ip translation - ### ### Get my own IP from the irc server and use this as value for usenatip. ### ### Set usenatip to a default value (0.0.0.0) when using this option. ### #getipfromserver ############################################################################## ### - automatic dcc ip translation - ### ### Get my own IP from the upnp router and use this as value for usenatip. ### ### Set usenatip to a default value (0.0.0.0) when using this option. ### #getipfromupnp ############################################################################## ### - get ip from network - ### ### Get my own IP for the current Network from a different network. ### ### You need this when the given network does not return your IP. ### #getip_network 1 ############################################################################## ### - noannounce - ### ### Disable all announces for the current network. ### #noannounce ############################################################################## ### - plaintext - ### ### Disable colors when announcing on this network. ### plaintext ############################################################################## ### - offline - ### ### Disable connecting to this network. ### #offline ############################################################################## ### - nickserv - ### ### If you would like to register with nickserv add settings here. ### ### This setting can be global or per network. ### nickserv_pass 123456789 ############################################################################## ### - auth name - ### ### If you would like to register with the AUTH command you need to define ### ### the name if the service you have to use here. ### ### This setting can only be set per network. ### #auth_name Q@CServe.quakenet.org ############################################################################## ### - login name - ### ### If you would like to register with the LOGIN command you need to ### ### define the name if the service you have to use here. ### ### This setting can only be set per network. ### #login_name X@channels.undernet.org ############################################################################## ### - server information - ### ### List server/ports in the form "server irc.domain.com 6667". Port is ### ### optional (default 6667). Server password should be listed 3rd if ### ### needed (port must be specified if using a password). ### ### Multiple servers can be specified ### #server irc.rizon.net 9999 #server irc.efnet.net 6667 #server irc.efnet.net 6667 server-password ############################################################################## ### - channels (up to 50) - ### ### channel format: ### ### "channel [-plist