LinuxQuestions.org
Help answer threads with 0 replies.
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 05-07-2015, 10:53 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

Post #15, @davidnursaputro : Welcome to LQ.

If it is a question : Please rephrase.
 
Old 05-30-2015, 03:01 AM   #17
Mellia
LQ Newbie
 
Registered: Mar 2015
Posts: 12

Rep: Reputation: Disabled
hi knufdl, can you give me another tcl example of grayhole attack?
thank you
 
Old 12-26-2016, 11:09 AM   #18
mimamkhariz
LQ Newbie
 
Registered: Dec 2016
Location: Bandung, Indonesia
Distribution: Ubuntu
Posts: 4

Rep: Reputation: Disabled
Smile hi @knudfl, i have any error when i run my grayhole.tcl

i'm doing my final project about grayhole attack + ids in aodv routing protocol on vanet. Do you have any of that script (grayhole.tcl) that i can implement with your grayholeAODV + idsAODV patch? i got some error when i run my .tcl script:
num_nodes is set 30
Creating nodes...
INITIALIZE THE LIST xListHead

(_o653 cmd line 1)
invoked from within
"_o653 cmd addr"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o653" line 2)
(SplitObject unknown line 2)
invoked from within
"_o653 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o4" line 14)
(Simulator create-wireless-node line 14)
invoked from within
"_o4 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o4" line 23)
(Simulator node line 23)
invoked from within
"$ns_ node"
("for" body line 2)
invoked from within
"for {set i $val(nnaodv)} {$i < $val(nn)} {incr i} {
set node_($i) [$ns_ node]
ns_ at 0.0 "$node_($i) label GrayHoleAODV Node"
..."
(file "gray30node.tcl" line 65)

my .tcl file:
https://www.dropbox.com/s/l5juffskb6...e.tcl.txt?dl=0

So please send me example grayhole.tcl file. If you condescend to share, I'd be very thankful for your kindness.

Last edited by mimamkhariz; 12-26-2016 at 11:19 AM.
 
Old 12-29-2016, 03:16 PM   #19
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,247

Rep: Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077Reputation: 8077
Quote:
Originally Posted by mimamkhariz View Post
i'm doing my final project about grayhole attack + ids in aodv routing protocol on vanet. Do you have any of that script (grayhole.tcl) that i can implement with your grayholeAODV + idsAODV patch? i got some error when i run my .tcl script:

(file "gray30node.tcl" line 65)

my .tcl file:
So please send me example grayhole.tcl file. If you condescend to share, I'd be very thankful for your kindness.
Read the LQ Rules and "Question Guidelines"...you double-posted this question, and asked for 'urgent' help in your other post. We are not going to send you examples, but will be happy to try to help you. The error is VERY clear...it even tells you what line the error is on.
 
Old 12-29-2016, 03:26 PM   #20
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,303
Blog Entries: 24

Rep: Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258Reputation: 4258
Please place your code snippets inside [CODE]...[/CODE] tags for better readability. You may type those yourself or click the "#" button in the edit controls.

Review the previous posts in this thread, in particular posts #4, #6 and #14, all of which seem relevant to your problem.

A search of LQ also produces several other relevant thread results. An internet search will also produce many more.

If review of the above posts and related links does not lead to a solution, please let us know.
 
  


Reply

Tags
grayhole, idsaodv, 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
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 3 02-17-2015 04:21 PM
blackhole attack implementation using AODV protocol in manet in NS2 liya Ravi Linux - Networking 3 02-16-2015 01:14 AM
[SOLVED] How can I implement cooperative black hole attack in AODV protocol? eikhin Linux - Newbie 1 09-18-2013 10:03 AM
manet in ns2-wormhole attack(modifying aodv) indumit18 Linux - Software 2 02-02-2012 04:12 AM
black hole attack in aodv protocol my3ram Linux - Wireless Networking 0 12-29-2011 09:29 PM

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

All times are GMT -5. The time now is 05:31 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