Skip to content

sot-tech/MyIA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyIA

My IP Address

Description

Simple http server which returns requester IP address.

Parameters

  • -l - listen address, default 127.0.0.1:1234
  • -p - listen path, default /
  • -n - returns IP address if only it contained in provided network prefix (i.e. 10.0.0.0/8)
  • -o - set provided value to Access-Control-Allow-Origin header
  • -r - get value as client IP from provided HTTP header instead of HTTP remote address. May be useful if program runs behind reverse-proxy. Note: only first (nearest) address will be used as client address. If header value not set, HTTP remote address used.

About

My IP Address

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages