kmz geolocation fails

  • Ralf Gebhard

    Ralf Gebhard - 2013-09-11

    During nstgeolocate session the creaton of the kmz file fails:

    /bin/nstipgeolocate -n -f 'xmlext' 2> /dev/null >| "/var/nst/nstgeolocate/kml/host/wm_host/ntophosts.xml"
    26: /var/nst/nstgeolocate/kml/host/wm_host/kml_host_130910-191032.xml:13813: parser error : xmlParseEntityRef: no name
    27: <hostResolvedName>agfeo gmbh & co. kg:59:02:0d</hostResolvedName>

    That's because there is a "&" in the hostresolvedname tag. How can I alter the ntop output or name resolving ( shows that hostname) to ignore the "&".

    the xml is:

    <hostResolvedName>agfeo gmbh & co. kg:59:02:0d</hostResolvedName>

  • Ronald W. Henderson


    ntop uses OUI prefixes from the file: "/etc/ntop/oui.txt.gz". One can gunzip it, edit it and remove the '&' chars, save it, and re-gzip it.

    Otherwise one can filter it using 'sed'.

    Hope this helps...



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks