ae06c6dc6d68d11ed15d4c6c47b7b7a709d3c9cb |
|
18-May-2011 |
Lutz Jaenicke <ljaenicke@innominate.com> |
libipt_REDIRECT: "--to-ports" is not mandatory The REDIRECT target can be called without the --to-ports option being specified. From the manual page: ...without this, the destination port is never altered. Signed-off-by: Lutz Jaenicke <ljaenicke@innominate.com> Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_REDIRECT.c
|
c0bba1a8033ce15d1eec80da94c8f249a967568e |
|
09-May-2011 |
Jan Engelhardt <jengelh@medozas.de> |
libipt_REDIRECT: use guided option parser Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.c
|
63ef52ac6bf8d555779456166009bd2f6b0a1081 |
|
09-Dec-2010 |
Stephen Beahm <stephenbeahm@comcast.net> |
libipt_REDIRECT: avoid dereference of uninitialized pointer When using --to-ports with a port name instead of a numerical specification, a segfault occurs. References: http://bugzilla.netfilter.org/show_bug.cgi?id=691 Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.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_REDIRECT.c
|
59ccf53b9414d998afd6169cb2d6ba0f3c249081 |
|
23-Jul-2010 |
Eric Dumazet <eric.dumazet@gmail.com> |
extensions: REDIRECT: add random help Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
/external/iptables/extensions/libipt_REDIRECT.c
|
84d758b3bc3121a5603261699c474f64672ef9f6 |
|
14-May-2010 |
Dmitry V. Levin <ldv@altlinux.org> |
extensions: REDIRECT: fix --to-ports parser Rewrite port range validator to use xtables_strtoui() and xtables_param_act(). Original check failed to recognize several types of port range errors, including: "-1", "-1a", "-1-a", "a-1", "1a-2", "1-2a", etc. 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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.c
|
aae6be9edc99e58164a3592c510fe5488141c698 |
|
30-Jan-2009 |
Jan Engelhardt <jengelh@medozas.de> |
libxtables: prefix - misc functions Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.c
|
ccecd38e168fe089106f69f61197ae1dfacb4f6d |
|
26-May-2008 |
Kristof Provost <kristof@sigsegv.be> |
REDIRECT: Allow symbolic port in REDIRECT --to-port Fixes Bugzilla 482. Signed-off-by: Kristof Provost <kristof@sigsegv.be>
/external/iptables/extensions/libipt_REDIRECT.c
|
8b7c64d6ba156a99008fcd810cba874c73294333 |
|
15-Apr-2008 |
Jan Engelhardt <jengelh@medozas.de> |
Remove old functions, constants
/external/iptables/extensions/libipt_REDIRECT.c
|
9ee386a1b6d7704b259460152c959ab0e79e02aa |
|
29-Jan-2008 |
Max Kellermann <max@duempel.org> |
fix gcc warnings Max Kellermann <max@duempel.org>
/external/iptables/extensions/libipt_REDIRECT.c
|
75b4b2081522ab2f680ca0edf2242bc6f28a0ef7 |
|
15-Nov-2007 |
Tom Eastep <teastep@shorewall.net> |
PATCH - Fix for --random option in DNAT and REDIRECT The --random option produces "Unknown arg `--random'" errors with both the DNAT and REDIRECT targets. Corrected by the attached patch. Tom Eastep <teastep@shorewall.net>
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.c
|
18992db3bfdb3b695cae12b53434f560cbf8e2ae |
|
30-Jul-2007 |
Jan Engelhardt <jengelh@medozas.de> |
Remove the .next=NULL field. This is automatically initialized to zero. I've kept .print=NULL and .save=NULL so it stands out (since iptables will do the print/save then). Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.c
|
193df8ee3507f0c02762c88a16916c4ea950bd99 |
|
24-Jul-2007 |
Yasuyuki KOZAKAI <yasuyuki@netfilter.org> |
Replaces ipt_entry_* with xt_entry_* in matches/targets
/external/iptables/extensions/libipt_REDIRECT.c
|
ef399a3033aa860ea1653b9c4306c0e78777e981 |
|
29-May-2007 |
Patrick McHardy <kaber@trash.net> |
Add --random option to DNAT and REDIRECT targets and fix the manpage mess this option left behind.
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.c
|
3836fcc4c26ba831c38df7aa056863e8f24614a0 |
|
20-Jun-2006 |
Phil Oester <kernel@linuxace.com> |
REDIRECT does not accept IP (Phil Oester <kernel@linuxace.com>) As pointed out by Nicolas Mailhot in bugzilla #483, REDIRECT does not accept an IP address and when supplied with one, provides unexpected results. Patch below fixes this.
/external/iptables/extensions/libipt_REDIRECT.c
|
36d870c76621b94d51816d09eb8fd05e0fb0a0ab |
|
22-Jul-2005 |
Patrick McHardy <kaber@trash.net> |
Fix NAT of ICMP ID ranges (Patrick McHardy)
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.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_REDIRECT.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_REDIRECT.c
|
b77f1dafb9f35752bb9685323bcacb32a0e6ddc5 |
|
14-Mar-2002 |
Harald Welte <laforge@gnumonks.org> |
Fix 'iptables -p !' bug (segfault when `!' used without argument)
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.c
|
963bdcc39ffa1e5126f8b11ee98a3e0d1d873f8d |
|
16-Mar-2001 |
Harald Welte <laforge@gnumonks.org> |
bug in libipt_REDIRECT save function fixed
/external/iptables/extensions/libipt_REDIRECT.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_REDIRECT.c
|
849779c4adf8dd65c83fffb65e6b7898df2a55c6 |
|
23-Apr-2000 |
Rusty Russell <rusty@linuxcare.com.au> |
More fixes and testsuite enhancements.
/external/iptables/extensions/libipt_REDIRECT.c
|
f9b2e66877b743962a36ec9c37335b9bc3f8b70f |
|
19-Apr-2000 |
Rusty Russell <rusty@linuxcare.com.au> |
Put ports in network order.
/external/iptables/extensions/libipt_REDIRECT.c
|
e6869a8f59d779ff4d5a0984c86d80db70784962 |
|
20-Mar-2000 |
Marc Boucher <marc@mbsi.ca> |
reorganized tree after kernel merge
/external/iptables/extensions/libipt_REDIRECT.c
|