LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
OLSR routing protocol trust rules


Hi

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?

Thanks
 
Old 09-28-2014, 04:01 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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:
Code:
 ns-2.35/Makefile.in
	common/packet.h
	queue/priqueue.cc
	tcl/lib/ns-agent.tcl
	tcl/lib/ns-default.tcl
	tcl/lib/ns-lib.tcl
	tcl/lib/ns-packet.tcl
	trace/cmu-trace.cc
	trace/cmu-trace.h
	( olsr/*.cc *.h )
Checking for the word "trust" :
Code:
$ grep -Rin trust * > grep_trust.txt
    
diffusion/diffusion.cc:86:  DiffusionAgent *agent = (DiffusionAgent *)data;  // cast of trust
diffusion/omni_mcast.cc:86:  OmniMcastAgent *agent = (OmniMcastAgent *)data;  // cast of trust
dsr/dsragent.cc:220:  DSRAgent *agent = (DSRAgent *)data; // cast of trust
Neighbor : Google .. ns2 neighbor nodes ..
https://www.google.com/webhp?hl=all&...neighbor+nodes
Example http://karthicksivakrr.blogspot.dk/2...s2-tips-3.html

$ 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, 36 views)

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


Reply

Tags
ns2, olsr



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 shelja.fet@mriu.edu.in 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 AM.

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