myip
alfred-ip-address-workflow
myip | alfred-ip-address-workflow | |
---|---|---|
7 | 1 | |
39 | 195 | |
- | - | |
3.7 | 0.0 | |
9 months ago | 12 months ago | |
Makefile | Shell | |
MIT 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.
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
alfred-ip-address-workflow
What are some alternatives?
echoip - IP address lookup service
alfred-my-mind - Alfred workflow to search through my notes and bookmarks
cloudflare-dyndns - CloudFlare Dynamic DNS client
alfred-browser-tabs - 🔍 Search browser tabs from Chrome, Brave, Safari, etc..
dns.toys - A DNS server that offers useful utilities and services over the DNS protocol. Weather, world time, unit conversion etc.
alfred-wifi-password - 🔐 Get Wi-Fi password from Keychain
STUN - STUN client implementation in C#
iptables-nftables-multiroute-firewall - A collection of nftables, multi routing scripts, port knocked, and iptables files. To get inspiration to make your own firewalls.
cloud-self-test-kit
alfy - Create Alfred workflows with ease
libjuice - JUICE is a UDP Interactive Connectivity Establishment library
dotfiles - :penguin: Simple, fast, productivity-increaser dotfiles