Re: HELP ipt_hook: happy cracking message
From: Willy Tarreau
Date: Tue Apr 27 2004 - 14:02:58 EST
On Mon, Apr 26, 2004 at 08:12:20AM -0700, Parag Nemade wrote:
> hi,
> i modified kernel so that it will create
> /proc/net/myproc file entry.
> the function of this entry is to crate a 16 byte char
> string from random no.s
> i used net_srandom and net_random and sys_time for
> that puspose. the problem is that i write program to
> generate string after 120 seconds but it is changing
> contents of myproc file every seconds. what can i do?
may be you're sleeping for 120 instead of 120*HZ, which
means you're really sleeping 1.2s on x86.
> Also i am getting ipt_hook: happy cracking. message
> again and again why?
iptable_mangle.c comment reads 'root is playing with
raw sockets' above this message. It means that you're
sending too short IP packets (len < 20 bytes) or packets
with the IHL field < 5. It's just a harmless message.
Regards,
Willy
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html