30 Apr, 2013

2 commits


23 Sep, 2012

1 commit

  • Exceptions can now be matched and we can branch according to the
    possible cases:

    a. match in the set if the element is not flagged as "nomatch"
    b. match in the set if the element is flagged with "nomatch"
    c. no match

    i.e.

    iptables ... -m set --match-set ... -j ...
    iptables ... -m set --match-set ... --nomatch-entries -j ...
    ...

    Signed-off-by: Jozsef Kadlecsik

    Jozsef Kadlecsik
     

09 Jul, 2012

1 commit


17 May, 2012

1 commit

  • Large timeout parameters could result wrong timeout values due to
    an overflow at msec to jiffies conversion (reported by Andreas Herz)

    [ This patch was mangled by Pablo Neira Ayuso since David Laight and
    Eric Dumazet noticed that we were using hardcoded 1000 instead of
    MSEC_PER_SEC to calculate the timeout ]

    Signed-off-by: Jozsef Kadlecsik
    Signed-off-by: Pablo Neira Ayuso

    Jozsef Kadlecsik
     

22 Jun, 2011

1 commit

  • It was suggested by "make versioncheck" that the follwing includes of
    linux/version.h are redundant:

    /home/jj/src/linux-2.6/net/caif/caif_dev.c: 14 linux/version.h not needed.
    /home/jj/src/linux-2.6/net/caif/chnl_net.c: 10 linux/version.h not needed.
    /home/jj/src/linux-2.6/net/ipv4/gre.c: 19 linux/version.h not needed.
    /home/jj/src/linux-2.6/net/netfilter/ipset/ip_set_core.c: 20 linux/version.h not needed.
    /home/jj/src/linux-2.6/net/netfilter/xt_set.c: 16 linux/version.h not needed.

    and it seems that it is right.

    Beyond manually inspecting the source files I also did a few build
    tests with various configs to confirm that including the header in
    those files is indeed not needed.

    Here's a patch to remove the pointless includes.

    Signed-off-by: Jesper Juhl
    Acked-by: Jozsef Kadlecsik
    Signed-off-by: David S. Miller

    Jesper Juhl
     

17 Jun, 2011

3 commits


13 Apr, 2011

1 commit

  • The SET target with --del-set did not work due to using wrongly
    the internal dimension of --add-set instead of --del-set.
    Also, the checkentries did not release the set references when
    returned an error. Bugs reported by Lennert Buytenhek.

    Signed-off-by: Jozsef Kadlecsik
    Signed-off-by: Patrick McHardy

    Jozsef Kadlecsik
     

01 Feb, 2011

1 commit