Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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?

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)