myip VS STUN

Compare myip vs STUN and see what are their differences.

myip

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

STUN

STUN client implementation in C# (by moien007)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
myip STUN
7 2
39 14
- -
3.7 10.0
9 months ago over 3 years ago
Makefile C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

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

STUN

Posts with mentions or reviews of STUN. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-11.
  • Help establishing a P2P connection with IPs & Ports
    2 projects | /r/Unity3D | 11 Dec 2022
    Am not very good with networking but from my understanding things don't work with public IPs because of NAT, I tried using STUN and using the IP and Port I got from that but the connection still wont establish(https://github.com/moien007/STUN) , not sure if I am missing something else, also looked at Unity's WebRTC & P2P sample (https://github.com/Unity-Technologies/com.unity.webrtc) but I couldn't figure how to use it to get what I wanted.
  • How do i check my nat type with stun??
    2 projects | /r/HomeNetworking | 2 May 2022
    I googled for stun clients or servers but they dont have any info on how to install them or use them, like this one https://github.com/moien007/STUN so if someone can help me with an app that is easy to install or some instructions on how to install a stun server or client please.

What are some alternatives?

When comparing myip and STUN you can also consider the following projects:

alfred-ip-address-workflow - Alfred 5 workflow for getting your local and external IP addresses.

com.unity.webrtc - WebRTC package for Unity

echoip - IP address lookup service

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.

cloud-self-test-kit

libjuice - JUICE is a UDP Interactive Connectivity Establishment library

cli - Official Command Line Interface for the IPinfo API (IP geolocation and other types of IP data)