All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
To: lartc@vger.kernel.org
Subject: [LARTC] rp_filter
Date: Thu, 07 Nov 2002 08:56:39 +0000	[thread overview]
Message-ID: <marc-lartc-103665939927706@msgid-missing> (raw)


Hi,

I was trying to figure out how the rp_filter does the
source address validation.

I traced out the location in source code(2.4.18) to
fib_validate_source() in net/ipv4/fib_frontend.c

But here the line where I think the rp filter comes in
 rpf = IN_DEV_RPFILTER(in_dev);

But this looks for the enabling of rp_filter for the all the interfaces and 
for the individual interfaces.

Then comes the line
if (rpf)
      goto e_inval;

That means if rp filtering is enabled return EINVAL!!!!!!

I seem to be missing a lot of things
Could someon please help me out on this ?


Regards
KK

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

                 reply	other threads:[~2002-11-07  8:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=marc-lartc-103665939927706@msgid-missing \
    --to=krishnakumar@naturesoft.net \
    --cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.