History log of /external/iptables/extensions/libipt_MASQUERADE.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e62f426c7ead7c0025d15860df97426db6509942 22-Aug-2012 Patrick McHardy <kaber@trash.net> Convert the NAT targets to use the kernel supplied nf_nat.h header

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
/external/iptables/extensions/libipt_MASQUERADE.c
bf07750fd4fc5f5e603e59e72d62696d2389e9b3 08-May-2011 Jan Engelhardt <jengelh@medozas.de> libipt_MASQUERADE: use guided option parser

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_MASQUERADE.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/libipt_MASQUERADE.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/libipt_MASQUERADE.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/libipt_MASQUERADE.c
7278461dfad72e2008585dd0bac0e889e5bba99e 20-May-2010 Dmitry V. Levin <ldv@altlinux.org> extensions: MASQUERADE: fix --to-ports parser

Rewrite port range validator to use xtables_strtoui() and
xtables_param_act(). Original check failed to recognize
such port range errors as "1a-2" and "1-2a".
Also, original parser erroneously denied using port 0,
which is now allowed.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iptables/extensions/libipt_MASQUERADE.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/libipt_MASQUERADE.c
69f564e3890976461de0016cd81171ff8bfa8353 26-May-2009 Jan Engelhardt <jengelh@medozas.de> extensions: add const qualifiers in print/save functions

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_MASQUERADE.c
4e41854423b529d3107c23b85434d50a75d08057 21-Feb-2009 Jan Engelhardt <jengelh@medozas.de> extensions: add missing limits.h include

Thanks to Stephen Hemminger for noticing.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_MASQUERADE.c
978e27e8f8c2e49d0528c6c4ae3a56627fbe8492 21-Feb-2009 Jan Engelhardt <jengelh@medozas.de> include: resynchronize headers with 2.6.29-rc5

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_MASQUERADE.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/libipt_MASQUERADE.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/libipt_MASQUERADE.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/libipt_MASQUERADE.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/libipt_MASQUERADE.c
5a942f9501f7ce287e1c37c553eb02a1e269e081 04-Nov-2008 Patrick McHardy <kaber@trash.net> Add SCTP/DCCP support to NAT targets

Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iptables/extensions/libipt_MASQUERADE.c
ddac6c5bc636003d664d25c08ea3fe176565096c 01-Sep-2008 Jan Engelhardt <jengelh@medozas.de> src: Update comments

A number of comments are redundant, some outdated and others outright
wrong in their own way. Remove and fixup.

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

Max Kellermann <max@duempel.org>
/external/iptables/extensions/libipt_MASQUERADE.c
1d5b63d12984d12c8d87242179855e17657be16d 04-Oct-2007 Jan Engelhardt <jengelh@medozas.de> Unique names 4/6

Give symbols of libxt targets unique names (2/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/libipt_MASQUERADE.c
830132ac9c0d270bf9dcfe85c2464e3fe8c73fb9 04-Oct-2007 Jan Engelhardt <jengelh@medozas.de> Delete empty ->final_check() functions

Deletes empty ->final_check() functions, and makes ip[6]tables
checks for NULL on these.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libipt_MASQUERADE.c
d3daa435a4790111ac6d6d0b0da2721081160341 04-Oct-2007 Jan Engelhardt <jengelh@medozas.de> Remove stray NULLs

Mixing member accessors (non-named vs named) is not good.
Remove stray NULL.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libipt_MASQUERADE.c
500f483fff529dcd88ec96b9d5054be6cd6363a0 08-Sep-2007 Patrick McHardy <kaber@trash.net> Fix sparse warnings: non-ANSI function declarations, 0 used as pointer
/external/iptables/extensions/libipt_MASQUERADE.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/libipt_MASQUERADE.c
661f112072bc13a1625c4eb5983695e122ea97da 30-Jul-2007 Jan Engelhardt <jengelh@medozas.de> Make the option structures const.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libipt_MASQUERADE.c
ac8b2718daf8a79a59b181f6e62495f307ae86b9 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Fixes warning on compilation, part 2

This changes the type of arguments as follows in multiport, DNAT, SNAT,
MASQUERADE, and REDIRECT

- ip[6]t_ip[6] * -> void *
- ip[6]t_entry * -> void *

and adds lines to cast these pointer with intended type.
/external/iptables/extensions/libipt_MASQUERADE.c
193df8ee3507f0c02762c88a16916c4ea950bd99 24-Jul-2007 Yasuyuki KOZAKAI <yasuyuki@netfilter.org> Replaces ipt_entry_* with xt_entry_* in matches/targets
/external/iptables/extensions/libipt_MASQUERADE.c
9c67defe98f04f72f19dfd09c8030e1de4b8bf0f 18-Apr-2007 Patrick McHardy <kaber@trash.net> Fix iptables-save with --random option
/external/iptables/extensions/libipt_MASQUERADE.c
e656e265bc67a55f6e51aa07118f96c058a97798 18-Apr-2007 Patrick McHardy <kaber@trash.net> Remove unnecessary IP_NAT_RANGE_PROTO_RANDOM ifdefs.
/external/iptables/extensions/libipt_MASQUERADE.c
40d54756cd8a2705e22b36f7aef03bb2c472a10b 18-Apr-2007 Patrick McHardy <kaber@trash.net> Use nf_conntrack headers instead of ip_conntrack ones and add sanitized versions.
/external/iptables/extensions/libipt_MASQUERADE.c
ae4b0b3aa70c67f2eff303a3e75834e45c3794a7 24-Feb-2007 Eric Leblond <eric@inl.fr> iptables: add random option to SNAT (Eric Leblond)
/external/iptables/extensions/libipt_MASQUERADE.c
36d870c76621b94d51816d09eb8fd05e0fb0a0ab 22-Jul-2005 Patrick McHardy <kaber@trash.net> Fix NAT of ICMP ID ranges (Patrick McHardy)
/external/iptables/extensions/libipt_MASQUERADE.c
8115e5425721cd610b6390c3d4c24540773b0520 14-Feb-2005 Pablo Neira <pablo@eurodev.net> Kill NFC_* stuff in iptables (Pablo Neira <pablo@eurodev.net>)
Fixes build with conntrack event patch for 2.6
/external/iptables/extensions/libipt_MASQUERADE.c
8caee8b9e34fed4562fcff553197c161fc9d9979 28-Dec-2004 Pablo Neira <pablo@eurodev.net> Pablo Neira: extensions conversion to C99 structure initialization

(I removed the revision stuff for the moment, but this needs to go in before the code moves too much --RR)
/external/iptables/extensions/libipt_MASQUERADE.c
1d095f8df6570b832b4c95d89e9a98541e85f4c7 30-Oct-2003 Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp> Fix invalid port number (Yasuyuki Kozakai)
/external/iptables/extensions/libipt_MASQUERADE.c
80fe35d6339b53a12ddaec41885613e4e37ed031 29-May-2002 Harald Welte <laforge@gnumonks.org> globally replace NETFILTER_VERSION with IPTABLES_VERSION to have consistent naming
/external/iptables/extensions/libipt_MASQUERADE.c
4b5566b718ccd52a11d5eabe1de9b1f4ff10ce41 01-Apr-2002 A. van Schie <a.van.schie@quicknet.nl> fix bug in save() function of MASQUERADE target (A. van Schie)
/external/iptables/extensions/libipt_MASQUERADE.c
b77f1dafb9f35752bb9685323bcacb32a0e6ddc5 14-Mar-2002 Harald Welte <laforge@gnumonks.org> Fix 'iptables -p !' bug (segfault when `!' used without argument)
/external/iptables/extensions/libipt_MASQUERADE.c
3efb6ead2e51fe1eca55bcb2b06afb4dc4b8cb7c 06-Aug-2001 Harald Welte <laforge@gnumonks.org> - added patch to support statically linking of iptables
- iptables-save/-restore is no longer experimental
/external/iptables/extensions/libipt_MASQUERADE.c
73f72f541ac4dab538d4d418b9bbf1707b31342b 03-Jul-2000 Rusty Russell <rusty@linuxcare.com.au> Aligning matchsize and targetsize now responsibility of extension writers
(PPC fix).
/external/iptables/extensions/libipt_MASQUERADE.c
f9b2e66877b743962a36ec9c37335b9bc3f8b70f 19-Apr-2000 Rusty Russell <rusty@linuxcare.com.au> Put ports in network order.
/external/iptables/extensions/libipt_MASQUERADE.c
e6869a8f59d779ff4d5a0984c86d80db70784962 20-Mar-2000 Marc Boucher <marc@mbsi.ca> reorganized tree after kernel merge
/external/iptables/extensions/libipt_MASQUERADE.c