Re: [2.6] Nonsense-messages from iptables + co.

From: Harald Welte
Date: Fri Nov 14 2003 - 10:16:43 EST


On Fri, Nov 14, 2003 at 02:20:54PM +0100, Matthias Andree wrote:
> Who the heck added these unhelpful
>
> "ipt_hook: happy cracking."
>
> messages to iptables/mangling/connection tracking code? There are three
> instances.

I guess it was Rusty. The idea message is a funny way of telling you
that you are sending incomplete ip headers. Something that is not
likely to occur unless you are trying to send corrupt packets via raw ip
sockets...

> If the kernel has got something to say, it should be clear what the
> kernel means, say, maximum <whatever> rate exceeded or something, not
> such junk like this.

There are people who do actually have fun developing linux code. And
Rusty has a peculiar sense of humor... for further reference see the
comments like 'furniture shopping' throughout the netfilter/iptables
source code. I sometimes wish I had the same humor like he has.

Yes, I know. Stuff like this is not exactly useful in error messages.
I'd say it's one of the few remainders of the 2.3.x early development
time. Like the "Rusty's brain broke" messages that have recently been
removed/replaced.

btw: *nix has a long history of funny error messages, like 'printer on
fire' or others.

> This is IMHO a MUST-FIX before 2.6.0.

It is even in 2.4.x, where it could have been fixed throughout the last
couple of years. Nobody else has yet complained.

> Matthias Andree

--
- Harald Welte <laforge@xxxxxxxxxxxx> http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime

Attachment: pgp00001.pgp
Description: PGP signature