for aol traffic i'm doing this:
#http://webmaster.info.aol.com/proxyinfo.html
#insert all hosts from above, sample:
AOLPROXY="64.12.96.0/19"
for aolproxys in $AOLPROXY ; do
iptables -t mangle -A PREROUTING -p tcp -s $aolproxys -d VirtualIP/32
--dport 80 -j MARK --set-mark 1
done
ipvsadm -A -f 1 -s wrr -p 3600 -M 255.255.255.0
ipvsadm -a -f 1 -r RealIP -g
#=> All listed AOL traffic ois now going to 'RealIP'
Matthias
-----Original Message-----
From: Francois JEANMOUGIN [mailto:Francois.JEANMOUGIN@xxxxxxxxxxxxxxxxx]
Sent: Dienstag, 30. Dezember 2003 14:54
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: fwmarks usage
Hi all,
Probably, I missed something. Here is the problem :
For some sites, I need to use persistent connections. The problem comes with
AOL clients. AOL make the IPs rotate very fast using several /8 or /16. I
though I could use fwmark to, say, register all the AOL classes and make
them all use the same realserver (if available).
Is there a way to do it ?
Thanks,
François.
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx Send
requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|