Skip to contentSkip to conversation

moving ipvs() to POST/PREROUTING- was: Real servers as LVS clients

DISCUSSION Joseph Mack NA3T 3 participants 5 messages Apr 10, 2008 4 messages not in the archive IPVS

lore
Share & tools
lore
#4 lore raw
In reply to a message not in the archive

On Thu, 10 Apr 2008, Jason Stubbs wrote:

Hi Jason,

I'm moving this thread to the lvs-devel list.

(http://lists.graemef.net/mailman/listinfo/lvs-devel, in case you aren't subscribed)

Quoted 1 line
Quoted 1 line

Moving ip_vs_in to the end of POSTROUTING and moving ip_vs_out to the start of PREROUTING as in the attached patch seems to work and lets me do what I want. LVS-NAT and SNAT are working both independently and in conjunction to allow connections to VIPs from anywhere.

There's an effort to move ipvs() out of LOCAL_IN. Horms is coordinating the patches, but he's just moved from Japan to Sydney and will be even busier than he's been previously.

Quoted 5 lines

Well, SNAT works independently and LVS-NAT works in conjuction with SNAT but LVS-NAT isn't working on its own. I'll look into this and try and fix it, but the questions below still stand. :)

Quoted 3 lines

I haven't tested LVS-DR, LVS-TUN or localnode (although I think localnode should still work) and am not so worried if they don't work. Are there any other issues likely to arise with this patch? Is there any reason why LVS didn't hook into (or near) those places in the first place?

I understand that it'll likely never be accepted because it'd break pretty much every existing installation (VIP on an interface would not make it to IPVS)...

We're going to do it whether it breaks everything or not. It needs to be done.

Joe

Signature · 4 lines
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
#5 lore raw
Quoted 4 lines · On Thu, 2008-04-10 at 07:09 -0700, Joseph Mack NA3T wrote:

I'm moving this thread to the lvs-devel list.

(http://lists.graemef.net/mailman/listinfo/lvs-devel, in case you aren't subscribed)

Correction: lvs-devel has been hosted at kernel.org for some months. To subscribe, send a message to [email protected] with "subscribe lvs-devel" in the body of the message.

Now, back to the film ;-)

#6 lore raw
Quoted 4 lines · Graeme Fowler
Quoted 2 lines

(http://lists.graemef.net/mailman/listinfo/lvs-devel, in case you aren't subscribed)

Correction: lvs-devel has been hosted at kernel.org for some months. To subscribe, send a message to [email protected] with "subscribe lvs-devel" in the body of the message.

Thanks. I picked up the above url from the lvs-users mailing list archive and got to the web page above, which looks very alive. Can you put some message there directing people to the right place?

Thanks Joe

Signature · 4 lines
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
#7 lore raw
In reply to Joseph Mack NA3T
Quoted 8 lines · On Thursday 10 April 2008 23:09:45 JST, Joseph Mack NA3T wrote:

On Thu, 10 Apr 2008, Jason Stubbs wrote:

Hi Jason,

I'm moving this thread to the lvs-devel list.

(http://lists.graemef.net/mailman/listinfo/lvs-devel, in case you aren't subscribed)

Yep, I subscribed before posting the LC patches.

Quoted 9 lines
Quoted 5 lines
Quoted 5 lines

Moving ip_vs_in to the end of POSTROUTING and moving ip_vs_out to the start of PREROUTING as in the attached patch seems to work and lets me do what I want. LVS-NAT and SNAT are working both independently and in conjunction to allow connections to VIPs from anywhere.

There's an effort to move ipvs() out of LOCAL_IN. Horms is coordinating the patches, but he's just moved from Japan to Sydney and will be even busier than he's been previously.

I'll be doing the same in January. ;)

I'd like to look at what patches are currently available. Is there somewhere I can find them? I can probably spend up to a week full-time on getting things working in at least the -NAT case - if they aren't already. At the very least, I'm happy to provide a(nother) test bed for changes into the future.

--
Jason Stubbs
(Working from home at 23:57)

#8 lore raw
Quoted 1 line · Jason Stubbs

Yep, I subscribed before posting the LC patches.

OK found your first posting. I had a quick look last time, but missed you.

Quoted 5 lines
Quoted 3 lines

There's an effort to move ipvs() out of LOCAL_IN. Horms is coordinating the patches, but he's just moved from Japan to Sydney and will be even busier than he's been previously.

I'll be doing the same in January. ;)

I take it that you know Horms then :-)

Quoted 1 line

I'd like to look at what patches are currently available. Is there somewhere I can find them?

I've been leaving it to Horms to keep track of the patches, but he's been too busy to incorporate them.

Horms,

Do you have the patches for moving ipvs() from
LOCAL_IN (possibly including your code from a few years back). All the recent code, that I know about, came from Janusz and Raphael.

Janusz, Raphael,

Jason wants to have a go at moving ipvs() from
LOCAL_IN. Can you send him your current set of patches? I can bounce him the patches that you've sent to lvs-devel if that's not convenient. I don't know if I have the complete or current patches.

Quoted 1 line

I can probably spend up to a week full-time on getting things working in at least the -NAT case - if they aren't already. At the very least, I'm happy to provide a(nother) test bed for changes into the future.

thanks. That would be great. Let me know if you don't get code in the next couple of days.

Quoted 1 line

(Working from home at 23:57)

You're 11 hours back from me.

Joe

Signature · 4 lines
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!