[Bug 12251] New: Whois broken for IP address queries

bugzilla at busybox.net bugzilla at busybox.net
Tue Oct 1 12:22:12 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=12251

            Bug ID: 12251
           Summary: Whois broken for IP address queries
           Product: Busybox
           Version: 1.28.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: fortuna at up.nl.eu.org
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Without this code on lines 79 to 91:

    if (!success && !pfx[0]) {
        /*
         * Looking at /etc/jwhois.conf, some whois servers use
         * "domain = DOMAIN", "DOMAIN ID <DOMAIN>"
         * and "domain=DOMAIN_WITHOUT_LAST_COMPONENT"
         * formats, but those are rare.
         * (There are a few even more contrived ones.)
         * We are trying only "domain DOMAIN", the typical one.
         */
        pfx = "domain ";
        bufpos = 0;
        goto again;
    }

whois.c starts working for IP address queries without affecting domain name
queries as the user can specify this prefix on the command line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list