From: Vasiliy Kulikov <segooon@gmail.com>
To: Sven Eckelmann <sven.eckelmann@gmx.de>
Cc: "Greg Kroah-Hartman" <gregkh@suse.de>,
"Andrew Lunn" <andrew@lunn.ch>,
"Marek Lindner" <lindner_marek@yahoo.de>,
"Simon Wunderlich" <siwu@hrz.tu-chemnitz.de>,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
"Linus Lüssing" <linus.luessing@web.de>
Subject: Re: batman-adv: design suggestions
Date: Thu, 12 Aug 2010 16:48:13 +0400 [thread overview]
Message-ID: <20100812124813.GB4881@albatros> (raw)
In-Reply-To: <201008092254.39960.sven.eckelmann@gmx.de>
On Mon, Aug 09, 2010 at 22:53 +0200, Sven Eckelmann wrote:
> Vasiliy Kulikov wrote:
> > 1) Some incoming packets may cause a storm of error logs, such as at
> > routing.c:862
> >
> >
> > if (icmp_packet->msg_type != ECHO_REQUEST) {
> > pr_warning("Warning - can't forward icmp packet from %pM to "
> > "%pM: ttl exceeded\n", icmp_packet->orig,
> > icmp_packet->dst);
> >
> > Any flooding bad guy is able to fill our disks with logs.
> > This should be logged only at some slow rate (e.g. 5 logs/sec) or as
> > pr_debug().
>
> Correct. So you would prefer pr_warn_ratelimited?
As I see in net/, such packets should be silently dropped with
drop_count++. Exceeded TTL is rather common situation and is not critical.
Also such buggy packets should be found out & dropped as fast as possible.
So IMO it should be debug output (if any) that does no overhead at nodebug
compilation.
3) Also there is no handler of online MTU change, at hard_if_event().
Is there any (un)official documentation/RFC/whatever of batman-adv
protocol? I found only expired RFC of batman that is using UDP at
www.open-mesh.org.
Thanks,
Vasiliy.
next prev parent reply other threads:[~2010-08-12 12:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-09 20:34 batman-adv: design suggestions Vasiliy Kulikov
2010-08-09 20:53 ` Sven Eckelmann
2010-08-12 12:48 ` Vasiliy Kulikov [this message]
2010-08-14 14:50 ` Marek Lindner
2010-08-14 16:19 ` Vasiliy Kulikov
2010-08-14 17:10 ` Marek Lindner
2010-08-13 18:18 ` Vasiliy Kulikov
2010-08-13 23:25 ` Sven Eckelmann
2010-08-14 14:59 ` Marek Lindner
2010-08-14 16:13 ` Vasiliy Kulikov
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=20100812124813.GB4881@albatros \
--to=segooon@gmail.com \
--cc=andrew@lunn.ch \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=lindner_marek@yahoo.de \
--cc=linus.luessing@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=siwu@hrz.tu-chemnitz.de \
--cc=sven.eckelmann@gmx.de \
/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