Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zenmap display bug #556

Closed
gmalivenko opened this issue Sep 27, 2016 · 2 comments
Closed

Zenmap display bug #556

gmalivenko opened this issue Sep 27, 2016 · 2 comments

Comments

@gmalivenko
Copy link

When 'address' checkbox in view controls (topology tab) is unchecked, all host information become hidden.

All steps can be seen on screenshots:

1
2
3

$ zenmap --version
zenmap 7.12
$ nmap --version

Nmap version 7.12 ( https://nmap.org )
Platform: x86_64-unknown-linux-gnu
Compiled with: liblua-5.2.4 openssl-1.0.2h libpcre-8.39 nmap-libpcap-1.7.3 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select
@dmiller-nmap
Copy link

Thanks for the bug report. This appears to be intended behavior, though of course we could change it. The code is in zenmap/radialnet/gui/RadialNet.py:

        if not self.__animating and self.__show_address:

            context.set_font_size(8)
            context.move_to(round(xc + x + x_gap),
                                 round(yc - y + y_gap + 4))

            hostname = node.get_info('hostname')

            if hostname is not None and self.__show_hostname:
                context.show_text(hostname)

            elif node.get_info('ip') is not None:
                context.show_text(node.get_info('ip'))

This seems to show that the "address" checkbox is whether to show any label at all, and "hostname" is whether to show hostname instead of numeric address when available. The one behavior this does not allow is showing hostnames when available, but never showing a numeric address. Is this the behavior you want?

@gmalivenko
Copy link
Author

I think it would be much more logical if on turn off 'address' checkbox all the other checkboxes become inactive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants