Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cbh34680/ip2country
https://github.com/cbh34680/ip2country
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cbh34680/ip2country
- Owner: cbh34680
- Created: 2024-02-13T10:46:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-21T08:33:44.000Z (10 months ago)
- Last Synced: 2024-02-21T09:40:10.965Z (10 months ago)
- Language: C
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ip2country
for example:
```sh
[opc@handson-vm01 bin]$ make
/bin/bash getcidr.sh cidr.txt
/bin/bash mkdb.sh cidr.txt country-db.bin
162987 records writed
cc -Wall -O2 -o ip2country main.c fbsrch.c
/usr/bin/strip ip2country
[opc@handson-vm01 bin]$ ./ip2country country-db.bin 8.8.8.8
US
```