Код: Выделить всё
# uname -psr
FreeBSD 7.0-RELEASE i386
# pkg_info | grep pvpgn
pvpgn-1.8.2 Free Blizzard Battle.net emulation software
Код: Выделить всё
# cat bnetd.conf
...
##############################################################################
# Client verification and upgrades #
#----------------------------------------------------------------------------#
# This option lists the client types allowed to connect (only valid for
# the bnet protocol). The list is a comma separated list of any of the
# following elements:
# all : all client types allowed (default)
# chat : client type "CHAT" allowed (used by some bot software)
# dshr : client type Diablo 1 Shareware
# drtl : client type Diablo 1 (Retail)
# sshr : client type Starcraft Shareware
# star : client type Starcraft
# sexp : client type Starcraft Broodwar
# w2bn : client type Warcraft II Battle.Net Edition
# d2dv : client type Diablo 2
# d2xp : client type Diablo 2 LOD
# war3 : client type Warcraft III (Reign Of Chaos)
# w3xp : client type Warcraft III Frozen Throne
#
# Example: allowed_clients = war3,w3xp
allowed_clients = all
# If this option is enabled, the verification step is skipped if possible.
# This only works with clients < 109. It is useful because you no longer
# need any of the IX86AUTH?.MPQ and PMACAUTH?.MPQ files. Note that it will
# also skip over all the autoupdate checks effectively disabling it.
#
# If you disable this you must have one or more of the MPQ files. Otherwise
# clients will hang when they first connect because they are attempting to
# download them. The versioncheck can only be skipped for clients older
# than 109. Starting with version 109 the clients will always do version
# checking since they do not function properly if the server does not
# request it.
skip_versioncheck = true
# If you enable the version checks but want to allow clients that don't pass
# the checksum test then enable this.
allow_bad_version = false
# If you enable the version checks but want to allow clients that aren't
# listed in the versioncheck configuration file then enable this. Unless
# you have a very complete file or are very paranoid about cheaters this
# is a good idea.
allow_unknown_version = true
# This defines how the exeinfo field in the versioncheck file is being
# checked. You can choose between no match at all [none] (default),
# exact match [exact], exact case-sensitive match [exactcase], dumb wildcard
# match [wildcard], and parsed value comparison [parse].
# NOTE: [parse] needs the mktime() function and might therefore not work on
# every system.
version_exeinfo_match = none
# If you have choosen [parse] above, this is the tolerance with which
# the time can differ. The value must be given in seconds. If it's 0 this
# check is disabled.
version_exeinfo_maxdiff = 0
# #
##############################################################################
...
Код: Выделить всё
# tail -n 30 bnetd.log
Dec 29 20:07:16 [trace] conn_shutdown: [9] connection allready closed
Dec 29 20:07:16 [debug] conn_set_class: added latency check timer
Dec 29 20:07:16 [debug] _client_countryinfo109: [9] COUNTRYINFO_109 packet tzbias=0xfffffe5c(-420) lcid=1049 langid=1049 arch="IX86" client="W3XP" versionid=0x00000015 gamelang="ruRU"
Dec 29 20:07:16 [debug] _client_countryinfo109: [9] COUNTRYINFO_109 packet from "Russia" "RUS"
Dec 29 20:07:16 [info ] conn_set_archtag: [9] setting client arch to "IX86"
Dec 29 20:07:16 [info ] conn_set_clienttag: [9] setting client type to "W3XP"
Dec 29 20:07:16 [info ] conn_set_gamelang: [9] setting client gamelang to "ruRU"
Dec 29 20:07:16 [debug] _client_countryinfo109: [9] selecting version check
Dec 29 20:07:16 [debug] versioncheck_create: version check entry archtag=IX86, clienttag=W3XP
Dec 29 20:07:16 [debug] _client_countryinfo109: [9] selected "IX86ver1.mpq" "A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B"
Dec 29 20:07:16 [debug] sd_tcpinput: [9] read returned -1 (closing connection)
Dec 29 20:07:16 [info ] conn_destroy: [9] closed bnet connection
Dec 29 20:08:22 [debug] ipbanlist_check: lastcheck: 1230556036, now: 1230556102, now-lc: 66.
Dec 29 20:08:22 [debug] ipbanlist_check: checking 62.231.168.158
Dec 29 20:08:22 [info ] sd_accept: [9] accepted connection from 62.231.168.158:54325 on 0.0.0.0:6112
Dec 29 20:08:22 [info ] conn_create: [9][6] sessionkey=0x29ef4f7f sessionnum=0x00000001
Dec 29 20:08:22 [debug] sd_accept: [9] client connected to a bnet listening address
Dec 29 20:08:22 [info ] handle_init_packet: [9] client initiated bnet connection
Dec 29 20:08:22 [trace] conn_shutdown: [9] connection allready closed
Dec 29 20:08:22 [debug] conn_set_class: added latency check timer
Dec 29 20:08:23 [debug] _client_countryinfo109: [9] COUNTRYINFO_109 packet tzbias=0xfffffe5c(-420) lcid=1049 langid=1049 arch="IX86" client="W3XP" versionid=0x00000015 gamelang="ruRU"
Dec 29 20:08:23 [debug] _client_countryinfo109: [9] COUNTRYINFO_109 packet from "Russia" "RUS"
Dec 29 20:08:23 [info ] conn_set_archtag: [9] setting client arch to "IX86"
Dec 29 20:08:23 [info ] conn_set_clienttag: [9] setting client type to "W3XP"
Dec 29 20:08:23 [info ] conn_set_gamelang: [9] setting client gamelang to "ruRU"
Dec 29 20:08:23 [debug] _client_countryinfo109: [9] selecting version check
Dec 29 20:08:23 [debug] versioncheck_create: version check entry archtag=IX86, clienttag=W3XP
Dec 29 20:08:23 [debug] _client_countryinfo109: [9] selected "IX86ver1.mpq" "A=3845581634 B=880823580 C=1363937103 4 A=A-S B=B-C C=C-A A=A-B"
Dec 29 20:08:23 [debug] sd_tcpinput: [9] read returned -1 (closing connection)
Dec 29 20:08:23 [info ] conn_destroy: [9] closed bnet connection