Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#253 closed defect (fixed)

trace_get_source_mac returns destination_mac

Reported by: anonymous Owned by: perry
Priority: major Milestone:
Component: libtrace-library Version:
Keywords: Cc:

Description

There is an error in trace_get_source_mac. (Propably a copy-paste-error). In the case TRACE_TYPE_80211_RADIOTAP the return is wifi->mac1 but should be wifi->mac2

Change History (4)

comment:1 in reply to: ↑ description Changed 14 years ago by grauel at informatik.hu-berlin.de

Sadly there is an issue with our proposed fix. If the captured packet is an 802.11 acknowledge, it has no source_mac. In this case the return should be null. A return wifi->mac2 returns the ACKs sequence number. Currently we work around this, by returning null if the captured packetlength is 40. But there should be a better solution...

Anyways, keep up the good work! Your libtrace helps us a lot in our measurements...

Regards

Mo

Replying to anonymous:

There is an error in trace_get_source_mac. (Propably a copy-paste-error). In the case TRACE_TYPE_80211_RADIOTAP the return is wifi->mac1 but should be wifi->mac2

comment:2 Changed 14 years ago by smr26

Hi,

Thanks for the bug report! It's nice to know that people are starting to use the libtrace wireless code :) Can I ask what kind of measurements you're using it for?

I've got a patch ready to commit to fix trace_get_source_mac() so that we return NULL if the frame is either of type ACK or CTS (no SA). We also now return addr2 correctly for Radiotap traces.

However, in the case of 4-address WDS frames, should we return addr2 (TA) or addr4 (SA)? My feeling is that we should just return addr2 - that way we consistently return the transmitter of the frame (which is probably what you're trying to find out). Unfortunately, it's not strictly speaking the source MAC address and so isn't quite intuitive given the name of the function.

Anybody have any thoughts?

Cheers,

Scott.

comment:3 Changed 14 years ago by smr26

  • Resolution set to fixed
  • Status changed from new to closed

I've committed my patch in r1259. We return NULL if there is no sender address, and addr2 in all other cases. I'll close this ticket, but feel free to comment further.

comment:4 Changed 10 years ago by NicaTolcalt

Capecitabine is an antimetabolite, a drug that has a similar chemical structure to a substance normally found in the cell, but interferes with the cell's normal functions. phentermine online from united state pharmacies [http://www.rustenvrede.com/wines/agents-2?country=USA contact phentermine pharmacy - cod online order phentermine carisoprodol [http://www.asiasocietysocal.org/index.php?id=413 kingsport tn phentermine - 30mg phentermine no doctor approval [http://www.asiasocietysocal.org/index.php?id=413 fake phentermine a 159 - information on the diet pill phentermine [http://www.rustenvrede.com/category/winery discount phentermine online pills huge discounts - does phentermine cause ance [http://www.rustenvrede.com/estate-of-mind/accomodation phentermine scams - search viagra edinburgh phentermine find [http://www.treesfoundation.org/publications/article-397 buy phentermine with mc - original phentermine no prescription [http://www.asiasocietysocal.org/index.php?id=334 medlineplus drug information phentermine - find search edinburgh viagra phentermine [http://www.vetsbeyondborders.org/our-projects/ladakh-project/ladakh-how-to-get-there/ phentermine pim - phentermine on line with out prescription [http://www.greenhoe.com/ProdInfo/GreenhoeConnDetail.htm getting a prescription for phentermine - no presription needed phentermine [http://www.perceptdev.com/labs/content/tin-can-test-sounds-available phentermine over the counter alternative - These steps are repeated until the baby is latched on properly. tramadol if allergic to aspirin [http://www.treesfoundation.org/affiliates/specific-7 tramadol dysphasia - ketorolac tramadol [http://www.rustenvrede.com/contact/contact-details zopiclone or tramadol - use of tramadol in fibromyalgia [http://www.rustenvrede.com/news/latest-news/ prescription search tramadol - tramadol fed ex overnight 180 [http://theabilityawards.com/awards/newstalk tramadol withdrawal time - tramadol er dosages [http://www.treesfoundation.org/affiliates/specific-47 tramadol er and itching side effect - tramadol erowid experiences vault [http://www.treesfoundation.org/affiliates/update-116 tramadol makes me sick - cheap soma tramadol [http://theabilityawards.com/apply/award-categories-guide tramadol for humans and dogs - tramadol for distemper [http://www.ictadethiopia.org/manual.php tramadol and cymbalta interaction - is tramadol an nsaid [http://www.treesfoundation.org/affiliates/update-122 does tramadol show up drug test - 4 tramadol cod [http://theabilityawards.com/awards/newstalk about tramadol medecation - Consequently, the full spectrum of possible responses to selegiline may not have been observed in pre-marketing evaluation of the drug. buy adipex cheap and fast [http://www.panoramaphotographer.com/comparisons/web/cuty-comparisons.html when does adipex start working - care health resurrection adipex diet pill [http://www.panoramaphotographer.com/comparisons/web/fpp-comparisons.html adipex online no perscription - adipex metabolism [http://www.asiasocietysocal.org/index.php?id=587 adipex cod only - adipex 37.5 mg no prescription [http://www.treesfoundation.org/publications/article-364 weight lose clinic adipex kentucky - Adults with specific phobias realize that these fears are irrational. lloyds chemist viagra [http://www.panoramaphotographer.com/comparisons/small/pureplayerforflash-small-comparisons.html do women take viagra - viagra no prescription required [http://www.treesfoundation.org/affiliates/specific-23 viagra value card program - site ebaycouk kamagra viagra sildenafil [http://www.tpsr-alliance.org/index.php?option=com_content&task=view&id=23 maca viagra - sexual stimulation required viagra [http://www.panoramaphotographer.com/comparisons/web/vrlight-comparisons.html drunk viagra - Although leprosy has been afflicting humans throughout recorded history, it was not until 1873 that Armauer Hansen, with the aid of the newly-invented microscope, identified the causative organism. order cialis online without prescription [http://theabilityawards.com/uncategorized/rte-one-thursday-6th-of-may-11pm cialis with grapefruit - generic cialis double [http://theabilityawards.com/uncategorized/rte-one-thursday-6th-of-may-11pm cialis pills without a prescription - online cialis sales [http://www.greenhoe.com/gallery/etw10/ german remedies cialis - cialis 20mg reviews [http://perceptdev.com/labs/comment/reply/34/87?program=666 comparison of viagra levitra and cialis - one a day cialis [http://www.vetsbeyondborders.org/how-you-can-help/volunteer/ cialis for free - cialis viagra softabs [http://www.dfwbgh.org/ cialis jokes - Acarbose was also given in food and by postprandial gavage in two separate studies in Wistar rats. soma and excedrin interactions [http://www.treesfoundation.org/publications/article-430 cheapest soma online no prescription generic - Thalassemias are inherited blood disorders. order xanax online free consultation [http://www.vetsbeyondborders.org/our-projects/bylakuppe-rabies-and-disease-control-programme/ how long xanax bars drug test - ambien hydrocodone xanax [http://www.panoramaphotographer.com/festivals/glade09/index.html xanax lithium - lyrica for xanax withdrawal [http://www.vetsbeyondborders.org/how-you-can-help/donate/ is xanax a popular street drug - mixing xanax alcohol [http://www.lakesalive.org/events/archive/mintfest/ xanax bar pics - can xanax and lortab be mixed [http://greenhoe.com/gallery/gary65/ mixing alcohol and xanax - skelaxin xanax [http://www.vetsbeyondborders.org/ getting high with xanax - If indicated, there are some implanted devices that are both pacemakers and defibrillators. buy valium online no rx [http://www.asiasocietysocal.org/index.php?id=201 what do valiums do to you - why wont doc prescribe valium [http://www.lakesalive.org/events/past-events/herberts-dream/ valium airplane - recommended valium dosage [http://www.asiasocietysocal.org/index.php?id=407 side effects of valium and alcohol - Teratogenic Effects.

Note: See TracTickets for help on using tickets.