myip

Get your external IP address using multiple STUN servers (by Snawoot)

Myip Alternatives

Similar projects and alternatives to myip

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better myip alternative or higher similarity.

myip reviews and mentions

Posts with mentions or reviews of myip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-31.
  • Icanhazip: A simple IP address tool survived a deluge of users (2021)
    4 projects | news.ycombinator.com | 31 Jul 2023
    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?
    1 project | /r/HomeNetworking | 2 May 2022
    For Windows; Try the myip binary
  • How do i check my nat type with stun??
    2 projects | /r/HomeNetworking | 2 May 2022
    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
    1 project | news.ycombinator.com | 18 Jan 2022
  • Public ip address logging
    1 project | /r/sysadmin | 17 Jun 2021
    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
    4 projects | news.ycombinator.com | 6 Jun 2021
    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”
    2 projects | news.ycombinator.com | 30 Mar 2021
    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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 26 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic myip repo stats
7
39
3.7
9 months ago

Snawoot/myip is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of myip is Makefile.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com