wormhole attack in ns2 using aodv protocol - linux

I am trying to implement wormhole attack in ns2 using aodv....I started project and i was not able to build the tunnel by using packet encapsulation.. I would like to know any one has implemented it using packet encapsulation.... I have looked around the internet for source code on this, but have found none. Does anyone know where to find source code for Wormhole sensor Attacks (for simulation purposes) or wormhole detection? any help on this issue is appreciated.
Looking forward for your help,
Shreyas

Related

Why my web traffic is redirected via IP 10.0.0.11 address on my Mac?

I know nothing about networking. so I need serious help here. I was on a Zoom call with my mentor and we were talking about the difference between HTTP, HTTP1, and HTTP2. Then he noticed that even websites which are supposed to use HTTP1 all of them were showing as if they are using HTTP2.
He mentioned possible problems are:
I'm using VPN
or my web traffic is redirected via a Proxy server. (which I'm not since I work from home via my wifi provided to me via fiber optic cable)
I suspect that there is some kind of proxy malware on my laptop. Can anybody tell me how can i detect any possible malware and find out in general what is wrong? (if anything is wrong at all)
Thanks in advance.
The range from 10.0.0.0 to 10.255.255.255 is one of the private IP Ranges and as you are using wifi its normally assigned by your wifi-router/accesspoint to your computer using dhcp.
But seriously, a professor who thinks he is capable talking about http(x) should know the very basics of the protocol stack. If he doesn't know such simple things, you better get someone better.

USRP not visible in RedhawkSDR

I have an Ettus E312.
I want to talk with it using the RedhawkSDR IDE.
There seems to be little documentation on this. The Redhawk manual doesn't include any tutorials. It's all just guess work to the uninitiated.
I found this setup guide on the GEON website: https://geontech.com/redhawk-sdr-and-an-ettus-e310/
However, I'm having trouble getting the device to appear under the active domain in the IDE. I have flashed the SD card, and updated the domain IP address on both omniORB files (host and USRP) as per the setup guide.
Once this is working, it is still not clear how to proceed...
Could someone please point me in the right direction??
Many thanks
The Virtual Machine NAT was confusing things!

How do I use SSDP?

I need a way for my application to find someone with the same application on a local network.
But can't find the docs to use a protocol like SSPD. It says its UDP on port 1900 and the ip 239.255.255.250.
It also says it can use NOTIFY and M-SEARCH.
But that is it. I've hit a wall. And I need some guidence.
OVERVIEW
Trying to make my apps automatically find each other and exchange ip/names on a local network so they can talk to each other p2p-style without a connection broker.
The UPnP Device Architecture reference contains the de-facto SSDP reference: it's very similar to the IETF spec and has dozens of well tested implementations already. Chapter 1 contains everything needed to implement SSDP, assuming you know how to send and receive multicast and unicast UDP messages.
My advice on implementing SSDP: Don't. It may look simple but there are a lot of gotchas on the way. Find a library or service that does SSDP for you. If you are on linux I suggest GSSDP (reference, code) (but I'm a bit biased having worked on it). I would assume other platforms have similar libraries.

What is the simplest way to get IP address of a domain?

We're developing an embedded application, running on a standalone GPRS connected device (no operating system there). We are trying to get an IP address of domain name. I think that we should use some public DNS service, like Google DNS (8.8.8.8). The question is - what is the simplest request we should send to 8.8.8.8:53 in order to receive IP address of our domain?
Again, we can't use libresolve or any other similar libraries. We will make a simple TCP connection to port 53 of Google DNS, and will format our request ourselves.
I tried to understand RFC1053 myself, but failed. Too many words :)
I'm not a DNS expert in any way, but I thought that DNS generally use UDP rather than TCP?
Either way, here's a link to a page that describes the communication using less words that might be easier to understand than the RFC itself.
Also, even if you can't use the libresolve library itself, can't you look at an open source version of that library and use the code from one of those (assuming that the license is compatible with your work). Here's one from Apple that I found via google.

Simulation tool for Bluetooth

Can any body suggest me the best simulation tool now a days for Bluetooth Networks. in order to test various algorithoms about Routing and Roaming issue.
There are two that I know of: NS-2 (with the UCBT: Bluetooth Extension) and QualNet. Of those, NS2 is probably the most used.
There is ns3 those ns2 is still the most widely used simulator. The network simulation 2 and 3 are opensource projects with lots of implementations and protocol models already available to you. In such case all you need to do is, write the code of your network setup on a tcl file and execute. Voila, you have ur output on the trace file.
Qualnet is propitiatory and very expensive to license, but is definitely more easy to use. Also the support you get from their team is great.
So if you have the dough to get qualnet, I would recommend that else opensource projects rule... :)
Is it possible in Matlab to do simulation for Bluetooth algorithoms

Resources