Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Web app to report client IP address and user-agent.

Notifications You must be signed in to change notification settings

ww9rivers/ipcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipcheck.js

To use the code (assuming that node.js and npm are installed):

$ git clone <this-git-repo> ipcheck
$ cd ipcheck
$ npm install
$ node index.js

To build production package:

$ sudo npm install -g webpack
$ webpack

That builds the dist/server/ipcheck.js bundle, minified, ready to be deployed to a production server.

Configuration

An optional configuration file, ipcheck-config.json is added to allow subnet lookup.

{
	"subnets": [
		{ "subnet": "10.20.192.0/19",	"name": "Subnet-name-1"	},
		{ "subnet": "11.22.160.0/19",	"name": "Subnet-name-2"	}
	]
}

Cheange Log

  • [2022-01-24] Version 2.0.0
  • [2022-01-20] Provides more feed back to user: If a user is on the VPN, lookup the VPN name by IP subnet.

Author

Wei Wang [email protected]

About

Web app to report client IP address and user-agent.

Resources

Stars

Watchers

Forks

Packages

No packages published