Hi all,<br>I use xorp for sending self initialized iBGP messages (from the XRL interface) in order to change routes at other routers.<br>In bgp/route_table_filter.cc there is a function, that should prevent the redistribution of BGP messages when it is not desired by the community:
<br><br>template<class A> const InternalMessage<A>* KnownCommunityFilter<A>::filter(const InternalMessage<A> *rtmsg,bool &modified) const;<br><br>The problem is that if I don't want the XRL initiated BGP messages to be advertized by my peers, they should be initiated with the "NO_ADVERTISE" community.
<br>And the above function filters them out.<br>Currently, I just commented out the lines:<br><br>// Routes with NO_ADVERTISE don't get sent to anyone else <br>if (ca->contains(CommunityAttribute::NO_ADVERTISE)) {<br>
drop_message(rtmsg, modified);<br> return NULL;<br>}<br><br>This might cause a problem when I get NO_ADVERTISE messages. Does anyone can think of a better solution to the problem?<br><br>Thanks,<br><br>Yuval.<br>