| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| README.txt | 2013-01-20 | 3.5 kB | |
| jwhois-1.1.zip | 2013-01-20 | 53.8 kB | |
| Totals: 2 Items | 57.2 kB | 1 |
JWhois - Whois in Java / Geo ip database in Java / Online Geo ip service
--- Fast track ----------------------------
--- Fast track ----------------------------
If you don't want do download all the database's from the 6 different ftp-server's. But just want to run - like now!
Download http://whois.less-is-more.dk/geoIp.db.tgz and unzip in /tmp/geoIp.db
Call your JWhois.lookup("202.108.249.210") from your Java-code;
--- Fast track ----------------------------
--- Fast track ----------------------------
--- The rest of the README file ---
You can chose how you want JWhois (the Geo ip service) to run:
(A) Inline in Java, where the whois-in-memory-database is running in your JVM
(B) Inline in Java, where the whois-in-memory-database is running on your server, like http://whois.AtYourServer.com/whois?ip=x.x.x.x
(C) Inline in Java, where the whois-in-memory-database is running at whois.less-is-more.dk/whois?ip=x.x.x.x
(D) Inline in Java, where the whois-in-memory-database that returns all text-data like the whois command, but only for RIPE's IPs
How to run "(A) Inline in Java, where the whois-in-memory-database is running in your JVM"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) Run ./build-jwhois.sh
3) Set in GeoIpService.properties: runLocal=true
4) Call from Java: JWhois.lookup(String nameOrIPv4)
How to run "(B) Inline in Java, where the whois-in-memory-database is running on your server, like http://whois.AtYourServer.com/whois?ip=x.x.x.x"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) Run ./build-jwhois.sh
3) Setup the war-file on you local Tomcat
4) In the clients that call this, setup the URL in GeoIpService.properties so it points to your local server
5) Call from Java: JWhois.lookup(String nameOrIPv4)
How to run "(C) Inline in Java, where the whois-in-memory-database is running at whois.less-is-more.dk/whois?ip=x.x.x.x"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) In the clients that call this, setup the URL in GeoIpService.properties so it points to whois.less-is-more.dk/whois?ip=x.x.x.x
3) Call from Java: JWhois.lookup(String nameOrIPv4)
How to run "(D) Inline in Java, where the whois-in-memory-database that returns all text-data like the whois command, but only for RIPE's IPs"
1) Download the project from https://sourceforge.net/projects/jwhois/
2) Run ./build-jwhois.sh
3) Run ./build-ripeinfo-db-file-with-intellij-build.sh
4) Set in GeoIpService.properties: runLocal=true
5) RipeIpService.getInstance().lookup("213.150.56.140")