On Mon, May 18, 2015 at 11:59 PM, Axel Beckert <[email protected]> wrote: > Hi again, > > Axel Beckert wrote: >> python3-netaddr: /usr/lib/python3/dist-packages/netaddr/eui/oui.idx >> python3-netaddr: /usr/lib/python3/dist-packages/netaddr/eui/oui.txt >> python-netaddr: /usr/lib/python2.7/dist-packages/netaddr/eui/oui.idx >> python-netaddr: /usr/lib/python2.7/dist-packages/netaddr/eui/oui.txt >> ruby-packetfu: /usr/share/doc/ruby-packetfu/examples/oui.txt.gz > [...] >> Luciano (as well as Gürkan years earlier) seem to have filed bug reports >> for embedded copies of oui.txt already against arpalert, arp-scan, >> btscanner, ipv6toolkit (fixed in experimental, yay!), ntop-data, >> ocsinventory-reports, but the python and ruby packages listed above have >> no such bug report. > > Actually the two python packages don't need a bug report. Those > oui.txt files listed above are actually symlinks to ieee-data's > oui.txt. Great! > > So I need to amend my plan as follows: > >> I imagine a check which warns if >> >> * a binary or source package contains a file whose name matches >> /\b(oui|iab).(txt|idx|db)\b/ (This should also match compressed >> variants) > > ... and is not a symlink. :-) > > I should probably also drop the .idx suffix.
I will not check in script for this due to speed reason. However https://codesearch.debian.net/results/ieee.*oui\.txt/page_0 give you nice result, at least: https://sources.debian.net/src/wireshark/1.10.8-1/tools/make-manuf/?hl=43#L43 https://sources.debian.net/src/gammu/1.33.0-3/gammu-detect/bluez.c/?hl=37#L37 https://sources.debian.net/src/ettercap/1:0.8.2-2/misc/get-mac.sh/?hl=1#L1 https://sources.debian.net/src/lshw/02.17-1.1/src/mac-prefixes/?hl=2#L2 https://sources.debian.net/src/arp-scan/1.8.1-2/get-oui/?hl=36#L36 https://sources.debian.net/src/netdiscover/0.3beta7~pre-2/update-oui-database.sh/?hl=28#L28 https://sources.debian.net/src/netsniff-ng/0.5.9-1/oui-update.py/?hl=22#L22 https://sources.debian.net/src/libnet-mac-vendor-perl/1.22-1/lib/Net/MAC/Vendor.pm/?hl=309#L309 https://sources.debian.net/src/gopacket/1.1.10-1/macs/gen.go/?hl=47#L47 https://sources.debian.net/src/scli/0.4.0-5/scli/Makefile.am/?hl=54#L54 https://sources.debian.net/src/libnet-mac-vendor-perl/1.22-1/lib/Net/MAC/Vendor.pm/?hl=323#L323 https://sources.debian.net/src/ibid/0.1.1%2Bdfsg-4/ibid/plugins/sysadmin.py/?hl=210#L210 https://sources.debian.net/src/macchanger/1.7.0-5.3/tools/IEEE_OUI.py/?hl=30#L30 I have implemented a few check nevertheless in lintian checking oui file and some well known and old ethernet manufacturer. It will catch a few file Bastien > Regards, Axel > -- > ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ > : :' : | Debian Developer, ftp.ch.debian.org Admin > `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 > `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/CAE2SPAYcnNMj5MxDZm_QZTYSWGgD0Dfkmmwv=pndzojr5cg...@mail.gmail.com

