NetSplitter 20021204 review

Download
by rbytes.net on

NetSplitter is a ( user-level ) network load-balance

License: GPL (GNU General Public License)
File size: 12K
Developer: Fabio Yasusi Yamamoto
0 stars award from rbytes.net

NetSplitter is a ( user-level ) network load-balance. It is like a transparent-proxy and will balance ( output ) TCP connections on multiples links.

Linux NAT add/remove code is incomplete. NetSplitter will use the system() function to run the 'iptables' to handle this.

Step 1) IPTABLES

Tell Iptables redirect packets. netfilter will intercept the data.

iptables -t nat -A PREROUTING -i eth0 -p tcp -s 192.168.2.0/24 -j DNAT --to-destination 192.168.2.1:5122

Or use any rule you want. just like a transparent proxy to proxy 5122.

eth0 is the LAN interface
192.168.2.0/24 is the LAN address
192.168.2.1:5122 is the netsplitter address and port.

!! DONT FORGET TO ADD UDP AND ICMP NAT CONFIGURATION !!

- OPTIONAL
LOCAL-NAT

In your iptables rulez:
iptables -t nat -A OUTPUT -p tcp --sport 1024:4999 -j DNAT --to-destination 192.168.1.1:5122

where 1024-4999 are the values in /proc/sys/net/ipv4/ip_local_port_range.
and 192.168.1.1 is the netsplitter address.

Step 2) File Configuration

Config File: /etc/netsplitter.conf

INTERFACE eth0 200.161.76.110 256
INTERFACE eth1 200.212.76.185 256
INTERFACE eth2 200.200.200.200 256
PING 1.1.1.1
PING 2.2.2.2

where:
[eth0] is a internet network link
[200.161.76.110] Is the eth0 network address.
[256] link speed, in kbps.

[1.1.1.1]
[2.2.2.2] A IP address that response to ping. NetSplitter will use this to check if a link is up or down.

What's New in This Release:
20021115 - Linux and BSD working

NetSplitter 20021204 keywords