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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-30-2014, 11:57 PM
|
#1
|
LQ Newbie
Registered: Aug 2011
Posts: 26
Rep:
|
ns2: implementation of black hole attack in TORA protocol
hello i need necessasry things to inject black attack in Temporally Ordered routing algorithm
|
|
|
07-31-2014, 05:01 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by venkatadri
hello i need necessasry things to inject black attack in Temporally Ordered routing algorithm
|
We'll be glad to help with a specific problem/question, but this really isn't the place to come to have people look things up for you. And haven't you been working with/asking about TORA for TWO YEARS now???
http://www.linuxquestions.org/questi...4/#post4808772
http://www.linuxquestions.org/questi...2/#post4793681
Since you're a research scholar...research should be something you're familiar with. Have you tried to find ANYTHING on your own, or made ANY progress over the past two years?
|
|
|
08-31-2014, 11:59 PM
|
#3
|
LQ Newbie
Registered: Aug 2011
Posts: 26
Original Poster
Rep:
|
i am able to implement black hole attack in aodv, but the functionality of tora is different than aodv, i confused to inject blak hole attack either in recv_TORA(Packet *p) or recv_Qrypacket() functions, give me just idea , i dont need any coding
|
|
|
09-01-2014, 10:05 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by venkatadri
i am able to implement black hole attack in aodv, but the functionality of tora is different than aodv, i confused to inject blak hole attack either in recv_TORA(Packet *p) or recv_Qrypacket() functions, give me just idea , i dont need any coding
|
"Idea" about what??? As asked, haven't you been working with this for TWO YEARS now??? What are you having problems DOING?? We can try to help with a specific question, but there's not alot we can tell you if you don't ask.
Post the code you've written, and tell us where you're stuck.
|
|
|
09-01-2014, 10:34 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
|
|
|
09-01-2014, 11:35 PM
|
#6
|
LQ Newbie
Registered: Aug 2011
Posts: 26
Original Poster
Rep:
|
unable to implement Black Hole attack in TORA
I am working on TORA since three years, with the help of knudfl i am able to run basic TORA, in ns2, now i would like to implement d
black hole attack in tora, for this i tried the following code
void
toraAgent::recvQRY(Packet *p)
{
struct hdr_ip *ih = HDR_IP(p);
struct hdr_tora_qry *qh = HDR_TORA_QRY(p);
TORADest *td;
TORANeighbor *tn;
if (blackhole == true ) {
drop(p, DROP_RTR_ROUTE_LOOP);
printf("node %d Act as blackhole and dropping the packet\n", index);
}[/B]
if(qh->tq_dst == ipaddr()) {
but with this code, when calculating throughput, sending packets 0, receiveg packets 0 and dropped packets 0. how it possible.
|
|
|
09-02-2014, 11:21 AM
|
#7
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by venkatadri
I am working on TORA since three years, with the help of knudfl i am able to run basic TORA, in ns2, now i would like to implement d
black hole attack in tora, for this i tried the following code
void
toraAgent::recvQRY(Packet *p)
{
struct hdr_ip *ih = HDR_IP(p);
struct hdr_tora_qry *qh = HDR_TORA_QRY(p);
TORADest *td;
TORANeighbor *tn;
if (blackhole == true ) {
drop(p, DROP_RTR_ROUTE_LOOP);
printf("node %d Act as blackhole and dropping the packet\n", index);
}[/B]
if(qh->tq_dst == ipaddr()) {
but with this code, when calculating throughput, sending packets 0, receiveg packets 0 and dropped packets 0. how it possible.
|
So despite THREE YEARS of work with this, and examples that someone else had to look up, you still aren't able to do anything with NS2 or Tora on your own???
The PDF and example that knudfl sent have the information you need.
|
|
|
All times are GMT -5. The time now is 09:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|