Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-27-2014, 07:31 AM   #1
LQ Newbie
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
OLSR routing protocol trust rules


I need some help in OLSR routing protocol.

I need to check some trust rules in OLSR routing protocol. I created most of them and i performed the attacks to check them. For the last one i created the public/private keys and hashs i need and i created another message. The scenario is that there are 3 nodes (A,B,C). When B sends a HELLO message to C i have to check if A is included in the Neighbor Set or in the Multipoint Relay set of B. Then i have to check if B is included in the Neighbor Set or in the Multipoint Relay set of A. Does anyone know where i can find these Sets in OLSR?

Old 09-28-2014, 04:01 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Not much help : I can only supply some general information.

These are the files changed by adding (olsr) + um-olsr_ns-2.35_v1.0.patch:
	( olsr/*.cc *.h )
Checking for the word "trust" :
$ grep -Rin trust * > grep_trust.txt
diffusion/  DiffusionAgent *agent = (DiffusionAgent *)data;  // cast of trust
diffusion/  OmniMcastAgent *agent = (OmniMcastAgent *)data;  // cast of trust
dsr/  DSRAgent *agent = (DSRAgent *)data; // cast of trust
Neighbor : Google .. ns2 neighbor nodes ..

$ cd ns-2.35/ && grep -Rin neighbor * > grep_neighbor.txt →
→ the file is attached.
Attached Files
File Type: txt grep_neighbor.txt.gz.txt (21.1 KB, 20 views)

Last edited by knudfl; 09-28-2014 at 04:32 AM.


ns2, olsr

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does olsr protocol can run successfully on ubuntu 12.04 Linux - Newbie 20 02-16-2014 01:33 PM
DSR routing protocol sants Linux - Newbie 3 05-04-2013 08:39 AM
routing protocol on nctuns farfattou Linux - Software 0 09-06-2012 11:26 AM
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Routing Protocol karunesh Linux - Networking 3 09-04-2002 04:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration