kernel-ark/net/netfilter
Phil Oester 28658c8967 [NETFILTER]: xt_pkttype: fix mismatches on locally generated packets
Locally generated broadcast and multicast packets have pkttype set to
PACKET_LOOPBACK instead of PACKET_BROADCAST or PACKET_MULTICAST. This
causes the pkttype match to fail to match packets of either type.

The below patch remedies this by using the daddr as a hint as to
broadcast|multicast. While not pretty, this seems like the only way
to solve the problem short of just noting this as a limitation of the
match.

This resolves netfilter bugzilla #484

Signed-off-by: Phil Oester <kernel@linuxace.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-07-24 22:54:14 -07:00
..
core.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig
Makefile
nf_conntrack_core.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_conntrack_ftp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_conntrack_l3proto_generic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_conntrack_netlink.c
nf_conntrack_proto_generic.c
nf_conntrack_proto_sctp.c [NETFILTER]: SCTP conntrack: fix crash triggered by packet without chunks 2006-06-30 14:12:01 -07:00
nf_conntrack_proto_tcp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_conntrack_proto_udp.c
nf_conntrack_standalone.c [NETFILTER]: conntrack: fix SYSCTL=n compile 2006-07-24 22:53:12 -07:00
nf_internals.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_log.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_queue.c [NETFILTER]: nf_queue: handle NF_STOP and unknown verdicts in nf_reinject 2006-07-24 22:52:47 -07:00
nf_sockopt.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nfnetlink_log.c
nfnetlink_queue.c
nfnetlink.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
x_tables.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
xt_CLASSIFY.c
xt_comment.c
xt_connbytes.c
xt_connmark.c
xt_CONNMARK.c
xt_CONNSECMARK.c
xt_conntrack.c
xt_dccp.c
xt_esp.c
xt_helper.c
xt_length.c
xt_limit.c
xt_mac.c
xt_mark.c
xt_MARK.c
xt_multiport.c
xt_NFQUEUE.c
xt_NOTRACK.c
xt_physdev.c
xt_pkttype.c [NETFILTER]: xt_pkttype: fix mismatches on locally generated packets 2006-07-24 22:54:14 -07:00
xt_policy.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
xt_quota.c
xt_realm.c
xt_sctp.c
xt_SECMARK.c
xt_state.c
xt_statistic.c
xt_string.c
xt_tcpmss.c
xt_tcpudp.c