# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "iptables-extensions" msgstr "" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "iptables 1.8.13" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables-extensions \\(em list of extensions in the standard iptables " "distribution" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B [B<-m> I [I...]] [B<-j> I " "[I...]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B [B<-m> I [I...]] [B<-j> I " "[I...]" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "MATCH EXTENSIONS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables can use extended packet matching modules with the B<-m> or B<--" "match> options, followed by the matching module name; after these, various " "extra command line options become available, depending on the specific " "module. You can specify multiple extended match modules in one line, and " "you can use the B<-h> or B<--help> options after the module has been " "specified to receive help specific to that module. The extended match " "modules are evaluated in the order they are specified in the rule." msgstr "" #. @MATCH@ #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If the B<-p> or B<--protocol> was specified and if and only if an unknown " "option is encountered, iptables will try load a match module of the same " "name as the protocol, to try making the option available." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "addrtype" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This module matches packets based on their B
Address types " "are used within the kernel networking stack and categorize addresses into " "various groups. The exact definition of that group depends on the specific " "layer three protocol." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "The following address types are possible:" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "an unspecified address (i.e. 0.0.0.0)" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "an unicast address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "a local address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "a broadcast address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "an anycast packet" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "a multicast address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "a blackhole address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "an unreachable address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "a prohibited address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "FIXME" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--src-type> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Matches if the source address is of given type" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--dst-type> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Matches if the destination address is of given type" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--limit-iface-in>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The address type checking can be limited to the interface the packet is " "coming in. This option is only valid in the B, B and " "B chains. It cannot be specified with the B<--limit-iface-out> " "option." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--limit-iface-out>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The address type checking can be limited to the interface the packet is " "going out. This option is only valid in the B, B and " "B chains. It cannot be specified with the B<--limit-iface-in> " "option." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "ah (IPv6-specific)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This module matches the parameters in Authentication header of IPsec packets." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ahspi> I[B<:>I]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Matches SPI." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ahlen> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Total length of this header in octets." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--ahres>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Matches if the reserved field is filled with zero." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "ah (IPv4-specific)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "This module matches the SPIs in Authentication header of IPsec packets." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "bpf" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Match using Linux Socket Filter. Expects a path to an eBPF object or a cBPF " "program in decimal format." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--object-pinned> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Pass a path to a pinned eBPF object." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Applications load eBPF programs into the kernel with the bpf() system call " "and BPF_PROG_LOAD command and can pin them in a virtual filesystem with " "BPF_OBJ_PIN. To use a pinned object in iptables, mount the bpf filesystem " "using" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "mount -t bpf bpf ${BPF_MOUNT}" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "then insert the filter in iptables by path:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A OUTPUT -m bpf --object-pinned ${BPF_MOUNT}/{PINNED_PATH} -j " "ACCEPT" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--bytecode> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Pass the BPF byte code format as generated by the B utility." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The code format is similar to the output of the tcpdump -ddd command: one " "line that stores the number of instructions, followed by one line for each " "instruction. Instruction lines follow the pattern 'u16 u8 u8 u32' in decimal " "notation. Fields encode the operation, jump offset if true, jump offset if " "false and generic multiuse field 'K'. Comments are not supported." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "For example, to read only packets matching 'ip proto 6', insert the " "following, without the comments or trailing whitespace:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "4 # number of instructions" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "48 0 0 9 # load byte ip-Eproto" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "21 0 1 6 # jump equal IPPROTO_TCP" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "6 0 0 1 # return pass (non-zero)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "6 0 0 0 # return fail (zero)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "You can pass this filter to the bpf match with the following command:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A OUTPUT -m bpf --bytecode '4,48 0 0 9,21 0 1 6,6 0 0 1,6 0 0 0' " "-j ACCEPT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Or instead, you can invoke the nfbpf_compile utility." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A OUTPUT -m bpf --bytecode \"`nfbpf_compile RAW 'ip proto 6'`\" -j " "ACCEPT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Or use tcpdump -ddd. In that case, generate BPF targeting a device with the " "same data link type as the xtables match. Iptables passes packets from the " "network layer up, without mac layer. Select a device with data link type " "RAW, such as a tun device:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "ip tuntap add tun0 mode tun" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "ip link set tun0 up" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "tcpdump -ddd -i tun0 ip proto 6" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "See tcpdump -L -i $dev for a list of known data link types for a given " "device." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "You may want to learn more about BPF from FreeBSD's bpf(4) manpage." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "cgroup" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--path> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Match cgroup2 membership." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Each socket is associated with the v2 cgroup of the creating process. This " "matches packets coming from or going to all sockets in the sub-hierarchy of " "the specified path. The path should be relative to the root of the cgroup2 " "hierarchy." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--cgroup> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Match cgroup net_cls classid." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "classid is the marker set through the cgroup net_cls controller. This " "option and --path can't be used together." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Example:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A OUTPUT -p tcp --sport 80 -m cgroup ! --path service/http-server " "-j DROP" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "iptables -A OUTPUT -p tcp --sport 80 -m cgroup ! --cgroup 1 -j DROP" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B: when being used in the INPUT chain, the cgroup matcher is " "currently only of limited functionality, meaning it will only match on " "packets that are processed for local sockets through early socket demuxing. " "Therefore, general usage on the INPUT chain is not advised unless the " "implications are well understood." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Available since Linux 3.14." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "cluster" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Allows you to deploy gateway and back-end load-sharing clusters without the " "need of load-balancers." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This match requires that all the nodes see the same packets. Thus, the " "cluster match decides if this node has to handle a packet given the " "following options:" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--cluster-total-nodes> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Set number of total nodes in cluster." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--cluster-local-node> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Set the local node number ID." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--cluster-local-nodemask> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Set the local node number ID mask. You can use this option instead of B<--" "cluster-local-node>." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--cluster-hash-seed> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Set seed value of the Jenkins hash." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A PREROUTING -t mangle -i eth1 -m cluster --cluster-total-nodes 2 " "--cluster-local-node 1 --cluster-hash-seed 0xdeadbeef -j MARK --set-mark " "0xffff" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A PREROUTING -t mangle -i eth2 -m cluster --cluster-total-nodes 2 " "--cluster-local-node 1 --cluster-hash-seed 0xdeadbeef -j MARK --set-mark " "0xffff" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A PREROUTING -t mangle -i eth1 -m mark ! --mark 0xffff -j DROP" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A PREROUTING -t mangle -i eth2 -m mark ! --mark 0xffff -j DROP" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "And the following commands to make all nodes see the same packets:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "ip maddr add 01:00:5e:00:01:01 dev eth1" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "ip maddr add 01:00:5e:00:01:02 dev eth2" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "arptables -A OUTPUT -o eth1 --h-length 6 -j mangle --mangle-mac-s " "01:00:5e:00:01:01" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "arptables -A INPUT -i eth1 --h-length 6 --destination-mac 01:00:5e:00:01:01 " "-j mangle --mangle-mac-d 00:zz:yy:xx:5a:27" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "arptables -A OUTPUT -o eth2 --h-length 6 -j mangle --mangle-mac-s " "01:00:5e:00:01:02" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "arptables -A INPUT -i eth2 --h-length 6 --destination-mac 01:00:5e:00:01:02 " "-j mangle --mangle-mac-d 00:zz:yy:xx:5a:27" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B: the arptables commands above use mainstream syntax. If you are " "using arptables-jf included in some RedHat, CentOS and Fedora versions, you " "will hit syntax errors. Therefore, you'll have to adapt these to the " "arptables-jf syntax to get them working." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "In the case of TCP connections, pickup facility has to be disabled to avoid " "marking TCP ACK packets coming in the reply direction as valid." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "echo 0 E /proc/sys/net/netfilter/nf_conntrack_tcp_loose" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "comment" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Allows you to add comments (up to 256 characters) to any rule." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--comment> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "iptables -A INPUT -i eth1 -m comment --comment \"my local LAN\"" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "connbytes" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Match by how many bytes or packets a connection (or one of the two flows " "constituting the connection) has transferred so far, or by average bytes per " "packet." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "The counters are 64-bit and are thus not expected to overflow ;)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The primary use is to detect long-lived downloads and mark them to be " "scheduled using a lower priority band in traffic control." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The transferred bytes per connection can also be viewed through `conntrack " "-L` and accessed via ctnetlink." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "NOTE that for connections which have no accounting information, the match " "will always return false. The \"net.netfilter.nf_conntrack_acct\" sysctl " "flag controls whether B connections will be byte/packet counted. " "Existing connection flows will not be gaining/losing a/the accounting " "structure when be sysctl flag is flipped." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--connbytes> I[B<:>I]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "match packets from a connection whose packets/bytes/average packet size is " "more than FROM and less than TO bytes/packets. if TO is omitted only FROM " "check is done. \"!\" is used to match packets not falling in the range." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connbytes-dir> {B|B|B}" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "which packets to consider" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connbytes-mode> {B|B|B}" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "whether to check the amount of packets, number of bytes transferred or the " "average size (in bytes) of all packets received so far. Note that when " "\"both\" is used together with \"avgpkt\", and data is going (mainly) only " "in one direction (for example HTTP), the average packet size will be about " "half of the actual data packets." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables .. -m connbytes --connbytes 10000:100000 --connbytes-dir both --" "connbytes-mode bytes ..." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "connlabel" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Module matches or adds connlabels to a connection. connlabels are similar " "to connmarks, except labels are bit-based; i.e. all labels may be attached " "to a flow at the same time. Up to 128 unique labels are currently supported." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--label> B" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "matches if label B has been set on a connection. Instead of a name " "(which will be translated to a number, see EXAMPLE below), a number may be " "used instead. Using a number always overrides connlabel.conf." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--set>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "if the label has not been set on the connection, set it. Note that setting " "a label can fail. This is because the kernel allocates the conntrack label " "storage area when the connection is created, and it only reserves the amount " "of memory required by the ruleset that exists at the time the connection is " "created. In this case, the match will fail (or succeed, in case B<--label> " "option was negated)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This match depends on libnetfilter_conntrack 1.0.4 or later. Label " "translation is done via the B configuration " "file." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "0\teth0-in\n" "1\teth0-out\n" "2\tppp-in\n" "3\tppp-out\n" "4\tbulk-traffic\n" "5\tinteractive\n" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "connlimit" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Allows you to restrict the number of parallel connections to a server per " "client IP address (or client address block)." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connlimit-upto> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Match if the number of existing connections is below or equal I." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connlimit-above> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Match if the number of existing connections is above I." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connlimit-mask> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Group hosts using the prefix length. For IPv4, this must be a number between " "(including) 0 and 32. For IPv6, between 0 and 128. If not specified, the " "maximum prefix length for the applicable protocol is used." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connlimit-saddr>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Apply the limit onto the source group. This is the default if --connlimit-" "daddr is not specified." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<--connlimit-daddr>" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Apply the limit onto the destination group." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Examples:" msgstr "" #. type: IP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "\\(bu" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "allow 2 telnet connections per client host:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A INPUT -p tcp --syn --dport 23 -m connlimit --connlimit-above 2 " "-j REJECT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "you can also match the other way around:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -A INPUT -p tcp --syn --dport 23 -m connlimit --connlimit-upto 2 -j " "ACCEPT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "limit the number of parallel HTTP requests to 16 per class C sized source " "network (24 bit netmask):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "iptables -p tcp --syn --dport 80 -m connlimit --connlimit-above 16 --" "connlimit-mask 24 -j REJECT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "limit the number of parallel HTTP requests to 16 for the link local network " "(IPv6):" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "ip6tables -p tcp --syn --dport 80 -s fe80::/64 -m connlimit --connlimit-" "above 16 --connlimit-mask 64 -j REJECT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Limit the number of connections to a particular host:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "ip6tables -p tcp --syn --dport 49152:65535 -d 2001:db8::1 -m connlimit --" "connlimit-above 100 -j REJECT" msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "connmark" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This module matches the netfilter mark field associated with a connection " "(which can be set using the B target below)." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--mark> I[BI]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Matches packets in connections with the given mark value (if a mask is " "specified, this is logically ANDed with the mark before the comparison)." msgstr "" #. type: SS #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "conntrack" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This module, when combined with connection tracking, allows access to the " "connection tracking state for this packet/connection." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctstate> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "I is a comma separated list of the connection states to match. " "Possible states are listed below." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctproto> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Layer-4 protocol to match (by number or name)" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctorigsrc> I
[BI]" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctorigdst> I
[BI]" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctreplsrc> I
[BI]" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctrepldst> I
[BI]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Match against original/reply source/destination address" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctorigsrcport> I[B<:>I]" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctorigdstport> I[B<:>I]" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctreplsrcport> I[B<:>I]" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctrepldstport> I[B<:>I]" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Match against original/reply source/destination port (TCP/UDP/etc.) or GRE " "key. Matching against port ranges is only supported in kernel versions " "above 2.6.38." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctstatus> I" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "I is a comma separated list of the connection statuses to " "match. Possible statuses are listed below." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "[B] B<--ctexpire> I