* [LARTC] rp_filter
@ 2002-11-07 8:56 Krishnakumar. R
0 siblings, 0 replies; only message in thread
From: Krishnakumar. R @ 2002-11-07 8:56 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-07 8:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-07 8:56 [LARTC] rp_filter Krishnakumar. R
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.