Commit Graph

120 Commits

Author SHA1 Message Date
Thomas Woerner
e6060d4640 New version 1.4.18
- lots of documentation changes
  - Introduce match/target aliases
  - Add the "state" alias to the "conntrack" match
  - iptables: remove unused leftover definitions
  - libxtables: add xtables_rule_matches_free
  - libxtables: add xtables_print_num
  - extensions: libip6t_DNPT: fix wording in DNPT target
  - extension: libip6t_DNAT: allow port DNAT without address
  - extensions: libip6t_DNAT: set IPv6 DNAT --to-destination
  - extensions: S/DNPT: add missing save function
- changes of 1.4.17:
  - libxt_time: add support to ignore day transition
  - Convert the NAT targets to use the kernel supplied nf_nat.h header
  - extensions: add IPv6 MASQUERADE extension
  - extensions: add IPv6 SNAT extension
  - extensions: add IPv6 DNAT target
  - extensions: add IPv6 REDIRECT extension
  - extensions: add IPv6 NETMAP extension
  - extensions: add NPT extension
  - extensions: libxt_statistic: Fix save output
2013-03-04 16:37:19 +01:00
Dennis Gilmore
76c313d842 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 20:13:21 -06:00
Ville Skyttä
1920e0d30a Own unowned -services libexec dirs (#894464, Michael Scherer).
- Fix -services unit file permissions (#732936, Michal Schmidt).
2013-01-16 18:38:19 +02:00
Thomas Woerner
e34d762c5c - fixed path of ip6tables.init in ip6tables.service 2012-11-08 13:03:44 +01:00
Thomas Woerner
dd96cc5585 - fixed missing services for update of pre F-18 installations (rhbz#867960)
- provide and obsolete old main package in services sub package
  - provide and obsolete old ipv6 sub package (pre F-17) in services sub package
2012-11-02 13:48:53 +01:00
Dan Hor?k
fa59546b65 fix the compat provides for all 64-bit arches 2012-10-14 17:22:13 +02:00
Thomas Woerner
2fe636d5d4 - new sub package services providing the systemd services (RHBZ#862922)
- new sub package utils: provides nfnl_osf and the pf.os database
- using %{_libexecdir}/iptables as script path for the original init scripts
- added service iptables save funcitonality using the new way provided by
  initscripts 9.37.1 (RHBZ#748134)
- added virtual provide for libxtables.so.7
2012-10-12 16:23:05 +02:00
Thomas Woerner
79f3fa812b - new version 1.4.16.2
- build: support for automake-1.12
  - build: separate AC variable replacements from xtables.h
  - build: have `make clean` remove dep files too
  - doc: grammatical updates to libxt_SET
  - doc: clean up interpunction in state list for xt_conntrack
  - doc: deduplicate extension descriptions into a new manpage
  - doc: trim "state" manpage and reference conntrack instead
  - doc: have NOTRACK manpage point to CT instead
  - doc: mention iptables-apply in the SEE ALSO sections
  - extensions: libxt_addrtype: fix type in help message
  - include: add missing linux/netfilter_ipv4/ip_queue.h
  - iptables: fix wrong error messages
  - iptables: support for match aliases
  - iptables: support for target aliases
  - iptables-restore: warn about -t in rule lines
  - ip[6]tables-restore: cleanup to reduce one level of indentation
  - libip6t_frag: match any frag id by default
  - libxtables: consolidate preference logic
  - libxt_devgroup: consolidate devgroup specification parsing
  - libxt_devgroup: guard against negative numbers
  - libxt_LED: guard against negative numbers
  - libxt_NOTRACK: replace as an alias to CT --notrack
  - libxt_state: replace as an alias to xt_conntrack
  - libxt_tcp: print space before, not after "flags:"
  - libxt_u32: do bounds checking for @'s operands
  - libxt_*limit: avoid division by zero
  - Merge branch 'master' of git://git.inai.de/iptables
  - Merge remote-tracking branch 'nf/stable'
  - New set match revision with --return-nomatch flag support
- dropped fixrestore patch, upstream
2012-10-08 15:36:30 +02:00
Thomas Woerner
0645ca64a7 - added fixrestore patch submitted to upstream by fryasu (nfbz#774)
(RHBZ#825796)

Merge commit '3670a98a72eedbbc76cfcab606b27da7094f7488'

Conflicts:
	iptables.spec
2012-07-18 16:17:58 +02:00
Thomas Woerner
3670a98a72 - added fixrestore patch submitted to upstream by fryasu (nfbz#774)
(RHBZ#825796)
2012-07-18 16:14:07 +02:00
Thomas Woerner
243a920c56 - disabled libipq, removed upstream, not provided by kernel anymore 2012-07-18 10:14:12 +02:00
Thomas Woerner
dde6759990 - new version 1.4.14
- extensions: add IPv6 capable ECN match extension
  - extensions: add nfacct match
  - extensions: add rpfilter module
  - extensions: libxt_rateest: output all options in save hook
  - iptables: missing free() in function cache_add_entry()
  - iptables: missing free() in function delete_entry()
  - libiptc: fix retry path in TC_INIT
  - libiptc: Returns the position the entry was inserted
  - libipt_ULOG: fix --ulog-cprange
  - libxt_CT: add --timeout option
  - ip(6)tables-restore: make sure argv is NULL terminated
  - Revert "libiptc: Returns the position the entry was inserted"
  - src: mark newly opened fds as FD_CLOEXEC (close on exec)
  - tests: add rateest match rules
- dropped patch5 (cloexec), merged upstream
2012-07-18 09:23:34 +02:00
Thomas Woerner
566ade3bdb - reenable iptables default services 2012-04-23 20:08:59 +02:00
Thomas Woerner
989a1ddebf - New global tag default_service 2012-04-20 17:27:09 +02:00
Harald Hoyer
e71311de3a install everything in /usr
https://fedoraproject.org/wiki/Features/UsrMove
2012-02-29 16:52:04 +01:00
Harald Hoyer
f586a1b819 install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove

This package requires now 'filesystem' >= 3, which is only
installable on a system which has /bin, /sbin, /lib, /lib64 as
symlinks to /usr and not regular directories. The 'filesystem'
package acts as a guard, to prevent *this* package to be installed
on old unconverted systems.

New installations will have the 'filesystem' >=3 layout right away,
old installations need to be converted with anaconda or dracut first;
only after that, the 'filesystem' package, and also *this* package
can be installed.

Packages *should* not install files in /bin, /sbin, /lib, /lib64,
but only in the corresponding directories in /usr. Packages *must*
not install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibilty symlinks must not
be installed.

Feel free to modify any of the changes to the spec file, but keep
the above in mind.
2012-02-29 16:49:18 +01:00
Thomas Woerner
ba28c6a8b0 - fixed auto enable check for Fedora > 16 and added rhel > 6 check 2012-02-16 20:19:26 +01:00
Thomas Woerner
9b9f064100 - disabled autostart and auto enable for iptables.service and ip6tables.service
for Fedora > 16
2012-02-15 19:52:36 +01:00
Thomas Woerner
900581a58b - new version 1.4.12.2 with new pkgconfig/libip4tc.pc and pkgconfig/libip6tc.pc
- build: make check stage not fail when building statically
  - build: restore build order of modules
  - build: scan for unreferenced symbols
  - build: sort file list before build
  - doc: clarification on the meaning of -p 0
  - doc: document iptables-restore's -T option
  - doc: fix undesired newline in ip6tables-restore(8)
  - ip6tables-restore: implement missing -T option
  - iptables: move kernel version find routing into libxtables
  - libiptc: provide separate pkgconfig files
  - libipt_SAME: set PROTO_RANDOM on all ranges
  - libxtables: Fix file descriptor leak in xtables_lmap_init on error
  - libxt_connbytes: fix handling of --connbytes FROM
  - libxt_CONNSECMARK: fix spacing in output
  - libxt_conntrack: improve error message on parsing violation
  - libxt_NFQUEUE: fix --queue-bypass ipt-save output
  - libxt_RATEEST: link with -lm
  - libxt_statistic: link with -lm
  - Merge branch 'stable'
  - Merge branch 'stable' of git://dev.medozas.de/iptables
  - nfnl_osf: add missing libnfnetlink_CFLAGS to compile process
  - xtoptions: fill in fallback value for nvals
  - xtoptions: simplify xtables_parse_interface
2012-01-16 14:23:44 +01:00
Dennis Gilmore
b6effdeb2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 23:58:37 -06:00
Thomas Woerner
697bb55852 - removed include/linux/types.h before build to be able to compile 2011-12-12 16:09:46 +01:00
Thomas Woerner
2830e77cd7 - new version 1.4.12.1 with new pkgconfig/libipq.pc
- build: abort autogen on subcommand failure
  - build: strengthen check for overlong lladdr components
  - build: workaround broken linux-headers on RHEL-5
  - doc: clarify libxt_connlimit defaults
  - doc: fix typo in libxt_TRACE
  - extensions: use multi-target registration
  - libip6t_dst: restore setting IP6T_OPTS_LEN flag
  - libip6t_frag: restore inversion support
  - libip6t_hbh: restore setting IP6T_OPTS_LEN flag
  - libipq: add pkgconfig file
  - libipt_ttl: document that negation is available
  - libxt_conntrack: fix --ctproto 0 output
  - libxt_conntrack: remove one misleading comment
  - libxt_dccp: fix deprecated intrapositional ordering of !
  - libxt_dccp: fix random output of ! on --dccp-option
  - libxt_dccp: provide man pages options in short help too
  - libxt_dccp: restore missing XTOPT_INVERT tags for options
  - libxt_dccp: spell out option name on save
  - libxt_dscp: restore inversion support
  - libxt_hashlimit: default htable-expire must be in milliseconds
  - libxt_hashlimit: observe new default gc-expire time when saving
  - libxt_hashlimit: remove inversion from hashlimit rev 0
  - libxt_owner: restore inversion support
  - libxt_physdev: restore inversion support
  - libxt_policy: remove superfluous inversion
  - libxt_set: put differing variable names in directly
  - libxt_set: update man page about kernel support on the feature
  - libxt_string: define _GNU_SOURCE for strnlen
  - libxt_string: escape the escaping char too
  - libxt_string: fix space around arguments
  - libxt_string: replace hex codes by char equivalents
  - libxt_string: simplify hex output routine
  - libxt_tcp: always print the mask parts
  - libxt_TCPMSS: restore build with IPv6-less libcs
  - libxt_TOS: update linux kernel version list for backported fix
  - libxt_u32: fix missing allowance for inversion
  - src: remove unused IPTABLES_MULTI define
  - tests: add negation tests for libxt_statistic
  - xtoptions: flag use of XTOPT_POINTER without XTOPT_PUT
2011-12-12 15:19:49 +01:00
Thomas Woerner
46fbaf570a - dropped temporary provide again 2011-07-26 11:29:28 +02:00
Thomas Woerner
a74a2b4ef7 - added temporary provides for libxtables.so.6 to be able to rebuild iproute,
which is part of the standard build environment
2011-07-26 09:59:58 +02:00
Thomas Woerner
29d193fcc8 - new version 1.4.12 with support of all new features of kernel 3.0
- build: attempt to fix building under Linux 2.4
  - build: bump soversion for recent data structure change
  - build: install modules in arch-dependent location
  - doc: fix group range in libxt_NFLOG's man
  - doc: fix version string in ip6tables.8
  - doc: include matches/targets in manpage again
  - doc: mention multiple verbosity flags
  - doc: the -m option cannot be inverted
  - extensions: support for per-extension instance global variable space
  - iptables-apply: select default rule file depending on call name
  - iptables: consolidate target/match init call
  - iptables: Coverity: DEADCODE
  - iptables: Coverity: NEGATIVE_RETURNS
  - iptables: Coverity: RESOURCE_LEAK
  - iptables: Coverity: REVERSE_INULL
  - iptables: Coverity: VARARGS
  - iptables: restore negation for -f
  - libip6t_HL: fix option names from ttl -> hl
  - libipt_LOG: fix ignoring all but last flags
  - libxtables: ignore whitespace in the multiaddress argument parser
  - libxtables: properly reject empty hostnames
  - libxtables: set clone's initial data to NULL
  - libxt_conntrack: move more data into the xt_option_entry
  - libxt_conntrack: restore network-byte order for v1,v2
  - libxt_hashlimit: use a more obvious expiry value by default
  - libxt_rateest: abolish global variables
  - libxt_RATEEST: abolish global variables
  - libxt_RATEEST: fix userspacesize field
  - libxt_RATEEST: use guided option parser
  - libxt_state: fix regression about inversion of main option
  - option: remove last traces of intrapositional negation
- complete changelog:
  http://www.netfilter.org/projects/iptables/files/changes-iptables-1.4.12.txt
2011-07-25 18:12:15 +02:00
Thomas Woerner
1392835e93 - merged ipv6 sub package into main package
- renamed init scripts to /usr/libexec/ip*tables.init
2011-07-21 15:53:48 +02:00
Thomas Woerner
48928b097d - added support for native systemd file (rhbz#694738)
- new iptables.service file
  - additional requires
  - moved sysv init scripts to /usr/libexec
  - added new post, preun and postun scripts and triggers
2011-07-15 16:21:02 +02:00
Thomas Woerner
9269623657 - dropped temporary provide again
- enabled smp build
2011-07-12 14:07:48 +02:00
Thomas Woerner
bae0f3016a - added temporary provides for libxtables.so.5 to be able to rebuild iproute,
which is part of the standard build environment
2011-07-12 13:34:12 +02:00
Thomas Woerner
d2526b7251 - new version 1.4.11.1, bug and doc fix release for 1.4.11
* Tue Jun  7 2011 Thomas Woerner <twoerner@redhat.com> 1.4.11-1
- new version 1.4.11 with all new features of 2.6.37-39 (not usable)
  - lots of changes and bugfixes for base and extensions
  - complete changelog:
    http://www.netfilter.org/projects/iptables/files/changes-iptables-1.4.11.txt
2011-07-11 15:52:54 +02:00
Dennis Gilmore
a06a4f2e5c - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 07:01:05 -06:00
Thomas Woerner
74f361e244 - new version 1.4.10 with all new features of 2.6.36
- all: consistent syntax use in struct option
  - build: fix static linking
  - doc: let man(1) autoalign the text in xt_cpu
  - doc: remove extra empty line from xt_cpu
  - doc: minimal spelling updates to xt_cpu
  - doc: consistent use of markup
  - extensions: libxt_quota: don't ignore the quota value on deletion
  - extensions: REDIRECT: add random help
  - extensions: add xt_cpu match
  - extensions: add idletimer xt target extension
  - extensions: libxt_IDLETIMER: use xtables_param_act when checking options
  - extensions: libxt_CHECKSUM extension
  - extensions: libipt_LOG/libip6t_LOG: support macdecode option
  - extensions: fix compilation of the new CHECKSUM target
  - extensions: libxt_ipvs: user-space lib for netfilter matcher xt_ipvs
  - iptables-xml: resolve compiler warnings
  - iptables: limit chain name length to be consistent with targets
  - libiptc: add Libs.private to pkgconfig files
  - libiptc: build with -Wl,--no-as-needed
  - xtables: remove unnecessary cast
- dropped xt_CHECKSUM, added upstream
2011-01-10 17:05:15 +01:00
Thomas Woerner
668046c0c7 - added xt_CHECKSUM patch from Michael S. Tsirkin (rhbz#612587) 2010-10-12 19:42:44 +02:00
Thomas Woerner
f7ec09d02c - new version 1.4.9 with all new features of 2.6.35
- doc: xt_hashlimit: fix a typo
  - doc: xt_LED: nroff formatting requirements
  - doc: xt_string: correct copy-and-pasting in manpage
  - extensions: add the LED target
  - extensions: libxt_quota.c: Support option negation
  - extensions: libxt_rateest: fix bps options for iptables-save
  - extensions: libxt_rateest: fix typo in the man page
  - extensions: REDIRECT: add random help
  - includes: sync header files from Linux 2.6.35-rc1
  - libxt_conntrack: do print netmask
  - libxt_hashlimit: always print burst value
  - libxt_set: new revision added
  - utils: add missing include flags to Makefile
  - xtables: another try at chain name length checking
  - xtables: remove xtables_set_revision function
  - xt_quota: also document negation
  - xt_sctp: Trace DATA chunk that supports SACK-IMMEDIATELY extension
  - xt_sctp: support FORWARD_TSN chunk type
2010-08-04 16:50:25 +02:00
Thomas Woerner
1c32f51466 - new version 1.4.8 all new features of 2.6.34 (rhbz#)
- extensions: REDIRECT: fix --to-ports parser
- iptables: add noreturn attribute to exit_tryhelp()
- extensions: MASQUERADE: fix --to-ports parser
- libxt_comment: avoid use of IPv4-specific examples
- libxt_CT: add a manpage
- iptables: correctly check for too-long chain/target/match names
- doc: libxt_MARK: no longer restricted to mangle table
- doc: remove claim that TCPMSS is limited to mangle
- libxt_recent: add a missing space in output
- doc: add manpage for libxt_osf
- libxt_osf: import nfnl_osf program
- extensions: add support for xt_TEE
- CT: fix --ctevents parsing
- extensions: add CT extension
- libxt_CT: print conntrack zone in ->print/->save
- xtables: fix compilation when debugging is enabled
- libxt_conntrack: document --ctstate UNTRACKED
- iprange: fix xt_iprange v0 parsing
2010-07-02 08:34:08 +00:00
Thomas Woerner
19f9d681df - added default values for IPTABLES_STATUS_VERBOSE and
IPTABLES_STATUS_LINENUMBERS in init script
- added missing lsb keywords Required-Start and Required-Stop to init
    script
2010-03-24 14:31:33 +00:00
Thomas Woerner
9e16e52295 - fixed typo in changelog 2010-03-05 14:01:44 +00:00
Thomas Woerner
0e146f1051 - new version 1.4.7 with support for all new features of 2.6.33
(rhbz#570767)
- libip4tc: Add static qualifier to dump_entry()
- libipq: build as shared library
- recent: reorder cases in code (cosmetic cleanup)
- several man page and documentation fixes
- policy: fix error message showing wrong option
- includes: header updates
- Lift restrictions on interface names
- fixed licensea and moved iptables-xml into base package according to
    review
2010-03-05 14:01:22 +00:00
Thomas Woerner
c5f8c6ac2d - moved libip*tc and libxtables libs to /lib[64], added symlinks for .so
libs to /usr/lib[64] for compatibility (rhbz#558796)
2010-01-27 15:03:10 +00:00
Thomas Woerner
1053d485c1 - new version 1.4.6 with support for all new features of 2.6.32
- several man page fixes
- Support for nommu arches
- realm: remove static initializations
- libiptc: remove unused functions
- libiptc: avoid strict-aliasing warnings
- iprange: do accept non-ranges for xt_iprange v1
- iprange: warn on reverse range
- iprange: roll address parsing into a loop
- iprange: do accept non-ranges for xt_iprange v1 (log)
- iprange: warn on reverse range (log)
- libiptc: fix wrong maptype of base chain counters on restore
- iptables: fix undersized deletion mask creation
- style: reduce indent in xtables_check_inverse
- libxtables: hand argv to xtables_check_inverse
- iptables/extensions: make bundled options work again
- CONNMARK: print mark rules with mask 0xffffffff as set instead of xset
- iptables: take masks into consideration for replace command
- doc: explain experienced --hitcount limit
- doc: name resolution clarification
- iptables: expose option to zero packet/byte counters for a specific rule
- build: restore --disable-ipv6 functionality on system w/o v6 headers
- MARK: print mark rules with mask 0xffffffff as --set-mark instead of
    --set-xmark
- DNAT: fix incorrect check during parsing
- extensions: add osf extension
- conntrack: fix --expires parsing
- dropped nf_ext_init remains from cloexec patch
2010-01-13 15:34:55 +00:00
Thomas Woerner
5b3956eb49 - new version 1.4.5 with support for all new features of 2.6.31
- libxt_NFQUEUE: add new v1 version with queue-balance option
- xt_conntrack: revision 2 for enlarged state_mask member
- libxt_helper: fix invalid passed option to check_inverse
- libiptc: split v4 and v6
- extensions: collapse registration structures
- iptables: allow for parse-less extensions
- iptables: allow for help-less extensions
- extensions: remove empty help and parse functions
- xtables: add multi-registration functions
- extensions: collapse data variables to use multi-reg calls
- xtables: warn of missing version identifier in extensions
- multi binary: allow subcommand via argv[1]
- iptables: accept multiple IP address specifications for -s, -d
- several build fixes
- several man page fixes
- fixed two leaked file descriptors on sockets (rhbz#521397)
2009-09-17 09:13:09 +00:00
Thomas Woerner
1014ae94df - new version 1.4.4 with support for all new features of 2.6.30
- several man page fixes
- iptables: replace open-coded sizeof by ARRAY_SIZE
- libip6t_policy: remove redundant functions
- policy: use direct xt_policy_info instead of ipt/ip6t
- policy: merge ipv6 and ipv4 variant
- extensions: add `cluster' match support
- extensions: add const qualifiers in print/save functions
- extensions: use NFPROTO_UNSPEC for .family field
- extensions: remove redundant casts
- iptables: close open file descriptors
- fix segfault if incorrect protocol name is used
- replace open-coded sizeof by ARRAY_SIZE
- do not include v4-only modules in ip6tables manpage
- use direct xt_policy_info instead of ipt/ip6t
- xtables: fix segfault if incorrect protocol name is used
- libxt_connlimit: initialize v6_mask
- SNAT/DNAT: add support for persistent multi-range NAT mappings
2009-08-25 13:45:19 +00:00
Jesse Keating
aef453d8f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 03:32:34 +00:00
Thomas Woerner
c31ad1566a - new version 1.4.3.2
- also install iptables/internal.h, needed for iptables.h and ip6tables.h
2009-04-15 12:29:01 +00:00
Thomas Woerner
a05f4f7574 - new version 1.4.3.1
- libiptc is now shared
- supports all new features of the 2.6.29 kernel
- dropped typo_latter patch
2009-03-30 12:53:21 +00:00
Thomas Woerner
50c011a4ab - still more review fixes (rhbz#225906)
- consistent macro usage
- use sed instead of perl for rpath removal
- use standard RPM CFLAGS, but also -fno-strict-aliasing (needed for
    libiptc*)
2009-03-05 14:06:37 +00:00
Jesse Keating
986f923585 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-25 07:47:47 +00:00
Thomas Woerner
169383f4c9 - new version 1.4.2
- removed TOS value mask patch (upstream)
- more review fixes (rhbz#225906)
- install all header files (rhbz#462207)
- dropped nf_ext_init (rhbz#472548)
2009-02-20 13:44:58 +00:00
Thomas Woerner
53e82be23a - fixed TOS value mask problem (rhbz#456244) (upstream patch)
- two more cloexec fixes
2008-07-22 15:37:03 +00:00
Thomas Woerner
a3f9c4c7d9 - upstream bug fix release 1.4.1.1
- dropped extra patch for 1.4.1 - not needed anymore
2008-07-01 09:57:56 +00:00