How to implement Jellyfish reordering attack in MANET

98 views
Skip to first unread message

nabster

unread,
Mar 19, 2014, 1:30:15 PM3/19/14
to ns-3-...@googlegroups.com
first take a look the code attached...

Sample from trace file..
r 90.1358 /NodeList/10/DeviceList/0/$ns3::WifiNetDevice/Phy/State/RxOk ns3::WifiMacHeader (DATA ToDS=0, FromDS=0, MoreFrag=0, Retry=0, MoreData=0 Duration/ID=0usDA=ff:ff:ff:ff:ff:ff, SA=00:00:00:00:00:10, BSSID=00:00:00:00:00:10, FragNumber=0, SeqNumber=629) ns3::LlcSnapHeader (type 0x800) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 1 id 612 protocol 17 offset (bytes) 0 flags [none] length: 52 10.1.1.16 > 10.1.1.255) ns3::UdpHeader (length: 32 269 > 269) ns3::dsdv::DsdvHeader (DestinationIpv4: 10.1.1.16 Hopcount: 1 SequenceNumber: 14) ns3::dsdv::DsdvHeader (DestinationIpv4: 10.1.1.27 Hopcount: 3 SequenceNumber: 14) ns3::WifiMacTrailer ()

my questions:

1) Should i be accessing the ns3::WifiMacHeader for reordering the packets(while they are stored at the buffer of Jellyfish node)..
if yes then How??? 

2) how to access the buffer containing packets of badnodes only (which class method) should i use and how??
jellyfish1.cc

nabster

unread,
Mar 19, 2014, 2:05:45 PM3/19/14
to ns-3-...@googlegroups.com
one more question HOW to SET QUEUE TIME of only bad nodes for random time(5-10 sec) which causes end-end delay  
Reply all
Reply to author
Forward
0 new messages