iroffer (sample.conf)
iroffer xdcc robusto compartilhador de arquivos via rede irc
Categoria: Ftp
Software: iroffer
[ Hits: 10.807 ]
Por:
Esse arquivo sample.conf, tem como objetivo mostrar as partes mais importantes da configurção do seu xdccbot pelo software iroffer. Iroffer é um software DCC fileserver pela rede irc, ele é similar a um ftp(protocolo de transferencia de arquivo).
############################################################################## ## iroffer 1.3.b09 config file ## ## lines starting with "#" or are blank are ignored ## ############################################################################## # Version of this file: # # @(#) sample.config 1.114@(#) # pmg@wellington.i202.centerclick.org|sample.config|20040823145918|21802 # ############################################################################## ## FILES ## ############################################################################## ############################################################################## ### - pid file - ### ### Writes the process id to this file on startup ### pidfile mybot.pid ############################################################################## ### - log file - ### ### Writes logging information to this file logstats will log statistical ### ### information logstats will also send stats to a dcc chat if one is ### ### active. logrotate can be none, daily, weekly, or monthly ### logfile mybot.log logstats yes logrotate weekly ############################################################################## ### - state file - ### ### temporary storage for iroffer state information across restarts ### statefile mybot.state ############################################################################## ### - 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. ### ### ==================//==================//=======================//===== ### ### Descomente o xdcclistfile, caso queira que ele gere um lista.txt dos ### ### arquivos que estam sendo servidos no canal irc. ### ### =================//===================//=======================//===== ### #xdcclistfile mybot.txt ############################################################################## ## IRC ## ############################################################################## ############################################################################## ### - connection method - ### ### How should iroffer connect to the irc server. Choices are: ### ### direct - connect directly to the irc server ### ### bnc <ip> <port> <password> <vhost> ### ### - connect to the irc server through a bnc ### ### relay at <ip>:<port> using <password> ### ### <vhost> is optional ### ### wingate <ip> <port> - connect to the irc server through a ### ### wingate relay at <ip>:<port> ### ### custom <ip> <port> - 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 direct ############################################################################## ### - 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 ############################################################################## ### - nickserv - ### ### if you would like to register with nickserv add settings here ### ### ==================//======================//=====================//=== ### ### Se o seu xdccbot tiver um nick registrado no servidor irc, descomente ### ### a linha nickserv_pass mypass e coloque a senha no lugar do mypass ### ### =================//======================//=====================//==== ### #nickserv_pass mypass ############################################################################## ### - server information - ### ### List server/ports in the form "server irc.domain.com 6667". Port is ### ### optional (default 6667) ### ### Multiple servers can be specified ### ### ===================//========================//======================= ### ### Aqui é onde seu xdccbot se conectara, so especificar a rede irc a qual ### ### queira que ele se conecte. ### ### ==================//========================//======================== ### server irc.efnet.net ############################################################################## ### - channels (upto 50) - ### ### channel format: ### ### "channel <channel> [-plist <time>] [-plistoffset <time>] ### ### [-pformat <full|minimal|summary>] [-key <key>] " ### ### plist: time is number of minutes between plists. ### ### plistoffset: time is number of minutes to offset list ### ### pformat: full is normal and default if pformat is not used ### ### minimal is similar to full but removes some lines ### ### summary displays only a 2 line summary ### ### key: for +k channels, the key specified is used when joining ### ### using same or multiples of the same number plist time is recomended ### ### =============================//================//===================== ### ### Descomente a channel e coloque o nome do canal no lugar do chan01,na ### ### qual queira que seu xdccbot entre.Lembrando que -plist 14 é o tempo ### ### que seu pode lista no canal os arquivos que está disponibilizando ### ### ============================//================//====================== ### #channel #chan01 -plist 14 #channel #chan02 -plist 28 -pformat minimal #channel #chan03 -plist 14 -pformat summary -key thekey ############################################################################## ### - user information - ### ### =====================//=============================//================ ### ### Aqui é onde coloca o nome do xdccbot, substituindo o mybotDCC ### ### ====================//==============================//================ ### user_nick mybotDCC user_realname My Bot user_modes +i ############################################################################## ### - virtual hosts - ### ### If the computer you want to run iroffer on has multiple local IP ### ### addressses, you can run iroffer on any of those ip addresses. ### ### To automatically choose a local IP address leave undefined. ### ### NOTE: You must use the IP address in x.x.x.x format not a DNS name. ### #local_vhost 123.456.789.123 ############################################################################## ### - incoming TCP connections - ### ### If you are behind a firewall that you control and want to have iroffer ### ### use a specified range for tcp ports for incoming connections set ### ### tcpstartrange to the first port used (ports will be used from that ### ### number upwards as needed (usually 1 per transfer attempt). ### ### If undefined, incoming tcp ports are automatically choosen by the OS. ### #tcprangestart 4000 ############################################################################## ### - override unix loginname - ### ### Override your unix loginname. Will only work if identd isn't running. ### #loginname fakelogin ############################################################################## ### - 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 123.456.789.123 ############################################################################## ## xdcc ## ############################################################################## ############################################################################## ### - maximum xdcc slots - ### ### ======================//=======================//===================== ### ### Aqui especifica a quantidade de users que poderam fazer download ### ### simultaneamente do xdccbot ### ### ======================//======================//====================== ### slotsmax 20 ############################################################################## ### - Queue Information - ### ### Main Queue Size, set to 0 for no queue ### ### =======================//====================//======================= ### ### Especificaremos a quantidade de users que poderam ficar na fila ### ### de espera do xdccbot ### ### =======================//====================//======================= ### queuesize 10 ############################################################################## ### - max transfers per person - ### ### maximum transfers per person at a time ### ### ====================//===========================//=================== ### ### Aqui é quantidade de arquivos que o mesmo user pode fazer ### ### download, ao mesmo tempo ### ### ===================//============================//=================== ### maxtransfersperperson 1 ############################################################################## ### - max queued items per person - ### ### maximum number of times a user can be in a queue simultaneously ### ### ====================//=============================//================= ### ### Aqui é a quantidade de arquivos que cade user pode deixar ### ### na fila de espera ### ### ===================//==============================//================= ### maxqueueditemsperperson 2 ############################################################################## ### - add/chfile command helper directory - ### ### optional directory where iroffer will look after trying normal ### ### relative/absolute paths when using the add or chfile admin command. ### ### Add/chfile will first try to open the file using just the argument you ### ### provide to the command, and if that fails it will try again with ### ### filedir added to the front of the argument. ### #filedir /home/me/files ############################################################################## ### - restrict xdcc list and xdcc send - ### ### if set, xdcc list and/or xdcc send|info will be restricted to users ### ### who are on a known channel. If a user is not on one of the known ### ### channels they will not be able to list and/or get packs ### ### restrictprivlist disables all private xdcc list requests completely. ### ### use restrictprivlistmsg to change the message that restrictprivlist ### ### sends ### #restrictlist #restrictprivlist #restrictprivlistmsg Wait for public list in the channel. #restrictsend ############################################################################## ### - channel xdcc commands - ### ### if set, iroffer will respond to xdcc requests sent to a channel in ### ### addition to xdcc requests sent to iroffer directly. ### respondtochannelxdcc ############################################################################## ### - channel !list command - ### ### if set, iroffer will respond to !list requests sent to a channel ### #respondtochannellist ############################################################################## ### - bypass queue for small files - ### ### If someone requests a small file, bypass queue and max sends. If the ### ### offered file is under this size (in KB), send immediately. ### #smallfilebypass 0 ############################################################################## ### - authorized download hosts - ### ### Specify who can download from this bot. Use *!*@* to allow anyone. ### ### Multiple hostmasks can be specified ### ### wild cards are: ### ### * = 0 or more characters, ? = 1 character, # = any positive integer ### downloadhost *!*@* #downloadhost *!~me@*.domain.com #downloadhost *!me@192.168.10.# ############################################################################## ## Network Usage ## ############################################################################## ############################################################################## ### - Allow with low bandwidth - ### ### If packs are queued, and the bandwidth usage is below this amount, a ### ### queue'd person will be sent their pack. (K/sec) ### ### WARNING! do not set this amount to an unreasonably high number! ### #lowbdwth 15 ############################################################################## ### - transfer min speed - ### ### Per-transfer min speed in KB/sec used unless 'chmins' set per pack. ### #transferminspeed 10 ############################################################################## ### - transfer max speed - ### ### Per-transfer max speed in KB/sec used unless 'chmaxs' set per pack. ### #transfermaxspeed 50 ############################################################################## ### - bandwidth limiting - ### ### Is your sysadmin complaining about you using up too much bandwidth? ### ### You can set a maximum KB/sec that will be sent to the network. ### ### You can define two different limits depending on time of day, ### ### overallmaxspeed is the general limit, overallmaxspeeddayspeed is the ### ### limit during the hours defined by overallmaxspeeddaytime (0 ... 23) ### ### (no looping) and durring days of week ( MTWRFSU ) ### #overallmaxspeed 300 #overallmaxspeeddayspeed 100 #overallmaxspeeddaytime 9 17 #overallmaxspeeddaydays MTWRF ############################################################################## ## Other ## ############################################################################## ############################################################################## ### - autosend feature - ### ### Set if you want iroffer to automatically send a pack when someone says ### ### a certain word pubically in a channel. ### ### autosendpack <pack#> <trigger> <message ...> ### ### == MOST USERS WILL NOT NEED THIS FEATURE == ### ### == GET PERMISSION FROM YOUR CHANNEL OPS FIRST == ### #autosendpack 1 !rules Sending you the rules. ############################################################################## ### - headline - ### ### Put a headline at the top of all xdcc lists ### #headline New Stuff Just Added!! ############################################################################## ### - credit line - ### ### Put a credit at the end of your xdcc list ### #creditline Brought to you by me ############################################################################## ### - index bot notify - ### ### if you want iroffer to periodically msg some nick for indexing or some ### ### other purpose use periodicmsg in the form: ### ### "periodicmsg <nick> <num minutes> <message ...> ### #periodicmsg nick 10 index me ############################################################################## ### - remote admin info - ### ### Remote commands can only be issued by a nick with a matching hostmask ### ### and knows the adminpass Remote commands are issued by dcc chat or by ### ### /msg nickDCC admin 'adminpass' 'command' adminhost's are full ### ### hostmasks: nick!user@host don't forget a "~" if you don't use identd ### ### wild cards are: ### ### * = 0 or more characters, ? = 1 character, # = any positive integer ### ### For security, your adminpass must be stored in the config file ### ### encrypted. To generate an encrypted password run iroffer with the ### ### "-c" flag and follow the instructions. ### ### ======================//===================//========================= ### ### Aqui é onde se coloca a senha que o iroffer gerou, colocando-a ### ### no lugar do add_your_encrypted_password_here ### ### =====================//====================//========================= ### adminpass add_your_encrypted_password_here adminhost *!~me@*.domain.com adminhost *!me@192.168.10.# ############################################################################## ### - upload directory - ### ### If you want iroffer to accept DCC transfers (upload) define one or ### ### more uploadhosts and define an uploaddir where files should be saved. ### ### uploadmaxsize if the maximum size in MB of any individual transfer, ### ### files over that size will be rejected (0 for no limit). ### ### wild cards are: ### ### * = 0 or more characters, ? = 1 character, # = any positive integer ### ### WARNING!! specify a directory used exclusivly for uploads. This will ### ### WARNING!! prevent users from creating/appending important files ### #uploadhost *!~me@*.domain.com #uploadhost *!me@192.168.10.# #uploaddir /home/me/upload #uploadmaxsize 10 ############################################################################## ### - hide OS information- ### ### If you do not want iroffer to show OS information in version and quit ### ### messages enable this option ### #hideos ############################################################################## ### - log notices - ### ### If defined, iroffer will log notice messages to the msglog ### #lognotices ############################################################################## ### - timestamp console - ### ### If defined, iroffer will place timestamps on all console output ### #timestampconsole ############################################################################## ### - timestamp console - ### ### If defined, iroffer will suppress most informational messages to users ### #quietmode ############################################################################## ### - periodic notify time - ### ### How often should iroffer notify users of queue/bandwidth status ### ### (in minutes). If not defined default is 5 minutes. Setting to 0 ### ### disables notification entirely. ### #notifytime 5 ############################################################################## ### - punish slow users - ### ### If a user is disconnected due to failing to meet a minspeed ### ### requirement, punish them by disconnecting all transfers/queues and ### ### ignoring them for n minutes ### #punishslowusers 10 ############################################################################## ### - disable md5sum of files - ### ### By default, iroffer will calculate md5sums all offered files. If you ### ### want to disable this feature define 'nomd5sum' below. ### #nomd5sum ############################################################################## ## End ## ##############################################################################
Compartilhando a tela do Computador no Celular via Deskreen
Como Configurar um Túnel SSH Reverso para Acessar Sua Máquina Local a Partir de uma Máquina Remota
Configuração para desligamento automatizado de Computadores em um Ambiente Comercial
Como renomear arquivos de letras maiúsculas para minúsculas
Imprimindo no formato livreto no Linux
Vim - incrementando números em substituição
Efeito "livro" em arquivos PDF
Como resolver o erro no CUPS: Unable to get list of printer drivers
HD externo modelo SDK SSD com 15,26 TiB aparece como unidade não aloc... (2)
Linux rodando do hd externo ou ssd? (1)
Notebook Novo. Aceita Duplo Boot? (6)
Redirecioname... de pasta desktop em cliente Linux ingressado a um AD ... (0)
[Python] Automação de scan de vulnerabilidades
[Python] Script para analise de superficie de ataque
[Shell Script] Novo script para redimensionar, rotacionar, converter e espelhar arquivos de imagem
[Shell Script] Iniciador de DOOM (DSDA-DOOM, Doom Retro ou Woof!)
[Shell Script] Script para adicionar bordas às imagens de uma pasta