I think he's looking for something like a 'redirect-kernel' statement. An example might be, say an IPSEC tunnel is established, and a new route becomes available. You may wish to start exporting that route via OSPF.
I would think simply adding a network statement would cover it, but I'd have to test it myself. -- Joe ________________________________________ From: [email protected] [[email protected]] on behalf of Ben Greear [[email protected]] Sent: Wednesday, November 23, 2011 4:43 PM To: Raluca Blidaru Cc: [email protected] Subject: Re: [Xorp-hackers] XORP OSPF routing table On 11/23/2011 12:41 PM, Raluca Blidaru wrote: > Hi Ben, > > I have used the 1.8.3 version from github and compiled XORP source package on > Ubuntu. > > With regard to xorpsh, I can print the routing table (show neighbours), but > is it possible also to add/modify any entry from there, or I have to develop > myself the interface for this? Should I be aware of any XORP design > constraints, in order to include my commands into xorpsh? > > The routing tables from the OS, can they by imported into XORP router? You can add static routes, which can be propagated by OSPF using policies. Static routes should be able to be added and removed via xorpsh. Thanks, Ben > > Thanks, > Raluca > ________________________________________ > From: Ben Greear [[email protected]] > Sent: Wednesday, November 23, 2011 3:21 PM > To: Raluca Blidaru > Cc: [email protected] > Subject: Re: [Xorp-hackers] XORP OSPF routing table > > On 11/23/2011 12:04 PM, Raluca Blidaru wrote: >> Hello Everyone, >> >> I am interested to use XORP for building a testbed for testing router's >> security in OSPF routing tables attacks. The idea is to use an open source >> software router and access directly the routing table in memory/temp file, >> modify it by adding/changing routing entries and see how the information is >> propagated into a testing lab network. >> >> I've looked to the code and I found that there is an OSPF origin table which >> seems to keep the rounting information I may need to access. Where is this >> information stored? In /tmp folder? Is there already a built-in interface to >> read from the temp files created if there is where I have to look for the >> routing tables? Are these files saved in a readable format? If not, how I >> can access the OSFP routing table for the purpose I described before? >> >> Is XORP suitable for my project scope? Would any of you with expertise in >> how XORP is designed advice me if I am on the right track and how best I >> should approach this project? >> >> Thank you in advance for your answers and guidance. > > The routing tables are all in RAM in the OSPF process, except for the routing > table(s) in the OS's kernel. > > You can use xorpsh to print out the various routing tables and could parse > that > if you wanted. > > OSPF has a timer bug in the latest stable build, so please use the latest code > from github until I get a chance to release another build. > > Thanks, > Ben > >> >> Best regards, >> Raluca >> >> _______________________________________________ >> Xorp-hackers mailing list >> [email protected] >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > > > -- > Ben Greear<[email protected]> > Candela Technologies Inc http://www.candelatech.com -- Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
