History log of /external/iptables/extensions/libxt_connlimit.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
27adf1ec123b949f1c7b48fbdef67d1d4ed18901 01-May-2011 Jan Engelhardt <jengelh@medozas.de> libxt_connlimit: use guided option parser

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
73866357e4a7a0fdc1b293bf8863fee2bd56da9e 18-Dec-2010 Jan Engelhardt <jengelh@medozas.de> iptables: do not print trailing whitespaces

Due to the use of printf("foobar "), iptables emits spaces at the
end-of-line, which looks odd to some users because it causes the
terminal to wrap even if there is seemingly nothing to print.

It may also have other points of annoyance, such as mailers
interpreting a trailing space as an indicator that the paragraph
continues when format=flowed is also on.
And git highlights trailing spaces in red, so let's avoid :)

Preexisting inconsistencies in outputting spaces in the right
spot are also addressed right away.

References: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429579
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
5da9e63f66ca190cb90193ebb9eebf5aa523b4d1 19-Jan-2011 Jan Engelhardt <jengelh@medozas.de> libxt_connlimit: support for dstaddr-supporting revision 1

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
2cae5334de3a817947742e0b466355e5f5566474 18-Jan-2011 Jan Engelhardt <jengelh@medozas.de> libxt_connlimit: add a --connlimit-upto option

Direct specifications like "upto" are easier to grasp than "not
above". This patch adds such an upto variant similar to what
libxt_hashlimit already has.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
8d5e773508b154dcfa8d866f68f64ef1ad773957 18-Jan-2011 Jan Engelhardt <jengelh@medozas.de> libxt_connlimit: reword help text to say prefix length

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
d09b6d591ca7d7d7575cb6aa20384c9830f777ab 08-Jan-2011 Jan Engelhardt <jengelh@medozas.de> extensions: remove no longer necessary default: cases

Match and target parse functions now only get option characters they
have defined themselves.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
7ac405297ec38449b30e3b05fd6bf2082fd3d803 07-Jan-2011 Jan Engelhardt <jengelh@medozas.de> src: use C99/POSIX types

"u_int" was a non-standardized extension predating C99 on some platforms.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
32b8e61e4e5bd405d9ad07bf9468498dfbb19f9e 23-Jul-2010 Jan Engelhardt <jengelh@medozas.de> all: consistent syntax use in struct option

Try to inhibit copypasting old stuff.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
bbe83862a5e1baf15f7c923352d4afdf59bc70e2 24-Oct-2009 Jan Engelhardt <jengelh@medozas.de> iptables/extensions: make bundled options work again

When using a bundled option like "-ptcp", 'argv[optind-1]' would
logically point to "-ptcp", but this is obviously not right.
'optarg' is needed instead, which if properly offset to "tcp".

Not all places change optind-based access to optarg; where
look-ahead is needed, such as for tcp's --tcp-flags option for
example, optind is ok.

References: http://bugzilla.netfilter.org/show_bug.cgi?id=611
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
bf97128c7262f17a02fec41cdae75b472ba77f88 03-Nov-2009 Jan Engelhardt <jengelh@medozas.de> libxtables: hand argv to xtables_check_inverse

In going to fix NF bug #611, "argv" is needed in
xtables_check_inverse to set "optarg" to the right spot in case of an
intrapositional negation.

References: http://bugzilla.netfilter.org/show_bug.cgi?id=611
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
f2a77520693f0a6dd1df1f87be4b81913961c1f5 25-Jun-2009 Jan Engelhardt <jengelh@medozas.de> extensions: collapse data variables to use multi-reg calls

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
a3726818e07d47136010f09762637a3e597329e3 07-Jun-2009 kd6lvw <kd6lvw@yahoo.com> libxt_connlimit: initialize v6_mask

When converting "--connlimit-mask $bits" to a 128-bit v6 mask, the
code uses a left shift on v6_mask[n]. This requires v6_mask to be
filled with all one-bits beforehand, but this initialization was not
done.

References: http://bugzilla.netfilter.org/show_bug.cgi?id=597
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
1829ed482efbc8b390cc760d012b3a4450494e1a 21-Feb-2009 Jan Engelhardt <jengelh@medozas.de> libxtables: prefix exit_error to xtables_error

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
0f16c725aadaac7e670d632ecbaea3661ff00827 30-Jan-2009 Jan Engelhardt <jengelh@medozas.de> libxtables: prefix/order - move check_inverse to xtables.c

This also adds a warning that intrapositional negation support
is deprecated.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libxt_connlimit.c
5d9678ad3eabc34ac40dfe055d7f6a8e44445a5a 20-Nov-2008 Jan Engelhardt <jengelh@medozas.de> src: remove inclusion of iptables.h

iptables.h and ip6tables.h only include declarations internal to
iptables (specifically iptables.c and ip6tables.c), as most of the
public API has been moved to xtables.h a few months ago.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iptables/extensions/libxt_connlimit.c
03d99486d8283552705b58dc55b6085dffc38792 18-Nov-2008 Jan Engelhardt <jengelh@medozas.de> src: use NFPROTO_ constants

Resync netfilter.h from the latest kernel and make use of the new
NFPROTO_ constants that have been introduced.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iptables/extensions/libxt_connlimit.c
a2a7f2b531cc582ab6cc3c2b73715ed1d58b9eab 01-Sep-2008 Jan Engelhardt <jengelh@medozas.de> src: use regular includes

iptables ships with all header files and prioritized its own include
directory over /usr/include/linux, so just use the normal brackets.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iptables/extensions/libxt_connlimit.c
8b7c64d6ba156a99008fcd810cba874c73294333 15-Apr-2008 Jan Engelhardt <jengelh@medozas.de> Remove old functions, constants
/external/iptables/extensions/libxt_connlimit.c
9ee386a1b6d7704b259460152c959ab0e79e02aa 29-Jan-2008 Max Kellermann <max@duempel.org> fix gcc warnings

Max Kellermann <max@duempel.org>
/external/iptables/extensions/libxt_connlimit.c
e33bf8eb6467d8d3acf16efa65b09844aea59824 28-Nov-2007 Patrick McHardy <kaber@trash.net> Fix connlimit output for inverted --connlimit-above: ! > is <=, not <
/external/iptables/extensions/libxt_connlimit.c
181dead3f13befe02769ef479bcbb51801b7fc4e 04-Oct-2007 Jan Engelhardt <jengelh@medozas.de> Unique symbols 1/6

Give symbols of libxt matches unique names (1/3).

Adds unique prefixes to all functions (most of them - especially the hook
functions) so that debugging programs can unambiguously map a symbol to an
address. Also unifies the names of the xtables_match/xtables_target structs,
(based upon libxt_connmark.c/libip6t_*.c).

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libxt_connlimit.c
926bde877f8182e7db4d057969dc8293e81fd6cf 04-Oct-2007 Jan Engelhardt <jengelh@medozas.de> No ipt in xt

Cease using ipt_entry_match (replaced by xt_entry_match).

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libxt_connlimit.c
ea146a982e26c42f9954f140276f8deeb2edbe98 02-Sep-2007 Peter Riley <Peter.Riley@hotpop.com> Remove last vestiges of NFC (Peter Riley <Peter.Riley@hotpop.com>)
/external/iptables/extensions/libxt_connlimit.c
6053fe00dda962fbabe158291a88b1a92aadc215 31-Jul-2007 Jan Engelhardt <jengelh@medozas.de> Moves libip{,6}t_connlimit to libxt.
Also fixes an option parsing bug (connlimit_parse() may receive
a 'c' that is not from the connlimit options table).

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libxt_connlimit.c