LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: opened sessions on lvs-nat

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: opened sessions on lvs-nat
From: "Alexandre CASSEN" <alexandre.cassen@xxxxxxxxxxxxxx>
Date: Thu, 18 Oct 2001 15:14:43 +0200
Hi,

You can read connections entries from the proc fs :

in kernel 2.2 : VS_PROC_FILE /proc/net/ip_masq/vs
in kernel 2.4 : VS_PROC_FILE /proc/net/ip_vs

In this file realserver ipaddress entries are stored using "host uint32
bit" definition.

If you want to script connections entries : consider using LVSGSP :
http://linuxvirtualserver.org/~acassen/lvsgsp-0.0.4.tar.gz

regards,
Alexandre


>i dont think it does .... the data get read from the memory directly just
like the command "route" >there might be a script to set it but when you
check with it it reads the routing table from the >kernel [memory]
>>Tanks, but I have one more question:
>>
>>Is it written in any file?




<Prev in Thread] Current Thread [Next in Thread>