Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minpeter/iplogger
π Project What is my IP?
https://github.com/minpeter/iplogger
clientip go golang ip ipaddress realip
Last synced: 17 days ago
JSON representation
π Project What is my IP?
- Host: GitHub
- URL: https://github.com/minpeter/iplogger
- Owner: minpeter
- License: gpl-3.0
- Created: 2023-01-18T22:23:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-13T05:12:49.000Z (10 months ago)
- Last Synced: 2024-06-20T11:55:34.252Z (6 months ago)
- Topics: clientip, go, golang, ip, ipaddress, realip
- Language: Go
- Homepage: https://ip.minpeter.xyz
- Size: 115 KB
- Stars: 13
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# iplogger
[![Go Report Card](https://goreportcard.com/badge/github.com/minpeter/iplogger)](https://goreportcard.com/report/github.com/minpeter/iplogger)
[![Go Reference](https://pkg.go.dev/badge/github.com/minpeter/iplogger.svg)](https://pkg.go.dev/github.com/minpeter/iplogger)
[![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/minpeter/iplogger)](https://hub.docker.com/r/minpeter/iplogger)
[![Docker Pulls](https://img.shields.io/docker/pulls/minpeter/iplogger)](https://hub.docker.com/r/minpeter/iplogger)
π Project: What is my IP?## purpose
A study on how services located behind multiple reverse proxies log real client IPs.
μ¬λ¬ 리λ²μ€ νλ‘μ λ€μ μμΉν μλΉμ€κ° μ€μ ν΄λΌμ΄μΈνΈ IPλ₯Ό κΈ°λ‘νλ λ°©λ²μ λν μ°κ΅¬
## screenshot
[![image](https://user-images.githubusercontent.com/62207008/217578966-c1daa0b2-5040-4906-abe8-aa7a2f276956.png)](https://ip.minpeter.xyz)
## how to use?
```sh
curl ip.minpeter.xyz -L
```or
## deployment
with docker
```sh
docker build -t iplogger .
docker run -dp 10000:10000 iplogger
```or pre-built image
```sh
docker run -dp 10000:10000 ghcr.io/minpeter/iplogger:latest
```with golang
```sh
go mod tidy
go run .
```now running on
## β¨ result post β¨
A brief [description](docs/result.md) of the project (Korean only)
[Blog post](https://minpeter.xyz/blog/how-loggin-real-ip) written while working on this projec (Korean only)νλ‘μ νΈμ λν κ°λ¨ν [μ€λͺ κΈ](docs/result.md)
μ΄ νλ‘μ νΈλ₯Ό μ§ννλ©΄μ μμ±ν [λΈλ‘κ·Έ κΈ](https://minpeter.xyz/blog/how-loggin-real-ip)