Skip to content
This repository has been archived by the owner on Mar 11, 2018. It is now read-only.

airodump-ng: Support MAC to name translation with ethers file. #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sdrfnord
Copy link

Show names for known devices instead of MAC addresses. Wireshark supports this as well.

@clopez
Copy link
Collaborator

clopez commented Jul 11, 2014

Mmmm... I think airodump already implements this ???. Try this:

# Update the OUI file
airodump-ng-oui-update
# Run airodump-ng with the -M parameter
airodump-ng -M mon0

@sdrfnord
Copy link
Author

No. You misunderstood me. The thing I implemented allows to give a specific MAC address a name. The --manufacturer parameter causes airodump-ng to additionally show the manufacturers for APs. The --ethers parameter on the other hand allows to specify a custom mac to name mapping for specific devices.

See https://www.wireshark.org/docs/wsug_html_chunked/ChAppFilesConfigurationSection.html (search for ethers)
and http://unixhelp.ed.ac.uk/CGI/man-cgi?ethers

@sdrfnord sdrfnord changed the title Support MAC to name translation with ethers file. airodump-ng: Support MAC to name translation with ethers file. Jul 11, 2014
@aircrack-ng
Copy link
Owner

Could you update the first patch since Travis CI fails? And also avoid correcting whitespace? After that, I'll review the patches. Btw, I like that idea.

@sdrfnord
Copy link
Author

I thought the last commit I pushed (23eaa21) passes?
You can review the overall diff. I did not correct whitespace in others parts of the program. Just in the parts I added.
I appreciate that you like it. I already wrote a patch a year ago but I did not know the ethers file back than which is the much better file format for this since it is also used by Wireshark and so on. I also got the representation of the MAC address in memory right this time (unsigned char mac[6]). I would like to write a another patch if you agree where I update the --manufacturer feature to use the unsigned char mac[6] representation as well and make the indention consistent (tabs or 4 spaces?).

@aircrack-ng
Copy link
Owner

It passed, but we committed something that changed the files. Please do not correct whitespace anywhere.

@sdrfnord
Copy link
Author

I merged master into my feature branch. Additionally, is there something else I can do or are you reviewing the patch already?

yh0- referenced this pull request in yh0-/aircrack-ng Mar 22, 2015
…n BSSID and STATION columns

    * Add new feature to display manufacturer prefix in BSSID and STATION using new interaction key (o).

    * Based on aircrack-ng/aircrack-ng#9.
@aircrack-ng
Copy link
Owner

Will be added after 1.2 final.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants