echoip
myip
echoip | myip | |
---|---|---|
4 | 7 | |
3,916 | 39 | |
- | - | |
0.0 | 3.7 | |
6 months ago | 9 months ago | |
Go | Makefile | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
echoip
-
Icanhazip: A simple IP address tool survived a deluge of users (2021)
great callout! A more advanced self hosted option can be https://github.com/mpolden/echoip
-
Getting your IP from anywhere
In that case, I recommend you create a new endpoint on any domain you like. And deploy the open-source software behind ifconfig.co: https://github.com/mpolden/echoip
-
Ifconfig.co – Hacker-friendly “What is my IP address”
It is a GitHub project, there's already an issue for the UK:
https://github.com/mpolden/echoip/issues/130
Perhaps you ought to open one for Norway? (I don't think it would be appropriate for me to do it because I am not seeing the issue, not being in Norway.)
myip
-
Icanhazip: A simple IP address tool survived a deluge of users (2021)
Why not use protocols which are purposely designed to report mapped IP address like STUN? It's faster as UDP exchange is shorter than 3-way TCP handshake (or even TCP+TLS handshake).
Here is an implementation which uses parallel STUN queries to report address reliably as fast as possible: https://github.com/Snawoot/myip
-
Do i have an open nat?
For Windows; Try the myip binary
-
How do i check my nat type with stun??
Try this client with public STUN servers; https://github.com/Snawoot/myip/releases/tag/v1.2.0 it has precompiled binaries for multiple platforms.
- Show HN: Justyourip.com
-
Public ip address logging
Addresses on the "far side" of a NAT aren't inherently visible to the host. The only way to find out is to reach out to an external service, and have that service report back what source IP address they see your request coming from. Usually people use a web API, but there might be other ways.
-
A New Future for Icanhazip
This kind of service is exactly what STUN servers are made for to be used alongside webrtc. There are a plethora of unauthenticated STUN servers around, and while there's still room for abuse, the protocol is a bit more lightweight than full-blown http requests, and faster, too!
I've dabbled with doing this on my own, but I've found `myip` to do the job nicely and without hassle:
https://github.com/Snawoot/myip
-
Ifconfig.co – Hacker-friendly “What is my IP address”
I had some auto-tests for VPN app which were relying on similar web-service to check own IP address. One day service become unavailable and autotests got broken. IIRC it was (https://canihazip.com/s)
I decided to solve this task in a fast and reliable fashion, so I made a tool which discovers own IP address using major public STUN servers: https://github.com/Snawoot/myip
Program issues parallel queries to public STUN servers to determine public IP address and returns result as soon as quorum of matching responses reached.
Works fast and reliable, especially compared to services requiring HTTPS:
user@dt1:~> time curl https://api.ipify.org
What are some alternatives?
kubernetes - Production-Grade Container Scheduling and Management
alfred-ip-address-workflow - Alfred 5 workflow for getting your local and external IP addresses.
fast-geoip - A faster & low-memory replacement for geoip-lite, a node library that maps IPs to geographical information
cloudflare-dyndns - CloudFlare Dynamic DNS client
dns.toys - A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
geoip - GeoIP for V2Ray. Generate and release GeoIP files such as geoip.dat and geoip-only-cn-private.dat for V2Ray automatically every Thursday.
STUN - STUN client implementation in C#
kubernetes - Production-Grade Container Scheduling and Management [Moved to: https://github.com/kubernetes/kubernetes]
cloud-self-test-kit
gofl - Generic Free List implementation to reuse memory and avoid allocations
libjuice - JUICE is a UDP Interactive Connectivity Establishment library