⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bnetd.conf.5

📁 打魔兽战网的都知道他是什么
💻 5
字号:
.\".\" Copyright (C) 1998  Mark Baysinger (mbaysing@ucsd.edu).\" Copyright (C) 1998,1999,2000  Ross Combs (ross@bnetd.org).\" Copyright (C) 1999  Rob Crittenden (rcrit@greyoak.com).\" .\" This is free documentation; you can redistribute it and/or.\" modify it under the terms of the GNU General Public License as.\" published by the Free Software Foundation; either version 2 of.\" the License, or (at your option) any later version..\".\" The GNU General Public License's references to "object code".\" and "executables" are to be interpreted as the output of any.\" document formatting or typesetting system, including.\" intermediate and printed output..\".\" This manual is distributed in the hope that it will be useful,.\" but WITHOUT ANY WARRANTY; without even the implied warranty of.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the.\" GNU General Public License for more details..\".\" You should have received a copy of the GNU General Public.\" License along with this manual; if not, write to the Free.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,.\" USA..\".TH BNETD.CONF 5 "12 June, 2000" "BNETD" "BNETD User's Manual".SH NAMEbnetd.conf \- configuration for the Unix Battle.net daemon.SH DESCRIPTIONThe file.I bnetd.confcontains information used by the Unix Battle.net daemon.BR bnetd (1)to obtain system-specific information such as file locations and policies..LPThe file consists of a list of configuration entries and comments.  A commentstarts with a pound (#) sign and continues to the end of the line.  Blank linesand whitespace are ignored between entries.  A configuration entry is composedof two fields separated by an equals (=) sign:.IP\f2directive\f1 = \f2value\f1.LPThe.I directivefield contains the name of the configuration item you want to set to the valueof \f2value\f1.  If the value contains spaces it should be surrounded byquotation marks (").  The value may not contain quotation marks.  Multipleentries are not allowed on a single line..LPIf the field is Boolean, any of \fBtrue\fP, \fBfalse\fP, \fByes\fP, \fBno\fP,\fB1\fP, or \fB0\fP may be used.  If the field is numeric, it must be in baseten.  If the field is an address list, it must be delimited by commas.  Eachelement may contain a hostname (or IP) and a port number.  If a port number isgiven, it must be preceded by a colon (:).  A colon by itself may be used torepresent the wildcard address.  If the field is a file or directory path, useof an absolute pathname is recommended.  The values for \fBiconfile\fP,\fBtosfile\fP, and \fBmpqauthfile\fP are not pathnames but just the names ofthe files.  They must be in the \fBfiledir\fP directory..LPRecognized values for \f2directive\f1 include:.RS.TP 10.B filedirSpecifies the path where downloadable files are stored.  These files areinclude the TOS (terms of service), icons, and ad banners.  (Normally "files/").TP.B userdirSpecify the path where user accounts are stored.  (Normally "users/").TP.B reportdirSpecify the path where game reports are stored.  (Normally "reports/").TP.B chanlogdirSpecify the path where channel logs are stored.  (Normally "chanlogs/").TP.B defacctSpecify the path of the default account file.  This file contains all defaultaccount attributes which are used when an attribute is not set on an actualaccount. (Normally "bnetd_default_user").TP.B motdfileSpecify the path of the "message of the day" text file.  This is displayedwhen a user enters the first chat channel.  (Normally "bnmotd.txt").TP.B channelfileSpecify the path of the permanent channel list.  (Normally "channel.list").TP.B newsfileSpecify the path of the file that is printed when the /news command is used.If no file is specified or the file doesn't exist then the server prints"No news today" to the user.  (Normally "news.txt").TP.B adfileSpecify the path of the ad banner list which determines which banners todisplay at which times.  (Normally "ad.list").TP.B ipbanfileSpecify the path of the IP ban file which can be used to block connectionsfrom certain addresses.  (Normally "bnban").TP.B helpfileSpecify the path of the chat command help file.  (Normally "bnhelp").TP.B transfileSpecify the path of the game address translation file which can be used toallow players from behind a NAT firewall to play with those outside of thefirewall.  (Normally "gametrans").TP.B mpqfileSpecify the path of the autoupdate MPQ archive list.  It chooses whichversions of which clients to update.  (Normally "autoupdate").TP.B logfileSpecifies the file where the server appends the event messages selected withthe \f3loglevels\f1 field.  (Normally "bnetd.log").TP.B pidfileSpecify the path of the file where the server records its process ID.(Normally "bnetd.pid").TP.B fortunecmdThe path for the program to be executed when /fortune is used.  See.BR fortune (6).(Normally "/usr/games/fortune").TP.B loglevelsSpecify A comma-delimited list of message levels to log.  The avaliable levelsare:.RS.TP.B traceflow tracing statements.TP.B debugdebugging information.TP.B infopotentially useful informational.TP.B warnpotentially serious events.TP.B errorerror messages and unexpected events.TP.B fatalfatal errors.RE.TP.B iconfileSpecify the name of the BNI chat icons file which must be inside of the.B filedirdirectory.  (Normally "icons.bni").TP.B tosfileSpecify the name of the TOS file which must be inside of the.B filedirdirectory.  (Normally "tos.txt").TP.B allow_autoupdateEnable or disable to automatic client update facility.  If you want to allowdifferent client versions to connect, set this to false.  If you want to updateall clients to the same version, be sure to also download the MPQ auth file,and the update MPQ..TP.B mpqauthfileSpecify the name of the MPQ authorization file which must be inside of the.B filedirdirectory.  This file is used to determine the current client version.  Thisis only needed if.B allow_autoupdateis turned on.  (Normally "IX86ver1.mpq").TP.B usersyncSpecify the time in seconds between account file saves.  A value of 0 means towait until shutdown to save account files and not do do periodic updates..TP.B userflushSpecify the number of seconds of inactivity before a user is unloaded frommemory (only checked during file account updates, see usersync.  After theaccount has been unloaded, it must be read from disk when accessed again..TP.B latencyHow often to send user latency tests to the user, in seconds.  These are usedto decide how many "lag bars" to print next to users in channels..TP.B shutdown_delaySpecify the amount of time in seconds to delay shutting down the server when it receives a SIGTERM or SIGINT.BR signal (7)..TP.B shutdown_decrYou can decrease the amount of time to wait by this value by sending anotherSIGTERM or SIGINT.BR signal (7)..TP.B newaccountsIf this value is true then new accounts may be created by users on the system.Administrators can always use the /addacct chat command..TP.B kick_oldloginIf this value is true then a second login by the same user will kick off thefirst, otherwise the second login will get message saying that they are alreadylogged in..TP.B ask_new_channelIf this value is true, a user using the "Channels" button to join anon-existing channel will be asked if they wish to create it just likeBattle.net.  Otherwise, the channel will be created silently..TP.B report_all_gamesIf this value is true, all games with more than one player lasting for morethan 5 minutes will be logged.  Otherwise, only ladder games are logged..TP.B hide_pass_gamesIf this value is true, private (passworded) games will not be shown in the gamelist just like Battle.net.  Otherwise all games will be listed..TP.B hide_started_gamesIf this value is true, games which have already stated will not be sent to theclients.  The clients filter these games out for Starcraft and Brood War already..TP.B hide_temp_channelsIf this value is true, private channels will not be shown in the channel listjust like Battle.net.  Otherwise all channels will be listed..TP.B extra_commandsIf this value is true then all the extended chat commands are enabled,otherwise only those which exist on Battle.net are enabled..TP.B disc_is_lossIf this value is true then any disconnect will be treated as a loss (regardlessof the setting in ladder games)..TP.B enable_conn_allIf this value is true then all users may use the /con and /connectionscommands.  Otherwise only administrators may use them..TP.B hide_addrIf this value is true then IP addresses will be hidden from non-admins in theoutput of the /con, /games, /gameinfo, and /netinfo commands..TP.B chanlogIf this value is true then private channels will be logged to files in the.B chanlogdirdirecotry.  The logging of public (permanent) channels is controlled in the.B channelfilefile..TP.B trackSet this value to 0 to disable sending updates to the tracking server.  Anyother number will set the number of seconds between tracking packets.  Try touse a number above 60 seconds unless you know the tracking server administratordoesn't mind being spammed..TP.B trackaddrsSpecify a comma-delimited list of addresses of tracking servers to send updatesto.  The address for the master server is "track.bnetd.org".  A port may bespecified after a colon numerically or by name from.BR /etc/services (5).If a port number is not specified, it defaults to 6114..TP.B locationGive a description of the physical location of the server such as"San Diego, CA, USA".  This is reported to the tracking server..TP.B descriptionGive a description of title or role of the server such as"Joe's Spiffy Server".  This is reported to the tracking server..TP.B urlGive a URL for the homepage or contact for the server such as"http://www.foo.com/joeserv.html".  This is reported to the trackingserver..TP.B contact_nameGive the name of the contact for the server such as "Joe Blockhead".  This isreported to the tracking server..TP.B contact_emailGive the email address of the contact for the server such as "joe@foo.com".This is reported to the tracking server..TP.B use_keepaliveIf this value is set to true, the server will enable the TCP keepalive optionto allow the system to detect stale connections..TP.B servaddrsSpecify the comma-delimited list of addresses the server should listen on.  Aport may be specified after a colon numerically or by name from.BR /etc/services (5).If a port number is not specified, it defaults to 6112..TP.B udptest_portThe UDP port number which is assumed for clients if they don't send SESSIONADDRpackets.  If it is set to zero, the server will use the remote TCP port numberas the default UDP port number..SH SEE ALSO.BR bnetd (1).SH AUTHORRob Crittenden (\fIrob@bnetd.org\fP),Ross Combs (\fIross@bnetd.org\fP)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -