Coder Social home page Coder Social logo

rdap's Introduction

OpenRDAP is an command line RDAP client implementation in Go. Build Status

https://www.openrdap.org - homepage

https://www.openrdap.org/demo - live demo

Features

  • Command line RDAP client
  • Output formats: text, JSON, WHOIS style
  • Query types supported:
    • ip
    • domain
    • autnum
    • nameserver
    • entity
    • help
    • url
    • domain-search
    • domain-search-by-nameserver
    • domain-search-by-nameserver-ip
    • nameserver-search
    • nameserver-search-by-ip
    • entity-search
    • entity-search-by-handle
  • Automatic server detection for ip/domain/autnum/entities
  • Object tags support
  • Bootstrap cache (optional, uses ~/.openrdap by default)
  • X.509 client authentication

Installation

This program uses Go. The Go compiler is available from https://golang.org/.

To install:

go install github.com/openrdap/rdap/cmd/rdap@master

This will install the "rdap" binary in your $GOPATH/go/bin directory. Try running:

~/go/bin/rdap google.com

Usage

Query type Usage
Domain (.com) rdap -v example.com
IPv4 Address rdap -v 192.0.2.0
IPv6 Address rdap -v 2001:db8::
Autonomous System (ASN) rdap -v AS15169
Entity (with object tag) rdap -v OPS4-RIPE

Advanced usage (server must be specified using -s; not all servers support all query types)

Query type Usage
Nameserver rdap -v -t nameserver -s https://rdap.verisign.com/com/v1 ns1.google.com
Help rdap -v -t help -s https://rdap.verisign.com/com/v1
Domain Search rdap -v -t domain-search -s $SERVER_URL example*.gtld
Domain Search (by NS) rdap -v -t domain-search-by-nameserver -s $SERVER_URL ns1.example.gtld
Domain Search (by NS IP) rdap -v -t domain-search-by-nameserver-ip -s $SERVER_URL 192.0.2.0
Nameserver Search rdap -v -t nameserver-search -s $SERVER_URL ns1.example.gtld
Nameserver Search (by IP) rdap -v -t nameserver-search-by-ip -s $SERVER_URL 192.0.2.0
Entity Search rdap -v -t entity-search -s $SERVER_URL ENTITY-TAG
Entity Search (by handle) rdap -v -t entity-search-by-handle -s $SERVER_URL ENTITY-TAG

See https://www.openrdap.org/docs.

Example output

Click the examples to see the output:

rdap example.com
  Domain Name: EXAMPLE.COM
  Handle: 2336799_DOMAIN_COM-VRSN
  Status: client delete prohibited
  Status: client transfer prohibited
  Status: client update prohibited
  Conformance: rdap_level_0
  Conformance: icann_rdap_technical_implementation_guide_0
  Conformance: icann_rdap_response_profile_0
  Notice:
    Title: Terms of Use
    Description: Service subject to Terms of Use.
    Link: https://www.verisign.com/domain-names/registration-data-access-protocol/terms-service/index.xhtml
  Notice:
    Title: Status Codes
    Description: For more information on domain status codes, please visit https://icann.org/epp
    Link: https://icann.org/epp
  Notice:
    Title: RDDS Inaccuracy Complaint Form
    Description: URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf
    Link: https://icann.org/wicf
  Link: https://rdap.verisign.com/com/v1/domain/EXAMPLE.COM
  Event:
    Action: registration
    Date: 1995-08-14T04:00:00Z
  Event:
    Action: expiration
    Date: 2023-08-13T04:00:00Z
  Event:
    Action: last changed
    Date: 2023-05-12T15:13:35Z
  Event:
    Action: last update of RDAP database
    Date: 2023-05-16T20:36:06Z
  Secure DNS:
    Delegation Signed: true
    DSData:
      Key Tag: 370
      Algorithm: 13
      Digest: BE74359954660069D5C63D200C39F5603827D7DD02B56F120EE9F3A86764247C
      DigestType: 2
  Entity:
    Handle: 376
    Public ID:
      Type: IANA Registrar ID
      Identifier: 376
    Role: registrar
    vCard version: 4.0
    vCard fn: RESERVED-Internet Assigned Numbers Authority
    Entity:
      Role: abuse
      vCard version: 4.0
  Nameserver:
    Nameserver: A.IANA-SERVERS.NET
  Nameserver:
    Nameserver: B.IANA-SERVERS.NET
rdap 8.8.8.8
  Handle: NET-8-8-8-0-1
  Start Address: 8.8.8.0
  End Address: 8.8.8.255
  IP Version: v4
  Name: LVLT-GOGL-8-8-8
  Type: ALLOCATION
  ParentHandle: NET-8-0-0-0-1
  Status: active
  Port43: whois.arin.net
  Notice:
    Title: Terms of Service
    Description: By using the ARIN RDAP/Whois service, you are agreeing to the RDAP/Whois Terms of Use
    Link: https://www.arin.net/resources/registry/whois/tou/
  Notice:
    Title: Whois Inaccuracy Reporting
    Description: If you see inaccuracies in the results, please visit: 
    Link: https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
  Notice:
    Title: Copyright Notice
    Description: Copyright 1997-2023, American Registry for Internet Numbers, Ltd.
  Entity:
    Handle: GOGL
    Port43: whois.arin.net
    Remark:
      Title: Registration Comments
      Description: Please note that the recommended way to file abuse complaints are located in the following links. 
      Description: To report abuse and illegal activity: https://www.google.com/contact/
      Description: For legal requests: http://support.google.com/legal 
      Description: Regards, 
      Description: The Google Team
    Link: https://rdap.arin.net/registry/entity/GOGL
    Link: https://whois.arin.net/rest/org/GOGL
    Event:
      Action: last changed
      Date: 2019-10-31T15:45:45-04:00
    Event:
      Action: registration
      Date: 2000-03-30T00:00:00-05:00
    Role: registrant
    vCard version: 4.0
    vCard fn: Google LLC
    vCard kind: org
    Entity:
      Handle: ABUSE5250-ARIN
      Status: validated
      Port43: whois.arin.net
      Remark:
        Title: Registration Comments
        Description: Please note that the recommended way to file abuse complaints are located in the following links.
        Description: To report abuse and illegal activity: https://www.google.com/contact/
        Description: For legal requests: http://support.google.com/legal 
        Description: Regards,
        Description: The Google Team
      Link: https://rdap.arin.net/registry/entity/ABUSE5250-ARIN
      Link: https://whois.arin.net/rest/poc/ABUSE5250-ARIN
      Event:
        Action: last changed
        Date: 2022-10-24T08:43:11-04:00
      Event:
        Action: registration
        Date: 2015-11-06T15:36:35-05:00
      Role: abuse
      vCard version: 4.0
      vCard fn: Abuse
      vCard org: Abuse
      vCard kind: group
      vCard email: [email protected]
      vCard tel: +1-650-253-0000
    Entity:
      Handle: ZG39-ARIN
      Status: validated
      Port43: whois.arin.net
      Link: https://rdap.arin.net/registry/entity/ZG39-ARIN
      Link: https://whois.arin.net/rest/poc/ZG39-ARIN
      Event:
        Action: last changed
        Date: 2022-11-10T07:12:44-05:00
      Event:
        Action: registration
        Date: 2000-11-30T13:54:08-05:00
      Role: technical
      Role: administrative
      vCard version: 4.0
      vCard fn: Google LLC
      vCard org: Google LLC
      vCard kind: group
      vCard email: [email protected]
      vCard tel: +1-650-253-0000
  Link: https://rdap.arin.net/registry/ip/8.8.8.0
  Link: https://whois.arin.net/rest/net/NET-8-8-8-0-1
  Link: https://rdap.arin.net/registry/ip/8.0.0.0/9
  Event:
    Action: last changed
    Date: 2014-03-14T16:52:05-04:00
  Event:
    Action: registration
    Date: 2014-03-14T16:52:05-04:00
  cidr0_cidrs:
    v4prefix: 8.8.8.0
    length: 24
rdap --json AS15169
{
  "rdapConformance": [
    "nro_rdap_profile_0",
    "rdap_level_0",
    "nro_rdap_profile_asn_flat_0"
  ],
  "notices": [
    {
      "title": "Terms of Service",
      "description": [
        "By using the ARIN RDAP/Whois service, you are agreeing to the RDAP/Whois Terms of Use"
      ],
      "links": [
        {
          "value": "https://rdap.arin.net/registry/autnum/15169",
          "rel": "terms-of-service",
          "type": "text/html",
          "href": "https://www.arin.net/resources/registry/whois/tou/"
        }
      ]
    },
    {
      "title": "Whois Inaccuracy Reporting",
      "description": [
        "If you see inaccuracies in the results, please visit: "
      ],
      "links": [
        {
          "value": "https://rdap.arin.net/registry/autnum/15169",
          "rel": "inaccuracy-report",
          "type": "text/html",
          "href": "https://www.arin.net/resources/registry/whois/inaccuracy_reporting/"
        }
      ]
    },
    {
      "title": "Copyright Notice",
      "description": [
        "Copyright 1997-2023, American Registry for Internet Numbers, Ltd."
      ]
    }
  ],
  "handle": "AS15169",
  "startAutnum": 15169,
  "endAutnum": 15169,
  "name": "GOOGLE",
  "events": [
    {
      "eventAction": "last changed",
      "eventDate": "2012-02-24T09:44:34-05:00"
    },
    {
      "eventAction": "registration",
      "eventDate": "2000-03-30T00:00:00-05:00"
    }
  ],
  "links": [
    {
      "value": "https://rdap.arin.net/registry/autnum/15169",
      "rel": "self",
      "type": "application/rdap+json",
      "href": "https://rdap.arin.net/registry/autnum/15169"
    },
    {
      "value": "https://rdap.arin.net/registry/autnum/15169",
      "rel": "alternate",
      "type": "application/xml",
      "href": "https://whois.arin.net/rest/asn/AS15169"
    }
  ],
  "entities": [
    {
      "handle": "GOGL",
      "vcardArray": [
        "vcard",
        [
          [
            "version",
            {},
            "text",
            "4.0"
          ],
          [
            "fn",
            {},
            "text",
            "Google LLC"
          ],
          [
            "adr",
            {
              "label": "1600 Amphitheatre Parkway\nMountain View\nCA\n94043\nUnited States"
            },
            "text",
            [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          ],
          [
            "kind",
            {},
            "text",
            "org"
          ]
        ]
      ],
      "roles": [
        "registrant"
      ],
      "remarks": [
        {
          "title": "Registration Comments",
          "description": [
            "Please note that the recommended way to file abuse complaints are located in the following links. ",
            "",
            "To report abuse and illegal activity: https://www.google.com/contact/",
            "",
            "For legal requests: http://support.google.com/legal ",
            "",
            "Regards, ",
            "The Google Team"
          ]
        }
      ],
      "links": [
        {
          "value": "https://rdap.arin.net/registry/autnum/15169",
          "rel": "self",
          "type": "application/rdap+json",
          "href": "https://rdap.arin.net/registry/entity/GOGL"
        },
        {
          "value": "https://rdap.arin.net/registry/autnum/15169",
          "rel": "alternate",
          "type": "application/xml",
          "href": "https://whois.arin.net/rest/org/GOGL"
        }
      ],
      "events": [
        {
          "eventAction": "last changed",
          "eventDate": "2019-10-31T15:45:45-04:00"
        },
        {
          "eventAction": "registration",
          "eventDate": "2000-03-30T00:00:00-05:00"
        }
      ],
      "entities": [
        {
          "handle": "ABUSE5250-ARIN",
          "vcardArray": [
            "vcard",
            [
              [
                "version",
                {},
                "text",
                "4.0"
              ],
              [
                "adr",
                {
                  "label": "1600 Amphitheatre Parkway\nMountain View\nCA\n94043\nUnited States"
                },
                "text",
                [
                  "",
                  "",
                  "",
                  "",
                  "",
                  "",
                  ""
                ]
              ],
              [
                "fn",
                {},
                "text",
                "Abuse"
              ],
              [
                "org",
                {},
                "text",
                "Abuse"
              ],
              [
                "kind",
                {},
                "text",
                "group"
              ],
              [
                "email",
                {},
                "text",
                "[email protected]"
              ],
              [
                "tel",
                {
                  "type": [
                    "work",
                    "voice"
                  ]
                },
                "text",
                "+1-650-253-0000"
              ]
            ]
          ],
          "roles": [
            "abuse"
          ],
          "remarks": [
            {
              "title": "Registration Comments",
              "description": [
                "Please note that the recommended way to file abuse complaints are located in the following links.",
                "",
                "To report abuse and illegal activity: https://www.google.com/contact/",
                "",
                "For legal requests: http://support.google.com/legal ",
                "",
                "Regards,",
                "The Google Team"
              ]
            }
          ],
          "links": [
            {
              "value": "https://rdap.arin.net/registry/autnum/15169",
              "rel": "self",
              "type": "application/rdap+json",
              "href": "https://rdap.arin.net/registry/entity/ABUSE5250-ARIN"
            },
            {
              "value": "https://rdap.arin.net/registry/autnum/15169",
              "rel": "alternate",
              "type": "application/xml",
              "href": "https://whois.arin.net/rest/poc/ABUSE5250-ARIN"
            }
          ],
          "events": [
            {
              "eventAction": "last changed",
              "eventDate": "2022-10-24T08:43:11-04:00"
            },
            {
              "eventAction": "registration",
              "eventDate": "2015-11-06T15:36:35-05:00"
            }
          ],
          "status": [
            "validated"
          ],
          "port43": "whois.arin.net",
          "objectClassName": "entity"
        },
        {
          "handle": "ZG39-ARIN",
          "vcardArray": [
            "vcard",
            [
              [
                "version",
                {},
                "text",
                "4.0"
              ],
              [
                "adr",
                {
                  "label": "1600 Amphitheatre Parkway\nMountain View\nCA\n94043\nUnited States"
                },
                "text",
                [
                  "",
                  "",
                  "",
                  "",
                  "",
                  "",
                  ""
                ]
              ],
              [
                "fn",
                {},
                "text",
                "Google LLC"
              ],
              [
                "org",
                {},
                "text",
                "Google LLC"
              ],
              [
                "kind",
                {},
                "text",
                "group"
              ],
              [
                "email",
                {},
                "text",
                "[email protected]"
              ],
              [
                "tel",
                {
                  "type": [
                    "work",
                    "voice"
                  ]
                },
                "text",
                "+1-650-253-0000"
              ]
            ]
          ],
          "roles": [
            "technical",
            "administrative"
          ],
          "links": [
            {
              "value": "https://rdap.arin.net/registry/autnum/15169",
              "rel": "self",
              "type": "application/rdap+json",
              "href": "https://rdap.arin.net/registry/entity/ZG39-ARIN"
            },
            {
              "value": "https://rdap.arin.net/registry/autnum/15169",
              "rel": "alternate",
              "type": "application/xml",
              "href": "https://whois.arin.net/rest/poc/ZG39-ARIN"
            }
          ],
          "events": [
            {
              "eventAction": "last changed",
              "eventDate": "2022-11-10T07:12:44-05:00"
            },
            {
              "eventAction": "registration",
              "eventDate": "2000-11-30T13:54:08-05:00"
            }
          ],
          "status": [
            "validated"
          ],
          "port43": "whois.arin.net",
          "objectClassName": "entity"
        }
      ],
      "port43": "whois.arin.net",
      "objectClassName": "entity"
    },
    {
      "handle": "ZG39-ARIN",
      "vcardArray": [
        "vcard",
        [
          [
            "version",
            {},
            "text",
            "4.0"
          ],
          [
            "adr",
            {
              "label": "1600 Amphitheatre Parkway\nMountain View\nCA\n94043\nUnited States"
            },
            "text",
            [
              "",
              "",
              "",
              "",
              "",
              "",
              ""
            ]
          ],
          [
            "fn",
            {},
            "text",
            "Google LLC"
          ],
          [
            "org",
            {},
            "text",
            "Google LLC"
          ],
          [
            "kind",
            {},
            "text",
            "group"
          ],
          [
            "email",
            {},
            "text",
            "[email protected]"
          ],
          [
            "tel",
            {
              "type": [
                "work",
                "voice"
              ]
            },
            "text",
            "+1-650-253-0000"
          ]
        ]
      ],
      "roles": [
        "technical"
      ],
      "links": [
        {
          "value": "https://rdap.arin.net/registry/autnum/15169",
          "rel": "self",
          "type": "application/rdap+json",
          "href": "https://rdap.arin.net/registry/entity/ZG39-ARIN"
        },
        {
          "value": "https://rdap.arin.net/registry/autnum/15169",
          "rel": "alternate",
          "type": "application/xml",
          "href": "https://whois.arin.net/rest/poc/ZG39-ARIN"
        }
      ],
      "events": [
        {
          "eventAction": "last changed",
          "eventDate": "2022-11-10T07:12:44-05:00"
        },
        {
          "eventAction": "registration",
          "eventDate": "2000-11-30T13:54:08-05:00"
        }
      ],
      "status": [
        "validated"
      ],
      "port43": "whois.arin.net",
      "objectClassName": "entity"
    }
  ],
  "port43": "whois.arin.net",
  "status": [
    "active"
  ],
  "objectClassName": "autnum"
}

Go docs

godoc

Uses

Go 1.20+

Links

rdap's People

Contributors

adamdecaf avatar dependabot[bot] avatar keperry avatar skip2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

rdap's Issues

Binary release

Hi,
Do you plan on making binary release and versioning ? I would be interested to package it for my linux distribution and having a release either binary or link to a specific version could help me greatly.

RDAP for Nameservers doesn't understand 404 Not Found

When looking up a nameserver that doesn't exist and the server returns a 404 the RDAP client responds with:

cameron$ ~/go/bin/rdap --server=rdap.local -t nameserver ns1.nonexistantnameserver.net
# Error: No RDAP servers responded successfully (tried 1 server(s))

-j/--json switch returns no json data

When using the -j/--json switch, no data is returned structured as json

user@host Desktop % ~/go/bin/rdap -v google.com -j    
# OpenRDAP v0.0.1
# 
# rdap: Configuring query...
# rdap: Using disk cache (/Users/a206709233/.openrdap)
# rdap: Bootstrap URL is default 'https://data.iana.org/rdap/'
# rdap: Bootstrap cache TTL set to 3600 seconds
# rdap: Timeout is 30 seconds
# 
# client: Running...
# client: Request type  : domain
# client: Request query : google.com
# client: Request URL   : TBD, bootstrap required
#   bootstrap: Looking up...
#   bootstrap: Question type : dns
#   bootstrap: Question query: google.com
#   bootstrap: Cache state: dns.json: good
#   bootstrap: Using cached Service Registry file
#   bootstrap: Looked up 'google.com'
#   bootstrap: Matching entry 'com'
#   bootstrap: Service URL #1: 'https://rdap.verisign.com/com/v1/'
# client: RDAP URL #0 is https://rdap.verisign.com/com/v1/domain/google.com
# client: GET https://rdap.verisign.com/com/v1/domain/google.com
# client: status-code=200, content-type=application/rdap+json, length=2429 bytes, duration=353.50978ms
# client: Successfully decoded response
# 
# rdap: Finished in 360.84536ms

[Feature] Compact queries

Even tho it's nice to have very detailed information I think it's kind of an overkill for "daily use" especially when doing normal domain or ip queries. For example, the whois record for google.com is 32 lines, while the openrdap result is 127. Therefore I think there should be a "compact" parameter where it only shows the more important information.

Those queries could

  • Exclude vcard versions
  • Make events into one line (Just show like Last changed: <date>)
  • Remove Handle, Status, Link and Port43 fields
  • Collapse vcard addresses (Currently there's a line for each part of the address)
  • Remove link descriptions

I know there's a whois parameter however I think this one contains a bit too less information. By doing some of the above things I could reduce the size to around 60 lines which I think is much better and faster readable

custom server query returns error

This is exactly what I want but when I try using custom service url https://rdap.markmonitor.com/rdap to respond to domain query for google.com, I get error No RDAP servers responded successfully (tried 1 server(s)). Here is my code:

func CustomUsage() {
	// Advanced usage:
	//
	// This demonstrates custom FetchRoles, a custom Context, a custom HTTP client,
	// a custom Bootstrapper, and a custom timeout.
	//   // Nameserver query on rdap.nic.cz.
	server, _ := url.Parse("https://rdap.markmonitor.com/rdap")
	  req := &rdap.Request{
		Type: rdap.DomainRequest,
		Query: "google.com",
		//FetchRoles: []string{"all"},
		//Timeout: time.Second * 45, // Custom timeout.

		Server: server,
	  }

	//fmt.Println(req.URL())

	  //req = req.WithContext(context.Context) // Custom context (see https://blog.golang.org/context).

	  client := &rdap.Client{}
	  //client.HTTP = &http.Client{} // Custom HTTP client.
	  //client.Bootstrap = &bootstrap.Client{} // Custom bootstapper.

	  resp, err := client.Do(req)
	  if err != nil {
	  	fmt.Println(err.Error())
	  }

	  if ns, ok := resp.Object.(*rdap.Domain); ok {
	   fmt.Printf("Handle=%s Domain=%s\n", ns.Handle, ns.LDHName)
	  }
}

Thanks

Will there be a new release?

Hi,

I see that there were several code changes since the last release, do you plan on having a new release anytime soon?

Thanks!

Missing Registrar's response

It appears to me that this openrdap only uses registry's response but the registrar's response, which typically provides more info (so called thick lookup), are missing. For example, if we rdap lookup google.com, the response don't have google location information which is only available from registrar's server.

I also tried -s url/of/registrar, for example rdap -s https://rdap.markmonitor.com/rdap google.com but get 404 error.

Can you add the support of registrar's server url?

Question about the repo name

We have some discussion about the proper formula name in this PR, here is the thread, it actually triggers me that why not name the repo into openrdap, just like what other openxxx do (openssh or openldap), this way I think it would be easier to push all the downstream package managers to use the openrdap rather than other names (right now it is a bit chaos). Let me know if that makes sense (I am also curious how we reached to this rdap rather than openrdap). Thanks!

LACNIC VCard issue

Hello.

I am trying to access VCard property of LACNIC resources (for example, IPv4 address 148.223.0.0), however it seems like openrdap/rdap package is unable to parse their response due to jCard error: jCard property too short (>=4 array elements required) while decoding the VCard field.

Is this the intended behaviour or known issue?

SOCKS and/or HTTP proxy support?

I'm wondering what support there is (if any) for SOCKS and HTTP proxies with the rdap cli

In theory, to make an RDAP query, only HTTP protocol is required- unless there is some bootstrap mechanism that depends upon DNS (which I realize is possible)

I'm trying to use rdap to look up network block metadata in a restrictive environment. To clarify the relevant restrictions:

  1. No access to external/public DNS servers
  2. No direct UDP/TCP access to Internet resources- must traverse either a SOCKS or HTTP proxy
  3. If not HTTP traffic, must use SOCKS, can not "cheat" by using CONNECT in an HTTP proxy

To further clarify, I am not interested in WHOIS protocol (UDP/43) so no worries about supporting that

Here's what happens when I try to specify an HTTP proxy and hope for the best:

20:05:59 › HTTP_PROXY=http://127.0.0.1:3128 HTTPS_PROXY=http://127.0.0.1:3128 rdap 1.1.1.1
# Error: Get https://data.iana.org/rdap/ipv4.json: dial tcp: lookup data.iana.org on my.internal.resolver:53: no such host

Clearly in this case it's grabbing some bootstrap data via HTTP from IANA and not honoring my attempt at specifying a proxy. I'm stuck here because of the restrictions mentioned above

I have yet to look under the hood to see what HTTP package rdap is using, but maybe you can save me some time and clarify:

  1. Is there is support for HTTP proxying
  2. If so, how do I specify the proxy?
  3. If not, would either consider implementing it or accept a PR for it?

Thanks!

Installation on Ubuntu Linux 18.04 - no binary in

Hey,
I am not able to install rdap on Ubuntu 18.04 64bit desktop.

$ go version
go version go1.10.4 linux/amd64

$ echo $GOPATH
/home/XXX/go

$ go get -v -u github.com/openrdap/rdap
github.com/openrdap/rdap (download)
github.com/mitchellh/go-homedir (download)
Fetching https://golang.org/x/crypto/pkcs12?go-get=1
Parsing meta tags from https://golang.org/x/crypto/pkcs12?go-get=1 (status code 200)
get "golang.org/x/crypto/pkcs12": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/pkcs12?go-get=1
get "golang.org/x/crypto/pkcs12": verifying non-authoritative meta tag
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
golang.org/x/crypto (download)
Fetching https://golang.org/x/crypto/pkcs12/internal/rc2?go-get=1
Parsing meta tags from https://golang.org/x/crypto/pkcs12/internal/rc2?go-get=1 (status code 200)
get "golang.org/x/crypto/pkcs12/internal/rc2": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto/pkcs12/internal/rc2?go-get=1
get "golang.org/x/crypto/pkcs12/internal/rc2": verifying non-authoritative meta tag
Fetching https://gopkg.in/alecthomas/kingpin.v2?go-get=1
Parsing meta tags from https://gopkg.in/alecthomas/kingpin.v2?go-get=1 (status code 200)
get "gopkg.in/alecthomas/kingpin.v2": found meta tag get.metaImport{Prefix:"gopkg.in/alecthomas/kingpin.v2", VCS:"git", RepoRoot:"https://gopkg.in/alecthomas/kingpin.v2"} at https://gopkg.in/alecthomas/kingpin.v2?go-get=1
gopkg.in/alecthomas/kingpin.v2 (download)
github.com/alecthomas/template (download)
github.com/alecthomas/units (download)

$ ls -la $GOPATH/bin/
total 9444
drwxr-xr-x 2 XXX XXX    4096 Dec 15 18:59 .
drwxr-xr-x 5 XXX XXX    4096 Dec 15 18:59 ..
-rwxr-xr-x 1 XXX XXX 9662331 Dec 15 19:00 goodls #another GO binary

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic

$ uname -a
Linux XXX 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Failed to install

$go get -u github.com/openrdap/rdap/cmd/rdap
go: gopkg.in/alecthomas/[email protected]: parsing go.mod:
	module declares its path as: github.com/alecthomas/kingpin/v2
	        but was required as: gopkg.in/alecthomas/kingpin.v2
$go version
go version go1.19.6 linux/amd64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.