InfraView displays info about your current network environment.
Currently offering:
Uses python-nmap, nmap dnspython
It has nmap-suid as a requirement, which runs as root. The netstat part is also taking root privileges to collect more detailed info.
Using ping and tracerout needs the following terminal action:
devel-su usermod -a nemo -G net_raw
If you are not comfortable with this, please to NOT install this app!
Sources on github
0.6.1 Remove path from "ip" as it changed in SFOS 4.5
0.5.1 Opt out of sailjail
0.4.5 New icon by JSEHV
0.4.4 External IP info now needs user-agent set
0.4.3 Dynamically update network details on frontpage on network change
0.4.2 Require extra dependency
0.4.1
0.3.4 Updated Spanish and Swedish
0.3.3
0.3.2 Removed non busybox grep compliant command
0.3.1
0.2.1
0.1.20 Spanish, Swedish and Russian updated
0.1.19 Added ConnMan services (wifi)
0.1.18
0.1.17
0.1.16 rescale Internet provider map to screen resolution
0.1.15 Spanish translation added and Dutch updated
0.1.14 Some fixes in netstat part
0.1.13 Fixed some security issues reported by robbbienert
0.1-12 Updated swedish
0.1-11
0.1-10 Added dutch, updated swedish
0.1-9 Added refesh option for main screen
0.1-8
0.1-7
0.1-6
0.1-5 Added missing idna library
0.0.1-4 Added missing certifi library
0.1-3 Added missing chardet library
0.1-2
0.1-1 Added local IP info
0.1-0 Initial release
Comments
carmenfdezb
Mon, 2021/07/26 - 18:01
Permalink
Hi @ade! I've installed infraview in my xperia10ii, but traceroute does't work. It seems that devel-su is needed to run traceroute; however I don't have any problems in my XA2.
ade
Mon, 2021/07/26 - 18:28
Permalink
Weird. What does
look like?
And the followning command as non-root issues permission errors?
Also, does ping work? You need to be in the net_raw group for that as I remember correctly.
carmenfdezb
Mon, 2021/07/26 - 18:49
Permalink
[defaultuser@Xperia10II-DualSIM ~]$ ls -l /usr/bin/traceroute
lrwxrwxrwx 1 root root 7 Apr 9 15:54 /usr/bin/traceroute -> busybox
[defaultuser@Xperia10II-DualSIM ~]$ /usr/bin/traceroute google.com
traceroute: socket: Operation not permitted
It happens the same issue with ping:
[defaultuser@Xperia10II-DualSIM ~]$ ping google.com
PING google.com (216.58.215.174): 56 data bytes
ping: permission denied (are you root?)
ade
Mon, 2021/07/26 - 18:59
Permalink
as root:
logout en login again and see if it makes any difference
carmenfdezb
Mon, 2021/07/26 - 22:15
Permalink
I did that but it doesn't work. Is it me the only one this issue in aarch64 devices?
ade
Tue, 2021/07/27 - 01:24
Permalink
What did work on my Jolla 1 was:
as root. I can imagine it also does the trick for the Xperia10. It sets the capability to busybox, in a similar way we tried to add the net_raw group to the user. I cannot oversee any security implementations at the moment, but it is certainly safer than setting setuid on it. Decide for yourself if you want to try it.
should remove the capability again at any time.
carmenfdezb
Tue, 2021/07/27 - 09:29
Permalink
Ok, thank you for your help! This trick works for xperia10ii too, but I prefer to remove capability atm
ade
Mon, 2021/07/26 - 22:58
Permalink
To be honest I ran into the same issue on my old Jolla phone at a certain moment. So there should be a subtle difference somewhere with the X(A2), which do work this way.
JacekJagosz
Tue, 2021/06/29 - 14:12
Permalink
Wow, this new icon is crazy good. Awesome job by JSEHV!
Markkyboy
Sat, 2020/11/28 - 03:11
Permalink
App doesn't run on Jolla1 3.4.0.24. All i get is a white screen.
ade
Sat, 2020/11/28 - 03:48
Permalink
It did not pull a dependency that was once installed by default. Should be fixes now.
Markkyboy
Sat, 2020/11/28 - 21:21
Permalink
Thanks ade, it is working now.
objectifnul
Sat, 2020/11/28 - 11:31
Permalink
Interesting. What was it?
ade
Sat, 2020/11/28 - 11:40
Permalink
It's discussed over here: https://together.jolla.com/question/226719/error-on-importing-orgfreedes...
objectifnul
Sat, 2020/11/28 - 03:27
Permalink
Same with 3.3.0.16 Rokua: blank screen, unresponsive (Xperia X)
Caballlero
Sat, 2018/05/26 - 22:25
Permalink
Dns resolver feature is to config own a dns?
ade
Sat, 2018/05/26 - 23:03
Permalink
No, it is for querying Domain Name System (DNS) servers related to a domain. Think of command line tools like dig or nslookup.
Ygorr
Fri, 2018/03/02 - 01:05
Permalink
Searching of devices in network takes long time enough
ade
Fri, 2018/03/02 - 01:16
Permalink
That depends on the amount of devices in the network. If it is like 10 devices it should take about 5 seconds.
And only search on local networks.
rob_k
Mon, 2017/08/07 - 18:09
Permalink
I cannot install this on my J1, Iijoki. It might be the installation of nmap-suid that is causing the error.
I'm trying to include a screenprint from the error. Doesn't seem to work though. How about this: https://www.dropbox.com/s/u02yo4vaieb9sy0/Screenshot.png?dl=0
ade
Mon, 2017/08/07 - 18:19
Permalink
"pkcon refresh" first?
rob_k
Tue, 2017/08/08 - 12:11
Permalink
In the end I downloaded both rpms and it worked. It looks like a wrong dependency, a hard-coded link to a local map in nmap-suid? Anyway, it works now, thanks!
ade
Tue, 2017/08/08 - 13:16
Permalink
No, there is no wrong dependency. Your installation tried to pull nmap-suid 7.50-1, which is removed because of an issue. That you tried to pull this version indicates you had old repo cache that was not aware of more recent versions. A refresh should have fixed that.
The lastest infraview does have a dependency on nmap-suid >= 7.50-3 because of added functionality.
explit
Tue, 2017/08/01 - 10:16
Permalink
For me working too, thanks!
kaulian
Mon, 2017/07/31 - 23:55
Permalink
Yes for me too
Everythings ok
Nice =)
PamNor
Mon, 2017/07/31 - 22:24
Permalink
After update nmap-suid I can confirm. Device info --> is working.
No more errors detected.
Great ap. Thanks.
Jordi
Mon, 2017/07/31 - 23:29
Permalink
Yes, confirmed for Jolla1.
PamNor
Mon, 2017/07/31 - 22:09
Permalink
Testing 0.1-5.
Happy to tell you 'ade'
IP location info --> is working
ade
Mon, 2017/07/31 - 22:15
Permalink
Great. I just uploaded a new nmap-suid, which should fix your other issue. You should be able to see al device details now.
PamNor
Mon, 2017/07/31 - 21:55
Permalink
Testing 0.1-4
...device/ show more info
Ooops .nmap-os-bd file?
[root@Sailfish /]# find . -name nmap-os-db 2>/dev/null
./opt/alien/usr/share/nmap-suid/share/nmap-os-db
./usr/share/nmap-suid/share/nmap-os-db
traceback (most recent call last):
File "/usr/share/harbour-infraview/qml/pages/call
_nmap.py", line 42, in devinfo
nm.scan(ip, arguments="-O")
File "/usr/share/harbour-infraview/python/nmap.py
", line 266, in scan
nmap_warn_keep_trace=nmap_warn_keep_trace
File "/usr/share/harbour-infraview/python/nmap.py
", line 325, in analyse_nmap_xml_scan
raise PortScannerError(nmap_err)
nmap.PortScannerError: 'OS scan requested but I can
not find nmap-os-db file. It should be in /usr/loc
al/share/nmap, ~/.nmap/ or .\nQUITTING!\n'
[D] onError:44 - Python ERROR: file:///usr/share/ha
rbour-infraview/qml/pages/DeviceInfo.qml:31: TypeEr
ror: Cannot read property '0' of undefined
Pages