{"id":25668524,"url":"https://github.com/borud/ipquery","last_synced_at":"2026-05-14T18:05:35.924Z","repository":{"id":149426434,"uuid":"307217435","full_name":"borud/ipquery","owner":"borud","description":"Tiny service that just tells you what your IP is","archived":false,"fork":false,"pushed_at":"2020-10-26T10:49:18.000Z","size":3421,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-24T10:43:54.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-25T23:56:38.000Z","updated_at":"2020-10-26T10:49:20.000Z","dependencies_parsed_at":"2024-07-24T14:45:13.340Z","dependency_job_id":null,"html_url":"https://github.com/borud/ipquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/borud/ipquery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fipquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fipquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fipquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fipquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borud","download_url":"https://codeload.github.com/borud/ipquery/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fipquery/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33037068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-24T10:34:47.923Z","updated_at":"2026-05-14T18:05:35.919Z","avatar_url":"https://github.com/borud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipquery\n\nThis project contains two binaries.  One is a picoservice to tell you\nwhat your IP address is.  The other is a utility to update your\nNetwork ACL on AWS.\n\nThis is useful if you do not have a fixed IP address and you\nperiodically need to update your network ACL to reflect your current\nIP address.\n\n## Installing\n\nYou can install the update-acl utility by issuing the following command:\n\n    go get -u github.com/borud/ipquery/cmd/update-acl\n\n## update-acl\n\nUpdate ACL figures out what your externally visible IP address is by\ncalling the `ipquery` picoservice.  By default the `update-acl`\nprogram uses my personal service, but if you are going to use this I\nwould strongly suggest you set up your own since I can't guarantee\nthe stability of this service.\n\nYou can view the command line options by running `update-acl -h`:\n\n    $ bin/update-acl -h\n    Usage:\n      update-acl [OPTIONS]\n    \n    Application Options:\n      -s, --whatismyip-url= WhatIsMyIP service URL (default: https://h.borud.no/whatismyip)\n      -a, --network-acl-id= Network ACL ID\n      -p, --port=           Port number (default: 22)\n      -t, --protocol-type=  6 is TCP, 17 is UDP (default: 6)\n      -n, --rule-number=    ACL rule number\n      -r, --aws-region=     AWS region (default: eu-north-1)\n      -d, --dry-run         Dry run only\n    \n    Help Options:\n      -h, --help            Show this help message\n\n### Using scripts\n\nOne way to make updating ACLs a bit more convenient is to create\nshellscripts that contain the configurations for your different\nenvironments.  Here is an example:\n\n    #!/bin/sh\n    #\n    #\n\tWHATISMYIP_URL=\u003cyour whatismyip service URL\u003e\n    NETWORK_ACL_ID=\u003cyour network acl id\u003e\n    AWS_REGION=\u003cyour region\u003e\n    PORT=\u003cyour port\u003e\n    RULE_ID=\u003cyour rule id\u003e\n    \n    update-acl \\\n\t    -s $WHATISMYIP_URL \\\n    \t-a $NETWORK_ACL_ID \\\n    \t-r $AWS_REGION \\\n    \t-p $PORT \\\n    \t-n $RULE_ID\n\n### Credentials\n\nSince we use the AWS Go SDK you have to set up your credentials so\nplease have a look at this page on how to get this done:\nhttps://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborud%2Fipquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborud%2Fipquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborud%2Fipquery/lists"}