Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Pkg Iptables
Commits
eb1d7c5f
Commit
eb1d7c5f
authored
Jun 04, 2020
by
Arturo Borrero Gonzalez
Browse files
New upstream version 1.8.5
parent
290749d4
Changes
125
Expand all
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
eb1d7c5f
...
...
@@ -22,3 +22,6 @@ Makefile.in
/iptables/xtables-multi
/iptables/xtables-compat-multi
# vim/nano swap file
*.swp
Makefile.in
View file @
eb1d7c5f
# Makefile.in generated by automake 1.1
5
from Makefile.am.
# Makefile.in generated by automake 1.1
6.1
from Makefile.am.
# @configure_input@
# Copyright (C) 1994-201
4
Free Software Foundation, Inc.
# Copyright (C) 1994-201
8
Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -172,7 +172,7 @@ am__recursive_targets = \
$(RECURSIVE_CLEAN_TARGETS)
\
$(am__extra_recursive_targets)
AM_RECURSIVE_TARGETS
=
$
(
am__recursive_targets:-recursive
=)
TAGS CTAGS
\
cscope distdir dist dist-all distcheck
cscope distdir
distdir-am
dist dist-all distcheck
am__tagged_files
=
$(HEADERS)
$(SOURCES)
$(TAGS_FILES)
\
$(LISP)
config.h.in
# Read a list of newline-separated strings from the standard input,
...
...
@@ -427,8 +427,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
echo
'
$(SHELL)
./config.status'
;
\
$(SHELL)
./config.status
;;
\
*
)
\
echo
' cd
$(top_builddir)
&&
$(SHELL)
./config.status $@
$(am__depfiles
_maybe
)
'
;
\
cd
$(top_builddir)
&&
$(SHELL)
./config.status
$@
$(am__depfiles
_maybe
)
;;
\
echo
' cd
$(top_builddir)
&&
$(SHELL)
./config.status $@
$(am__
maybe_remake_
depfiles)
'
;
\
cd
$(top_builddir)
&&
$(SHELL)
./config.status
$@
$(am__
maybe_remake_
depfiles)
;;
\
esac
;
$(top_builddir)/config.status
:
$(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
...
...
@@ -593,7 +593,10 @@ distclean-tags:
-
rm
-f
TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
rm
-f
cscope.out cscope.in.out cscope.po.out cscope.files
distdir
:
$(DISTFILES)
distdir
:
$(BUILT_SOURCES)
$(MAKE)
$(AM_MAKEFLAGS)
distdir-am
distdir-am
:
$(DISTFILES)
$(am__remove_distdir)
test
-d
"
$(distdir)
"
||
mkdir
"
$(distdir)
"
@
srcdirstrip
=
`
echo
"
$(srcdir)
"
|
sed
's/[].[^$$\\*]/\\\\&/g'
`
;
\
...
...
@@ -658,7 +661,7 @@ distdir: $(DISTFILES)
!
-type
d
!
-perm
-444
-exec
$(install_sh)
-c
-m
a+r
{}
{}
\;
\
||
chmod
-R
a+r
"
$(distdir)
"
dist-gzip
:
distdir
tardir
=
$(distdir)
&&
$(am__tar)
|
GZIP
=
$(GZIP_ENV)
gzip
-c
>
$(distdir)
.tar.gz
tardir
=
$(distdir)
&&
$(am__tar)
|
eval
GZIP
=
gzip
$(GZIP_ENV)
-c
>
$(distdir)
.tar.gz
$(am__post_remove_distdir)
dist-bzip2
:
distdir
...
...
@@ -684,7 +687,7 @@ dist-shar: distdir
@
echo
WARNING:
"Support for shar distribution archives is"
\
"deprecated."
>
&2
@
echo
WARNING:
"It will be removed altogether in Automake 2.0"
>
&2
shar
$(distdir)
|
GZIP
=
$(GZIP_ENV)
gzip
-c
>
$(distdir)
.shar.gz
shar
$(distdir)
|
eval
GZIP
=
gzip
$(GZIP_ENV)
-c
>
$(distdir)
.shar.gz
$(am__post_remove_distdir)
dist-zip
:
distdir
...
...
@@ -702,7 +705,7 @@ dist dist-all:
distcheck
:
dist
case
'
$(DIST_ARCHIVES)
'
in
\
*
.tar.gz
*
)
\
GZIP
=
$(GZIP_ENV)
gzip
-dc
$(distdir)
.tar.gz |
$(am__untar)
;;
\
eval
GZIP
=
gzip
$(GZIP_ENV)
-dc
$(distdir)
.tar.gz |
$(am__untar)
;;
\
*
.tar.bz2
*
)
\
bzip2
-dc
$(distdir)
.tar.bz2 |
$(am__untar)
;;
\
*
.tar.lz
*
)
\
...
...
@@ -712,7 +715,7 @@ distcheck: dist
*
.tar.Z
*
)
\
uncompress
-c
$(distdir)
.tar.Z |
$(am__untar)
;;
\
*
.shar.gz
*
)
\
GZIP
=
$(GZIP_ENV)
gzip
-dc
$(distdir)
.shar.gz | unshar
;;
\
eval
GZIP
=
gzip
$(GZIP_ENV)
-dc
$(distdir)
.shar.gz | unshar
;;
\
*
.zip
*
)
\
unzip
$(distdir)
.zip
;;
\
esac
...
...
aclocal.m4
View file @
eb1d7c5f
# generated automatically by aclocal 1.1
5
-*- Autoconf -*-
# generated automatically by aclocal 1.1
6.1
-*- Autoconf -*-
# Copyright (C) 1996-201
4
Free Software Foundation, Inc.
# Copyright (C) 1996-201
8
Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -296,7 +296,7 @@ AS_VAR_COPY([$1], [pkg_cv_][$1])
AS_VAR_IF([$1], [""], [$5], [$4])dnl
])dnl PKG_CHECK_VAR
# Copyright (C) 2002-201
4
Free Software Foundation, Inc.
# Copyright (C) 2002-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -308,10 +308,10 @@ AS_VAR_IF([$1], [""], [$5], [$4])dnl
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
[am__api_version='1.1
5
'
[am__api_version='1.1
6
'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
m4_if([$1], [1.1
5
], [],
m4_if([$1], [1.1
6.1
], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
...
...
@@ -327,12 +327,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
[AM_AUTOMAKE_VERSION([1.1
5
])dnl
[AM_AUTOMAKE_VERSION([1.1
6.1
])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# Copyright (C) 2011-201
4
Free Software Foundation, Inc.
# Copyright (C) 2011-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -394,7 +394,7 @@ AC_SUBST([AR])dnl
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
# Copyright (C) 2001-201
4
Free Software Foundation, Inc.
# Copyright (C) 2001-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -446,7 +446,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
# AM_CONDITIONAL -*- Autoconf -*-
# Copyright (C) 1997-201
4
Free Software Foundation, Inc.
# Copyright (C) 1997-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -477,7 +477,7 @@ AC_CONFIG_COMMANDS_PRE(
Usually this means the macro was only invoked conditionally.]])
fi])])
# Copyright (C) 1999-201
4
Free Software Foundation, Inc.
# Copyright (C) 1999-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -668,13 +668,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# Generate code to set up dependency tracking. -*- Autoconf -*-
# Copyright (C) 1999-201
4
Free Software Foundation, Inc.
# Copyright (C) 1999-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
...
...
@@ -682,49 +681,41 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
*\'*) eval set x "$CONFIG_FILES" ;;
*) set x $CONFIG_FILES ;;
esac
# TODO: see whether this extra hack can be removed once we start
# requiring Autoconf 2.70 or later.
AS_CASE([$CONFIG_FILES],
[*\'*], [eval set x "$CONFIG_FILES"],
[*], [set x $CONFIG_FILES])
shift
for mf
# Used to flag and report bootstrapping failures.
am_rc=0
for am_mf
do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile which includes
# dependency-tracking related rules and includes.
# Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
dirpart=`AS_DIRNAME("$mf")`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
test -z "$DEPDIR" && continue
am__include=`sed -n 's/^am__include = //p' < "$mf"`
test -z "$am__include" && continue
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
# Find all dependency output files, they are included files with
# $(DEPDIR) in their names. We invoke sed twice because it is the
# simplest approach to changing $(DEPDIR) to its actual value in the
# expansion.
for file in `sed -n "
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
# Make sure the directory exists.
test -f "$dirpart/$file" && continue
fdir=`AS_DIRNAME(["$file"])`
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
|| continue
am_dirpart=`AS_DIRNAME(["$am_mf"])`
am_filepart=`AS_BASENAME(["$am_mf"])`
AM_RUN_LOG([cd "$am_dirpart" \
&& sed -e '/# am--include-marker/d' "$am_filepart" \
| $MAKE -f - am--depfiles]) || am_rc=$?
done
if test $am_rc -ne 0; then
AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).])
fi
AS_UNSET([am_dirpart])
AS_UNSET([am_filepart])
AS_UNSET([am_mf])
AS_UNSET([am_rc])
rm -f conftest-deps.mk
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
...
...
@@ -733,18 +724,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
#
is enabled. FIXME.
This creates each '.P'
file that we will
#
need in
order to bootstrap the dependency handling code.
# This code is only required when automatic dependency tracking
is enabled.
# This creates each '.P
o
'
and '.Plo' makefile fragment that we'll need in
# order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
[AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996-201
4
Free Software Foundation, Inc.
# Copyright (C) 1996-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -831,8 +821,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
# <http
s
://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http
s
://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
# We need awk for the "check" target (and possibly the TAP driver). The
# system "awk" is bad on some platforms.
...
...
@@ -899,7 +889,7 @@ END
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: <http://www.gnu.org/software/coreutils/>.
that behaves properly: <http
s
://www.gnu.org/software/coreutils/>.
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
...
...
@@ -941,7 +931,7 @@ for _am_header in $config_headers :; do
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
# Copyright (C) 2001-201
4
Free Software Foundation, Inc.
# Copyright (C) 2001-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -962,7 +952,7 @@ if test x"${install_sh+set}" != xset; then
fi
AC_SUBST([install_sh])])
# Copyright (C) 2003-201
4
Free Software Foundation, Inc.
# Copyright (C) 2003-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -983,7 +973,7 @@ AC_SUBST([am__leading_dot])])
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-201
4
Free Software Foundation, Inc.
# Copyright (C) 2001-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -991,49 +981,42 @@ AC_SUBST([am__leading_dot])])
# AM_MAKE_INCLUDE()
# -----------------
# Check to see how make treats includes.
# Check whether make has an 'include' directive that can support all
# the idioms we need for our automatic dependency tracking code.
AC_DEFUN([AM_MAKE_INCLUDE],
[
am_make=${MAKE-make}
cat > confinc << 'END'
[
AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
cat > confinc
.mk
<< 'END'
am__doit:
@echo this is the am__doit target
@echo this is the am__doit target
>confinc.out
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
AC_MSG_CHECKING([for style of include used by $am_make])
am__include="#"
am__quote=
_am_result=none
# First try GNU make style include.
echo "include confinc" > confmf
# Ignore all kinds of additional output from 'make'.
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=include
am__quote=
_am_result=GNU
;;
esac
# Now try BSD make style include.
if test "$am__include" = "#"; then
echo '.include "confinc"' > confmf
case `$am_make -s -f confmf 2> /dev/null` in #(
*the\ am__doit\ target*)
am__include=.include
am__quote="\""
_am_result=BSD
;;
esac
fi
AC_SUBST([am__include])
AC_SUBST([am__quote])
AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
# BSD make does it like this.
echo '.include "confinc.mk" # ignored' > confmf.BSD
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
echo 'include confinc.mk # ignored' > confmf.GNU
_am_result=no
for s in GNU BSD; do
AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
AS_CASE([$?:`cat confinc.out 2>/dev/null`],
['0:this is the am__doit target'],
[AS_CASE([$s],
[BSD], [am__include='.include' am__quote='"'],
[am__include='include' am__quote=''])])
if test "$am__include" != "#"; then
_am_result="yes ($s style)"
break
fi
done
rm -f confinc.* confmf.*
AC_MSG_RESULT([${_am_result}])
AC_SUBST([am__include])])
AC_SUBST([am__quote])])
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997-201
4
Free Software Foundation, Inc.
# Copyright (C) 1997-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1072,7 +1055,7 @@ fi
# Helper functions for option handling. -*- Autoconf -*-
# Copyright (C) 2001-201
4
Free Software Foundation, Inc.
# Copyright (C) 2001-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1101,7 +1084,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
# Copyright (C) 1999-201
4
Free Software Foundation, Inc.
# Copyright (C) 1999-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1148,7 +1131,7 @@ AC_LANG_POP([C])])
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
# Copyright (C) 2001-201
4
Free Software Foundation, Inc.
# Copyright (C) 2001-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1167,7 +1150,7 @@ AC_DEFUN([AM_RUN_LOG],
# Check to make sure that the build environment is sane. -*- Autoconf -*-
# Copyright (C) 1996-201
4
Free Software Foundation, Inc.
# Copyright (C) 1996-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1248,7 +1231,7 @@ AC_CONFIG_COMMANDS_PRE(
rm -f conftest.file
])
# Copyright (C) 2009-201
4
Free Software Foundation, Inc.
# Copyright (C) 2009-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1308,7 +1291,7 @@ AC_SUBST([AM_BACKSLASH])dnl
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
])
# Copyright (C) 2001-201
4
Free Software Foundation, Inc.
# Copyright (C) 2001-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1336,7 +1319,7 @@ fi
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
# Copyright (C) 2006-201
4
Free Software Foundation, Inc.
# Copyright (C) 2006-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
@@ -1355,7 +1338,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
# Check how to create a tarball. -*- Autoconf -*-
# Copyright (C) 2004-201
4
Free Software Foundation, Inc.
# Copyright (C) 2004-201
8
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
...
...
build-aux/ar-lib
View file @
eb1d7c5f
...
...
@@ -4,7 +4,7 @@
me
=
ar-lib
scriptversion
=
2012-03-01.08
;
# UTC
# Copyright (C) 2010-201
4
Free Software Foundation, Inc.
# Copyright (C) 2010-201
8
Free Software Foundation, Inc.
# Written by Peter Rosin <peda@lysator.liu.se>.
#
# This program is free software; you can redistribute it and/or modify
...
...
@@ -18,7 +18,7 @@ scriptversion=2012-03-01.08; # UTC
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http
s
://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
...
...
build-aux/compile
View file @
eb1d7c5f
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion
=
201
2-10-14.11
;
# UTC
scriptversion
=
201
8-03-07.03
;
# UTC
# Copyright (C) 1999-201
4
Free Software Foundation, Inc.
# Copyright (C) 1999-201
8
Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
...
...
@@ -17,7 +17,7 @@ scriptversion=2012-10-14.11; # UTC
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http
s
://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
...
...
@@ -255,7 +255,8 @@ EOF
echo
"compile
$scriptversion
"
exit
$?
;;
cl
|
*
[
/
\\
]
cl
|
cl.exe
|
*
[
/
\\
]
cl.exe
)
cl
|
*
[
/
\\
]
cl
|
cl.exe
|
*
[
/
\\
]
cl.exe
|
\
icl
|
*
[
/
\\
]
icl
|
icl.exe
|
*
[
/
\\
]
icl.exe
)
func_cl_wrapper
"
$@
"
# Doesn't return...
;;
esac
...
...
@@ -339,9 +340,9 @@ exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook '
write-fil
e-hook
s
'time-stamp)
# eval: (add-hook '
before-sav
e-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-time-zone: "UTC
0
"
# time-stamp-end: "; # UTC"
# End:
build-aux/config.guess
View file @
eb1d7c5f
This diff is collapsed.
Click to expand it.
build-aux/config.sub
View file @
eb1d7c5f
This diff is collapsed.
Click to expand it.
build-aux/depcomp
View file @
eb1d7c5f
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion
=
201
3
-0
5-30
.0
7
;
# UTC
scriptversion
=
201
8
-0
3-07
.0
3
;
# UTC
# Copyright (C) 1999-201
4
Free Software Foundation, Inc.
# Copyright (C) 1999-201
8
Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -16,7 +16,7 @@ scriptversion=2013-05-30.07; # UTC
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http
s
://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
...
...
@@ -783,9 +783,9 @@ exit 0
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook '
write-fil
e-hook
s
'time-stamp)
# eval: (add-hook '
before-sav
e-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-time-zone: "UTC
0
"
# time-stamp-end: "; # UTC"
# End:
build-aux/install-sh
View file @
eb1d7c5f
#!/bin/sh
# install - install a program, script, or datafile
scriptversion
=
201
4
-0
9
-1
2.12
;
# UTC
scriptversion
=
201
8
-0
3
-1
1.20
;
# UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
...
...
@@ -271,15 +271,18 @@ do
fi
dst
=
$dst_arg
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
# If destination is a directory, append the input filename.
if
test
-d
"
$dst
"
;
then
if
test
"
$is_target_a_directory
"
=
never
;
then
echo
"
$0
:
$dst_arg
: Is a directory"
>
&2
exit
1
fi
dstdir
=
$dst
dst
=
$dstdir
/
`
basename
"
$src
"
`
dstbase
=
`
basename
"
$src
"
`
case
$dst
in
*
/
)
dst
=
$dst$dstbase
;;
*
)
dst
=
$dst
/
$dstbase
;;
esac
dstdir_status
=
0
else
dstdir
=
`
dirname
"
$dst
"
`
...
...
@@ -288,6 +291,11 @@ do
fi
fi
case
$dstdir
in
*
/
)
dstdirslash
=
$dstdir
;;
*
)
dstdirslash
=
$dstdir
/
;;
esac
obsolete_mkdir_used
=
false
if
test
$dstdir_status
!=
0
;
then
...
...
@@ -324,14 +332,16 @@ do
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
;;
*
)
#
$RANDOM
is not portable (e.g. dash);
u
se it
when possible to
# lower collision chance
#
Note that $RANDOM variable
is not portable (e.g. dash);
U
se it
#
here however when possible just to
lower collision chance
.
tmpdir
=
${
TMPDIR
-/tmp
}
/ins
$RANDOM
-
$$
trap
'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret'
0
# As "mkdir -p" follows symlinks and we work in /tmp possibly; so
# create the $tmpdir first (and fail if unsuccessful) to make sure
# that nobody tries to guess the $tmpdir name.
# Because "mkdir -p" follows existing symlinks and we likely work
# directly in world-writeable /tmp, make sure that the '$tmpdir'
# directory is successfully created first before we actually test
# 'mkdir -p' feature.
if
(
umask
$mkdir_umask
&&
$mkdirprog
$mkdir_mode
"
$tmpdir
"
&&
exec
$mkdirprog
$mkdir_mode
-p
--
"
$tmpdir
/a/b"
)
>
/dev/null 2>&1
...
...
@@ -434,8 +444,8 @@ do
else
# Make a couple of temp file names in the proper directory.
dsttmp
=
$dstdir
/
_inst.
$$
_
rmtmp
=
$dstdir
/
_rm.
$$
_
dsttmp
=
$
{
dstdir
slash
}
_inst.
$$
_
rmtmp
=
$
{
dstdir
slash
}
_rm.
$$
_
# Trap to clean up those temp files at exit.
trap
'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret'
0
...
...
@@ -500,9 +510,9 @@ do
done
# Local variables:
# eval: (add-hook '
write-fil
e-hook
s
'time-stamp)
# eval: (add-hook '
before-sav
e-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-time-zone: "UTC
0
"
# time-stamp-end: "; # UTC"
# End:
build-aux/ltmain.sh
View file @
eb1d7c5f
...
...
@@ -31,7 +31,7 @@
PROGRAM
=
libtool
PACKAGE
=
libtool
VERSION
=
"2.4.6 Debian-2.4.6-
2
"
VERSION
=
"2.4.6 Debian-2.4.6-
9
"
package_revision
=
2.4.6
...
...
@@ -1370,7 +1370,7 @@ func_lt_ver ()
#! /bin/sh
# Set a version string for this script.
scriptversion
=
201
4-01
-07.
03
;
# UTC
scriptversion
=
201
5-10
-07.
11
;
# UTC
# A portable, pluggable option parser for Bourne shell.
# Written by Gary V. Vaughan, 2010
...
...
@@ -1530,6 +1530,8 @@ func_run_hooks ()
{
$debug_cmd
_G_rc_run_hooks
=
false
case
"
$hookable_fns
"
in
*
"
$1
"
*
)
;;
*
)
func_fatal_error
"'
$1
' does not support hook funcions.n"
;;
...
...
@@ -1538,16 +1540,16 @@ func_run_hooks ()
eval
_G_hook_fns
=
\$
$1_hooks
;
shift
for
_G_hook
in
$_G_hook_fns
;
do
eval
$_G_hook
'"$@"'
# store returned options list back into positional
# parameters for next 'cmd' execution.
eval
_G_hook_result
=
\$
${
_G_hook
}
_result
eval set
dummy
"
$_G_hook_result
"
;
shift
if
eval
$_G_hook
'"$@"'
;
then
# store returned options list back into positional
# parameters for next 'cmd' execution.
eval
_G_hook_result
=
\$
${
_G_hook
}
_result
eval set
dummy
"
$_G_hook_result
"
;
shift
_G_rc_run_hooks
=
:
fi
done
func_quote_for_eval
${
1
+
"
$@
"
}
func_run_hooks_result
=
$func_quote_for_eval_result
$_G_rc_run_hooks
&&
func_run_hooks_result
=
$_G_hook_result
}
...
...
@@ -1557,10 +1559,16 @@ func_run_hooks ()
## --------------- ##
# In order to add your own option parsing hooks, you must accept the
# full positional parameter list in your hook function, remove
any
# options that you action, and then pass back the remaining unprocessed
# full positional parameter list in your hook function,
you may
remove
/edit
#
any
options that you action, and then pass back the remaining unprocessed
# options in '<hooked_function_name>_result', escaped suitably for
# 'eval'. Like this:
# 'eval'. In this case you also must return $EXIT_SUCCESS to let the
# hook's caller know that it should pay attention to
# '<hooked_function_name>_result'. Returning $EXIT_FAILURE signalizes that
# arguments are left untouched by the hook and therefore caller will ignore the
# result variable.
#
# Like this:
#
# my_options_prep ()
# {
...
...
@@ -1570,9 +1578,11 @@ func_run_hooks ()
# usage_message=$usage_message'
# -s, --silent don'\''t print informational messages
# '
#
# func_quote_for_eval ${1+"$@"}
# my_options_prep_result=$func_quote_for_eval_result
# # No change in '$@' (ignored completely by this hook). There is
# # no need to do the equivalent (but slower) action:
# # func_quote_for_eval ${1+"$@"}
# # my_options_prep_result=$func_quote_for_eval_result
# false
# }
# func_add_hook func_options_prep my_options_prep
#
...
...
@@ -1581,25 +1591,37 @@ func_run_hooks ()
# {
# $debug_cmd
#
# args_changed=false
#
# # Note that for efficiency, we parse as many options as we can
# # recognise in a loop before passing the remainder back to the
# # caller on the first unrecognised argument we encounter.
# while test $# -gt 0; do
# opt=$1; shift
# case $opt in
# --silent|-s) opt_silent=: ;;
# --silent|-s) opt_silent=:
# args_changed=:
# ;;
# # Separate non-argument short options:
# -s*) func_split_short_opt "$_G_opt"
# set dummy "$func_split_short_opt_name" \
# "-$func_split_short_opt_arg" ${1+"$@"}
# shift
# args_changed=:
# ;;
# *) set dummy "$_G_opt" "$*"; shift; break ;;
# *) # Make sure the first unrecognised option "$_G_opt"
# # is added back to "$@", we could need that later
# # if $args_changed is true.
# set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
# esac
# done
#
# func_quote_for_eval ${1+"$@"}
# my_silent_option_result=$func_quote_for_eval_result
# if $args_changed; then
# func_quote_for_eval ${1+"$@"}
# my_silent_option_result=$func_quote_for_eval_result
# fi
#
# $args_changed
# }
# func_add_hook func_parse_options my_silent_option
#
...
...
@@ -1611,16 +1633,32 @@ func_run_hooks ()
# $opt_silent && $opt_verbose && func_fatal_help "\
# '--silent' and '--verbose' options are mutually exclusive."
#
# func_quote_for_eval ${1+"$@"}
# my_option_validation_result=$func_quote_for_eval_result
# false
# }
# func_add_hook func_validate_options my_option_validation
#
# You'll als
e
need to manually amend $usage_message to reflect the extra
# You'll als
o
need to manually amend $usage_message to reflect the extra
# options you parse. It's preferable to append if you can, so that
# multiple option parsing hooks can be added safely.
# func_options_finish [ARG]...
# ----------------------------
# Finishing the option parse loop (call 'func_options' hooks ATM).
func_options_finish
()
{
$debug_cmd
_G_func_options_finish_exit
=
false
if
func_run_hooks func_options
${
1
+
"
$@
"
}
;
then
func_options_finish_result
=
$func_run_hooks_result
_G_func_options_finish_exit
=
:
fi
$_G_func_options_finish_exit
}
# func_options [ARG]...
# ---------------------
# All the functions called inside func_options are hookable. See the
...
...
@@ -1630,17 +1668,28 @@ func_options ()
{
$debug_cmd
func_options_prep
${
1
+
"
$@
"
}
eval
func_parse_options
\
${
func_options_prep_result
+
"
$func_options_prep_result
"
}
eval
func_validate_options
\
${
func_parse_options_result
+
"
$func_parse_options_result
"
}
_G_rc_options
=
false
eval
func_run_hooks func_options
\
${
func_validate_options_result
+
"
$func_validate_options_result
"
}
for
my_func
in
options_prep parse_options validate_options options_finish
do
if
eval
func_
$my_func
'${1+"$@"}'
;
then
eval
_G_res_var
=
'$'
"func_
${
my_func
}
_result"
eval set
dummy
"
$_G_res_var
"
;
shift
_G_rc_options
=
:
fi
done
# Save modified positional parameters for caller. As a top-level
# options-parser function we always need to set the 'func_options_result'
# variable (regardless the $_G_rc_options value).
if
$_G_rc_options
;
then
func_options_result
=
$_G_res_var
else
func_quote_for_eval
${
1
+
"
$@
"
}
func_options_result
=
$func_quote_for_eval_result
fi
# save modified positional parameters for caller
func_options_result
=
$func_run_hooks_result
$_G_rc_options
}
...
...
@@ -1649,9 +1698,9 @@ func_options ()
# All initialisations required before starting the option parse loop.
# Note that when calling hook functions, we pass through the list of
# positional parameters. If a hook function modifies that list, and
# needs to prop
o
gate that back to rest of this script, then the complete
# needs to prop
a
gate that back to rest of this script, then the complete
# modified list must be put in 'func_run_hooks_result' before
# returning.
# returning
$EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned)
.
func_hookable func_options_prep
func_options_prep
()
{
...
...
@@ -1661,10 +1710,14 @@ func_options_prep ()
opt_verbose
=
false
opt_warning_types
=
func_run_hooks func_options_prep
${
1
+
"
$@
"
}
_G_rc_options_prep
=
false
if
func_run_hooks func_options_prep
${
1
+
"
$@
"
}
;
then
_G_rc_options_prep
=
:
# save modified positional parameters for caller
func_options_prep_result
=
$func_run_hooks_result
fi
# save modified positional parameters for caller
func_options_prep_result
=
$func_run_hooks_result
$_G_rc_options_prep
}
...
...
@@ -1678,18 +1731,20 @@ func_parse_options ()
func_parse_options_result
=
_G_rc_parse_options
=
false
# this just eases exit handling
while
test
$#
-gt
0
;
do
# Defer to hook functions for initial option parsing, so they
# get priority in the event of reusing an option name.
func_run_hooks func_parse_options
${
1
+
"
$@
"
}
# Adjust fun
c_parse_options
positional parameters to match
eval set
dummy
"
$func_run_hooks_result
"
;
shift
if
func_run_hooks func_parse_options
${
1
+
"
$@
"
}
;
then
eval set
dummy
"
$func_run_hooks_result
"
;
shift
_G_r
c_parse_options
=
:
fi
# Break out of the loop if we already parsed every option.
test
$#
-gt
0
||
break
_G_match_parse_options
=
:
_G_opt
=
$1
shift
case
$_G_opt
in
...
...
@@ -1704,7 +1759,10 @@ func_parse_options ()
;;
--warnings
|
--warning
|
-W
)
test
$#
=
0
&&
func_missing_arg
$_G_opt
&&
break
if
test
$#
=
0
&&
func_missing_arg
$_G_opt
;
then
_G_rc_parse_options
=
:
break
fi
case
"
$warning_categories
$1
"
in
*
"
$1
"
*
)
# trailing space prevents matching last $1 above
...
...
@@ -1757,15 +1815,25 @@ func_parse_options ()
shift
;;
--
)
break
;;
--
)
_G_rc_parse_options
=
:
;
break
;;
-
*
)
func_fatal_help
"unrecognised option: '
$_G_opt
'"
;;
*
)
set
dummy
"
$_G_opt
"
${
1
+
"
$@
"
}
;
shift
;
break
;;
*
)
set
dummy
"
$_G_opt
"
${
1
+
"
$@
"
}
;
shift
_G_match_parse_options
=
false
break
;;
esac
$_G_match_parse_options
&&
_G_rc_parse_options
=
:
done
# save modified positional parameters for caller
func_quote_for_eval
${
1
+
"
$@
"
}
func_parse_options_result
=
$func_quote_for_eval_result
if
$_G_rc_parse_options
;
then
# save modified positional parameters for caller
func_quote_for_eval
${
1
+
"
$@
"
}
func_parse_options_result
=
$func_quote_for_eval_result
fi
$_G_rc_parse_options
}
...
...
@@ -1778,16 +1846,21 @@ func_validate_options ()
{
$debug_cmd
_G_rc_validate_options
=
false
# Display all warnings if -W was not given.
test
-n
"
$opt_warning_types
"
||
opt_warning_types
=
"
$warning_categories
"
func_run_hooks func_validate_options
${
1
+
"
$@
"
}
if
func_run_hooks func_validate_options
${
1
+
"
$@
"
}
;
then
# save modified positional parameters for caller
func_validate_options_result
=
$func_run_hooks_result
_G_rc_validate_options
=
:
fi
# Bail if the options were screwed!
$exit_cmd
$EXIT_FAILURE
# save modified positional parameters for caller
func_validate_options_result
=
$func_run_hooks_result
$_G_rc_validate_options
}
...
...
@@ -2068,7 +2141,7 @@ include the following information:
compiler:
$LTCC
compiler flags:
$LTCFLAGS
linker:
$LD
(gnu?
$with_gnu_ld
)
version:
$progname
$scriptversion
Debian-2.4.6-
2
version:
$progname
$scriptversion
Debian-2.4.6-
9
automake:
`
(
$AUTOMAKE
--version
)
2>/dev/null |
$SED
1q
`
autoconf:
`
(
$AUTOCONF
--version
)
2>/dev/null |
$SED
1q
`
...
...
@@ -2270,6 +2343,8 @@ libtool_options_prep ()
nonopt
=
preserve_args
=
_G_rc_lt_options_prep
=
:
# Shorthand for --mode=foo, only valid as the first argument
case
$1
in
clean|clea|cle|cl
)
...
...
@@ -2293,11 +2368,18 @@ libtool_options_prep ()
uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u
)
shift
;
set
dummy
--mode
uninstall
${
1
+
"
$@
"
}
;
shift
;;
*
)
_G_rc_lt_options_prep
=
false
;;
esac
# Pass back the list of options.
func_quote_for_eval
${
1
+
"
$@
"
}
libtool_options_prep_result
=
$func_quote_for_eval_result
if
$_G_rc_lt_options_prep
;
then
# Pass back the list of options.
func_quote_for_eval
${
1
+
"
$@
"
}
libtool_options_prep_result
=
$func_quote_for_eval_result
fi
$_G_rc_lt_options_prep
}
func_add_hook func_options_prep libtool_options_prep
...
...
@@ -2309,9 +2391,12 @@ libtool_parse_options ()
{
$debug_cmd
_G_rc_lt_parse_options
=
false
# Perform our own loop to consume as many options as possible in
# each iteration.
while
test
$#
-gt
0
;
do
_G_match_lt_parse_options
=
:
_G_opt
=
$1
shift
case
$_G_opt
in
...
...
@@ -2386,15 +2471,22 @@ libtool_parse_options ()
func_append preserve_args
"
$_G_opt
"
;;
# An option not handled by this hook function:
*
)
set
dummy
"
$_G_opt
"
${
1
+
"
$@
"
}
;
shift
;
break
;;
# An option not handled by this hook function:
*
)
set
dummy
"
$_G_opt
"
${
1
+
"
$@
"
}
;
shift
_G_match_lt_parse_options
=
false
break
;;
esac
$_G_match_lt_parse_options
&&
_G_rc_lt_parse_options
=
:
done
if
$_G_rc_lt_parse_options
;
then
# save modified positional parameters for caller
func_quote_for_eval
${
1
+
"
$@
"
}
libtool_parse_options_result
=
$func_quote_for_eval_result
fi
# save modified positional parameters for caller
func_quote_for_eval
${
1
+
"
$@
"
}
libtool_parse_options_result
=
$func_quote_for_eval_result
$_G_rc_lt_parse_options
}
func_add_hook func_parse_options libtool_parse_options
...
...
@@ -7275,10 +7367,11 @@ func_mode_link ()
# -specs=* GCC specs files
# -stdlib=* select c++ std lib with clang
# -fsanitize=* Clang/GCC memory and address sanitizer
# -fuse-ld=* Linker select flags for GCC
-64
|
-mips
[
0-9]|-r[0-9][0-9]
*
|
-xarch
=
*
|
-xtarget
=
*
|
+DA
*
|
+DD
*
|
-q
*
|
-m
*
|
\
-t
[
45]
*
|
-txscale
*
|
-p
|
-pg
|
--coverage
|
-fprofile-
*
|
-F
*
|
@
*
|
-tp
=
*
|
--sysroot
=
*
|
\
-O
*
|
-g
*
|
-flto
*
|
-fwhopr
*
|
-fuse-linker-plugin
|
-fstack-protector
*
|
-stdlib
=
*
|
\
-specs
=
*
|
-fsanitize
=
*
)
-specs
=
*
|
-fsanitize
=
*
|
-fuse-ld
=
*
)
func_quote_for_eval
"
$arg
"
arg
=
$func_quote_for_eval_result
func_append compile_command
"
$arg
"
...
...
build-aux/missing
View file @
eb1d7c5f
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion
=
201
3-10-28.1
3
;
# UTC
scriptversion
=
201
8-03-07.0
3
;
# UTC
# Copyright (C) 1996-201
4
Free Software Foundation, Inc.
# Copyright (C) 1996-201
8
Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
...
...
@@ -17,7 +17,7 @@ scriptversion=2013-10-28.13; # UTC
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# along with this program. If not, see <http
s
://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
...
...
@@ -101,9 +101,9 @@ else
exit
$st
fi
perl_URL
=
http://www.perl.org/
flex_URL
=
http://
flex.sourceforge.net/
gnu_software_URL
=
http://www.gnu.org/software
perl_URL
=
http
s
://www.perl.org/
flex_URL
=
http
s
://
github.com/westes/flex
gnu_software_URL
=
http
s
://www.gnu.org/software
program_details
()
{
...
...
@@ -207,9 +207,9 @@ give_advice "$1" | sed -e '1s/^/WARNING: /' \
exit
$st
# Local variables:
# eval: (add-hook '
write-fil
e-hook
s
'time-stamp)
# eval: (add-hook '
before-sav
e-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-time-zone: "UTC
0
"
# time-stamp-end: "; # UTC"
# End:
configure
View file @
eb1d7c5f
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for iptables 1.8.
4
.
# Generated by GNU Autoconf 2.69 for iptables 1.8.
5
.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
...
...
@@ -587,8 +587,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME
=
'iptables'
PACKAGE_TARNAME
=
'iptables'
PACKAGE_VERSION
=
'1.8.
4
'
PACKAGE_STRING
=
'iptables 1.8.
4
'
PACKAGE_VERSION
=
'1.8.
5
'
PACKAGE_STRING
=
'iptables 1.8.
5
'
PACKAGE_BUGREPORT
=
''
PACKAGE_URL
=
''
...
...
@@ -729,7 +729,6 @@ am__nodep
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
am__quote
am__include
DEPDIR
OBJEXT
...
...
@@ -804,7 +803,8 @@ PACKAGE_VERSION
PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
SHELL
am__quote'
ac_subst_files
=
''
ac_user_opts
=
'
enable_option_checking
...
...
@@ -1405,7 +1405,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat
<<
_ACEOF
\`
configure' configures iptables 1.8.
4
to adapt to many kinds of systems.
\`
configure' configures iptables 1.8.
5
to adapt to many kinds of systems.
Usage:
$0
[OPTION]... [VAR=VALUE]...
...
...
@@ -1476,7 +1476,7 @@ fi
if
test
-n
"
$ac_init_help
"
;
then
case
$ac_init_help
in
short
|
recursive
)
echo
"Configuration of iptables 1.8.
4
:"
;;
short
|
recursive
)
echo
"Configuration of iptables 1.8.
5
:"
;;
esac
cat
<<
\
_ACEOF
...
...
@@ -1627,7 +1627,7 @@ fi
test
-n
"
$ac_init_help
"
&&
exit
$ac_status
if
$ac_init_version
;
then
cat
<<
\
_ACEOF
iptables configure 1.8.
4
iptables configure 1.8.
5
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
...
...
@@ -2175,7 +2175,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by iptables
$as_me
1.8.
4
, which was
It was created by iptables
$as_me
1.8.
5
, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0
$@
...
...
@@ -2525,8 +2525,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# See libtool.info "Libtool's versioning system"
libxtables_vcurrent
=
1
4
libxtables_vage
=
2
libxtables_vcurrent
=
1
5
libxtables_vage
=
3
ac_aux_dir
=
for
ac_dir
in
build-aux
"
$srcdir
"
/build-aux
;
do
...
...
@@ -2653,7 +2653,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
test
-z
"
$INSTALL_DATA
"
&&
INSTALL_DATA
=
'${INSTALL} -m 644'
am__api_version
=
'1.1
5
'
am__api_version
=
'1.1
6
'
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether build environment is sane"
>
&5
$as_echo_n
"checking whether build environment is sane... "
>
&6
;
}
...
...
@@ -3046,7 +3046,7 @@ fi
# Define the identity of the package.
PACKAGE
=
'iptables'
VERSION
=
'1.8.
4
'
VERSION
=
'1.8.
5
'
cat
>>
confdefs.h
<<
_ACEOF
...
...
@@ -3076,8 +3076,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# For better backward compatibility. To be removed once Automake 1.9.x
# dies out for good. For more background, see:
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
# <http
s
://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
# <http
s
://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p
=
'$(MKDIR_P)'
# We need awk for the "check" target (and possibly the TAP driver). The
...
...
@@ -3128,7 +3128,7 @@ END
Aborting the configuration process, to ensure you take notice of the issue.
You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: <http://www.gnu.org/software/coreutils/>.
that behaves properly: <http
s
://www.gnu.org/software/coreutils/>.
If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
...
...
@@ -3990,45 +3990,45 @@ DEPDIR="${am__leading_dot}deps"
ac_config_commands
=
"
$ac_config_commands
depfiles"
am_make
=
${
MAKE
-make
}
cat
>
confinc
<<
'
END
'
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking whether
${
MAKE
-make
}
supports the include directive"
>
&5
$as_echo_n
"checking whether
${
MAKE
-make
}
supports the include directive... "
>
&6
;
}
cat
>
confinc
.mk
<<
'
END
'
am__doit:
@echo this is the am__doit target
@echo this is the am__doit target
>confinc.out
.PHONY: am__doit
END
# If we don't find an include directive, just comment out the code.
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for style of include used by
$am_make
"
>
&5
$as_echo_n
"checking for style of include used by
$am_make
... "
>
&6
;
}
am__include
=
"#"
am__quote
=
_am_result
=
none
# First try GNU make style include.
echo
"include confinc"
>
confmf
# Ignore all kinds of additional output from 'make'.
case
`
$am_make
-s
-f
confmf 2> /dev/null
`
in
#(
*
the
\
am__doit
\
target
*
)
am__include
=
include
am__quote
=
_am_result
=
GNU
;;
esac
# Now try BSD make style include.
if
test
"
$am__include
"
=
"#"
;
then
echo
'.include "confinc"'
>
confmf
case
`
$am_make
-s
-f
confmf 2> /dev/null
`
in
#(
*
the
\
am__doit
\
target
*
)
am__include
=
.include
am__quote
=
"
\"
"
_am_result
=
BSD
# BSD make does it like this.
echo
'.include "confinc.mk" # ignored'
>
confmf.BSD
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
echo
'include confinc.mk # ignored'
>
confmf.GNU
_am_result
=
no
for
s
in
GNU BSD
;
do
{
echo
"
$as_me
:
$LINENO
:
${
MAKE
-make
}
-f confmf.
$s
&& cat confinc.out"
>
&5
(
${
MAKE
-make
}
-f
confmf.
$s
&&
cat
confinc.out
)
>
&5 2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
case
$?
:
`
cat
confinc.out 2>/dev/null
`
in
#(
'0:this is the am__doit target'
)
:
case
$s
in
#(
BSD
)
:
am__include
=
'.include'
am__quote
=
'"'
;;
#(
*
)
:
am__include
=
'include'
am__quote
=
''
;;
esac
;;
#(
*
)
:
;;
esac
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
$_am_result
"
>
&5
$as_echo
"
$_am_result
"
>
&6
;
}
rm
-f
confinc confmf
esac
if
test
"
$am__include
"
!=
"#"
;
then
_am_result
=
"yes (
$s
style)"
break
fi
done
rm
-f
confinc.
*
confmf.
*
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result:
${
_am_result
}
"
>
&5
$as_echo
"
${
_am_result
}
"
>
&6
;
}
# Check whether --enable-dependency-tracking was given.
if
test
"
${
enable_dependency_tracking
+set
}
"
=
set
;
then
:
...
...
@@ -6554,11 +6554,8 @@ _LT_EOF
test
$ac_status
=
0
;
}
;
then
# Now try to grab the symbols.
nlist
=
conftest.nm
if
{
{
eval echo
"
\"\$
as_me
\"
:
${
as_lineno
-
$LINENO
}
:
\"
$NM
conftest.
$ac_objext
\|
"
$lt_cv_sys_global_symbol_pipe
"
\>
$nlist
\"
"
;
}
>
&5
(
eval
$NM
conftest.
$ac_objext
\|
"
$lt_cv_sys_global_symbol_pipe
"
\>
$nlist
)
2>&5
ac_status
=
$?
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
? =
$ac_status
"
>
&5
test
$ac_status
=
0
;
}
&&
test
-s
"
$nlist
"
;
then
$ECHO
"
$as_me
:
$LINENO
:
$NM
conftest.
$ac_objext
|
$lt_cv_sys_global_symbol_pipe
>
$nlist
"
>
&5
if
eval
"
$NM
"
conftest.
$ac_objext
\|
"
$lt_cv_sys_global_symbol_pipe
"
\>
$nlist
2>&5
&&
test
-s
"
$nlist
"
;
then
# Try sorting and uniquifying the output.
if
sort
"
$nlist
"
|
uniq
>
"
$nlist
"
T
;
then
mv
-f
"
$nlist
"
T
"
$nlist
"
...
...
@@ -13059,12 +13056,12 @@ if test -n "$libnftnl_CFLAGS"; then
pkg_cv_libnftnl_CFLAGS
=
"
$libnftnl_CFLAGS
"
elif
test
-n
"
$PKG_CONFIG
"
;
then
if
test
-n
"
$PKG_CONFIG
"
&&
\
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
PKG_CONFIG --exists --print-errors
\"
libnftnl >= 1.1.
3
\"
"
;
}
>
&5
(
$PKG_CONFIG
--exists
--print-errors
"libnftnl >= 1.1.
3
"
)
2>&5
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
PKG_CONFIG --exists --print-errors
\"
libnftnl >= 1.1.
6
\"
"
;
}
>
&5
(
$PKG_CONFIG
--exists
--print-errors
"libnftnl >= 1.1.
6
"
)
2>&5
ac_status
=
$?
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
? =
$ac_status
"
>
&5
test
$ac_status
=
0
;
}
;
then
pkg_cv_libnftnl_CFLAGS
=
`
$PKG_CONFIG
--cflags
"libnftnl >= 1.1.
3
"
2>/dev/null
`
pkg_cv_libnftnl_CFLAGS
=
`
$PKG_CONFIG
--cflags
"libnftnl >= 1.1.
6
"
2>/dev/null
`
test
"x
$?
"
!=
"x0"
&&
pkg_failed
=
yes
else
pkg_failed
=
yes
...
...
@@ -13076,12 +13073,12 @@ if test -n "$libnftnl_LIBS"; then
pkg_cv_libnftnl_LIBS
=
"
$libnftnl_LIBS
"
elif
test
-n
"
$PKG_CONFIG
"
;
then
if
test
-n
"
$PKG_CONFIG
"
&&
\
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
PKG_CONFIG --exists --print-errors
\"
libnftnl >= 1.1.
3
\"
"
;
}
>
&5
(
$PKG_CONFIG
--exists
--print-errors
"libnftnl >= 1.1.
3
"
)
2>&5
{
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
PKG_CONFIG --exists --print-errors
\"
libnftnl >= 1.1.
6
\"
"
;
}
>
&5
(
$PKG_CONFIG
--exists
--print-errors
"libnftnl >= 1.1.
6
"
)
2>&5
ac_status
=
$?
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
:
\$
? =
$ac_status
"
>
&5
test
$ac_status
=
0
;
}
;
then
pkg_cv_libnftnl_LIBS
=
`
$PKG_CONFIG
--libs
"libnftnl >= 1.1.
3
"
2>/dev/null
`
pkg_cv_libnftnl_LIBS
=
`
$PKG_CONFIG
--libs
"libnftnl >= 1.1.
6
"
2>/dev/null
`
test
"x
$?
"
!=
"x0"
&&
pkg_failed
=
yes
else
pkg_failed
=
yes
...
...
@@ -13102,9 +13099,9 @@ else
_pkg_short_errors_supported
=
no
fi
if
test
$_pkg_short_errors_supported
=
yes
;
then
libnftnl_PKG_ERRORS
=
`
$PKG_CONFIG
--short-errors
--print-errors
--cflags
--libs
"libnftnl >= 1.1.
3
"
2>&1
`
libnftnl_PKG_ERRORS
=
`
$PKG_CONFIG
--short-errors
--print-errors
--cflags
--libs
"libnftnl >= 1.1.
6
"
2>&1
`
else
libnftnl_PKG_ERRORS
=
`
$PKG_CONFIG
--print-errors
--cflags
--libs
"libnftnl >= 1.1.
3
"
2>&1
`
libnftnl_PKG_ERRORS
=
`
$PKG_CONFIG
--print-errors
--cflags
--libs
"libnftnl >= 1.1.
6
"
2>&1
`
fi
# Put the nasty error message in config.log where it belongs
echo
"
$libnftnl_PKG_ERRORS
"
>
&5
...
...
@@ -13880,7 +13877,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by iptables
$as_me
1.8.
4
, which was
This file was extended by iptables
$as_me
1.8.
5
, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
$CONFIG_FILES
...
...
@@ -13946,7 +13943,7 @@ _ACEOF
cat
>>
$CONFIG_STATUS
<<
_ACEOF
|| ac_write_fail=1
ac_cs_config="`
$as_echo
"
$ac_configure_args
" | sed 's/^ //; s/[
\\
""
\`\$
]/
\\\\
&/g'`"
ac_cs_version="
\\
iptables config.status 1.8.
4
iptables config.status 1.8.
5
configured by
$0
, generated by GNU Autoconf 2.69,
with options
\\
"
\$
ac_cs_config
\\
"
...
...
@@ -14065,7 +14062,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
#
# INIT-COMMANDS
#
AMDEP_TRUE="
$AMDEP_TRUE
"
ac_aux_dir="
$ac_aux_dir
"
AMDEP_TRUE="
$AMDEP_TRUE
"
MAKE="
${
MAKE
-make
}
"
# The HP-UX ksh and POSIX shell print the target directory to stdout
...
...
@@ -14983,29 +14980,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case
$CONFIG_FILES
in
*
\'
*) eval set x "
$CONFIG_FILES
" ;;
*) set x
$CONFIG_FILES
;;
esac
# TODO: see whether this extra hack can be removed once we start
# requiring Autoconf 2.70 or later.
case
$CONFIG_FILES
in #(
*
\'
*) :
eval set x "
$CONFIG_FILES
" ;; #(
*) :
set x
$CONFIG_FILES
;; #(
*) :
;;
esac
shift
for mf
# Used to flag and report bootstrapping failures.
am_rc=0
for am_mf
do
# Strip MF so we end up with the name of the file.
mf=`echo "
$mf
" | sed -e 's/:.*
$/
/'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named 'Makefile.in', but
# some people rename them; so instead we look at the file content.
# Grep'ing the first line is not enough: some people post-process
# each Makefile.in and add a new line on top of each file to say so.
# Grep'ing the whole file is not good either: AIX grep has a line
am_mf=`
$as_echo
"
$am_mf
" | sed -e 's/:.*
$/
/'`
# Check whether this is an Automake generated Makefile which includes
# dependency-tracking related rules and includes.
# Grep'ing the whole file directly is not great: AIX grep has a line
# limit of 2048, but all sed's we know have understand at least 4000.
if sed -n 's,^#.*generated by automake.*,X,p' "
$mf
" | grep X >/dev/null 2>&1; then
dirpart=`
$as_dirname
-- "
$mf
" ||
$as_expr
X"
$mf
" : 'X
\(
.*[^/]
\)
//*[^/][^/]*/*
$'
\|
\
X"
$mf
" : 'X
\(
//
\)
[^/]'
\|
\
X"
$mf
" : 'X
\(
//
\)
$'
\|
\
X"
$mf
" : 'X
\(
/
\)
'
\|
. 2>/dev/null ||
$as_echo
X"
$mf
" |
sed -n 's,^am--depfiles:.*,X,p' "
$am_mf
" | grep X >/dev/null 2>&1
\
|| continue
am_dirpart=`
$as_dirname
-- "
$am_mf
" ||
$as_expr
X"
$am_mf
" : 'X
\(
.*[^/]
\)
//*[^/][^/]*/*
$'
\|
\
X"
$am_mf
" : 'X
\(
//
\)
[^/]'
\|
\
X"
$am_mf
" : 'X
\(
//
\)
$'
\|
\
X"
$am_mf
" : 'X
\(
/
\)
'
\|
. 2>/dev/null ||
$as_echo
X"
$am_mf
" |
sed '/^X
\(
.*[^/]
\)\/\/
*[^/][^/]*
\/
*
$/
{
s//
\1
/
q
...
...
@@ -15023,53 +15026,48 @@ $as_echo X"$mf" |
q
}
s/.*/./; q'`
else
continue
fi
# Extract the definition of DEPDIR, am__include, and am__quote
# from the Makefile without running 'make'.
DEPDIR=`sed -n 's/^DEPDIR = //p' < "
$mf
"`
test -z "
$DEPDIR
" && continue
am__include=`sed -n 's/^am__include = //p' < "
$mf
"`
test -z "
$am__include
" && continue
am__quote=`sed -n 's/^am__quote = //p' < "
$mf
"`
# Find all dependency output files, they are included files with
#
$(
DEPDIR
)
in their names. We invoke sed twice because it is the
# simplest approach to changing
$(
DEPDIR
)
to its actual value in the
# expansion.
for file in `sed -n "
s/^
$am__include
$am__quote
\(
.*(DEPDIR).*
\)
$am__quote
"'
$/
\1
/p' <"
$mf
" |
\
sed -e 's/
\$
(DEPDIR)/'"
$DEPDIR
"'/g'`; do
# Make sure the directory exists.
test -f "
$dirpart
/
$file
" && continue
fdir=`
$as_dirname
-- "
$file
" ||
$as_expr
X"
$file
" : 'X
\(
.*[^/]
\)
//*[^/][^/]*/*
$'
\|
\
X"
$file
" : 'X
\(
//
\)
[^/]'
\|
\
X"
$file
" : 'X
\(
//
\)
$'
\|
\
X"
$file
" : 'X
\(
/
\)
'
\|
. 2>/dev/null ||
$as_echo
X"
$file
" |
sed '/^X
\(
.*[^/]
\)\/\/
*[^/][^/]*
\/
*
$/
{
s//
\1
/
q
}
/^X
\(\/\/\)
[^/].*/{
am_filepart=`
$as_basename
-- "
$am_mf
" ||
$as_expr
X/"
$am_mf
" : '.*/
\(
[^/][^/]*
\)
/*
$'
\|
\
X"
$am_mf
" : 'X
\(
//
\)
$'
\|
\
X"
$am_mf
" : 'X
\(
/
\)
'
\|
. 2>/dev/null ||
$as_echo
X/"
$am_mf
" |
sed '/^.*
\/\(
[^/][^/]*
\)\/
*
$/
{
s//
\1
/
q
}
/^X
\(\/\/\)
$/
{
/^X
\
/\
(\/\/\)
$/
{
s//
\1
/
q
}
/^X
\(\/\)
.*/{
/^X
\
/\
(\/\)
.*/{
s//
\1
/
q
}
s/.*/./; q'`
as_dir=
$dirpart
/
$fdir
; as_fn_mkdir_p
# echo "creating
$dirpart
/
$file
"
echo '# dummy' > "
$dirpart
/
$file
"
done
{ echo "
$as_me
:
$LINENO
: cd "
$am_dirpart
"
\
&& sed -e '/# am--include-marker/d' "
$am_filepart
"
\
|
$MAKE
-f - am--depfiles" >&5
(cd "
$am_dirpart
"
\
&& sed -e '/# am--include-marker/d' "
$am_filepart
"
\
|
$MAKE
-f - am--depfiles) >&5 2>&5
ac_status=
$?
echo "
$as_me
:
$LINENO
:
\$
? =
$ac_status
" >&5
(exit
$ac_status
); } || am_rc=
$?
done
if test
$am_rc
-ne 0; then
{ {
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: error: in
\`
$ac_pwd
':" >&5
$as_echo
"
$as_me
: error: in
\`
$ac_pwd
':" >&2;}
as_fn_error
$?
"Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See
\`
config.log' for more details" "
$LINENO
" 5; }
fi
{ am_dirpart=; unset am_dirpart;}
{ am_filepart=; unset am_filepart;}
{ am_mf=; unset am_mf;}
{ am_rc=; unset am_rc;}
rm -f conftest-deps.mk
}
;;
"libtool":C)
...
...
configure.ac
View file @
eb1d7c5f
AC_INIT([iptables], [1.8.
4
])
AC_INIT([iptables], [1.8.
5
])
# See libtool.info "Libtool's versioning system"
libxtables_vcurrent=1
4
libxtables_vage=
2
libxtables_vcurrent=1
5
libxtables_vage=
3
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
...
...
@@ -131,7 +131,7 @@ if test "x$enable_nftables" = "xyes"; then
exit 1
fi
PKG_CHECK_MODULES([libnftnl], [libnftnl >= 1.1.
3
], [nftables=1], [nftables=0])
PKG_CHECK_MODULES([libnftnl], [libnftnl >= 1.1.
6
], [nftables=1], [nftables=0])
if test "$nftables" = 0;
then
...
...
extensions/generic.txlate
View file @
eb1d7c5f
...
...
@@ -18,3 +18,19 @@ nft add rule bridge filter FORWARD iifname != "iname" meta ibrname "ilogname" oi
ebtables-translate -I INPUT -p ip -d 1:2:3:4:5:6/ff:ff:ff:ff:00:00
nft insert rule bridge filter INPUT ether type 0x800 ether daddr 01:02:03:04:00:00 and ff:ff:ff:ff:00:00 == 01:02:03:04:00:00 counter
# asterisk is not special in iptables and it is even a valid interface name
iptables-translate -A FORWARD -i '*' -o 'eth*foo'
nft add rule ip filter FORWARD iifname "\*" oifname "eth\*foo" counter
# escape all asterisks but translate only the first plus character
iptables-translate -A FORWARD -i 'eth*foo*+' -o 'eth++'
nft add rule ip filter FORWARD iifname "eth\*foo\**" oifname "eth+*" counter
# skip for always matching interface names
iptables-translate -A FORWARD -i '+'
nft add rule ip filter FORWARD counter
# match against invalid interface name to simulate never matching rule
iptables-translate -A FORWARD ! -i '+'
nft add rule ip filter FORWARD iifname "INVAL/D" counter
extensions/libebt_among.c
View file @
eb1d7c5f
...
...
@@ -6,6 +6,7 @@
* August, 2003
*/
#include <errno.h>
#include <ctype.h>
#include <fcntl.h>
#include <getopt.h>
...
...
@@ -62,10 +63,6 @@ parse_nft_among_pair(char *buf, struct nft_among_pair *pair, bool have_ip)
char
*
sep
=
index
(
buf
,
'='
);
struct
ether_addr
*
ether
;
if
(
have_ip
^
!!
sep
)
xtables_error
(
PARAMETER_PROBLEM
,
"among: Mixed MAC and MAC=IP not allowed."
);
if
(
sep
)
{
*
sep
=
'\0'
;
...
...
@@ -137,7 +134,10 @@ static int bramong_parse(int c, char **argv, int invert,
if
((
fd
=
open
(
optarg
,
O_RDONLY
))
==
-
1
)
xtables_error
(
PARAMETER_PROBLEM
,
"Couldn't open file '%s'"
,
optarg
);
fstat
(
fd
,
&
stats
);
if
(
fstat
(
fd
,
&
stats
)
<
0
)
xtables_error
(
PARAMETER_PROBLEM
,
"fstat(%s) failed: '%s'"
,
optarg
,
strerror
(
errno
));
flen
=
stats
.
st_size
;
/* use mmap because the file will probably be big */
optarg
=
mmap
(
0
,
flen
,
PROT_READ
|
PROT_WRITE
,
...
...
@@ -201,7 +201,7 @@ static void __bramong_print(struct nft_among_pair *pairs,
isep
=
","
;
printf
(
"%s"
,
ether_ntoa
(
&
pairs
[
i
].
ether
));
if
(
have_ip
)
if
(
pairs
[
i
].
in
.
s_addr
!=
INADDR_ANY
)
printf
(
"=%s"
,
inet_ntoa
(
pairs
[
i
].
in
));
}
printf
(
" "
);
...
...
extensions/libebt_among.t
View file @
eb1d7c5f
...
...
@@ -13,4 +13,4 @@
--
among
-
src
;
=
;
FAIL
--
among
-
src
00
:
11
=
10.0.0.1
;
=
;
FAIL
--
among
-
src
de:ad:0:be:ee:ff
=
10.256.0.1
;
=
;
FAIL
--
among
-
src
de:ad:0:be:ee:ff
,
c0:ff:ee:0:ba:be
=
192.168.1.1
;
=
;
FAIL
--
among
-
src
c0:ff:ee:0:ba:be
=
192.168.1.1
,
de:ad:0:be:ee:ff
;
=
;
OK
extensions/libip6t_DNPT.man
View file @
eb1d7c5f
...
...
@@ -23,7 +23,7 @@ ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64
.PP
You may need to enable IPv6 neighbor proxy:
.IP
sysctl -w net.ipv6.conf.all.proxy_ndp=1
sysctl
\
-w net.ipv6.conf.all.proxy_ndp=1
.PP
You also have to use the
.B NOTRACK
...
...
extensions/libip6t_SNPT.man
View file @
eb1d7c5f
...
...
@@ -23,7 +23,7 @@ ip6tables \-t mangle \-I PREROUTING \-i wlan0 \-d 2001:e20:2000:40f::/64
.PP
You may need to enable IPv6 neighbor proxy:
.IP
sysctl -w net.ipv6.conf.all.proxy_ndp=1
sysctl
\
-w net.ipv6.conf.all.proxy_ndp=1
.PP
You also have to use the
.B NOTRACK
...
...
extensions/libip6t_srh.t
View file @
eb1d7c5f
...
...
@@ -23,6 +23,6 @@
-
m srh ! --s
rh
-
tag
0
;
=
;
OK
-
m srh --s
rh
-
next
-
hdr
17
--
srh
-
segs
-
left
-
eq
1
--
srh
-
last
-
entry
-
eq
4
--
srh
-
tag
0
;
=
;
OK
-
m srh ! --s
rh
-
next
-
hdr
17
!
--
srh
-
segs
-
left
-
eq
0
--
srh
-
tag
0
;
=
;
OK
-
m srh --s
rh
-
psid
A
::
/64 --srh-nsid
B
:: --srh-lsid
C
::/
0
;;
OK
-
m srh ! --s
rh
-
psid
A
::
/64 ! --srh-nsid
B
:: ! --srh-lsid
C
::/
0
;;
OK
-
m srh --s
rh
-
psid
a
::
/64 --srh-nsid
b
::
/
128
--
srh
-
lsid
c
::
/
0
;
=
;
OK
-
m srh ! --s
rh
-
psid
a
::
/64 ! --srh-nsid
b
::
/
128
!
--
srh
-
lsid
c
::
/
0
;
=
;
OK
-
m
srh
;
=
;
OK
extensions/libipt_CLUSTERIP.man
View file @
eb1d7c5f
...
...
@@ -2,6 +2,9 @@ This module allows you to configure a simple cluster of nodes that share
a certain IP and MAC address without an explicit load balancer in front of
them. Connections are statically distributed between the nodes in this
cluster.
.PP
Please note that CLUSTERIP target is considered deprecated in favour of cluster
match which is more flexible and not limited to IPv4.
.TP
\fB\-\-new\fP
Create a new ClusterIP. You always have to set this on the first rule
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment