From: Pablo Neira Ayuso <pablo@netfilter.org>
To: marty <martinbarrowcliff@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: ulogd2 suggest
Date: Fri, 13 Jan 2012 21:14:56 +0100 [thread overview]
Message-ID: <20120113201456.GA23488@1984> (raw)
In-Reply-To: <4F105E2B.4050400@gmail.com>
On Fri, Jan 13, 2012 at 11:39:07AM -0500, marty wrote:
> >You don't even point to evindences. You don't even specify a
> >list of reasons why you affirm this or a list of unresolved
> >issues.
> >
> >This is completely gratuitous.
>
> 1. when ulogd logs to mysql, and a failure occurs, the last
> auto_increment value may still contain a previous, used value.
> So mysql will hang terminally. Transactions should prevent this.
>
> 2. transactions cannot be used in a mysql function, only a procedure.
>
> 3. When you call a stored procedure from a function, that puts the
> sproc into the same execution environment as the function, with the
> same restrictions, e.g. transactions don't work.
>
> 4. mysql provides a warning but ulogd2 ignores it.
> mysql is not logging those warnings but they can be seen on command line
>
> 5. You cannot execute a procedure with a select statement.
> Mysql will look for a function, not a procedure.
>
> 6. Ulogd is hardwired to use SELECT statements for ALL DBMS in db.c.
> So this breaks things and therfor I consider it wrong..
>
> 7. All key values, except "addresses" are in host byte order.
> This inconsistency is problematic on little endian systems because
> it breaks the native math processes for all client applications.
>
> eg: You cannot do a SQL geo_ip lookup with wrong_endian numbers.
> Converting a numeric address to host order is not practical in SQL.
>
> 8. IPv6 may be important to many, but in fact it is not the standard.
> Almost every filter plugin is sprinkled with the same protocol
> conversion code. That is redundant.
> This can be accommodated on a per-instance basis by a single plugin.
> AFAIK this is the only reason for the byte order mess anyway.
Bah.
You're asking for enhancements for ulogd2's mysql plugin.
However, you decided to start your email telling that ulogd2 (which
can make *way more things than logging to mysql*) is broken because
the current mysql support doesn't fit your needs.
[...]
> >If you change the endianness of the address, you have to propagate the
> >changes to other plugins.
>
> That's exactly the problem!
> Ulogd2 uses big-endian addresses on all host architectures,
> so all the plugins are affected.
> To fix this almost everything needs change, and I can't do that.
[...]
> I have fixed all my issues, making only 3 minor changes.
> True enough, things I don't use are probably broken.
> But it works for me.
This comment shows that you know nothing about how Free/OpenSource
community projects work.
You just want to grab the software and provide ZERO return to the
existing codebase. Very sad.
Please, stop trolling us.
next prev parent reply other threads:[~2012-01-13 20:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-12 23:05 ulogd2 suggest marty
2012-01-13 7:40 ` Pierre Chifflier
2012-01-13 14:28 ` Pablo Neira Ayuso
2012-01-13 16:39 ` marty
2012-01-13 20:14 ` Pablo Neira Ayuso [this message]
2012-01-13 21:06 ` marty
2012-01-13 21:43 ` Jozsef Kadlecsik
-- strict thread matches above, loose matches on Subject: below --
2012-01-14 3:27 marty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120113201456.GA23488@1984 \
--to=pablo@netfilter.org \
--cc=martinbarrowcliff@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).