ipv64net / node64_client

39 stars 12 forks source link

Implement WHOIS Request in Node64 Client #67

Open ipv64net opened 1 year ago

ipv64net commented 1 year ago

WHOIS Anfrage IP-Addresse Antwort: ORG-NAME / desc - Vodafone, Hetzner, IONOS COUNTRY AS NUM / origin CITY route inetnum

task type: whois

Task_Infos: Task_ID, Dst_IP

Reply format: (Wie immer als JSON)

RECOMMENDED PYTHON BIB ==> "ipwhois"

thethink3r commented 1 year ago

erwartet wird

{
   "tasks":[
      {
         "task_id":"<id>",
         "task_type":"whois",
         "task_infos":{
            "whois_dst":"<ip>",
         }
      }
   ],
   "report_ip":0,
   "error":0,
   "wait":30,
   "verbose":0,
   "exit":0
}

geliefert wird als task_result

{
   "query":"<ip>",
   "asn_description":"HETZNER-AS, DE",
   "asn_cidr":"65.109.0.0/16",
   "asn":"24940",
   "handle":"65.108.0.0 - 65.109.255.255",
   "name":"DE-HETZNER-20010209",
   "address":"Hetzner Online GmbH\nIndustriestrasse 25\nD-91710 Gunzenhausen\nGermany"
}
ipv64net commented 1 year ago

Request was PARTIAL implemented.

JonathanN1203 commented 1 year ago

we will test it