Commit Graph

120 Commits

Author SHA1 Message Date
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
0b45b2759a - new version 1.4.12.2 2012-01-16 14:25:00 +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
60fba6574f - fixed sources 2011-07-25 18:13:05 +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
efe5bd8132 - uploaded source archive 2011-07-11 16:06:18 +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
Thomas Woerner
9ff5d90c9f - upload was working now, therefore .gitignore was changed 2011-02-14 13:35:37 +01: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
Fedora Release Engineering
8cbf3d44d8 dist-git conversion 2010-07-28 18:24:48 +00: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
af849309ea - removed 1.4.6 from sources file 2010-04-08 10:21:51 +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
bc5bcb4fea - add default values for IPTABLES_STATUS_VERBOSE and
IPTABLES_STATUS_LINENUMBERS from /etc/sysconfig/ip*tables-config
2010-03-24 12:19:38 +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
Bill Nottingham
d718a940ab Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:40:40 +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
9a94261e69 forgot to add patch 2009-03-30 12:59:19 +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
Thomas Woerner
47932511b3 - new version 1.4.1 with new build environment
- additional ipv6 network mask patch from Jan Engelhardt
- spec file cleanup
- removed old patches
2008-06-10 13:08:35 +00:00
Tom Callaway
1a6c05b472 use normal kernel headers, not linux/compiler.h 2008-06-06 18:59:22 +00:00
Thomas Woerner
175162e6e7 - use O_CLOEXEC for all opened files in all applications (rhbz#438189) 2008-03-20 15:09:55 +00:00
Thomas Woerner
c5dfcf315c - removed // from _kernel because of /usr/lib/rpm/debugedit problem 2008-03-03 14:53:35 +00:00