1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-05 12:17:56 +00:00

bind ListenAddress for outgoing connections

ngircd would always use INADDR_ANY for outgoing connections;
which might not be desirable. Added new [Server] option
"Bind" to set source ip.
This commit is contained in:
Florian Westphal
2007-11-23 16:26:03 +00:00
parent 024588dbe7
commit 82d32ffb28
7 changed files with 98 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
# $Id: sample-ngircd.conf,v 1.42 2007/11/21 12:16:35 alex Exp $
# $Id: sample-ngircd.conf,v 1.43 2007/11/23 16:26:03 fw Exp $
#
# This is a sample configuration file for the ngIRCd, which must be adepted
@@ -154,6 +154,10 @@
# this server should establish the connection).
;Host = connect-to-host.the.net
# IP address to use as _source_ address for the connection. if unspecified,
# ngircd will let the operating system pick an address.
;Bind = 10.0.0.1
# Port of the server to which the ngIRCd should connect. If you
# assign no port the ngIRCd waits for incoming connections.
;Port = 6667