[Tech] Come suddivisione il traffico Internet tra piùproviders?
Alessandro Zarrilli
drsound@edisons.it
Mar 12 Set 2000 15:50:46 CEST
Ho appena trovato qualcosa di interessante che forse fa al caso mio. Esiste
qualcosa di simile e di migliore?
DESCRIPTION
Balance is a simple, generic "userland" TCP proxy, which
allows simple round robin load balancing and failover
between serveral destinations.
Balance accepts connections on the given port and forwards
them to the supplied destinations. At least one destina
tion must be specified. If there are two or more destina
tions specified balance performs a simple round robin load
balancing between these destinations.
Hosts may be specified either by its name or by its ip
address. Ports may be specified either alphanumerically
(as in /etc/services) or numerically. If there's no port
specified in a destination the destination port defaults
to the source port that balance controls.
Failover to another destination (a "channel") occurs if
the connection is refused on the current channel or if the
connect timeout is reached trying to establish a connec
tion. If all possible destinations (channels) currently
fail, the initial connection to balance itself is closed
immediately.
EXAMPLES
$ balance smtp host1.test.net host2.test.net
Connection to the local SMTP port will be forwarded
alterating to the SMTP port on host1 and host2.
Balance runs automatically in background.
$ balance -fp imap mailserver
Connections to the local IMAP port will always be
forwarded to the host "mailserver". Balance stays
in foreground and all data is printed in readable
format on stdout.
$ balance -f 8888 host1 10.1.1.1:8000
Connections to the local port 8888 are forwarded
alternating to host1, port 8888 and the host
10.1.1.1, port 8000. Balance stays in foreground
connected to the "controlling tty".
Maggiori informazioni sulla lista
flug-tech