]> err.no Git - linux-2.6/commitdiff
[NETFILTER]: iptable_{filter,mangle}: more descriptive "happy cracking" message
authorPatrick McHardy <kaber@trash.net>
Thu, 10 May 2007 21:16:56 +0000 (14:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:47:59 +0000 (23:47 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/iptable_filter.c
net/ipv4/netfilter/iptable_mangle.c

index ea14979d8a8225eed4056a63893c73840f8215b0..4f51c1d7d2d60910de959be5554f01ca6bbcd664 100644 (file)
@@ -81,7 +81,8 @@ ipt_local_out_hook(unsigned int hook,
        if ((*pskb)->len < sizeof(struct iphdr)
            || ip_hdrlen(*pskb) < sizeof(struct iphdr)) {
                if (net_ratelimit())
-                       printk("ipt_hook: happy cracking.\n");
+                       printk("iptable_filter: ignoring short SOCK_RAW "
+                              "packet.\n");
                return NF_ACCEPT;
        }
 
index c3827bae3b660f45d3afc808546900db0d079187..902446f7cbca8ae630677eb423ae1f0c9540ef56 100644 (file)
@@ -100,7 +100,8 @@ ipt_local_hook(unsigned int hook,
        if ((*pskb)->len < sizeof(struct iphdr)
            || ip_hdrlen(*pskb) < sizeof(struct iphdr)) {
                if (net_ratelimit())
-                       printk("ipt_hook: happy cracking.\n");
+                       printk("iptable_mangle: ignoring short SOCK_RAW "
+                              "packet.\n");
                return NF_ACCEPT;
        }