netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jamal <hadi@cyberus.ca>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: Re: XFRM_MSG_NEWAE
Date: Tue, 15 Aug 2006 06:02:04 -0400	[thread overview]
Message-ID: <1155636124.6946.98.camel@jzny2> (raw)
In-Reply-To: <E1GCtxT-0000up-00@gondolin.me.apana.org.au>

On Tue, 2006-15-08 at 18:07 +1000, Herbert Xu wrote:
> David Miller <davem@davemloft.net> wrote:
> > 
> > I think we need a way to tone this down, so that if there are no truly
> > interested parties we don't do the km->notify work at all.
> 
> Actually, we do turn it off if nobody is listening, through
> xfrm_aevent_is_on().
> 

You can also adjust the default timers/packet counts (according to
Documentation/networking/xfrm_sync.txt):

a) /proc/sys/net/core/sysctl_xfrm_aevent_etime
used to provide default values for the XFRMA_ETIMER_THRESH in
incremental units of time of 100ms. The default is 10 (1 second)

b) /proc/sys/net/core/sysctl_xfrm_aevent_rseqth
used to provide default values for XFRMA_REPLAY_THRESH parameter
in incremental packet count. The default is two packets.

If you set either to 0 before starting ipsec, you should not see those
events being generated. You can also override the default values on a
per SA basis when adding/updating.

> > Also it would be nice to add xfrm mon support to print out these
> > messages properly if you haven't coded that up already :-)
> 
> Yes that would be good :)

I do have a few patches lined up. I was waiting for a sync with Stephen
with the current patchset i sent before submitting them (actually i will
wait until after him making a new release because there were just too
many patches i sent in the current update).

cheers,
jamal


      parent reply	other threads:[~2006-08-15 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-15  7:28 XFRM_MSG_NEWAE David Miller
2006-08-15  8:07 ` XFRM_MSG_NEWAE Herbert Xu
2006-08-15  9:16   ` XFRM_MSG_NEWAE David Miller
2006-08-15 10:02   ` jamal [this message]

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=1155636124.6946.98.camel@jzny2 \
    --to=hadi@cyberus.ca \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@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).