infraview

Rating: 
4.925925
Your rating: None Average: 4.9 (27 votes)

InfraView displays info about your current network environment.

Currently offering:

  • External IP info
  • Local IP info
  • Devices in network (nmap)
  • ARP cache table info/clearing
  • Local network port connections (netstat)
  • ConnMan connections
  • DNS resolving
  • Ping
  • Traceroute

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

Screenshots: 

Keywords:

Application versions: 
AttachmentSizeDate
File harbour-infraview-0.2-1.i486.rpm969.59 KB17/09/2019 - 22:55
File harbour-infraview-0.2-1.armv7hl.rpm968.39 KB17/09/2019 - 22:55
File harbour-infraview-0.3-1.armv7hl.rpm970.5 KB19/09/2019 - 22:31
File harbour-infraview-0.3-1.i486.rpm971.5 KB19/09/2019 - 22:31
File harbour-infraview-0.3-2.armv7hl.rpm969.86 KB24/10/2019 - 21:26
File harbour-infraview-0.3-2.i486.rpm971.6 KB24/10/2019 - 21:26
File harbour-infraview-0.3-3.armv7hl.rpm973.68 KB20/10/2020 - 21:30
File harbour-infraview-0.3-3.i486.rpm976.06 KB20/10/2020 - 21:30
File harbour-infraview-0.3-4.armv7hl.rpm617.29 KB22/11/2020 - 19:39
File harbour-infraview-0.3-4.i486.rpm619.65 KB22/11/2020 - 19:39
File harbour-infraview-0.4-2.armv7hl.rpm617.45 KB28/11/2020 - 03:46
File harbour-infraview-0.4-2.i486.rpm619.57 KB28/11/2020 - 03:46
File harbour-infraview-0.4-3.armv7hl.rpm617.48 KB30/11/2020 - 15:01
File harbour-infraview-0.4-3.i486.rpm619.79 KB30/11/2020 - 15:01
Changelog: 

0.4.3 Dynamically update network details on frontpage on network change
0.4.2 Require extra dependency

0.4.1

  • Updated Chinese
  • No longer use deprecated statefs

0.3.4 Updated Spanish and Swedish

0.3.3

  • Updated serveral 3rd party python libraries
  • Removed hardcoded dependencies on user nemo

0.3.2 Removed non busybox grep compliant command

0.3.1

  • Added Chinese translation
  • Added ping tool page
  • Now verifying if user nemo is member of net_raw group (for ping and traceroute)

0.2.1

  • Load mainpage info async
  • Fixed dimmed color issue
  • Refresh option added on multiple pages
  • Added traceroute on tools page

0.1.20 Spanish, Swedish and Russian updated

0.1.19 Added ConnMan services (wifi)

0.1.18

  • Updated Spanish
  • Removed ISP location image, as it now requires Google apikey
  • Replaced ISP location image with OpenStreetMap link

0.1.17

  • Added Russian translation
  • Added DNS resolver

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

    • Option to kill nemo processes in netstat screen
    • Sort netstat list on users and identify by color
    • Added option to clear entire arp cache
    • Added option to remove specific arp cache entry

    0.1-10 Added dutch, updated swedish

    0.1-9 Added refesh option for main screen

    0.1-8

    • Added missing network name
    • Info on coverpage

    0.1-7

    • updated swedish language
    • better landscape layout

    0.1-6

    • Added Swedish (thanks Eson57)
    • for wlan added: dns/dhcp/domain name/broadcast address

    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

    • Added missing urllib3 to package
    • Added subnet mask

    0.1-1 Added local IP info
    0.1-0 Initial release
     

    Comments

    Markkyboy's picture

    App doesn't run on Jolla1 3.4.0.24. All i get is a white screen.

    ade's picture

    It did not pull a dependency that was once installed by default. Should be fixes now.

    Markkyboy's picture

    Thanks ade, it is working now.

    objectifnul's picture

    Interesting. What was it?

    ade's picture
    objectifnul's picture

    Same with 3.3.0.16 Rokua: blank screen, unresponsive (Xperia X)

    Caballlero's picture

    Dns resolver feature is to config own a dns?

    ade's picture

    No, it is for querying Domain Name System (DNS) servers related to a domain. Think of command line tools like dig or nslookup.

    Ygorr's picture

    Searching of devices in network takes long time enough

    ade's picture

    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's picture

    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's picture

    "pkcon refresh" first?

    rob_k's picture

    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's picture

    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's picture

    For me working too, thanks!

    kaulian's picture

    Yes for me too
    Everythings ok
    Nice =)

    PamNor's picture

    After update nmap-suid I can confirm. Device info --> is working.
    No more errors detected.
    Great ap. Thanks.

    Jordi's picture

    Yes, confirmed for Jolla1.

    PamNor's picture

    Testing 0.1-5.
    Happy to tell you 'ade'
    IP location info --> is working

    ade's picture

    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's picture

    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

    ade's picture

    it's using a different directory in my case. Another thing to solve, thanks for testing.

    kaulian's picture

    Thanks
    Now for me missing 'idna' module =)

    ade's picture

    okay, hopefully the last :-(

    PamNor's picture

    Testing 0.1-4
    Sorry to tell: External ip info -->
    Missing module idna?

    [nemo@Sailfish ~]$ harbour-infraview
    [D] unknown:0 - Using Wayland-EGL
    /usr/share/harbour-infraview/python/requests/__init
    __.py:80: RequestsDependencyWarning: urllib3 (dev)
    or chardet (3.0.4) doesn't match a supported versio
    n!
    RequestsDependencyWarning)
    [D] unknown:0 - "PyOtherSide error: Traceback (most
    recent call last):\n\n File \"/usr/share/harbour-
    infraview/qml/pages/call_location.py\", line 5, in
    \n from requests import get # not avail
    able by default!\n\n File \"/usr/share/harbour-inf
    raview/python/requests/__init__.py\", line 98, in <
    module>\n from . import packages\n\n File \"/us
    r/share/harbour-infraview/python/requests/packages.
    py\", line 7, in \n locals()[package] =
    __import__(package)\n\nImportError: No module named
    'idna'\n"
    [D] unknown:0 - "PyOtherSide error: Traceback (most
    recent call last):\n\n File \"\", line 1,
    in \n\nNameError: name 'call_location' is
    not defined\n"
    [D] onError:50 - Python ERROR: Cannot import module
    : call_location (Traceback (most recent call last):

    File "/usr/share/harbour-infraview/qml/pages/call
    _location.py", line 5, in
    from requests import get # not available by de
    fault!

    File "/usr/share/harbour-infraview/python/request
    s/__init__.py", line 98, in
    from . import packages

    File "/usr/share/harbour-infraview/python/request
    s/packages.py", line 7, in
    locals()[package] = __import__(package)

    ImportError: No module named 'idna'

    PamNor's picture

    Yep. nmap-suid is installed

    ade's picture

    It's not searching nmap in the right location in your case. I explicitly set a search path, so not clue what causes this atm.

    PamNor's picture

    Testing 0.1.3
    certifi missing?

    File "/usr/share/harbour-infraview/python/request
    s/__init__.py", line 97, in
    from . import utils

    File "/usr/share/harbour-infraview/python/request
    s/utils.py", line 24, in
    from . import certs

    File "/usr/share/harbour-infraview/python/request
    s/certs.py", line 15, in
    from certifi import where

    ImportError: No module named 'certifi'

    ade's picture

    too late, 0.1.4 is already available :-)

    PamNor's picture

    Testing 0.1-2
    Devices in current network/Show more info: -> Retriewing device info (forever)
    nmap-os-db file missing?

    [nemo@Sailfish ~]$ harbour-infraview
    [D] unknown:0 - Using Wayland-EGL
    [D] :15 - call_nmap module is now imported
    [D] :27 - call_nmap module is now imported
    [D] unknown:0 - "PyOtherSide error: Traceback (most
    recent call last):\n\n File \"/usr/share/harbour-
    infraview/python/nmap.py\", line 322, in analyse_nm
    ap_xml_scan\n dom = ET.fromstring(self._nmap_las
    t_output)\n\n File \"/usr/lib/python3.4/xml/etree/
    ElementTree.py\", line 1326, in XML\n return par
    ser.close()\n\n File \"\", line None\n\nxm
    l.etree.ElementTree.ParseError: no element found: l
    ine 1, column 0\n\n\nDuring handling of the above e
    xception, another exception occurred:\n\n\nTracebac
    k (most recent call last):\n\n File \"/usr/share/h
    arbour-infraview/qml/pages/call_nmap.py\", line 42,
    in devinfo\n nm.scan(ip, arguments=\"-O\")\n\n
    File \"/usr/share/harbour-infraview/python/nmap.py
    \", line 266, in scan\n nmap_warn_keep_trace=nma
    p_warn_keep_trace\n\n File \"/usr/share/harbour-in
    fraview/python/nmap.py\", line 325, in analyse_nmap
    _xml_scan\n raise PortScannerError(nmap_err)\n\n
    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'\n"
    [D] onError:44 - Python ERROR: Return value of PyOb
    ject call is NULL: Traceback (most recent call last
    ):

    File "/usr/share/harbour-infraview/python/nmap.py
    ", line 322, in analyse_nmap_xml_scan
    dom = ET.fromstring(self._nmap_last_output)

    File "/usr/lib/python3.4/xml/etree/ElementTree.py
    ", line 1326, in XML
    return parser.close()

    File "", line None

    xml.etree.ElementTree.ParseError: no element found:
    line 1, column 0

    During handling of the above exception, another exc
    eption occurred:

    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