| 1 |
sysadm |
1.1 |
.\"
|
| 2 |
|
|
.\" Copyright (C) 2000 Ross Combs (ross@bnetd.org)
|
| 3 |
|
|
.\"
|
| 4 |
|
|
.\" This is free documentation; you can redistribute it and/or
|
| 5 |
|
|
.\" modify it under the terms of the GNU General Public License as
|
| 6 |
|
|
.\" published by the Free Software Foundation; either version 2 of
|
| 7 |
|
|
.\" the License, or (at your option) any later version.
|
| 8 |
|
|
.\"
|
| 9 |
|
|
.\" The GNU General Public License's references to "object code"
|
| 10 |
|
|
.\" and "executables" are to be interpreted as the output of any
|
| 11 |
|
|
.\" document formatting or typesetting system, including
|
| 12 |
|
|
.\" intermediate and printed output.
|
| 13 |
|
|
.\"
|
| 14 |
|
|
.\" This manual is distributed in the hope that it will be useful,
|
| 15 |
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 16 |
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 17 |
|
|
.\" GNU General Public License for more details.
|
| 18 |
|
|
.\"
|
| 19 |
|
|
.\" You should have received a copy of the GNU General Public
|
| 20 |
|
|
.\" License along with this manual; if not, write to the Free
|
| 21 |
|
|
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
|
| 22 |
|
|
.\" USA.
|
| 23 |
|
|
.\"
|
| 24 |
|
|
.TH BNPROXY 1 "12 June, 2000" "BNETD" "BNETD User's Manual"
|
| 25 |
|
|
.SH NAME
|
| 26 |
|
|
bnproxy \- Battle.net proxy daemon
|
| 27 |
|
|
.SH SYNOPSIS
|
| 28 |
|
|
.B bnproxy
|
| 29 |
|
|
[\fB-f\fP]
|
| 30 |
|
|
[\fB-d\fP \fIdumpfile\fP]
|
| 31 |
|
|
[\fB-l\fP \fIlogfile\fP]
|
| 32 |
|
|
[\fB-p\fP \fIport\fP]
|
| 33 |
|
|
[\fIservername\fP [\fIserverport\fP]]
|
| 34 |
|
|
.BR
|
| 35 |
|
|
.SH DESCRIPTION
|
| 36 |
|
|
.B bnproxy
|
| 37 |
|
|
is a simple daemon which will relay client connections to a Battle.net
|
| 38 |
|
|
server like
|
| 39 |
|
|
.BR bnetd (1).
|
| 40 |
|
|
It has the capability of saving a hexadecimal/ASCII dump of the network
|
| 41 |
|
|
records (packets) into a log file. Someday this command might be useful for
|
| 42 |
|
|
people playing from behind a NAT firewall.
|
| 43 |
|
|
.LP
|
| 44 |
|
|
If no \fIservername\fP is specified, localhost is assumed. If no
|
| 45 |
|
|
\fIserverport\fP is specified, 6112 is assumed.
|
| 46 |
|
|
.SH OPTIONS
|
| 47 |
|
|
.TP
|
| 48 |
|
|
.B \-d --hexdump
|
| 49 |
|
|
Put a hex dump of packets sent and received into the specified file.
|
| 50 |
|
|
.TP
|
| 51 |
|
|
.B \-f --foreground
|
| 52 |
|
|
The server normally acts as a daemon and goes into the background. This forces
|
| 53 |
|
|
the server to run in the foreground.
|
| 54 |
|
|
.TP
|
| 55 |
|
|
.B \-h --help --usage
|
| 56 |
|
|
Print server usage information and exit.
|
| 57 |
|
|
.TP
|
| 58 |
|
|
.B \-l --logfile
|
| 59 |
|
|
Put the event log messages into the specified file.
|
| 60 |
|
|
.TP
|
| 61 |
|
|
.B \-p --port
|
| 62 |
|
|
Listen on the specified TCP and UDP port number.
|
| 63 |
|
|
.TP
|
| 64 |
|
|
.B \-v --version
|
| 65 |
|
|
Causes
|
| 66 |
|
|
.B bnproxy
|
| 67 |
|
|
to print its version number and exit.
|
| 68 |
|
|
.SH NOTES
|
| 69 |
|
|
.TP
|
| 70 |
|
|
The current version is available at:
|
| 71 |
|
|
.LP
|
| 72 |
|
|
.RS
|
| 73 |
|
|
.I http://www.bnetd.org/
|
| 74 |
|
|
.RE
|
| 75 |
|
|
.SH BUGS
|
| 76 |
|
|
No support for dynamic UDP address determination (SESSIONADDR[12] packets) has
|
| 77 |
|
|
been added. Support for multiple clients is broken because the server becomes
|
| 78 |
|
|
confused as to which client to relay UDP server traffic to.
|
| 79 |
|
|
.SH "SEE ALSO"
|
| 80 |
|
|
.BR bnetd (1)
|
| 81 |
|
|
.SH AUTHOR
|
| 82 |
|
|
Ross Combs (\fIross@bnetd.org\fP)
|