aaronjwood / PortAuthority

A handy systems and security-focused tool, Port Authority is a very fast Android port scanner. Port Authority also allows you to quickly discover hosts on your network and will display useful network information about your device and other hosts.
https://play.google.com/store/apps/details?id=com.aaronjwood.portauthority.free
GNU General Public License v3.0
341 stars 64 forks source link

Database 404 error #155

Open mfraser opened 12 months ago

mfraser commented 12 months ago

When trying to update both databases I get a 404 error.

DerSaxxe commented 11 months ago

Same here...

LukasThyWalls commented 11 months ago

Hello. I did some research about what happened here:

Seems like Port Authority relays in Wireshark two data files from its github repository: https://github.com/aaronjwood/PortAuthority/blob/9dbc43ebe454195b1610eee9b7473a83d400d48b/app/src/main/java/com/aaronjwood/portauthority/async/DownloadOuisAsyncTask.java#L13 https://github.com/aaronjwood/PortAuthority/blob/9dbc43ebe454195b1610eee9b7473a83d400d48b/app/src/main/java/com/aaronjwood/portauthority/async/DownloadPortDataAsyncTask.java#L12

However it seems they changed that and now it generates them inside the app itself (explained in NEWS from 4.1.0 Release Notes):

The external name resolution text files "manuf", "enterprises" and "services" have been removed and replaced with static binary data. You can dump the respective internal data using tshark -G manuf|enterprises|services.

Looking the Wireshark source code, the manuf data is in wireshark/epan/manuf-data.c and services data in wireshark/epan/services-data.c. The files have comments section about where they take the data and how it retrieves them (and copyright notices).

Helpfully, there is a related issue report in their Gitlab https://gitlab.com/wireshark/wireshark/-/issues/19248, that point out that manuf can be retrieved from https://www.wireshark.org/download/automated/data/manuf and it's generated daily although the format is a bit different. About services there isn't any mention or link.

ghost commented 9 months ago

yup also getting 404 on both the IANA and Wireshark databases

markusschloesser commented 9 months ago

Same here, just got the donate version, so it would be really nice to get the DBs working again 😊

Coehill commented 7 months ago

Confirmed that this bug is still present.

Borromini commented 5 months ago

I just installed this app and hitting the 404 error on the IANA and OUI databases as well.

ladecadence commented 1 month ago

Bug still present in the versions in google play and in f-droid.

flusheDData commented 1 month ago

Error 404 here.

lah7 commented 4 weeks ago

The proposed changes in #156 works, but it'll need compiling from source code. I built a debug version, which you could use for convenience in the interim: PortAuthority-2.4.5+patch156-debug.zip

It's probably wise not to trust random APKs and just compile locally, but I can't remember the exact instructions (it was half a year ago). If you do use a debug build, it does add a "🍌 Leaks" app (icon can be hidden in app drawer) and might need the 'release' version uninstalled first.

Hope the maintainer's okay. Just want to say thanks to all who looked into this! Really useful utility!

Coehill commented 4 weeks ago

@lah7 Do you think it should be forked at this point?

CC: @aaronjwood just in case.

lah7 commented 19 hours ago

@Coehill I don't feel like it's my place to make that call, I'm just a user. By all means, anyone can fork and maintain a new copy of the app if the maintainer's still not seen in a year. I understand that life gets in the way, so I'm happy to wait and stick with a debug build of the app.