27 Jul, 2007

1 commit


15 Jul, 2007

1 commit

  • ipt_connlimit has been sitting in POM-NG for a long time.
    Here is a new shiny xt_connlimit with:

    * xtables'ified
    * will request the layer3 module
    (previously it hotdropped every packet when it was not loaded)
    * fixed: there was a deadlock in case of an OOM condition
    * support for any layer4 protocol (e.g. UDP/SCTP)
    * using jhash, as suggested by Eric Dumazet
    * ipv6 support

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Jan Engelhardt
     

11 Jul, 2007

6 commits


25 May, 2007

2 commits

  • 1. Add support for decoding IPv6 address. I know it was manually added in
    the header file, but not in the template file. That wouldn't work.
    2. Add missing support for decoding T.120 address in OLCA.
    3. Remove unnecessary decoding of Information signal.

    Signed-off-by: Jing Min Zhao
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Jing Min Zhao
     
  • When the packet size is changed by the FTP NAT helper, the connection
    tracking helper adjusts the sequence number of the newline character
    by the size difference. This is wrong because NAT sequence number
    adjustment happens after helpers are called, so the unadjusted number
    is compared to the already adjusted one.

    Based on report by YU, Haitao

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     

11 May, 2007

1 commit


03 May, 2007

1 commit

  • While porting some changes of the 2.6.21-rc7 pptp/proto_gre conntrack
    and nat modules to a 2.4.32 kernel I noticed that the gre_key function
    returns a wrong pointer to the GRE key of a version 0 packet thus
    corrupting the packet payload.

    The intended behaviour for GREv0 packets is to act like
    nf_conntrack_proto_generic/nf_nat_proto_unknown so I have ripped the
    offending functions (not used anymore) and modified the
    nf_nat_proto_gre modules to not touch version 0 (non PPTP) packets.

    Signed-off-by: Jorge Boncompte
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Jorge Boncompte
     

26 Apr, 2007

4 commits

  • The error pointer argument in netlink message handlers is used
    to signal the special case where processing has to be interrupted
    because a dump was started but no error happened. Instead it is
    simpler and more clear to return -EINTR and have netlink_run_queue()
    deal with getting the queue right.

    nfnetlink passed on this error pointer to its subsystem handlers
    but only uses it to signal the start of a netlink dump. Therefore
    it can be removed there as well.

    This patch also cleans up the error handling in the affected
    message handlers to be consistent since it had to be touched anyway.

    Signed-off-by: Thomas Graf
    Signed-off-by: David S. Miller

    Thomas Graf
     
  • So that it is also an offset from skb->head, reduces its size from 8 to 4 bytes
    on 64bit architectures, allowing us to combine the 4 bytes hole left by the
    layer headers conversion, reducing struct sk_buff size to 256 bytes, i.e. 4
    64byte cachelines, and since the sk_buff slab cache is SLAB_HWCACHE_ALIGN...
    :-)

    Many calculations that previously required that skb->{transport,network,
    mac}_header be first converted to a pointer now can be done directly, being
    meaningful as offsets or pointers.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: David S. Miller

    Arnaldo Carvalho de Melo
     
  • This patch let userspace programs set the IP_CT_TCP_BE_LIBERAL flag to
    force the pickup of established connections.

    Signed-off-by: Pablo Neira Ayuso
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Pablo Neira Ayuso
     
  • Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     

09 Feb, 2007

3 commits


10 Jan, 2007

1 commit


07 Dec, 2006

1 commit


03 Dec, 2006

13 commits


16 Nov, 2006

1 commit

  • 66 and 67 for getsockopt on IPv6 socket is doubly used for IPv6 Advanced
    API and ip6tables. This moves numbers for ip6tables to 68 and 69.
    This also kills XT_SO_* because {ip,ip6,arp}_tables doesn't have so much
    common numbers now.

    The old userland tools keep to behave as ever, because old kernel always
    calls functions of IPv6 Advanced API for their numbers.

    Signed-off-by: Yasuyuki Kozakai
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Yasuyuki Kozakai
     

25 Sep, 2006

2 commits


23 Sep, 2006

3 commits