[GH-ISSUE #619] How could we make wireshark vendor list to data.h #206

Closed
opened 2026-02-28 00:00:19 +03:00 by kerem · 5 comments
Owner

Originally created by @Behooz-Sirouszad on GitHub (Sep 24, 2017).
Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/619

Originally assigned to: @spacehuhn on GitHub.

iv seen the wireshark vendor list but icant find any converter or how to convert them like code in data.h?

@spacehuhn

Originally created by @Behooz-Sirouszad on GitHub (Sep 24, 2017). Original GitHub issue: https://github.com/SpacehuhnTech/esp8266_deauther/issues/619 Originally assigned to: @spacehuhn on GitHub. iv seen the wireshark vendor list but icant find any converter or how to convert them like code in data.h? @spacehuhn
kerem 2026-02-28 00:00:19 +03:00
Author
Owner

@tobozo commented on GitHub (Sep 29, 2017):

Your request sounds related to @dwillmore's idea to host a full mac database.

<!-- gh-comment-id:333071113 --> @tobozo commented on GitHub (Sep 29, 2017): Your request sounds related to @dwillmore's [idea](https://github.com/spacehuhn/esp8266_deauther/issues/604#issuecomment-329590734) to host a full mac database.
Author
Owner

@spacehuhn commented on GitHub (Sep 29, 2017):

I created the list myself with a byte converter and notepad by doing some regex.
I know it's unreadible for a human, but it's such a big list I wouldn't advice to change that structure.
I don't think there are that many new mac addresses, but I will put it on my list to update on the next version :)

<!-- gh-comment-id:333140123 --> @spacehuhn commented on GitHub (Sep 29, 2017): I created the list myself with a byte converter and notepad by doing some regex. I know it's unreadible for a human, but it's such a big list I wouldn't advice to change that structure. I don't think there are that many new mac addresses, but I will put it on my list to update on the next version :)
Author
Owner

@rubfi commented on GitHub (Oct 13, 2017):

I've created a small script in order to update the MAC manufacturers list, please, take a look to #638

<!-- gh-comment-id:336400364 --> @rubfi commented on GitHub (Oct 13, 2017): I've created a small script in order to update the MAC manufacturers list, please, take a look to #638
Author
Owner

@tobozo commented on GitHub (Oct 16, 2017):

changes merged info the testing branch, the ReadMe has been updated with instructions

<!-- gh-comment-id:336893471 --> @tobozo commented on GitHub (Oct 16, 2017): changes merged info the testing branch, the ReadMe has been updated with instructions
Author
Owner

@tobozo commented on GitHub (Oct 22, 2017):

@dwillmore @rubfi @Behooz-Sirouszad I've been testing different situations after I updated the vendorlist using @rubfi's python utility.
It works fine on most builds but on DSTIKE it makes the web server crash earlier.

Web server stability comes back if the vendor list is shorter, so I've tested another approach where vendor name is 7-bit encoded in memory, and only uses 6 chars long.

Also I'm not that good at coding python so I've made a PHP script where you can choose the vendorname lenght.

Vendorlist branch (7-bit encoded, vendor len = 6 chars):

Sketch uses 497,496 bytes (65%) of program storage space. Maximum is 761,840 bytes.
Global variables use 55,278 bytes (67%) of dynamic memory, leaving 26,642 bytes for local variables. Maximum is 81,920 bytes.

Vendorlist branch (7-bit encoded, vendor len = 8 chars):

Sketch uses 531,424 bytes (69%) of program storage space. Maximum is 761,840 bytes.
Global variables use 55,342 bytes (67%) of dynamic memory, leaving 26,578 bytes for local variables. Maximum is 81,920 bytes.

Testing branch (8-bit encoded, vendor len = 8 chars):

Sketch uses 581,840 bytes (76%) of program storage space. Maximum is 761,840 bytes.
Global variables use 57,118 bytes (69%) of dynamic memory, leaving 24,802 bytes for local variables. Maximum is 81,920 bytes.
<!-- gh-comment-id:338466668 --> @tobozo commented on GitHub (Oct 22, 2017): @dwillmore @rubfi @Behooz-Sirouszad I've been testing different situations after I updated the vendorlist using @rubfi's python utility. It works fine on most builds but on DSTIKE it makes the web server crash earlier. Web server stability comes back if the vendor list is shorter, so I've tested another approach where vendor name is 7-bit encoded in memory, and only uses 6 chars long. Also I'm not that good at coding python so I've made a PHP script where you can choose the vendorname lenght. Vendorlist branch (7-bit encoded, vendor len = 6 chars): ``` Sketch uses 497,496 bytes (65%) of program storage space. Maximum is 761,840 bytes. Global variables use 55,278 bytes (67%) of dynamic memory, leaving 26,642 bytes for local variables. Maximum is 81,920 bytes. ``` Vendorlist branch (7-bit encoded, vendor len = 8 chars): ``` Sketch uses 531,424 bytes (69%) of program storage space. Maximum is 761,840 bytes. Global variables use 55,342 bytes (67%) of dynamic memory, leaving 26,578 bytes for local variables. Maximum is 81,920 bytes. ``` Testing branch (8-bit encoded, vendor len = 8 chars): ``` Sketch uses 581,840 bytes (76%) of program storage space. Maximum is 761,840 bytes. Global variables use 57,118 bytes (69%) of dynamic memory, leaving 24,802 bytes for local variables. Maximum is 81,920 bytes. ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/esp8266_deauther#206
No description provided.