--- xtables-addons-1.19.orig/matches.man +++ xtables-addons-1.19/matches.man @@ -0,0 +1,388 @@ +.SS ipv4options +The "ipv4options" module allows to match against a set of IPv4 header options. +.TP +\fB\-\-flags\fP [\fB!\fP]\fIsymbol\fP[\fB,\fP[\fB!\fP]\fIsymbol...\fP] +Specify the options that shall appear or not appear in the header. Each +symbol specification is delimited by a comma, and a '!' can be prefixed to +a symbol to negate its presence. Symbols are either the name of an IPv4 option +or its number. See examples below. +.TP +\fB\-\-any\fP +By default, all of the flags specified must be present/absent, that is, they +form an AND condition. Use the \-\-any flag instead to use an OR condition +where only at least one symbol spec must be true. +.PP +Known symbol names (and their number): +.PP +1 \(em \fBnop\fP +.PP +2 \(em \fBsecurity\fP \(em RFC 1108 +.PP +3 \(em \fBlsrr\fP \(em Loose Source Routing, RFC 791 +.PP +4 \(em \fBtimestamp\fP \(em RFC 781, 791 +.PP +7 \(em \fBrecord\-route\fP \em RFC 791 +.PP +9 \(em \fBssrr\fP \(em Strict Source Routing, RFC 791 +.PP +11 \(em \fBmtu\-probe\fP \(em RFC 1063 +.PP +12 \(em \fBmtu\-reply\fP \(em RFC 1063 +.PP +18 \(em \fBtraceroute\fP \(em RFC 1393 +.PP +20 \(em \fBrouter-alert\fP \(em RFC 2113 +.PP +Examples: +.PP +Match packets that have both Timestamp and NOP: +\-m ipv4options \-\-flags nop,timestamp +.PP +~ that have either of Timestamp or NOP, or both: +\-\-flags nop,timestamp \-\-any +.PP +~ that have Timestamp and no NOP: \-\-flags '!nop,timestamp' +.PP +~ that have either no NOP or a timestamp (or both conditions): +\-\-flags '!nop,timestamp' \-\-any +.SS psd +Attempt to detect TCP and UDP port scans. This match was derived from +Solar Designer's scanlogd. +.TP +\fB\-\-psd\-weight\-threshold\fP \fIthreshold\fP +Total weight of the latest TCP/UDP packets with different +destination ports coming from the same host to be treated as port +scan sequence. +.TP +\fB\-\-psd\-delay\-threshold\fP \fIdelay\fP +Delay (in hundredths of second) for the packets with different +destination ports coming from the same host to be treated as +possible port scan subsequence. +.TP +\fB\-\-psd\-lo\-ports\-weight\fP \fIweight\fP +Weight of the packet with privileged (<=1024) destination port. +.TP +\fB\-\-psd\-hi\-ports\-weight\fP \fIweight\fP +Weight of the packet with non-priviliged destination port. +.SS iface +Allows you to check interface states. +.TP +\fB\-\-iface\fP \fIname\fP +Check the states on the given interface. This option is required. +.TP +[\fB!\fP] \fB\-\-up\fP, [\fB!\fP] \fB\-\-down\fP +Check the UP flag. +.TP +[\fB!\fP] \fB\-\-broadcast\fP +Check the BROADCAST flag. +.TP +[\fB!\fP] \fB\-\-loopback\fP +Check the LOOPBACK flag. +.TP +[\fB!\fP] \fB\-\-pointtopoint\fP +Check the POINTTOPOINT flag. +.TP +[\fB!\fP] \fB\-\-running\fP +Check the RUNNING flag. Do NOT rely on it! +.TP +[\fB!\fP] \fB\-\-noarp\fP, [\fB!\fP] \fB\-\-arp\fP +Check the NOARP flag. +.TP +[\fB!\fP] \fB\-\-promisc\fP +Check the PROMISC flag. +.TP +[\fB!\fP] \fB\-\-multicast\fP +Check the MULTICAST flag. +.TP +[\fB!\fP] \fB\-\-dynamic\fP +Check the DYNAMIC flag. +.TP +[\fB!\fP] \fB\-\-lower\-up\fP +Check the LOWER_UP flag. +.TP +[\fB!\fP] \fB\-\-dormant\fP +Check the DORMANT flag. +.SS condition +This matches if a specific condition variable is (un)set. +.TP +[\fB!\fP] \fB\-\-condition\fP \fIname\fP +Match on boolean value stored in /proc/net/nf_condition/\fIname\fP. +.SS pknock +Pknock match implements so-called "port knocking", a stealthy system +for network authentication: a client sends packets to selected +ports in a specific sequence (= simple mode, see example 1 below), or a HMAC +payload to a single port (= complex mode, see example 2 below), +to a target machine that has pknock rule(s) installed. The target machine +then decides whether to unblock or block (again) the pknock-protected port(s). +This can be used, for instance, to avoid brute force +attacks on ssh or ftp services. +.PP +Example prerequisites: +.IP +modprobe cn +.IP +modprobe xt_pknock +.PP +Example 1 (TCP mode, manual closing of opened port not possible): +.IP +iptables -P INPUT DROP +.IP +iptables -A INPUT -p tcp -m pknock --knockports 4002,4001,4004 --strict +--name SSH --time 10 --autoclose 60 --dport 22 -j ACCEPT +.PP +The rule will allow tcp port 22 for the attempting IP address after the successful reception of TCP SYN packets +to ports 4002, 4001 and 4004, in this order (a.k.a. port-knocking). +Port numbers in the connect sequence must follow the exact specification, no +other ports may be "knocked" inbetween. The rule is named '\fBSSH\fP' \(em a file of +the same name for tracking port knocking states will be created in +\fB/proc/net/xt_pknock\fP . +Successive port knocks must occur with delay of at most 10 seconds. Port 22 (from the example) will +be automatiaclly dropped after 60 minutes after it was previously allowed. +.PP +Example 2 (UDP mode \(em non-replayable and non-spoofable, manual closing +of opened port possible, secure, also called "SPA" = Secure Port +Authorization): +.IP +iptables -A INPUT -p udp -m pknock --knockports 4000 --name FTP +--opensecret foo --closesecret bar --autoclose 240 -j DROP +.IP +iptables -A INPUT -p tcp -m pknock --checkip --name FTP --dport 21 -j ACCEPT +.PP +The first rule will create an "ALLOWED" record in /proc/net/xt_pknock/FTP after +the successful reception of an UDP packet to port 4000. The packet payload must be +constructed as a HMAC256 using "foo" as a key. The HMAC content is the particular client's IP address as a 32-bit network byteorder quantity, +plus the number of minutes since the Unix epoch, also as a 32-bit value. +(This is known as Simple Packet Authorization, also called "SPA".) +In such case, any subsequent attempt to connect to port 21 from the client's IP +address will cause such packets to be accepted in the second rule. +.PP +Similarly, upon reception of an UDP packet constructed the same way, but with +the key "bar", the first rule will remove a previously installed "ALLOWED" state +record from /proc/net/xt_pknock/FTP, which means that the second rule will +stop matching for subsequent connection attempts to port 21. +In case no close-secret packet is received within 4 hours, the first rule +will remove "ALLOWED" record from /proc/net/xt_pknock/FTP itself. +.PP +Things worth noting: +.PP +\fBGeneral\fP: +.PP +Specifying \fB--autoclose 0\fP means that no automatic close will be performed at all. +.PP +xt_pknock is capable of sending information about successful matches +via a netlink socket to userspace, should you need to implement your own +way of receiving and handling portknock notifications. +Be sure to read the documentation in the doc/pknock/ directory, +or visit the original site \(em http://portknocko.berlios.de/ . +.PP +\fBTCP mode\fP: +.PP +This mode is not immune against eavesdropping, spoofing and +replaying of the port knock sequence by someone else (but its use may still +be sufficient for scenarios where these factors are not necessarily +this important, such as bare shielding of the SSH port from brute-force attacks). +However, if you need these features, you should use UDP mode. +.PP +It is always wise to specify three or more ports that are not monotonically +increasing or decreasing with a small stepsize (e.g. 1024,1025,1026) +to avoid accidentally triggering +the rule by a portscan. +.PP +Specifying the inter-knock timeout with \fB--time\fP is mandatory in TCP mode, +to avoid permanent denial of services by clogging up the peer knock-state tracking table +that xt_pknock internally keeps, should there be a DDoS on the +first-in-row knock port from more hostile IP addresses than what the actual size +of this table is (defaults to 16, can be changed via the "peer_hasht_ents" module parameter). +It is also wise to use as short a time as possible (1 second) for \fB--time\fP +for this very reason. You may also consider increasing the size +of the peer knock-state tracking table. Using \fB--strict\fP also helps, +as it requires the knock sequence to be exact. This means that if the +hostile client sends more knocks to the same port, xt_pknock will +mark such attempt as failed knock sequence and will forget it immediately. +To completely thwart this kind of DDoS, knock-ports would need to have +an additional rate-limit protection. Or you may consider using UDP mode. +.PP +\fBUDP mode\fP: +.PP +This mode is immune against eavesdropping, replaying and spoofing attacks. +It is also immune against DDoS attack on the knockport. +.PP +For this mode to work, the clock difference on the client and on the server +must be below 1 minute. Synchronizing time on both ends by means +of NTP or rdate is strongly suggested. +.PP +There is a rate limiter built into xt_pknock which blocks any subsequent +open attempt in UDP mode should the request arrive within less than one +minute since the first successful open. This is intentional; +it thwarts eventual spoofing attacks. +.PP +Because the payload value of an UDP knock packet is influenced by client's IP address, +UDP mode cannot be used across NAT. +.PP +For sending UDP "SPA" packets, you may use either \fBknock.sh\fP or +\fBknock-orig.sh\fP. These may be found in doc/pknock/util. +.SS quota2 +The "quota2" implements a named counter which can be increased or decreased +on a per-match basis. Available modes are packet counting or byte counting. +The value of the counter can be read and reset through procfs, thereby making +this match a minimalist accounting tool. +.PP +When counting down from the initial quota, the counter will stop at 0 and +the match will return false, just like the original "quota" match. In growing +(upcounting) mode, it will always return true. +.TP +\fB\-\-grow\fP +Count upwards instead of downwards. +.TP +\fB\-\-name\fP \fIname\fP +Assign the counter a specific name. This option must be present, as an empty +name is not allowed. Names starting with a dot or names containing a slash are +prohibited. +.TP +[\fB!\fP] \fB\-\-quota\fP \fIiq\fP +Specify the initial quota for this counter. If the counter already exists, +it is not reset. An "!" may be used to invert the result of the match. The +negation has no effect when \fB\-\-grow\fP is used. +.TP +\fB\-\-packets\fP +Count packets instead of bytes that passed the quota2 match. +.PP +Because counters in quota2 can be shared, you can combine them for various +purposes, for example, a bytebucket filter that only lets as much traffic go +out as has come in: +.PP +\-A INPUT \-p tcp \-\-dport 6881 \-m quota \-\-name bt \-\-grow; +\-A OUTPUT \-p tcp \-\-sport 6881 \-m quota \-\-name bt; +.SS ipp2p +This module matches certain packets in P2P flows. It is not +designed to match all packets belonging to a P2P connection \(em +use IPP2P together with CONNMARK for this purpose. +.PP +Use it together with \-p tcp or \-p udp to search these protocols +only or without \-p switch to search packets of both protocols. +.PP +IPP2P provides the following options, of which one or more may be specified +on the command line: +.TP +\fB\-\-edk\fP +Matches as many eDonkey/eMule packets as possible. +.TP +\fB\-\-kazaa\fP +Matches as many KaZaA packets as possible. +.TP +\fB\-\-gnu\fP +Matches as many Gnutella packets as possible. +.TP +\fB\-\-dc\fP +Matches as many Direct Connect packets as possible. +.TP +\fB\-\-bit\fP +Matches BitTorrent packets. +.TP +\fB\-\-apple\fP +Matches AppleJuice packets. +.TP +\fB\-\-soul\fP +Matches some SoulSeek packets. Considered as beta, use careful! +.TP +\fB\-\-winmx\fP +Matches some WinMX packets. Considered as beta, use careful! +.TP +\fB\-\-ares\fP +Matches Ares and AresLite packets. Use together with \-j DROP only. +.TP +\fB\-\-debug\fP +Prints some information about each hit into kernel logfile. May +produce huge logfiles so beware! +.PP +Note that ipp2p may not (and often, does not) identify all packets that are +exchanged as a result of running filesharing programs. +.PP +There is more information on http://ipp2p.org/ , but it has not been updated +since September 2006, and the syntax there is different from the ipp2p.c +provided in Xtables-addons; most importantly, the \-\-ipp2p flag was removed +due to its ambiguity to match "all known" protocols. +.SS geoip +Match a packet by its source or destination country. +.TP +[\fB!\fP] \fB\-\-src\-cc\fP, \fB\-\-source\-country\fP \fIcountry\fP[\fB,\fP\fIcountry\fP\fB...\fP] +Match packet coming from (one of) the specified country(ies) +.TP +[\fB!\fP] \fB\-\-dst\-cc\fP, \fB\-\-destination\-country\fP \fIcountry\fP[\fB,\fP\fIcountry\fP\fB...\fP] +Match packet going to (one of) the specified country(ies) +.TP +NOTE: +The country is inputed by its ISO3166 code. +.P +The extra files you will need is the binary database files. They are generated +from a country-subnet database with the geoip_csv_iv0.pl tool, available at +http://jengelh.hopto.org/files/geoip/ . The files MUST be moved to /var/geoip/ +as the shared library is statically looking for this pathname (e.g. +/var/geoip/LE/de.iv0). +.SS length +This module matches the length of a packet against a specific value or range of +values. +.TP +[\fB!\fR] \fB\-\-length\fR \fIlength\fR[\fB:\fR\fIlength\fR] +Match exact length or length range. +.TP +\fB\-\-layer3\fR +Match the layer3 frame size (e.g. IPv4/v6 header plus payload). +.TP +\fB\-\-layer4\fR +Match the layer4 frame size (e.g. TCP/UDP header plus payload). +.TP +\fB\-\-layer5\fR +Match the layer5 frame size (e.g. TCP/UDP payload, often called layer7). +.PP +If no \-\-layer* option is given, \-\-layer3 is assumed by default. Note that +using \-\-layer5 may not match a packet if it is not one of the recognized +types (currently TCP, UDP, UDPLite, ICMP, AH and ESP) or which has no 5th +layer. +.SS fuzzy +This module matches a rate limit based on a fuzzy logic controller (FLC). +.TP +\fB\-\-lower\-limit\fP \fInumber\fP +Specifies the lower limit, in packets per second. +.TP +\fB\-\-upper\-limit\fP \fInumber\fP +Specifies the upper limit, also in packets per second. +.SS lscan +Detects simple low-level scan attemps based upon the packet's contents. +(This is +different from other implementations, which also try to match the rate of new +connections.) Note that an attempt is only discovered after it has been carried +out, but this information can be used in conjunction with other rules to block +the remote host's future connections. So this match module will match on the +(probably) last packet the remote side will send to your machine. +.TP +\fB\-\-stealth\fR +Match if the packet did not belong to any known TCP connection +(Stealth/FIN/XMAS/NULL scan). +.TP +\fB\-\-synscan\fR +Match if the connection was a TCP half-open discovery (SYN scan), i.e. the +connection was torn down after the 2nd packet in the 3-way handshake. +.TP +\fB\-\-cnscan\fR +Match if the connection was a TCP full open discovery (connect scan), i.e. the +connection was torn down after completion of the 3-way handshake. +.TP +\fB\-\-grscan\fR +Match if data in the connection only flew in the direction of the remote side, +e.g. if the connection was terminated after a locally running daemon sent its +identification. (E.g. openssh, smtp, ftpd.) This may falsely trigger on +warranted single-direction data flows, usually bulk data transfers such as +FTP DATA connections or IRC DCC. Grab Scan Detection should only be used on +ports where a protocol runs that is guaranteed to do a bidirectional exchange +of bytes. +.PP +NOTE: Some clients (Windows XP for example) may do what looks like a SYN scan, +so be advised to carefully use xt_lscan in conjunction with blocking rules, +as it may lock out your very own internal network. +.SS dhcpmac +.TP +\fB\-\-mac\fP \fIaa:bb:cc:dd:ee:ff\fP[\fB/\fP\fImask\fP] +Matches the DHCP "Client Host" address (a MAC address) in a DHCP message. +\fImask\fP specifies the prefix length of the initial portion to match. --- xtables-addons-1.19.orig/targets.man +++ xtables-addons-1.19/targets.man @@ -0,0 +1,383 @@ +.SS CHAOS +Causes confusion on the other end by doing odd things with incoming packets. +CHAOS will randomly reply (or not) with one of its configurable subtargets: +.TP +\fB\-\-delude\fP +Use the REJECT and DELUDE targets as a base to do a sudden or deferred +connection reset, fooling some network scanners to return non-deterministic +(randomly open/closed) results, and in case it is deemed open, it is actually +closed/filtered. +.TP +\fB\-\-tarpit\fP +Use the REJECT and TARPIT target as a base to hold the connection until it +times out. This consumes conntrack entries when connection tracking is loaded +(which usually is on most machines), and routers inbetween you and the Internet +may fail to do their connection tracking if they have to handle more +connections than they can. +.PP +The randomness factor of not replying vs. replying can be set during load-time +of the xt_CHAOS module or during runtime in /sys/modules/xt_CHAOS/parameters. +.PP +See http://jengelh.medozas.de/projects/chaostables/ for more information +about CHAOS, DELUDE and lscan. +.SS STEAL +Like the DROP target, but does not throw an error like DROP when used in the +\fBOUTPUT\fP chain. +.SS ECHO +The \fBECHO\fP target will send back all packets it received. It serves as an +examples for an Xtables target. +.PP +ECHO takes no options. +.SS DHCPMAC +In conjunction with ebtables, DHCPMAC can be used to completely change all MAC +addresses from and to a VMware-based virtual machine. This is needed because +VMware does not allow to set a non-VMware MAC address before an operating +system is booted (and the MAC be changed with `ip link set eth0 address +aa:bb..`). +.TP +\fB\-\-set\-mac\fP \fIaa:bb:cc:dd:ee:ff\fP[\fB/\fP\fImask\fP] +Replace the client host MAC address field in the DHCP message with the given +MAC address. This option is mandatory. The \fImask\fP parameter specifies the +prefix length of bits to change. +.PP +EXAMPLE, replacing all addresses from one of VMware's assigned vendor IDs +(00:50:56) addresses with something else: +.PP +iptables \-t mangle \-A FORWARD \-p udp \-\-dport 67 \-m physdev +\-\-physdev\-in vmnet1 \-m dhcpmac \-\-mac 00:50:56:00:00:00/24 \-j DHCPMAC +\-\-set\-mac ab:cd:ef:00:00:00/24 +.PP +iptables \-t mangle \-A FORWARD \-p udp \-\-dport 68 \-m physdev +\-\-physdev\-out vmnet1 \-m dhcpmac \-\-mac ab:cd:ef:00:00:00/24 \-j DHCPMAC +\-\-set\-mac 00:50:56:00:00:00/24 +.PP +(This assumes there is a bridge interface that has vmnet1 as a port. You will +also need to add appropriate ebtables rules to change the MAC address of the +Ethernet headers.) +.SS RAWDNAT +The \fBRAWDNAT\fR target will rewrite the destination address in the IP header, +much like the \fBNETMAP\fR target. +.TP +\fB\-\-to\-destination\fR \fIaddr\fR[\fB/\fR\fImask\fR] +Network address to map to. The resulting address will be constructed the +following way: All 'one' bits in the \fImask\fR are filled in from the new +\fIaddress\fR. All bits that are zero in the mask are filled in from the +original address. +.PP +See the \fBRAWSNAT\fR help entry for examples and constraints. +.SS DELUDE +The DELUDE target will reply to a SYN packet with SYN-ACK, and to all other +packets with an RST. This will terminate the connection much like REJECT, but +network scanners doing TCP half-open discovery can be spoofed to make them +belive the port is open rather than closed/filtered. +.SS TARPIT +Captures and holds incoming TCP connections using no local per-connection +resources. Connections are accepted, but immediately switched to the persist +state (0 byte window), in which the remote side stops sending data and asks to +continue every 60-240 seconds. Attempts to close the connection are ignored, +forcing the remote side to time out the connection in 12-24 minutes. + +This offers similar functionality to LaBrea + but does not require dedicated hardware or +IPs. Any TCP port that you would normally DROP or REJECT can instead become a +tarpit. + +To tarpit connections to TCP port 80 destined for the current machine: +.IP +\-A INPUT \-p tcp \-m tcp \-\-dport 80 \-j TARPIT +.PP +To significantly slow down Code Red/Nimda-style scans of unused address space, +forward unused ip addresses to a Linux box not acting as a router (e.g. "ip +route 10.0.0.0 255.0.0.0 ip.of.linux.box" on a Cisco), enable IP forwarding on +the Linux box, and add: +.IP +\-A FORWARD \-p tcp \-j TARPIT +.IP +\-A FORWARD \-j DROP +.PP +NOTE: +If you use the conntrack module while you are using TARPIT, you should also use +the NOTRACK target, or the kernel will unnecessarily allocate resources for +each TARPITted connection. To TARPIT incoming connections to the standard IRC +port while using conntrack, you could: +.IP +\-t raw \-A PREROUTING \-p tcp \-\-dport 6667 \-j NOTRACK +.IP +\-A INPUT \-p tcp \-\-dport 6667 \-j TARPIT +.SS RAWSNAT +The \fBRAWSNAT\fR and \fBRAWDNAT\fP targets provide stateless network address +translation. +.PP +The \fBRAWSNAT\fR target will rewrite the source address in the IP header, much +like the \fBNETMAP\fP target. \fBRAWSNAT\fP (and \fBRAWDNAT\fP) may only be +used in the \fBraw\fP or \fBrawpost\fP tables, but can be used in all chains, +which makes it possible to change the source address either when the packet +enters the machine or when it leaves it. The reason for this table constraint +is that RAWNAT must happen outside of connection tracking. +.TP +\fB\-\-to\-source\fR \fIaddr\fR[\fB/\fR\fImask\fR] +Network address to map to. The resulting address will be constructed the +following way: All 'one' bits in the \fImask\fR are filled in from the new +\fIaddress\fR. All bits that are zero in the mask are filled in from the +original address. +.PP +As an example, changing the destination for packets forwarded from an internal +LAN to the internet: +.IP +\-t raw \-A PREROUTING \-i lan0 \-d 212.201.100.135 \-j RAWDNAT \-\-to\-destination 199.181.132.250; +\-t rawpost \-A POSTROUTING \-o lan0 \-s 199.181.132.250 \-j RAWSNAT \-\-to\-source 212.201.100.135; +.PP +Note that changing addresses may influence the route selection! Specifically, +it statically NATs packets, not connections, like the normal DNAT/SNAT targets +would do. Also note that it can transform already-NATed connections \(em as +said, it is completely external to Netfilter's connection tracking/NAT. +.PP +If the machine itself generates packets that are to be rawnat'ed, you need a +rule in the OUTPUT chain instead, just like you would with the stateful NAT +targets. +.PP +It may be necessary that in doing so, you also need an extra RAWSNAT rule, to +override the automatic source address selection that the routing code does +before passing packets to iptables. If the connecting socket has not been +explicitly bound to an address, as is the common mode of operation, the address +that will be chosen is the primary address of the device through which the +packet would be routed with its initial destination address - the address as +seen before any RAWNAT takes place. +.SS TEE +The \fBTEE\fP target will clone a packet and redirect this clone to another +machine on the \fBlocal\fP network segment. In other words, the nexthop +must be the target, or you will have to configure the nexthop to forward it +further if so desired. +.TP +\fB\-\-gw\fP \fIipaddr\fP +Send the cloned packet to the host reachable at the given IP address. +Use of 0.0.0.0 (for IPv4 packets) or :: (IPv6) is invalid. +.SS SYSRQ +The SYSRQ target allows to remotely trigger sysrq on the local machine over the +network. This can be useful when vital parts of the machine hang, for example +an oops in a filesystem causing locks to be not released and processes to get +stuck as a result \(em if still possible, use /proc/sysrq-trigger. Even when +processes are stuck, interrupts are likely to be still processed, and as such, +sysrq can be triggered through incoming network packets. +.PP +The xt_SYSRQ implementation uses a salted hash and a sequence number to prevent +network sniffers from either guessing the password or replaying earlier +requests. The initial sequence number comes from the time of day so you will +have a small window of vulnerability should time go backwards at a reboot. +However, the file /sys/module/xt_SYSREQ/seqno can be used to both query and +update the current sequence number. Also, you should limit as to who can issue +commands using \fB\-s\fP and/or \fB\-m mac\fP, and also that the destination is +correct using \fB\-d\fP (to protect against potential broadcast packets), +noting that it is still short of MAC/IP spoofing: +.IP +\-A INPUT \-s 10.10.25.1 \-m mac \-\-mac\-source aa:bb:cc:dd:ee:ff \-d +10.10.25.7 \-p udp \-\-dport 9 \-j SYSRQ +.IP +(with IPsec) \-A INPUT \-s 10.10.25.1 \-d 10.10.25.7 \-m policy \-\-dir in +\-\-pol ipsec \-\-proto esp \-\-tunnel\-src 10.10.25.1 \-\-tunnel\-dst +10.10.25.7 \-p udp \-\-dport 9 \-j SYSRQ +.PP +You should also limit the rate at which connections can be received to limit +the CPU time taken by illegal requests, for example: +.IP +\-A INPUT \-s 10.10.25.1 \-m mac \-\-mac\-source aa:bb:cc:dd:ee:ff \-d +10.10.25.7 \-p udp \-\-dport 9 \-m limit \-\-limit 5/minute \-j SYSRQ +.PP +This extension does not take any options. The \fB\-p udp\fP options are +required. +.PP +The SYSRQ password can be changed through +/sys/module/xt_SYSRQ/parameters/password, for example: +.IP +echo \-n "password" >/sys/module/xt_SYSRQ/parameters/password +.PP +Alternatively, the password may be specified at modprobe time, but this is +insecure as people can possible see it through ps(1). You can use an option +line in e.g. /etc/modprobe.d/xt_sysrq if it is properly guarded, that is, only +readable by root. +.IP +options xt_SYSRQ password=cookies +.PP +The hash algorithm can also be specified as a module option, for example, to +use SHA-256 instead of the default SHA-1: +.IP +options xt_SYSRQ hash=sha256 +.PP +The xt_SYSRQ module is normally silent unless a successful request is received, +but the \fIdebug\fP module parameter can be used to find exactly why a +seemingly correct request is not being processed. +.PP +To trigger SYSRQ from a remote host, just use netcat or socat: +.PP +.nf +sysrq_key="s" # the SysRq key(s) +password="password" +seqno="$(date +%s)" +salt="$(dd bs=12 count=1 if=/dev/urandom 2>/dev/null | + openssl enc \-base64)" +req="$sysrq_key,$seqno,$salt" +req="$req,$(echo \-n "$req,$password" | sha1sum | cut \-c1\-40)" + +echo "$req" | socat stdin udp\-sendto:10.10.25.7:9 +# or +echo "$req" | netcat \-uw1 10.10.25.7 9 +.fi +.PP +See the Linux docs for possible sysrq keys. Important ones are: re(b)oot, +power(o)ff, (s)ync filesystems, (u)mount and remount readonly. More than one +sysrq key can be used at once, but bear in mind that, for example, a sync may +not complete before a subsequent reboot or poweroff. +.PP +The hashing scheme should be enough to prevent mis-use of SYSRQ in many +environments, but it is not perfect: take reasonable precautions to +protect your machines. Most importantly ensure that each machine has a +different password; there is scant protection for a SYSRQ packet being +applied to a machine that happens to have the same password. +.SS IPMARK +Allows you to mark a received packet basing on its IP address. This +can replace many mangle/mark entries with only one, if you use +firewall based classifier. + +This target is to be used inside the \fBmangle\fP table. +.TP +\fB\-\-addr\fP {\fBsrc\fP|\fBdst\fP} +Select source or destination IP address as a basis for the mark. +.TP +\fB\-\-and\-mask\fP \fImask\fP +Perform bitwise AND on the IP address and this bitmask. +.TP +\fB\-\-or\-mask\fP \fImask\fP +Perform bitwise OR on the IP address and this bitmask. +.TP +\fB\-\-shift\fP \fIvalue\fP +Shift addresses to the right by the given number of bits before taking it +as a mark. (This is done before ANDing or ORing it.) This option is needed +to select part of an IPv6 address, because marks are only 32 bits in size. +.PP +The order of IP address bytes is reversed to meet "human order of bytes": +192.168.0.1 is 0xc0a80001. At first the "AND" operation is performed, then +"OR". +.PP +Examples: +.PP +We create a queue for each user, the queue number is adequate +to the IP address of the user, e.g.: all packets going to/from 192.168.5.2 +are directed to 1:0502 queue, 192.168.5.12 -> 1:050c etc. +.PP +We have one classifier rule: +.IP +tc filter add dev eth3 parent 1:0 protocol ip fw +.PP +Earlier we had many rules just like below: +.IP +iptables \-t mangle \-A POSTROUTING \-o eth3 \-d 192.168.5.2 \-j MARK +\-\-set\-mark 0x10502 +.IP +iptables \-t mangle \-A POSTROUTING \-o eth3 \-d 192.168.5.3 \-j MARK +\-\-set\-mark 0x10503 +.PP +Using IPMARK target we can replace all the mangle/mark rules with only one: +.IP +iptables \-t mangle \-A POSTROUTING \-o eth3 \-j IPMARK \-\-addr dst +\-\-and\-mask 0xffff \-\-or\-mask 0x10000 +.PP +On the routers with hundreds of users there should be significant load +decrease (e.g. twice). +.PP +(IPv6 example) If the source address is of the form +2001:db8:45:1d:20d:93ff:fe9b:e443 and the resulting mark should be 0x93ff, +then a right-shift of 16 is needed first: +.IP +\-t mangle \-A PREROUTING \-s 2001:db8::/32 \-j IPMARK \-\-addr src \-\-shift +16 \-\-and\-mask 0xFFFF +.SS ACCOUNT +The ACCOUNT target is a high performance accounting system for large +local networks. It allows per-IP accounting in whole prefixes of IPv4 +addresses with size of up to /8 without the need to add individual +accouting rule for each IP address. +.PP +The ACCOUNT is designed to be queried for data every second or at +least every ten seconds. It is written as kernel module to handle high +bandwidths without packet loss. +.PP +The largest possible subnet size is 24 bit, meaning for example 10.0.0.0/8 +network. ACCOUNT uses fixed internal data structures +which speeds up the processing of each packet. Furthermore, +accounting data for one complete 192.168.1.X/24 network takes 4 KB of +memory. Memory for 16 or 24 bit networks is only allocated when +needed. +.PP +To optimize the kernel<->userspace data transfer a bit more, the +kernel module only transfers information about IPs, where the src/dst +packet counter is not 0. This saves precious kernel time. +.PP +There is no /proc interface as it would be too slow for continuous access. +The read-and-flush query operation is the fastest, as no internal data +snapshot needs to be created&copied for all data. Use the "read" +operation without flush only for debugging purposes! +.PP +Usage: +.PP +ACCOUNT takes two mandatory parameters: +.TP +\fB\-\-addr\fR \fInetwork\fP\fB/\fP\fInetmask\fR +where \fInetwork\fP\fB/\fP\fInetmask\fP is the subnet to account for, in CIDR syntax +.TP +\fB\-\-tname\fP \fINAME\fP +where \fINAME\fP is the name of the table where the accounting information +should be stored +.PP +The subnet 0.0.0.0/0 is a special case: all data are then stored in the src_bytes +and src_packets structure of slot "0". This is useful if you want +to account the overall traffic to/from your internet provider. +.PP +The data can be queried using the userspace libxt_ACCOUNT_cl library, +and by the reference implementation to show usage of this library, +the \fBiptaccount\fP(8) tool, which features following options: +.PP +[\fB\-u\fP] show kernel handle usage +.PP +[\fB\-h\fP] free all kernel handles (experts only!) +.PP +[\fB\-a\fP] list all table names +.PP +[\fB\-l\fP \fIname\fP] show data in table \fIname\fP +.PP +[\fB\-f\fP] flush data after showing +.PP +[\fB\-c\fP] loop every second (abort with CTRL+C) +.PP +Here is an example of use: +.PP +iptables \-A FORWARD \-j ACCOUNT \-\-addr 0.0.0.0/0 \-\-tname all_outgoing; +iptables \-A FORWARD \-j ACCOUNT \-\-addr 192.168.1.0/24 \-\-tname sales; +.PP +This creates two tables called "all_outgoing" and "sales" which can be +queried using the userspace library/iptaccount tool. +.PP +Note that this target is non-terminating \(em the packet destined to it +will continue traversing the chain in which it has been used. +.PP +Also note that once a table has been defined for specific CIDR address/netmask +block, it can be referenced multiple times using \-j ACCOUNT, provided +that both the original table name and address/netmask block are specified. +.PP +For more information go to http://www.intra2net.com/en/developer/ipt_ACCOUNT/ +.SS LOGMARK +The LOGMARK target will log packet and connection marks to syslog. +.TP +\fB\-\-log\-level\fR \fIlevel\fR +A logging level between 0 and 8 (inclusive). +.TP +\fB\-\-log\-prefix\fR \fIstring\fR +Prefix log messages with the specified prefix; up to 29 bytes long, and useful +for distinguishing messages in the logs. +.TP +\fB\-\-log\-nfmark\fR +Include the packet mark in the log. +.TP +\fB\-\-log\-ctmark\fR +Include the connection mark in the log. +.TP +\fB\-\-log\-secmark\fR +Include the packet secmark in the log. --- xtables-addons-1.19.orig/.manpages.lst +++ xtables-addons-1.19/.manpages.lst @@ -0,0 +1 @@ +./extensions/libxt_CHAOS.man ./extensions/libxt_STEAL.man ./extensions/libxt_ECHO.man ./extensions/libxt_DHCPMAC.man ./extensions/libxt_RAWDNAT.man ./extensions/libxt_DELUDE.man ./extensions/libxt_TARPIT.man ./extensions/libxt_RAWSNAT.man ./extensions/libxt_TEE.man ./extensions/libxt_SYSRQ.man ./extensions/libxt_IPMARK.man ./extensions/ACCOUNT/libxt_ACCOUNT.man ./extensions/libxt_LOGMARK.man ./extensions/libxt_ipv4options.man ./extensions/libxt_psd.man ./extensions/libxt_iface.man ./extensions/libxt_condition.man ./extensions/libxt_pknock.man ./extensions/libxt_quota2.man ./extensions/libxt_ipp2p.man ./extensions/libxt_geoip.man ./extensions/libxt_length.man ./extensions/libxt_fuzzy.man ./extensions/libxt_lscan.man ./extensions/libxt_dhcpmac.man --- xtables-addons-1.19.orig/extensions/pknock/Makefile +++ xtables-addons-1.19/extensions/pknock/Makefile @@ -0,0 +1,529 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# extensions/pknock/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in 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. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# -*- Makefile -*- + +# -*- Makefile -*- +# AUTOMAKE + + +pkgdatadir = $(datadir)/xtables-addons +pkgincludedir = $(includedir)/xtables-addons +pkglibdir = $(libdir)/xtables-addons +pkglibexecdir = $(libexecdir)/xtables-addons +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-pc-linux-gnu +host_triplet = x86_64-pc-linux-gnu +DIST_COMMON = $(srcdir)/../../Makefile.extra $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in +noinst_PROGRAMS = pknlusr$(EXEEXT) +subdir = extensions/pknock +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +PROGRAMS = $(noinst_PROGRAMS) +pknlusr_SOURCES = pknlusr.c +pknlusr_OBJECTS = pknlusr.$(OBJEXT) +pknlusr_LDADD = $(LDADD) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +DEFAULT_INCLUDES = -I. -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = pknlusr.c +DIST_SOURCES = pknlusr.c +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run aclocal-1.11 +AMTAR = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run tar +AM_DEFAULT_VERBOSITY = 0 +AR = ar +AUTOCONF = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run autoconf +AUTOHEADER = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run autoheader +AUTOMAKE = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run automake-1.11 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +FGREP = /bin/grep -F +GREP = /bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LTLIBOBJS = +MAKEINFO = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +NM = /usr/bin/nm -B +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OTOOL = +OTOOL64 = +PACKAGE = xtables-addons +PACKAGE_BUGREPORT = +PACKAGE_NAME = xtables-addons +PACKAGE_STRING = xtables-addons 1.19 +PACKAGE_TARNAME = xtables-addons +PACKAGE_VERSION = 1.19 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +RANLIB = ranlib +SED = /bin/sed +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 1.19 +abs_builddir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/pknock +abs_srcdir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/pknock +abs_top_builddir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons +abs_top_srcdir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons +ac_ct_CC = gcc +ac_ct_DUMPBIN = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-pc-linux-gnu +build_alias = x86_64-linux-gnu +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = pc +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-pc-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = pc +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${prefix}/share/info +install_sh = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/install-sh +kbuilddir = /lib/modules/2.6.30-2-amd64/build +kinclude_CFLAGS = -I /lib/modules/2.6.30-2-amd64/build/include +ksourcedir = +libdir = ${exec_prefix}/lib +libexecdir = /lib +libxtables_CFLAGS = +libxtables_LIBS = -L/lib -lxtables +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +lt_ECHO = echo +mandir = ${prefix}/share/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr +program_transform_name = s,x,x, +psdir = ${docdir} +regular_CFLAGS = -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR=\"${xtlibdir}\" +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. +xtables_CFLAGS = +xtlibdir = ${libexecdir}/xtables +XA_SRCDIR = ${srcdir} +XA_TOPSRCDIR = ${top_srcdir} +XA_ABSTOPSRCDIR = ${abs_top_srcdir} +_mcall = -f ${top_builddir}/Makefile.iptrules +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../Makefile.extra $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/pknock/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign extensions/pknock/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +pknlusr$(EXEEXT): $(pknlusr_OBJECTS) $(pknlusr_DEPENDENCIES) + @rm -f pknlusr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(pknlusr_OBJECTS) $(pknlusr_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/pknlusr.Po + +.c.o: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) all-local +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local clean-noinstPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-exec-local + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ + clean-generic clean-libtool clean-local clean-noinstPROGRAMS \ + ctags distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-exec-local install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags uninstall uninstall-am + +export XA_SRCDIR +export XA_TOPSRCDIR +export XA_ABSTOPSRCDIR + +all-local: user-all-local + +install-exec-local: user-install-local + +clean-local: user-clean-local + +user-all-local: + ${MAKE} ${_mcall} all; + +# Have no user-install-data-local ATM +user-install-local: user-install-exec-local + +user-install-exec-local: + ${MAKE} ${_mcall} install; + +user-clean-local: + ${MAKE} ${_mcall} clean; + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- xtables-addons-1.19.orig/extensions/pknock/modules.order +++ xtables-addons-1.19/extensions/pknock/modules.order @@ -0,0 +1 @@ +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/pknock/xt_pknock.ko --- xtables-addons-1.19.orig/extensions/pknock/.deps/pknlusr.Po +++ xtables-addons-1.19/extensions/pknock/.deps/pknlusr.Po @@ -0,0 +1,152 @@ +pknlusr.o: pknlusr.c /usr/include/sys/socket.h /usr/include/features.h \ + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ + /usr/include/gnu/stubs-64.h /usr/include/sys/uio.h \ + /usr/include/sys/types.h /usr/include/bits/types.h \ + /usr/include/bits/typesizes.h /usr/include/time.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h \ + /usr/include/endian.h /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h /usr/include/sys/select.h \ + /usr/include/bits/select.h /usr/include/bits/sigset.h \ + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ + /usr/include/bits/pthreadtypes.h /usr/include/bits/uio.h \ + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ + /usr/include/asm/socket.h /usr/include/asm/sockios.h \ + /usr/include/unistd.h /usr/include/bits/posix_opt.h \ + /usr/include/bits/confname.h /usr/include/getopt.h \ + /usr/include/stdint.h /usr/include/bits/wchar.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdarg.h \ + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ + /usr/include/bits/stdio.h /usr/include/string.h /usr/include/xlocale.h \ + /usr/include/bits/string.h /usr/include/bits/string2.h \ + /usr/include/stdlib.h /usr/include/alloca.h /usr/include/arpa/inet.h \ + /usr/include/netinet/in.h /usr/include/bits/in.h \ + /usr/include/linux/netlink.h /usr/include/linux/socket.h \ + /usr/include/linux/types.h /usr/include/asm/types.h \ + /usr/include/asm-generic/int-ll64.h /usr/include/linux/posix_types.h \ + /usr/include/linux/stddef.h /usr/include/asm/posix_types.h \ + /usr/include/asm/posix_types_64.h /usr/include/linux/connector.h \ + xt_pknock.h + +/usr/include/sys/socket.h: + +/usr/include/features.h: + +/usr/include/bits/predefs.h: + +/usr/include/sys/cdefs.h: + +/usr/include/bits/wordsize.h: + +/usr/include/gnu/stubs.h: + +/usr/include/gnu/stubs-64.h: + +/usr/include/sys/uio.h: + +/usr/include/sys/types.h: + +/usr/include/bits/types.h: + +/usr/include/bits/typesizes.h: + +/usr/include/time.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h: + +/usr/include/endian.h: + +/usr/include/bits/endian.h: + +/usr/include/bits/byteswap.h: + +/usr/include/sys/select.h: + +/usr/include/bits/select.h: + +/usr/include/bits/sigset.h: + +/usr/include/bits/time.h: + +/usr/include/sys/sysmacros.h: + +/usr/include/bits/pthreadtypes.h: + +/usr/include/bits/uio.h: + +/usr/include/bits/socket.h: + +/usr/include/bits/sockaddr.h: + +/usr/include/asm/socket.h: + +/usr/include/asm/sockios.h: + +/usr/include/unistd.h: + +/usr/include/bits/posix_opt.h: + +/usr/include/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/stdint.h: + +/usr/include/bits/wchar.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdarg.h: + +/usr/include/bits/stdio_lim.h: + +/usr/include/bits/sys_errlist.h: + +/usr/include/bits/stdio.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/bits/string.h: + +/usr/include/bits/string2.h: + +/usr/include/stdlib.h: + +/usr/include/alloca.h: + +/usr/include/arpa/inet.h: + +/usr/include/netinet/in.h: + +/usr/include/bits/in.h: + +/usr/include/linux/netlink.h: + +/usr/include/linux/socket.h: + +/usr/include/linux/types.h: + +/usr/include/asm/types.h: + +/usr/include/asm-generic/int-ll64.h: + +/usr/include/linux/posix_types.h: + +/usr/include/linux/stddef.h: + +/usr/include/asm/posix_types.h: + +/usr/include/asm/posix_types_64.h: + +/usr/include/linux/connector.h: + +xt_pknock.h: --- xtables-addons-1.19.orig/extensions/ipset/Makefile +++ xtables-addons-1.19/extensions/ipset/Makefile @@ -0,0 +1,574 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# extensions/ipset/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in 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. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# -*- Makefile -*- + +# -*- Makefile -*- +# AUTOMAKE + + +pkgdatadir = $(datadir)/xtables-addons +pkgincludedir = $(includedir)/xtables-addons +pkglibdir = $(libdir)/xtables-addons +pkglibexecdir = $(libexecdir)/xtables-addons +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-pc-linux-gnu +host_triplet = x86_64-pc-linux-gnu +DIST_COMMON = $(srcdir)/../../Makefile.extra $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in +sbin_PROGRAMS = ipset$(EXEEXT) +subdir = extensions/ipset +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__installdirs = "$(DESTDIR)$(sbindir)" +PROGRAMS = $(sbin_PROGRAMS) +ipset_SOURCES = ipset.c +ipset_OBJECTS = ipset.$(OBJEXT) +ipset_DEPENDENCIES = +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +ipset_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(ipset_LDFLAGS) $(LDFLAGS) -o $@ +DEFAULT_INCLUDES = -I. -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = ipset.c +DIST_SOURCES = ipset.c +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run aclocal-1.11 +AMTAR = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run tar +AM_DEFAULT_VERBOSITY = 0 +AR = ar +AUTOCONF = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run autoconf +AUTOHEADER = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run autoheader +AUTOMAKE = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run automake-1.11 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +FGREP = /bin/grep -F +GREP = /bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LTLIBOBJS = +MAKEINFO = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +NM = /usr/bin/nm -B +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OTOOL = +OTOOL64 = +PACKAGE = xtables-addons +PACKAGE_BUGREPORT = +PACKAGE_NAME = xtables-addons +PACKAGE_STRING = xtables-addons 1.19 +PACKAGE_TARNAME = xtables-addons +PACKAGE_VERSION = 1.19 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +RANLIB = ranlib +SED = /bin/sed +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 1.19 +abs_builddir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset +abs_srcdir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset +abs_top_builddir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons +abs_top_srcdir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons +ac_ct_CC = gcc +ac_ct_DUMPBIN = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-pc-linux-gnu +build_alias = x86_64-linux-gnu +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = pc +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-pc-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = pc +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${prefix}/share/info +install_sh = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/install-sh +kbuilddir = /lib/modules/2.6.30-2-amd64/build +kinclude_CFLAGS = -I /lib/modules/2.6.30-2-amd64/build/include +ksourcedir = +libdir = ${exec_prefix}/lib +libexecdir = /lib +libxtables_CFLAGS = +libxtables_LIBS = -L/lib -lxtables +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +lt_ECHO = echo +mandir = ${prefix}/share/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr +program_transform_name = s,x,x, +psdir = ${docdir} +regular_CFLAGS = -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR=\"${xtlibdir}\" +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. +xtables_CFLAGS = +xtlibdir = ${libexecdir}/xtables +AM_CFLAGS = ${regular_CFLAGS} -DIPSET_LIB_DIR=\"${xtlibdir}\" +XA_SRCDIR = ${srcdir} +XA_TOPSRCDIR = ${top_srcdir} +XA_ABSTOPSRCDIR = ${abs_top_srcdir} +_mcall = -f ${top_builddir}/Makefile.iptrules +ipset_LDADD = -ldl +ipset_LDFLAGS = -rdynamic +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../Makefile.extra $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/ipset/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign extensions/ipset/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +clean-sbinPROGRAMS: + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +ipset$(EXEEXT): $(ipset_OBJECTS) $(ipset_DEPENDENCIES) + @rm -f ipset$(EXEEXT) + $(AM_V_CCLD)$(ipset_LINK) $(ipset_OBJECTS) $(ipset_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/ipset.Po + +.c.o: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(PROGRAMS) all-local +installdirs: + for dir in "$(DESTDIR)$(sbindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local clean-sbinPROGRAMS \ + mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-exec-local install-sbinPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-sbinPROGRAMS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ + clean-generic clean-libtool clean-local clean-sbinPROGRAMS \ + ctags distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-exec-local install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-sbinPROGRAMS install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-sbinPROGRAMS + +export XA_SRCDIR +export XA_TOPSRCDIR +export XA_ABSTOPSRCDIR + +all-local: user-all-local + +install-exec-local: user-install-local + +clean-local: user-clean-local + +user-all-local: + ${MAKE} ${_mcall} all; + +# Have no user-install-data-local ATM +user-install-local: user-install-exec-local + +user-install-exec-local: + ${MAKE} ${_mcall} install; + +user-clean-local: + ${MAKE} ${_mcall} clean; + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- xtables-addons-1.19.orig/extensions/ipset/modules.order +++ xtables-addons-1.19/extensions/ipset/modules.order @@ -0,0 +1,11 @@ +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ipt_set.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ipt_SET.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_ipmap.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_portmap.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_macipmap.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_iphash.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_nethash.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_ipporthash.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_iptree.ko +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ipset/ip_set_iptreemap.ko --- xtables-addons-1.19.orig/extensions/ipset/.deps/ipset.Po +++ xtables-addons-1.19/extensions/ipset/.deps/ipset.Po @@ -0,0 +1,195 @@ +ipset.o: ipset.c /usr/include/stdio.h /usr/include/features.h \ + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ + /usr/include/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h \ + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdarg.h \ + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ + /usr/include/bits/stdio.h /usr/include/string.h /usr/include/xlocale.h \ + /usr/include/bits/string.h /usr/include/bits/string2.h \ + /usr/include/endian.h /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h /usr/include/stdlib.h /usr/include/errno.h \ + /usr/include/bits/errno.h /usr/include/linux/errno.h \ + /usr/include/asm/errno.h /usr/include/asm-generic/errno.h \ + /usr/include/asm-generic/errno-base.h /usr/include/time.h \ + /usr/include/bits/time.h /usr/include/netdb.h /usr/include/netinet/in.h \ + /usr/include/stdint.h /usr/include/bits/wchar.h \ + /usr/include/sys/socket.h /usr/include/sys/uio.h \ + /usr/include/sys/types.h /usr/include/sys/select.h \ + /usr/include/bits/select.h /usr/include/bits/sigset.h \ + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ + /usr/include/bits/uio.h /usr/include/bits/socket.h \ + /usr/include/bits/sockaddr.h /usr/include/asm/socket.h \ + /usr/include/asm/sockios.h /usr/include/bits/in.h \ + /usr/include/rpc/netdb.h /usr/include/bits/netdb.h \ + /usr/include/alloca.h /usr/include/unistd.h \ + /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ + /usr/include/getopt.h /usr/include/sys/stat.h /usr/include/bits/stat.h \ + /usr/include/sys/wait.h /usr/include/signal.h \ + /usr/include/bits/signum.h /usr/include/bits/siginfo.h \ + /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h \ + /usr/include/bits/sigstack.h /usr/include/bits/sigthread.h \ + /usr/include/sys/resource.h /usr/include/bits/resource.h \ + /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h \ + /usr/include/fcntl.h /usr/include/bits/fcntl.h /usr/include/arpa/inet.h \ + /usr/include/dlfcn.h /usr/include/bits/dlfcn.h ipset.h ip_set.h + +/usr/include/stdio.h: + +/usr/include/features.h: + +/usr/include/bits/predefs.h: + +/usr/include/sys/cdefs.h: + +/usr/include/bits/wordsize.h: + +/usr/include/gnu/stubs.h: + +/usr/include/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h: + +/usr/include/bits/types.h: + +/usr/include/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdarg.h: + +/usr/include/bits/stdio_lim.h: + +/usr/include/bits/sys_errlist.h: + +/usr/include/bits/stdio.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/bits/string.h: + +/usr/include/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/bits/endian.h: + +/usr/include/bits/byteswap.h: + +/usr/include/stdlib.h: + +/usr/include/errno.h: + +/usr/include/bits/errno.h: + +/usr/include/linux/errno.h: + +/usr/include/asm/errno.h: + +/usr/include/asm-generic/errno.h: + +/usr/include/asm-generic/errno-base.h: + +/usr/include/time.h: + +/usr/include/bits/time.h: + +/usr/include/netdb.h: + +/usr/include/netinet/in.h: + +/usr/include/stdint.h: + +/usr/include/bits/wchar.h: + +/usr/include/sys/socket.h: + +/usr/include/sys/uio.h: + +/usr/include/sys/types.h: + +/usr/include/sys/select.h: + +/usr/include/bits/select.h: + +/usr/include/bits/sigset.h: + +/usr/include/sys/sysmacros.h: + +/usr/include/bits/pthreadtypes.h: + +/usr/include/bits/uio.h: + +/usr/include/bits/socket.h: + +/usr/include/bits/sockaddr.h: + +/usr/include/asm/socket.h: + +/usr/include/asm/sockios.h: + +/usr/include/bits/in.h: + +/usr/include/rpc/netdb.h: + +/usr/include/bits/netdb.h: + +/usr/include/alloca.h: + +/usr/include/unistd.h: + +/usr/include/bits/posix_opt.h: + +/usr/include/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/sys/stat.h: + +/usr/include/bits/stat.h: + +/usr/include/sys/wait.h: + +/usr/include/signal.h: + +/usr/include/bits/signum.h: + +/usr/include/bits/siginfo.h: + +/usr/include/bits/sigaction.h: + +/usr/include/bits/sigcontext.h: + +/usr/include/bits/sigstack.h: + +/usr/include/bits/sigthread.h: + +/usr/include/sys/resource.h: + +/usr/include/bits/resource.h: + +/usr/include/bits/waitflags.h: + +/usr/include/bits/waitstatus.h: + +/usr/include/fcntl.h: + +/usr/include/bits/fcntl.h: + +/usr/include/arpa/inet.h: + +/usr/include/dlfcn.h: + +/usr/include/bits/dlfcn.h: + +ipset.h: + +ip_set.h: --- xtables-addons-1.19.orig/extensions/ACCOUNT/Makefile +++ xtables-addons-1.19/extensions/ACCOUNT/Makefile @@ -0,0 +1,632 @@ +# Makefile.in generated by automake 1.11 from Makefile.am. +# extensions/ACCOUNT/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in 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. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# -*- Makefile -*- + +# -*- Makefile -*- +# AUTOMAKE + + + +pkgdatadir = $(datadir)/xtables-addons +pkgincludedir = $(includedir)/xtables-addons +pkglibdir = $(libdir)/xtables-addons +pkglibexecdir = $(libexecdir)/xtables-addons +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-pc-linux-gnu +host_triplet = x86_64-pc-linux-gnu +DIST_COMMON = $(srcdir)/../../Makefile.extra $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in +sbin_PROGRAMS = iptaccount$(EXEEXT) +subdir = extensions/ACCOUNT +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ + $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)" +LTLIBRARIES = $(lib_LTLIBRARIES) +libxt_ACCOUNT_cl_la_LIBADD = +libxt_ACCOUNT_cl_la_SOURCES = libxt_ACCOUNT_cl.c +libxt_ACCOUNT_cl_la_OBJECTS = libxt_ACCOUNT_cl.lo +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +PROGRAMS = $(sbin_PROGRAMS) +iptaccount_SOURCES = iptaccount.c +iptaccount_OBJECTS = iptaccount.$(OBJEXT) +iptaccount_DEPENDENCIES = libxt_ACCOUNT_cl.la +DEFAULT_INCLUDES = -I. -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = libxt_ACCOUNT_cl.c iptaccount.c +DIST_SOURCES = libxt_ACCOUNT_cl.c iptaccount.c +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run aclocal-1.11 +AMTAR = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run tar +AM_DEFAULT_VERBOSITY = 0 +AR = ar +AUTOCONF = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run autoconf +AUTOHEADER = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run autoheader +AUTOMAKE = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run automake-1.11 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +FGREP = /bin/grep -F +GREP = /bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LTLIBOBJS = +MAKEINFO = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +NM = /usr/bin/nm -B +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OTOOL = +OTOOL64 = +PACKAGE = xtables-addons +PACKAGE_BUGREPORT = +PACKAGE_NAME = xtables-addons +PACKAGE_STRING = xtables-addons 1.19 +PACKAGE_TARNAME = xtables-addons +PACKAGE_VERSION = 1.19 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +RANLIB = ranlib +SED = /bin/sed +SET_MAKE = +SHELL = /bin/sh +STRIP = strip +VERSION = 1.19 +abs_builddir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ACCOUNT +abs_srcdir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ACCOUNT +abs_top_builddir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons +abs_top_srcdir = /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons +ac_ct_CC = gcc +ac_ct_DUMPBIN = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-pc-linux-gnu +build_alias = x86_64-linux-gnu +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = pc +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-pc-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = pc +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${prefix}/share/info +install_sh = ${SHELL} /home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/install-sh +kbuilddir = /lib/modules/2.6.30-2-amd64/build +kinclude_CFLAGS = -I /lib/modules/2.6.30-2-amd64/build/include +ksourcedir = +libdir = ${exec_prefix}/lib +libexecdir = /lib +libxtables_CFLAGS = +libxtables_LIBS = -L/lib -lxtables +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +lt_ECHO = echo +mandir = ${prefix}/share/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr +program_transform_name = s,x,x, +psdir = ${docdir} +regular_CFLAGS = -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe -DXTABLES_LIBDIR=\"${xtlibdir}\" +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. +xtables_CFLAGS = +xtlibdir = ${libexecdir}/xtables +XA_SRCDIR = ${srcdir} +XA_TOPSRCDIR = ${top_srcdir} +XA_ABSTOPSRCDIR = ${abs_top_srcdir} +_mcall = -f ${top_builddir}/Makefile.iptrules +iptaccount_LDADD = libxt_ACCOUNT_cl.la +lib_LTLIBRARIES = libxt_ACCOUNT_cl.la +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../../Makefile.extra $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extensions/ACCOUNT/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign extensions/ACCOUNT/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ + } + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +libxt_ACCOUNT_cl.la: $(libxt_ACCOUNT_cl_la_OBJECTS) $(libxt_ACCOUNT_cl_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libxt_ACCOUNT_cl_la_OBJECTS) $(libxt_ACCOUNT_cl_la_LIBADD) $(LIBS) +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +clean-sbinPROGRAMS: + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +iptaccount$(EXEEXT): $(iptaccount_OBJECTS) $(iptaccount_DEPENDENCIES) + @rm -f iptaccount$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(iptaccount_OBJECTS) $(iptaccount_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/iptaccount.Po +include ./$(DEPDIR)/libxt_ACCOUNT_cl.Plo + +.c.o: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CC) \ +# source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(LTCOMPILE) -c -o $@ $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) all-local +installdirs: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ + clean-sbinPROGRAMS mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-exec-local install-libLTLIBRARIES \ + install-sbinPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libLTLIBRARIES uninstall-sbinPROGRAMS + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS all all-am all-local check check-am clean \ + clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ + clean-sbinPROGRAMS ctags distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-local install-html \ + install-html-am install-info install-info-am \ + install-libLTLIBRARIES install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-sbinPROGRAMS install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-libLTLIBRARIES \ + uninstall-sbinPROGRAMS + +export XA_SRCDIR +export XA_TOPSRCDIR +export XA_ABSTOPSRCDIR + +all-local: user-all-local + +install-exec-local: user-install-local + +clean-local: user-clean-local + +user-all-local: + ${MAKE} ${_mcall} all; + +# Have no user-install-data-local ATM +user-install-local: user-install-exec-local + +user-install-exec-local: + ${MAKE} ${_mcall} install; + +user-clean-local: + ${MAKE} ${_mcall} clean; + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- xtables-addons-1.19.orig/extensions/ACCOUNT/modules.order +++ xtables-addons-1.19/extensions/ACCOUNT/modules.order @@ -0,0 +1 @@ +kernel//home/pollux/DEBIAN/XTABLES-ADDONS/xtables-addons/extensions/ACCOUNT/xt_ACCOUNT.ko --- xtables-addons-1.19.orig/extensions/ACCOUNT/.deps/libxt_ACCOUNT_cl.Plo +++ xtables-addons-1.19/extensions/ACCOUNT/.deps/libxt_ACCOUNT_cl.Plo @@ -0,0 +1,133 @@ +libxt_ACCOUNT_cl.lo: libxt_ACCOUNT_cl.c /usr/include/sys/types.h \ + /usr/include/features.h /usr/include/bits/predefs.h \ + /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \ + /usr/include/gnu/stubs.h /usr/include/gnu/stubs-64.h \ + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ + /usr/include/time.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h \ + /usr/include/endian.h /usr/include/bits/endian.h \ + /usr/include/bits/byteswap.h /usr/include/sys/select.h \ + /usr/include/bits/select.h /usr/include/bits/sigset.h \ + /usr/include/bits/time.h /usr/include/sys/sysmacros.h \ + /usr/include/bits/pthreadtypes.h /usr/include/sys/socket.h \ + /usr/include/sys/uio.h /usr/include/bits/uio.h \ + /usr/include/bits/socket.h /usr/include/bits/sockaddr.h \ + /usr/include/asm/socket.h /usr/include/asm/sockios.h \ + /usr/include/string.h /usr/include/xlocale.h /usr/include/bits/string.h \ + /usr/include/bits/string2.h /usr/include/stdlib.h /usr/include/alloca.h \ + /usr/include/unistd.h /usr/include/bits/posix_opt.h \ + /usr/include/bits/confname.h /usr/include/getopt.h \ + /usr/include/netinet/in.h /usr/include/stdint.h \ + /usr/include/bits/wchar.h /usr/include/bits/in.h \ + /usr/include/linux/if.h /usr/include/linux/types.h \ + /usr/include/asm/types.h /usr/include/asm-generic/int-ll64.h \ + /usr/include/linux/posix_types.h /usr/include/linux/stddef.h \ + /usr/include/asm/posix_types.h /usr/include/asm/posix_types_64.h \ + /usr/include/linux/socket.h /usr/include/linux/hdlc/ioctl.h \ + libxt_ACCOUNT_cl.h xt_ACCOUNT.h + +/usr/include/sys/types.h: + +/usr/include/features.h: + +/usr/include/bits/predefs.h: + +/usr/include/sys/cdefs.h: + +/usr/include/bits/wordsize.h: + +/usr/include/gnu/stubs.h: + +/usr/include/gnu/stubs-64.h: + +/usr/include/bits/types.h: + +/usr/include/bits/typesizes.h: + +/usr/include/time.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h: + +/usr/include/endian.h: + +/usr/include/bits/endian.h: + +/usr/include/bits/byteswap.h: + +/usr/include/sys/select.h: + +/usr/include/bits/select.h: + +/usr/include/bits/sigset.h: + +/usr/include/bits/time.h: + +/usr/include/sys/sysmacros.h: + +/usr/include/bits/pthreadtypes.h: + +/usr/include/sys/socket.h: + +/usr/include/sys/uio.h: + +/usr/include/bits/uio.h: + +/usr/include/bits/socket.h: + +/usr/include/bits/sockaddr.h: + +/usr/include/asm/socket.h: + +/usr/include/asm/sockios.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/bits/string.h: + +/usr/include/bits/string2.h: + +/usr/include/stdlib.h: + +/usr/include/alloca.h: + +/usr/include/unistd.h: + +/usr/include/bits/posix_opt.h: + +/usr/include/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/netinet/in.h: + +/usr/include/stdint.h: + +/usr/include/bits/wchar.h: + +/usr/include/bits/in.h: + +/usr/include/linux/if.h: + +/usr/include/linux/types.h: + +/usr/include/asm/types.h: + +/usr/include/asm-generic/int-ll64.h: + +/usr/include/linux/posix_types.h: + +/usr/include/linux/stddef.h: + +/usr/include/asm/posix_types.h: + +/usr/include/asm/posix_types_64.h: + +/usr/include/linux/socket.h: + +/usr/include/linux/hdlc/ioctl.h: + +libxt_ACCOUNT_cl.h: + +xt_ACCOUNT.h: --- xtables-addons-1.19.orig/extensions/ACCOUNT/.deps/iptaccount.Po +++ xtables-addons-1.19/extensions/ACCOUNT/.deps/iptaccount.Po @@ -0,0 +1,128 @@ +iptaccount.o: iptaccount.c ../../config.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdbool.h \ + /usr/include/stdint.h /usr/include/features.h \ + /usr/include/bits/predefs.h /usr/include/sys/cdefs.h \ + /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \ + /usr/include/gnu/stubs-64.h /usr/include/bits/wchar.h \ + /usr/include/stdio.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h \ + /usr/include/bits/types.h /usr/include/bits/typesizes.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdarg.h \ + /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \ + /usr/include/bits/stdio.h /usr/include/stdlib.h \ + /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h \ + /usr/include/bits/endian.h /usr/include/bits/byteswap.h \ + /usr/include/sys/select.h /usr/include/bits/select.h \ + /usr/include/bits/sigset.h /usr/include/bits/time.h \ + /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h \ + /usr/include/alloca.h /usr/include/unistd.h \ + /usr/include/bits/posix_opt.h /usr/include/bits/confname.h \ + /usr/include/getopt.h /usr/include/string.h /usr/include/xlocale.h \ + /usr/include/bits/string.h /usr/include/bits/string2.h \ + /usr/include/signal.h /usr/include/bits/signum.h \ + /usr/include/bits/siginfo.h /usr/include/bits/sigaction.h \ + /usr/include/bits/sigcontext.h /usr/include/bits/sigstack.h \ + /usr/include/bits/sigthread.h libxt_ACCOUNT_cl.h xt_ACCOUNT.h + +../../config.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdbool.h: + +/usr/include/stdint.h: + +/usr/include/features.h: + +/usr/include/bits/predefs.h: + +/usr/include/sys/cdefs.h: + +/usr/include/bits/wordsize.h: + +/usr/include/gnu/stubs.h: + +/usr/include/gnu/stubs-64.h: + +/usr/include/bits/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stddef.h: + +/usr/include/bits/types.h: + +/usr/include/bits/typesizes.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/4.3.4/include/stdarg.h: + +/usr/include/bits/stdio_lim.h: + +/usr/include/bits/sys_errlist.h: + +/usr/include/bits/stdio.h: + +/usr/include/stdlib.h: + +/usr/include/sys/types.h: + +/usr/include/time.h: + +/usr/include/endian.h: + +/usr/include/bits/endian.h: + +/usr/include/bits/byteswap.h: + +/usr/include/sys/select.h: + +/usr/include/bits/select.h: + +/usr/include/bits/sigset.h: + +/usr/include/bits/time.h: + +/usr/include/sys/sysmacros.h: + +/usr/include/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/unistd.h: + +/usr/include/bits/posix_opt.h: + +/usr/include/bits/confname.h: + +/usr/include/getopt.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/bits/string.h: + +/usr/include/bits/string2.h: + +/usr/include/signal.h: + +/usr/include/bits/signum.h: + +/usr/include/bits/siginfo.h: + +/usr/include/bits/sigaction.h: + +/usr/include/bits/sigcontext.h: + +/usr/include/bits/sigstack.h: + +/usr/include/bits/sigthread.h: + +libxt_ACCOUNT_cl.h: + +xt_ACCOUNT.h: --- xtables-addons-1.19.orig/debian/rules +++ xtables-addons-1.19/debian/rules @@ -0,0 +1,247 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# This version is for a hypothetical package that can build a kernel modules +# architecture-dependant package via make-kpkg, as well as an +# architecture-independent module source package, and other packages +# either dep/indep for things like common files or userspace components +# needed for the kernel modules. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +# some default definitions, important! +# +# Name of the source package +psource:=xtables-addons-source + +# The short upstream name, used for the module source directory +sname:=xtables-addons + +# The name of the common userspace package +cname:=xtables-addons-common + +### KERNEL SETUP +### Setup the stuff needed for making kernel module packages +### taken from /usr/share/kernel-package/sample.module.rules + +# prefix of the target package name +PACKAGE=xtables-addons-modules +# modifieable for experiments or debugging m-a +MA_DIR ?= /usr/share/modass + +# If we do not enforce $(CC) value here, then the following include +# will set it to gcc-4.1 +CC = gcc + +# load generic variable handling +-include $(MA_DIR)/include/generic.make +# load default rules, including kdist, kdist_image, ... +-include $(MA_DIR)/include/common-rules.make + + + +# module assistant calculates all needed things for us and sets +# following variables: +# KSRC (kernel source directory), KVERS (kernel version string), KDREV +# (revision of the Debian kernel-image package), CC (the correct +# compiler), VERSION (the final package version string), PKGNAME (full +# package name with KVERS included), DEB_DESTDIR (path to store DEBs) + +# The kdist_config target is called by make-kpkg modules_config and +# by kdist* rules by dependency. It should configure the module so it is +# ready for compilation (mostly useful for calling configure). +# prep-deb-files from module-assistant creates the neccessary debian/ files +kdist_config: prep-deb-files + +# the kdist_clean target is called by make-kpkg modules_clean and from +# kdist* rules. It is responsible for cleaning up any changes that have +# been made by the other kdist_commands (except for the .deb files created) +kdist_clean: + dh_testdir + $(MAKE) -C $(KSRC) M=$(CURDIR) XA_ABSTOPSRCDIR=$(CURDIR) clean + dh_clean +### end KERNEL SETUP + +configure-stamp: configure + dh_testdir + # Add here commands to configure the package. + cp -f /usr/share/misc/config.sub config.sub + cp -f /usr/share/misc/config.guess config.guess + ./configure $(CROSS) --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --libexecdir=/lib +##CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + touch configure-stamp + + +build-arch: configure-stamp build-arch-stamp +build-arch-stamp: + dh_testdir + +# # Add here command to compile/build the package. + $(MAKE) -C extensions user-all-local + $(MAKE) -f Makefile.mans all + + touch $@ + +#k = $(shell echo $(KVERS) | grep -q ^2.6 && echo k) + +# the binary-modules rule is invoked by module-assistant while processing the +# kdist* targets. It is called by module-assistant or make-kpkg and *not* +# during a normal build +binary-modules: + dh_testroot + dh_clean -k + + # Build the module + $(MAKE) -C $(KSRC) M=$(CURDIR) XA_ABSTOPSRCDIR=$(CURDIR) + + # Install the module + $(MAKE) -C $(KSRC) M=$(CURDIR) XA_ABSTOPSRCDIR=$(CURDIR) modules_install \ + INSTALL_MOD_PATH=$(CURDIR)/debian/$(PKGNAME) \ + INSTALL_MOD_DIR=extra/$(sname) + + # remove modules.* files if existing. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552301 + find $(CURDIR)/debian/$(PKGNAME)/lib/modules/* -maxdepth 1 -name 'modules\.*' -delete + + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installmodules + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + dh_clean -k + +build-indep: configure-stamp build-indep-stamp +build-indep-stamp: + dh_testdir + + touch $@ + +build: build-arch build-indep + +clean: + dh_testdir + #dh_testroot + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f extensions/ipset/.*.d + rm -f xtables-addons.8 extensions/matches.man extensions/targets.man + rm -f config.sub config.guess + rm -f build-arch-stamp build-indep-stamp configure-stamp + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Install the libraries + $(MAKE) -C extensions user-install-local DESTDIR=$(CURDIR)/debian/$(cname) + $(MAKE) install-man DESTDIR=$(CURDIR)/debian/$(cname) + install -m 0644 extensions/ipset/ipset.8 $(CURDIR)/debian/$(cname)/usr/share/man/man8 + #$(MAKE) install DESTDIR=$(CURDIR)/debian/$(cname) + + # Create the directories to install the source into + dh_installdirs -p$(psource) usr/src/modules/$(sname)/debian + + # Copy only the driver source to the proper location + cp -r extensions/* debian/$(psource)/usr/src/modules/$(sname)/ + cp mconfig Makefile.extra Makefile.iptrules debian/$(psource)/usr/src/modules/$(sname)/ + + # create a correct kbuild file + cat mconfig extensions/Kbuild >debian/$(psource)/usr/src/modules/$(sname)/Kbuild + sed -i -e "s/^include/-include/" debian/$(psource)/usr/src/modules/$(sname)/Kbuild + + # Copy the needed debian/ pieces to the proper location + cp debian/*modules.in* \ + debian/$(psource)/usr/src/modules/$(sname)/debian + #cp debian/*_KVERS_* debian/rules debian/changelog debian/copyright \ + # debian/compat debian/$(psource)/usr/src/modules/$(sname)/debian/ + cp debian/rules debian/changelog debian/copyright \ + debian/compat debian/control \ + debian/$(psource)/usr/src/modules/$(sname)/debian/ + + rm $(CURDIR)/debian/xtables-addons-common/usr/lib/*.la + rm $(CURDIR)/debian/xtables-addons-common/usr/lib/*.so + + cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules + + dh_install + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i +# dh_install -i +# dh_installmenu -i +# dh_installdebconf -i +# dh_installlogrotate -i +# dh_installemacsen -i +# dh_installpam -i +# dh_installmime -i +# dh_installinit -i +# dh_installcron -i +# dh_installinfo -i + dh_installman -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i +# dh_perl -i +# dh_python -i +# dh_makeshlibs -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a + dh_installdocs -a + dh_installexamples -a + dh_installman -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_strip -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install binary-modules kdist kdist_configure kdist_image kdist_clean --- xtables-addons-1.19.orig/debian/watch +++ xtables-addons-1.19/debian/watch @@ -0,0 +1,11 @@ +# Example watch control file for uscan +# Run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Find new files on sourceforge, for devscripts >= 2.9 +# http://sf.net/#PACKAGE#/#PACKAGE#-(.*)\.tar\.gz + http://sf.net/xtables-addons/xtables-addons-(.*)\.tar\.bz2 --- xtables-addons-1.19.orig/debian/docs +++ xtables-addons-1.19/debian/docs @@ -0,0 +1 @@ +README --- xtables-addons-1.19.orig/debian/compat +++ xtables-addons-1.19/debian/compat @@ -0,0 +1 @@ +5 --- xtables-addons-1.19.orig/debian/control.modules.in +++ xtables-addons-1.19/debian/control.modules.in @@ -0,0 +1,29 @@ +Source: xtables-addons +Section: unknown +Priority: optional +Maintainer: Pierre Chifflier +Build-Depends: debhelper (>= 7), + iptables-dev, + pkg-config, + kbuild +Standards-Version: 3.8.1 + +Package: xtables-addons-modules-_KVERS_ +Architecture: any +Provides: xtables-addons-modules +Conflicts: ipset +Replaces: ipset +Depends: xtables-addons-common-${source:Upstream-Version} +Description: xtables-addons modules for Linux (kernel _KVERS_). + This package contains the set of loadable kernel modules for the + xtables-addons project. + . + It contains new targets for iptables, such as TARPIT, CHAOS, TEE, geoip, + ipset, IPMARK, DELUDE, condition, etc. + . + This package contains the compiled kernel modules for _KVERS_ + . + If you have compiled your own kernel, you will most likely need to build + your own xtables-addons-modules. The xtables-addons-source package has been + provided for use with the Debian's module-assistant or kernel-package + utilities to produce a version of xtables-addons-modules for your kernel. --- xtables-addons-1.19.orig/debian/copyright +++ xtables-addons-1.19/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Pierre Chifflier on +Sun, 19 Oct 2008 16:11:52 +0200. + +It was downloaded from http://jengelh.medozas.de/projects/xtables/ + +Upstream Author: Jan Engelhardt + +Copyright (C) 2006-2008 Jan Engelhardt + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 + as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License 2 can be found in `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is (C) 2008, Pierre Chifflier and +is licensed under the GPL, see `/usr/share/common-licenses/GPL-3'. + --- xtables-addons-1.19.orig/debian/changelog +++ xtables-addons-1.19/debian/changelog @@ -0,0 +1,147 @@ +xtables-addons (1.19-3) unstable; urgency=low + + * Create shlib file + * Add call to ldconfig in postinst (Closes: #553130) + * Remove build dependency on quilt + * Install manpage for ipset + + -- Pierre Chifflier Thu, 29 Oct 2009 16:50:44 +0100 + +xtables-addons (1.19-2) unstable; urgency=medium + + * Remove modules.* files if existing (Closes: #552301) + * Severity medium, grave bug + + -- Pierre Chifflier Mon, 26 Oct 2009 23:11:16 +0100 + +xtables-addons (1.19-1) unstable; urgency=low + + * New upstream release + * Provides a better description for the packages (Closes: #548409) + * Remove 10-uncouple-userspace-from-kernel-build.patch, upstream use a + different build system allowing to build the .so files only + * Tweak build system to become more kbuild-friendly (Closes: #530799) + The following command now works: + make -C /lib/modules/$(uname -r)/build M=/usr/src/modules/xtables-addons + + -- Pierre Chifflier Mon, 19 Oct 2009 23:04:42 +0200 + +xtables-addons (1.18-1) unstable; urgency=low + + * New Upstream Version + This version has support for 2.6.31 (Closes: #545542) + * Bump standards version (no changes) + * Depend on quilt (Closes: #533653) + + -- Pierre Chifflier Thu, 10 Sep 2009 21:42:05 +0200 + +xtables-addons (1.17-1) unstable; urgency=low + + * New Upstream Version + + -- Pierre Chifflier Thu, 18 Jun 2009 16:08:45 +0200 + +xtables-addons (1.16-1) unstable; urgency=low + + * New Upstream Version + + -- Pierre Chifflier Sun, 07 Jun 2009 22:08:15 +0200 + +xtables-addons (1.15-3) unstable; urgency=medium + + * Make xtables-addons-common conflict with ipset (Closes: #528611) + * Urgency medium, serious bug + + -- Pierre Chifflier Thu, 14 May 2009 11:15:40 +0200 + +xtables-addons (1.15-2) unstable; urgency=low + + * Add pkg-config to xtables-addons-source dependencies (Closes: #528169) + + -- Pierre Chifflier Mon, 11 May 2009 17:37:49 +0200 + +xtables-addons (1.15-1) unstable; urgency=low + + * New Upstream Version (Closes: #527254): + This release adds the RAWNAT extension and fixes + subtle leftover bugs in condition, fuzzy, and ipp2p. + * Add build-dep on quilt, and patches (Closes: #517698): + - 10-uncouple-userspace-from-kernel-build.patch + * Re-introduce xtables-addons-common + * Thanks to John Wright for the original patches, merged with modifications + + -- Pierre Chifflier Wed, 06 May 2009 23:08:35 +0200 + +xtables-addons (1.14-2) unstable; urgency=low + + * Add dependency on pkg-config for the source module (Closes: #525088) + * Allow building against kernels different than the running one + (Closes: #525089, #517699) + Thanks to John Wright for the patch. + + -- Pierre Chifflier Wed, 22 Apr 2009 09:17:35 +0200 + +xtables-addons (1.14-1) unstable; urgency=low + + * New Upstream Version + * Bump standards version (no changes) + * Set dependency on iptables-dev >= 1.4.3 + + -- Pierre Chifflier Thu, 02 Apr 2009 15:34:21 +0200 + +xtables-addons (1.12-1) unstable; urgency=low + + * New Upstream Version + * Remove generated map files (Closes: #517699) + + -- Pierre Chifflier Mon, 09 Mar 2009 17:56:57 +0100 + +xtables-addons (1.10-1) unstable; urgency=low + + * New Upstream Version + * Upload to unstable + * Packaging has been rewritten (Closes: #511591) + * Add watch file + * Add postinst file to generated module to call depmod (Closes: #513492) + + -- Pierre Chifflier Wed, 25 Feb 2009 12:16:04 +0100 + +xtables-addons (1.8-1) experimental; urgency=low + + * New upstream release: + Some crashes with ipp2p have been fixed, and the TEE module + gained IPv6 capability. + + -- Pierre Chifflier Tue, 20 Jan 2009 09:43:51 +0100 + +xtables-addons (1.7-2) experimental; urgency=low + + * Remove generated modules.map files from binary module. + + -- Pierre Chifflier Sat, 10 Jan 2009 17:42:43 +0100 + +xtables-addons (1.7-1) experimental; urgency=low + + * Re-write package: + - remove xtables-addons-common package + - put complete modules and libs sources in -source package + * New upstream release: + - update ipset version + - fix build with the latest 2.6.28(-rc) kernel + * Add missing dependency on iptables-dev (Closes: #504563) + + -- Pierre Chifflier Tue, 06 Jan 2009 11:04:05 +0100 + +xtables-addons (1.5.7-2) unstable; urgency=low + + * Fix FTBFS: add headers for all linux versions, and build + for the installed headers version + + -- Pierre Chifflier Mon, 27 Oct 2008 22:31:20 +0100 + +xtables-addons (1.5.7-1) unstable; urgency=low + + * Initial release (Closes: #502402) + + -- Pierre Chifflier Sun, 19 Oct 2008 16:11:52 +0200 + --- xtables-addons-1.19.orig/debian/control +++ xtables-addons-1.19/debian/control @@ -0,0 +1,52 @@ +Source: xtables-addons +Section: admin +Priority: extra +Maintainer: Pierre Chifflier +Build-Depends: debhelper (>= 5), + autotools-dev, + bzip2, + pkg-config, + iptables-dev (>= 1.4.3), + module-assistant +Standards-Version: 3.8.3 +Homepage: http://xtables-addons.sourceforge.net/ + +Package: xtables-addons-source +Architecture: all +Depends: module-assistant, + debhelper (>= 5), + make, + pkg-config, + iptables-dev (>= 1.4.3), + bzip2 +Description: Extensions targets and matches for iptables [modules sources] + Xtables-addons provides extra modules for iptables not present in the + kernel, and is the successor of patch-o-matic. + Extensions includes new targets like TEE, TARPIT, CHAOS, or modules like + geoip, ipset, and account. + . + This package provides the source code for the xtables-addons kernel modules. + The xtables-addons package is also required in order to make use of these + modules. Kernel source or headers are required to compile these modules. + +Package: xtables-addons-common +Architecture: any +Depends: ${shlibs:Depends} +Recommends: xtables-addons-modules +Provides: xtables-addons-common-${source:Upstream-Version} +Conflicts: ipset +Replaces: ipset +Description: Extensions targets and matches for iptables [tools, libs] + Xtables-addons provides extra modules for iptables not present in the + kernel, and is the successor of patch-o-matic. + Extensions includes new targets like TEE, TARPIT, CHAOS, or modules like + geoip, ipset, and account. + . + This package provides the userspace libraries for iptables to use extensions + in the xtables-addons-modules package. + . + Note: this package is only useful with a corresponding xtables-addons-modules + package, which you may produce with module-assistant: + . + module-assistant auto-install xtables-addons-source + --- xtables-addons-1.19.orig/debian/README.Debian +++ xtables-addons-1.19/debian/README.Debian @@ -0,0 +1,29 @@ +Conflicts with previous versions +-------------------------------- + +Please note that you will need to remove all versions of xtables-addons-modules-* +prior to 1.15 before installing 1.15. + +If you don't do that, you will get conflicts with xtables-addons-common package. + +xtables-addons for Debian +------------------------- + +The Debian xtables-addons source package provides two packages, + + 1) xtables-addons-common, which the provides the userspace libraries and tools + 2) xtables-addons-source, which provides the source for the kernel modules + +The xtables-addons-source package can be used in several ways, + + - Using the make-kpkg(1) command provided by the kernel-package Debian + package. This will produce a corresponding xtables-addons-modules package for + the Debian kernel-image package that you are using. This is "the Debian + way". See the "modules_image" section of the make-kpkg(1) man page. + + - Changing to the /usr/src/modules/xtables-addons/ directory and building as + the README file instructs using "make; make install". This will build + and install a module specific to the system you are building on and is + not under control of the packaging system. + + -- Pierre Chifflier Wed, 06 May 2009 23:01:23 +0200