netfilter cosmetic: add/correct copyright notices
Subsystems (2)
PATCH 1/1 netfilter cosmetic: add/correct copyright notices
Hi Dave!
The attached patch adds and/or corrects copyright notices and GPL statements throughout the netfilter code.
It applies cleanly to 2.6.2-rc2.
Please apply, thanks.
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
net/ipv4/netfilter/ip_conntrack_core.c +6 -2
@@ -2,8 +2,12 @@but required by, the NAT layer; it can also be used by an iptables extension. */ -/* (c) 1999 Paul `Rusty' Russell. Licenced under the GNU General -* Public Licence. +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. * * 23 Apr 2001: Harald Welte <[email protected]> * - new API and handling of conntrack/nat helpers
net/ipv4/netfilter/ip_conntrack_ftp.c +9 -0
@@ -1,4 +1,13 @@/* FTP extension for IP connection tracking. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/config.h> #include <linux/module.h> #include <linux/netfilter.h>
net/ipv4/netfilter/ip_conntrack_proto_generic.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/sched.h> #include <linux/timer.h>
net/ipv4/netfilter/ip_conntrack_proto_icmp.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/sched.h> #include <linux/timer.h>
net/ipv4/netfilter/ip_conntrack_proto_tcp.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/sched.h> #include <linux/timer.h>
net/ipv4/netfilter/ip_conntrack_proto_udp.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/sched.h> #include <linux/timer.h>
net/ipv4/netfilter/ip_conntrack_standalone.c +7 -2
@@ -4,8 +4,13 @@These are not required by the compatibility layer. */ -/* (c) 1999 Paul `Rusty' Russell. Licenced under the GNU General -Public Licence. */ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ #include <linux/config.h> #include <linux/types.h>
net/ipv4/netfilter/ip_conntrack_tftp.c +6 -2
@@ -1,5 +1,9 @@ -/* -* Licensed under GNU GPL version 2 Copyright Magnus Boden <[email protected]> +/* (C) 2001-2002 Magnus Boden <[email protected]> +* +* 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. +* * Version: 0.0.7 * * Thu 21 Mar 2002 Harald Welte <[email protected]>
net/ipv4/netfilter/ip_fw_compat.c +9 -0
@@ -1,5 +1,14 @@/* Compatibility framework for ipchains and ipfwadm support; designed to look as much like the 2.2 infrastructure as possible. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +struct notifier_block ;#include <linux/netfilter_ipv4.h>
net/ipv4/netfilter/ip_fw_compat_masq.c +9 -0
@@ -4,6 +4,15 @@ports 61000:65095 (in 2.0 and 2.2 they get EADDRINUSE). Just DON'T DO IT. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/skbuff.h> #include <linux/in.h> #include <linux/ip.h>
net/ipv4/netfilter/ip_fw_compat_redir.c +9 -0
@@ -7,6 +7,15 @@FIXME: Timing is overly simplistic. If anyone complains, make it use conntrack. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/config.h> #include <linux/netfilter.h> #include <linux/ip.h>
net/ipv4/netfilter/ip_nat_core.c +8 -2
@@ -1,7 +1,13 @@/* NAT for netfilter; shared with compatibility layer. */ -/* (c) 1999 Paul `Rusty' Russell. Licenced under the GNU General -Public Licence. */ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/types.h> #include <linux/timer.h>
net/ipv4/netfilter/ip_nat_ftp.c +9 -0
@@ -1,4 +1,13 @@/* FTP extension for TCP NAT alteration. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/netfilter_ipv4.h> #include <linux/ip.h>
net/ipv4/netfilter/ip_nat_helper.c +6 -3
@@ -1,8 +1,11 @@ -/* ip_nat_mangle.c - generic support functions for NAT helpers +/* ip_nat_helper.c - generic support functions for NAT helpers * -* (C) 2000-2002 by Harald Welte <[email protected]> +* (C) 2000-2002 Harald Welte <[email protected]> +* (C) 2003-2004 Netfilter Core Team <[email protected]> * -* distributed under the terms of GNU GPL +* 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. * * 14 Jan 2002 Harald Welte <[email protected]>: * - add support for SACK adjustment
net/ipv4/netfilter/ip_nat_proto_icmp.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/init.h> #include <linux/netfilter.h>
net/ipv4/netfilter/ip_nat_proto_tcp.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/init.h> #include <linux/netfilter.h>
net/ipv4/netfilter/ip_nat_proto_udp.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/init.h> #include <linux/netfilter.h>
net/ipv4/netfilter/ip_nat_proto_unknown.c +8 -0
@@ -2,6 +2,14 @@* don't understand. It's returned by ip_ct_find_proto(). */ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/init.h> #include <linux/netfilter.h>
net/ipv4/netfilter/ip_nat_rule.c +8 -0
@@ -1,3 +1,11 @@ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +/* Everything about the rules for NAT. */ #include <linux/types.h> #include <linux/ip.h>
net/ipv4/netfilter/ip_nat_standalone.c +8 -2
@@ -4,9 +4,15 @@These are not required by the compatibility layer. */ -/* (c) 1999 Paul `Rusty' Russell. Licenced under the GNU General -* Public Licence. +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> * +* 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. +*/ + +/* * 23 Apr 2001: Harald Welte <[email protected]> * - new API and handling of conntrack/nat helpers * - now capable of multiple expectations for one master
net/ipv4/netfilter/ip_nat_tftp.c +6 -2
@@ -1,5 +1,9 @@ -/* -* Licensed under GNU GPL version 2 Copyright Magnus Boden <[email protected]> +/* (C) 2001-2002 Magnus Boden <[email protected]> +* +* 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. +* * Version: 0.0.7 * * Thu 21 Mar 2002 Harald Welte <[email protected]>
net/ipv4/netfilter/ip_queue.c +5 -1
@@ -2,7 +2,11 @@* This is a module which is used for queueing IPv4 packets and * communicating with userspace via netlink. * -* (C) 2000-2002 James Morris, this code is GPL. +* (C) 2000-2002 James Morris <[email protected]> +* +* 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. * * 2000-03-27: Simplified code (thanks to Andi Kleen for clues). * 2000-05-20: Fixed notifier problems (following Miguel Freitas' report).
net/ipv4/netfilter/ip_tables.c +5 -1
@@ -2,7 +2,11 @@* Packet matching code. * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling -* Copyright (C) 2009-2002 Netfilter core team <[email protected]> +* Copyright (C) 2000-2004 Netfilter Core Team <[email protected]> +* +* 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. * * 19 Jan 2002 Harald Welte <[email protected]> * - increase module usage count as soon as we have rules inside
net/ipv4/netfilter/ipt_CLASSIFY.c +7 -0
@@ -3,6 +3,13 @@* of an skb for qdisc classification. */ +/* (C) 2001-2002 Patrick McHardy <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_DSCP.c +5 -2
@@ -1,8 +1,11 @@/* iptables module for setting the IPv4 DSCP field, Version 1.8 * -* (C) 2002 by Harald Welte <[email protected]> +* (C) 2002 by Harald Welte <[email protected]> * based on ipt_FTOS.c (C) 2000 by Matthew G. Marsh <[email protected]> -* This software is distributed under GNU GPL v2, 1991 +* +* 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. * * See RFC2474 for a description of the DSCP field within the IP Header. *
net/ipv4/netfilter/ipt_ECN.c +5 -3
@@ -1,9 +1,11 @@/* iptables module for the IPv4 and TCP ECN bits, Version 1.5 * -* (C) 2002 by Harald Welte <[email protected]> -* -* This software is distributed under GNU GPL v2, 1991 +* (C) 2002 by Harald Welte <[email protected]> * +* 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. +* * ipt_ECN.c,v 1.5 2002/08/18 19:36:51 laforge Exp */
net/ipv4/netfilter/ipt_LOG.c +9 -0
@@ -1,6 +1,15 @@/* * This is a module which is used for logging packets. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/spinlock.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_MARK.c +8 -0
@@ -1,4 +1,12 @@/* This is a module which is used for setting the NFMARK field of an skb. */ + +/* (C) 1999-2001 Marc Boucher <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_MASQUERADE.c +9 -0
@@ -1,5 +1,14 @@/* Masquerade. Simple mapping which alters range to a local IP address (depending on route). */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/config.h> #include <linux/types.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_NETMAP.c +10 -5
@@ -1,9 +1,14 @@/* NETMAP - static NAT mapping of IP network addresses (1:1). -The mapping can be applied to source (POSTROUTING), -destination (PREROUTING), or both (with separate rules). - -Author: Svenning Soerensen <[email protected]> -*/ +* The mapping can be applied to source (POSTROUTING), +* destination (PREROUTING), or both (with separate rules). +*/ + +/* (C) 2000-2001 Svenning Soerensen <[email protected]> +* +* 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. +*/ #include <linux/config.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_REDIRECT.c +8 -0
@@ -1,4 +1,12 @@/* Redirect. Simple mapping which alters dst to a local IP address. */ +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/types.h> #include <linux/ip.h> #include <linux/timer.h>
net/ipv4/netfilter/ipt_REJECT.c +9 -0
@@ -3,6 +3,15 @@* Added support for customized reject packets (Jozsef Kadlecsik). * Added support for ICMP type-3-code-13 (Maciej Soltysiak). [RFC 1812] */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/config.h> #include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_SAME.c +6 -1
@@ -1,7 +1,12 @@/* Same. Just like SNAT, only try to make the connections * between client A and server B always have the same source ip. * -* (C) 2000 Rusty Russell. GPL. +* (C) 2000 Paul `Rusty' Russell +* (C) 2001 Martin Josefsson +* +* 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. * * 010320 Martin Josefsson <[email protected]> * * copied ipt_BALANCE.c to ipt_SAME.c and changed a few things.
net/ipv4/netfilter/ipt_TCPMSS.c +6 -1
@@ -1,8 +1,13 @@/* * This is a module which is used for setting the MSS option in TCP packets. * -* Copyright (c) 2000 Marc Boucher +* Copyright (C) 2000 Marc Boucher <[email protected]> +* +* 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. */ +#include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_TOS.c +9 -0
@@ -1,4 +1,13 @@/* This is a module which is used for setting the TOS field of a packet. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_ULOG.c +7 -2
@@ -1,7 +1,7 @@/* * netfilter module for userspace packet logging daemons * -* (C) 2000-2002 by Harald Welte <[email protected]> +* (C) 2000-2002 by Harald Welte <[email protected]> * * 2000/09/22 ulog-cprange feature added * 2001/01/04 in-kernel queue as proposed by Sebastian Zander
@@ -14,7 +14,12 @@* 2002/08/29 fix shifted/unshifted nlgroup bug -HW * 2002/10/30 fix uninitialized mac_len field - <Anders K. Pedersen> * -* Released under the terms of the GPL +* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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 module accepts two parameters: *
net/ipv4/netfilter/ipt_ah.c +7 -0
@@ -1,4 +1,11 @@/* Kernel module to match AH parameters. */ +/* (C) 1999-2000 Yon Uriarte <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_conntrack.c +7 -1
@@ -1,7 +1,13 @@/* Kernel module to match connection tracking information. * Superset of Rusty's minimalistic state match. -* GPL (C) 2001 Marc Boucher ([email protected]). +* +* (C) 2001 Marc Boucher ([email protected]). +* +* 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. */ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/netfilter_ipv4/ip_conntrack.h>
net/ipv4/netfilter/ipt_dscp.c +4 -2
@@ -2,9 +2,11 @@* * ipt_dscp.c,v 1.3 2002/08/05 19:00:21 laforge Exp * -* (C) 2002 by Harald Welte <[email protected]> +* (C) 2002 by Harald Welte <[email protected]> * -* This software is distributed under the terms GNU GPL +* 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. */ #include <linux/module.h>
net/ipv4/netfilter/ipt_ecn.c +3 -1
@@ -4,7 +4,9 @@* * (C) 2002 by Harald Welte <[email protected]> * -* This software is distributed under the terms GNU GPL v2 +* 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. */ #include <linux/module.h>
net/ipv4/netfilter/ipt_esp.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match ESP parameters. */ + +/* (C) 1999-2000 Yon Uriarte <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv4/netfilter/ipt_helper.c +6 -3
@@ -1,12 +1,15 @@ +/* iptables module to match on related connections */ /* -* iptables module to match on related connections -* (c) 2001 Martin Josefsson <[email protected]> +* (C) 2001 Martin Josefsson <[email protected]> * -* Released under the terms of GNU GPLv2. +* 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. * * 19 Mar 2002 Harald Welte <[email protected]>: * - Port to newnat infrastructure */ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/netfilter.h>
net/ipv4/netfilter/ipt_iprange.c +4 -2
@@ -1,9 +1,11 @@/* * iptables module to match IP address ranges -* (c) 2003 Jozsef Kadlecsik <[email protected]> * -* Released under the terms of GNU GPLv2. +* (C) 2003 Jozsef Kadlecsik <[email protected]> * +* 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. */ #include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_length.c +7 -0
@@ -1,4 +1,11 @@/* Kernel module to match packet length. */ +/* (C) 1999-2001 James Morris <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_limit.c +9 -3
@@ -1,12 +1,18 @@/* Kernel module to control the rate * -* Jérôme de Vivie <[email protected]> -* Hervé Eychenne <[email protected]> -* * 2 September 1999: Changed from the target RATE to the match * `limit', removed logging. Did I mention that * Alexey is a fucking genius? * Rusty Russell ([email protected]). */ + +/* (C) 1999 Jérôme de Vivie <[email protected]> +* (C) 1999 Hervé Eychenne <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/spinlock.h>
net/ipv4/netfilter/ipt_mac.c +9 -0
@@ -1,4 +1,13 @@/* Kernel module to match MAC address parameters. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/if_ether.h>
net/ipv4/netfilter/ipt_mark.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match NFMARK values. */ + +/* (C) 1999-2001 Marc Boucher <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_multiport.c +9 -0
@@ -1,5 +1,14 @@/* Kernel module to match one of a list of TCP/UDP ports: ports are in the same place so we can treat them as equal. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/types.h> #include <linux/udp.h>
net/ipv4/netfilter/ipt_owner.c +7 -2
@@ -1,8 +1,13 @@/* Kernel module to match various things tied to sockets associated with -locally generated outgoing packets. +locally generated outgoing packets. */ -Copyright (C) 2000 Marc Boucher +/* (C) 2000 Marc Boucher <[email protected]> +* +* 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. */ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/file.h>
net/ipv4/netfilter/ipt_physdev.c +8 -0
@@ -1,5 +1,13 @@/* Kernel module to match the bridge port in and * out device for IP packets coming into contact with a bridge. */ + +/* (C) 2001-2003 Bart De Schuymer <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/netfilter_ipv4/ipt_physdev.h>
net/ipv4/netfilter/ipt_pkttype.c +9 -0
@@ -1,3 +1,10 @@ +/* (C) 1999-2001 Michal Ludvig <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/if_ether.h>
@@ -7,6 +14,8 @@#include <linux/netfilter_ipv4/ip_tables.h> MODULE_LICENSE ("GPL" ); +MODULE_AUTHOR ("Michal Ludvig <[email protected]>" ); +MODULE_DESCRIPTION ("IP tables match to match on linklayer packet type" ); static int match(const struct sk_buff *skb, const struct net_device *in,
net/ipv4/netfilter/ipt_state.c +9 -2
@@ -1,6 +1,13 @@ -/* Kernel module to match connection tracking information. -* GPL (C) 1999 Rusty Russell ([email protected]). +/* Kernel module to match connection tracking information. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. */ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/netfilter_ipv4/ip_conntrack.h>
net/ipv4/netfilter/ipt_tcpmss.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match TCP MSS values. */ + +/* Copyright (C) 2000 Marc Boucher <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <net/tcp.h>
net/ipv4/netfilter/ipt_tos.c +9 -0
@@ -1,4 +1,13 @@/* Kernel module to match TOS values. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/netfilter/ipt_ttl.c +5 -3
@@ -2,9 +2,11 @@* * ipt_ttl.c,v 1.5 2000/11/13 11:16:08 laforge Exp * -* (C) 2000,2001 by Harald Welte <[email protected]> +* (C) 2000,2001 by Harald Welte <[email protected]> * -* This software is distributed under the terms GNU GPL +* 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. */ #include <linux/module.h>
@@ -13,7 +15,7 @@#include <linux/netfilter_ipv4/ipt_ttl.h> #include <linux/netfilter_ipv4/ip_tables.h> -MODULE_AUTHOR ("Harald Welte <[email protected]>" ); +MODULE_AUTHOR ("Harald Welte <[email protected]>" );MODULE_DESCRIPTION ("IP tables TTL matching module" );MODULE_LICENSE ("GPL" );
net/ipv4/netfilter/iptable_filter.c +7 -0
@@ -2,7 +2,14 @@* This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling +* Copyright (C) 2000-2004 Netfilter Core Team <[email protected]> +* +* 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. +* */ +#include <linux/module.h> #include <linux/netfilter_ipv4/ip_tables.h>
net/ipv4/netfilter/iptable_mangle.c +5 -0
@@ -2,6 +2,11 @@* This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling +* Copyright (C) 2000-2004 Netfilter Core Team <[email protected]> +* +* 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. * * Extended to all five netfilter hooks by Brad Chapman & Harald Welte */
net/ipv6/netfilter/ip6_queue.c +4 -0
@@ -8,6 +8,10 @@* Universidad Politecnica de Alcala de Henares - Alcala de H. (Madrid) - Spain * email: [email protected] * +* 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. +* * 2001-11-06: First try. Working with ip_queue.c for IPv4 and trying * to adapt it to IPv6 * HEAVILY based in ipqueue.c by James Morris. It's just
net/ipv6/netfilter/ip6_tables.c +4 -0
@@ -4,6 +4,10 @@* Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling * Copyright (C) 2000-2002 Netfilter core team <[email protected]> * +* 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. +* * 19 Jan 2002 Harald Welte <[email protected]> * - increase module usage count as soon as we have rules inside * a table
net/ipv6/netfilter/ip6t_LOG.c +9 -0
@@ -1,6 +1,15 @@/* * This is a module which is used for logging packets. */ + +/* (C) 2001 Jan Rekorajski <[email protected]> +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv6/netfilter/ip6t_MARK.c +8 -0
@@ -1,4 +1,12 @@/* This is a module which is used for setting the NFMARK field of an skb. */ + +/* (C) 1999-2001 Marc Boucher <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ip.h>
net/ipv6/netfilter/ip6t_ah.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match AH parameters. */ + +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_dst.c +9 -0
@@ -1,4 +1,13 @@/* Kernel module to match Hop-by-Hop and Destination parameters. */ + +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ + +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_esp.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match ESP parameters. */ +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ + +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_eui64.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match EUI64 address parameters. */ + +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_frag.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match FRAG parameters. */ + +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_hbh.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match Hop-by-Hop and Destination parameters. */ + +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_hl.c +6 -4
@@ -1,9 +1,11 @@ -/* -* Hop Limit matching module -* Maciej Soltysiak <[email protected]> +/* Hop Limit matching module */ + +/* (C) 2001-2002 Maciej Soltysiak <[email protected]> * Based on HW's ttl module * -* This software is distributed under the terms GNU GPL +* 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. */ #include <linux/module.h>
net/ipv6/netfilter/ip6t_ipv6header.c +8 -1
@@ -1,9 +1,16 @@/* ipv6header match - matches IPv6 packets based -on whether they contain certain headers */ +on whether they contain certain headers */ /* Original idea: Brad Chapman * Rewritten by: Andras Kis-Szabo <[email protected]> */ +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6t_length.c +8 -0
@@ -1,5 +1,13 @@/* Length Match - IPv6 Port */ +/* (C) 1999-2001 James Morris <[email protected]> +* +* 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. +*/ + +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/netfilter_ipv6/ip6t_length.h>
net/ipv6/netfilter/ip6t_limit.c +9 -3
@@ -1,12 +1,18 @@/* Kernel module to control the rate * -* Jérôme de Vivie <[email protected]> -* Hervé Eychenne <[email protected]> -* * 2 September 1999: Changed from the target RATE to the match * `limit', removed logging. Did I mention that * Alexey is a fucking genius? * Rusty Russell ([email protected]). */ + +/* (C) 1999 Jérôme de Vivie <[email protected]> +* (C) 1999 Hervé Eychenne <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/spinlock.h>
net/ipv6/netfilter/ip6t_mac.c +9 -0
@@ -1,4 +1,13 @@/* Kernel module to match MAC address parameters. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/if_ether.h>
net/ipv6/netfilter/ip6t_mark.c +9 -0
@@ -1,4 +1,13 @@/* Kernel module to match NFMARK values. */ + +/* (C) 1999-2001 Marc Boucher <[email protected]> +* +* 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. +*/ + +#include <linux/module.h> #include <linux/skbuff.h>
net/ipv6/netfilter/ip6t_multiport.c +9 -0
@@ -1,5 +1,14 @@/* Kernel module to match one of a list of TCP/UDP ports: ports are in the same place so we can treat them as equal. */ + +/* (C) 1999-2001 Paul `Rusty' Russell +* (C) 2002-2004 Netfilter Core Team <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/types.h> #include <linux/udp.h>
net/ipv6/netfilter/ip6t_owner.c +7 -2
@@ -1,8 +1,13 @@/* Kernel module to match various things tied to sockets associated with -locally generated outgoing packets. +locally generated outgoing packets. */ -Copyright (C) 2000,2001 Marc Boucher +/* (C) 2000-2001 Marc Boucher <[email protected]> +* +* 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. */ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/file.h>
net/ipv6/netfilter/ip6t_rt.c +8 -0
@@ -1,4 +1,12 @@/* Kernel module to match ROUTING parameters. */ + +/* (C) 2001-2002 Andras Kis-Szabo <[email protected]> +* +* 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. +*/ +#include <linux/module.h> #include <linux/skbuff.h> #include <linux/ipv6.h>
net/ipv6/netfilter/ip6table_filter.c +6 -0
@@ -2,7 +2,13 @@* This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x. * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling +* Copyright (C) 2000-2004 Netfilter Core Team <[email protected]> +* +* 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. */ +#include <linux/module.h> #include <linux/netfilter_ipv6/ip6_tables.h>
net/ipv6/netfilter/ip6table_mangle.c +7 -0
@@ -2,6 +2,13 @@* IPv6 packet mangling table, a port of the IPv4 mangle table to IPv6 * * Copyright (C) 2000-2001 by Harald Welte <[email protected]> +* Copyright (C) 2000-2004 Netfilter Core Team <[email protected]> +* +* 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. +* +* Extended to all five netfilter hooks by Brad Chapman & Harald Welte */ #include <linux/module.h> #include <linux/netfilter_ipv6/ip6_tables.h>
David S. Miller
AppliedQuoted 6 lines · On Tue, 27 Jan 2004 22:42:47 +0100 Harald Welte <[email protected]> wrote:
The attached patch adds and/or corrects copyright notices and GPL statements throughout the netfilter code.
It applies cleanly to 2.6.2-rc2.
Please apply, thanks.
Applied, thanks Harald.