LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2015, 05:25 AM   #16
Mellia
LQ Newbie
 
Registered: Mar 2015
Posts: 12

Rep: Reputation: Disabled

re #15 knudfl oke. can you help me please?
 
Old 04-04-2015, 05:50 AM   #17
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Re #12 :

Quote tags ends with : [/qoute], starts with [qoute]

Code tags ends with : [/code], starts with [code]

**** You have used "Quote" for code, please edit to CODE tags.

-----


You have some errors in your code , etc. typos, etc. etc.
... I may have an answer when post #12 has been edited.


-

Last edited by knudfl; 04-04-2015 at 05:56 AM.
 
Old 04-04-2015, 06:21 AM   #18
Mellia
LQ Newbie
 
Registered: Mar 2015
Posts: 12

Rep: Reputation: Disabled
re #17 knudfl oke. thank you again for your correction

Last edited by Mellia; 04-04-2015 at 06:22 AM.
 
Old 04-04-2015, 06:50 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Re #14, #12.

The tcl code in post #12 : Not working OK.
The tcl file, post #14 (malicious.tcl) : No malicious and not a ZRP file.
-----

About the errors in zrp.h :
Line 873 protected<space>
Line 874 bool malicious
.... Edit to :
Code:
protected:
bool malicious;
-----

ZRP + malicious simulation :
Please try with editing an example from aodv-malicious-examples-10.2013.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

Last edited by knudfl; 04-04-2015 at 07:03 AM.
 
Old 04-04-2015, 06:53 AM   #20
Mellia
LQ Newbie
 
Registered: Mar 2015
Posts: 12

Rep: Reputation: Disabled
@knudfl thank you again for your helping
 
Old 05-16-2017, 09:49 AM   #21
venkat100
LQ Newbie
 
Registered: May 2017
Posts: 1

Rep: Reputation: Disabled
To solve-

Direction for pkt-flow not specified; Sending pkt up the stack on default.

Try adding a return statement after the drop statement.

if(malicious==true)
{
drop(p,DROP_RTR_ROUTE_LOOP);
return; // added statement
}

It worked for me. Hope this helps.
 
1 members found this post helpful.
Old 05-16-2017, 10:40 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Post #21, @venkat100 : Welcome to LQ.

? Did you add the code to zrp.cc ?

? Which line number ?
 
  


Reply

Tags
malicious, ns2


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
Error in NS2.35 when creating node srikanthchikka Linux - Newbie 4 07-07-2014 09:52 PM
getting error in .tcl while creating malicious node in aodv in ns2.35 saa-6611 Linux - Software 12 05-22-2014 06:00 AM
Error on Tcl when add misbehavior node in aodv ns2 D4SH_SI4 Linux - Networking 5 06-28-2013 12:57 AM
NS-2: Malicious node in AODV Error amissan Linux - Software 1 05-05-2013 10:28 AM
tunnel formation between two malicious node by modifying aodv ns2 indumit18 Linux - Newbie 0 10-28-2011 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:54 PM.

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