1 parent
a6fdf97550
commit
2ed975b957
2 files changed
+49
No files matched your search
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024, tchivert
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,28 @@
|
||||
# iplookup
|
||||
|
||||
Go implementation of [geoipweb](https://git.rznet.fr/tchivert/geoipweb).
|
||||
|
||||
This is the code that now powers [iplookup.fr](https://iplookup.fr)
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
Usage of ./iplookup:
|
||||
-a string
|
||||
Path to the GeoASN database
|
||||
-c string
|
||||
Path to the GeoIP database
|
||||
-m int
|
||||
Max number of entries in cache (default 2048)
|
||||
-n string
|
||||
Name of the application (default "iplookup.fr")
|
||||
-p int
|
||||
Port to listen on (default 8080)
|
||||
-t int
|
||||
Cache TTL in seconds (default 300)
|
||||
-v Enable verbose logging
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License. See the [LICENSE](https://git.rznet.fr/tchivert/iplookup/src/branch/main/LICENSE) file for more information.
|
||||
Reference in new issue
Block a user