netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/7] ipvs: IPv6 fragment handling for IPVS
@ 2012-09-26 12:05 Jesper Dangaard Brouer
  2012-09-26 12:05 ` [PATCH V4 1/7] ipvs: Trivial changes, use compressed IPv6 address in output Jesper Dangaard Brouer
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Jesper Dangaard Brouer @ 2012-09-26 12:05 UTC (permalink / raw)
  To: Hans Schillstrom, Hans Schillstrom, netdev, Pablo Neira Ayuso,
	lvs-devel, Julian Anastasov
  Cc: Jesper Dangaard Brouer, Patrick McHardy, Thomas Graf,
	Wensong Zhang, netfilter-devel, Simon Horman

The following patchset implement IPv6 fragment handling for IPVS.

This work is based upon patches from Hans Schillstrom.  I have taken
over the patchset, in close agreement with Hans, because he don't have
(gotten allocated) time to complete his work.

I have cleaned up the patchset significantly, and split the patchset
up into seven patches.

The first 3 patches, are ready to be merged

 Patch01: Trivial changes, use compressed IPv6 address in output
 Patch02: IPv6 extend ICMPv6 handling for future types
 Patch03: Use config macro IS_ENABLED()

The next 4 patches, is V4 of the patches I have submitted earlier.
Where I have incorporated Julian's recent feedback.

- Notice that patch04 of patchset V3, have been dropped.

I have also tried to make the patches easier to review, by
reorganizing the changes, to be more strictly split (exthdr
vs. fragment handling).

I have also removed the API changes, and moved those to patch06.  This
is done, (1) to make it easier to review the patches, and (2) to allow
easier integration of Patricks idea and my RFC patch of caching exthdr
info in skb->cb[].  Thus, we can get these patches applied (and later
go back and apply the caching scheme easier).

 Patch04: Fix faulty IPv6 extension header handling in IPVS
 Patch05: Complete IPv6 fragment handling for IPVS
 Patch06: IPVS API change to avoid rescan of IPv6 exthdr
 Patch07: IPVS SIP fragment handling

The SIP frag handling have been split into its own patch, as I have
not been able to test this part my self.

This patchset is based upon:
  Pablo's nf-next tree:  git://1984.lsi.us.es/nf-next
  On top of:
    commit 2cbc78a29e76a2e92c172651204f3117491877d2
    (netfilter: combine ipt_REDIRECT and ip6t_REDIRECT)

---

Jesper Dangaard Brouer (7):
      ipvs: SIP fragment handling
      ipvs: API change to avoid rescan of IPv6 exthdr
      ipvs: Complete IPv6 fragment handling for IPVS
      ipvs: Fix faulty IPv6 extension header handling in IPVS
      ipvs: Use config macro IS_ENABLED()
      ipvs: IPv6 extend ICMPv6 handling for future types
      ipvs: Trivial changes, use compressed IPv6 address in output


 include/net/ip_vs.h                     |  194 +++++++++++----
 net/netfilter/ipvs/Kconfig              |    7 -
 net/netfilter/ipvs/ip_vs_conn.c         |   15 -
 net/netfilter/ipvs/ip_vs_core.c         |  404 +++++++++++++++++--------------
 net/netfilter/ipvs/ip_vs_dh.c           |    2 
 net/netfilter/ipvs/ip_vs_lblc.c         |    2 
 net/netfilter/ipvs/ip_vs_lblcr.c        |    2 
 net/netfilter/ipvs/ip_vs_pe_sip.c       |   21 +-
 net/netfilter/ipvs/ip_vs_proto.c        |    6 
 net/netfilter/ipvs/ip_vs_proto_ah_esp.c |    9 -
 net/netfilter/ipvs/ip_vs_proto_sctp.c   |   42 +--
 net/netfilter/ipvs/ip_vs_proto_tcp.c    |   40 +--
 net/netfilter/ipvs/ip_vs_proto_udp.c    |   41 +--
 net/netfilter/ipvs/ip_vs_sched.c        |    2 
 net/netfilter/ipvs/ip_vs_sh.c           |    2 
 net/netfilter/ipvs/ip_vs_xmit.c         |   73 +++---
 net/netfilter/xt_ipvs.c                 |    4 
 17 files changed, 504 insertions(+), 362 deletions(-)


--
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Sr. Network Kernel Developer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH V4 0/7] ipvs: IPv6 fragment handling for IPVS
@ 2012-09-28 18:21 Hans Schillstrom
  0 siblings, 0 replies; 12+ messages in thread
From: Hans Schillstrom @ 2012-09-28 18:21 UTC (permalink / raw)
  To: Jesper Dangaard Brouer, Pablo Neira Ayuso, Julian Anastasov,
	Simon Horman, davem
  Cc: lvs-devel, Patrick McHardy, Thomas Graf, Wensong Zhang,
	netfilter-devel

Hello
>Subject: [PATCH V4 0/7] ipvs: IPv6 fragment handling for IPVS
>
>The following patch set implement IPv6 fragment handling for IPVS.

I've been running this patch set for a while now I seems to work well.

Netns tests with 4k nets ns have passed without problems (nothing left on loopback)

All tcp/udp fragment test - OK
sctp  didn't pass but that is not related to IPVS.
esp/ah  not affected by this patch, basic tests works fine.
ipvs sync (backup)  - OK

IPv4 DR, Tunnel, NAT - OK
IPv6 DR, Tunnel OK  
IPv6 NAT and Patrick's IPv6 NAT seems to work, however SIP or sipp doesn''t like IPv6 NAT yet

ICMPv6 - "packet to big" works except for
pmtu when using esp/ah, but that didn't work without the patch set either. 

Performance: No noticeable effects

My recommendation is that this patch set OK for inclusion in 3.7 

Thanks for a great work Jesper.

All seven patches:
Acked-by: Hans Schillstrom <hans@schillstrom.com>

Regards
Hans 


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-09-28 18:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26 12:05 [PATCH V4 0/7] ipvs: IPv6 fragment handling for IPVS Jesper Dangaard Brouer
2012-09-26 12:05 ` [PATCH V4 1/7] ipvs: Trivial changes, use compressed IPv6 address in output Jesper Dangaard Brouer
2012-09-26 12:06 ` [PATCH V4 2/7] ipvs: IPv6 extend ICMPv6 handling for future types Jesper Dangaard Brouer
2012-09-26 12:06 ` [PATCH V4 3/7] ipvs: Use config macro IS_ENABLED() Jesper Dangaard Brouer
2012-09-26 12:06 ` [PATCH V4 4/7] ipvs: Fix faulty IPv6 extension header handling in IPVS Jesper Dangaard Brouer
2012-09-26 12:06 ` [PATCH V4 5/7] ipvs: Complete IPv6 fragment handling for IPVS Jesper Dangaard Brouer
2012-09-26 12:07 ` [PATCH V4 6/7] ipvs: API change to avoid rescan of IPv6 exthdr Jesper Dangaard Brouer
2012-09-26 12:07 ` [PATCH V4 7/7] ipvs: SIP fragment handling Jesper Dangaard Brouer
2012-09-28  2:43   ` Simon Horman
2012-09-26 20:50 ` [PATCH V4 0/7] ipvs: IPv6 fragment handling for IPVS Julian Anastasov
2012-09-27  8:46   ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2012-09-28 18:21 Hans Schillstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).