aircrack-ng-archive icon indicating copy to clipboard operation
aircrack-ng-archive copied to clipboard

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

Open sdrfnord opened this issue 10 years ago • 7 comments

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

sdrfnord avatar Jul 11 '14 12:07 sdrfnord

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

clopez avatar Jul 11 '14 12:07 clopez

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 avatar Jul 11 '14 13:07 sdrfnord

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.

aircrack-ng avatar Jul 12 '14 03:07 aircrack-ng

I thought the last commit I pushed (23eaa2196443ee62565870e6f3a944602fc0e7f0) 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?).

sdrfnord avatar Jul 12 '14 08:07 sdrfnord

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

aircrack-ng avatar Jul 12 '14 14:07 aircrack-ng

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

sdrfnord avatar Jul 15 '14 14:07 sdrfnord

Will be added after 1.2 final.

aircrack-ng avatar Jul 03 '15 02:07 aircrack-ng