Yangyu Chen
8c17abbd66
feat: Handle NAT64 address query ( #200 )
...
We can query the NAT64 address by the IPv4 address part of the NAT64
address. This is useful when we want to know the NAT64 address of a
specific IPv4 address. We also add a new regex pattern to match the
NAT64 address like 64:ff9b::1.1.1.1 .
Signed-off-by: Yangyu Chen <cyy@cyyself.name>
2024-12-30 14:04:06 +08:00
kingcanfish
2e758d3117
chore: use FW27623/qqwry instead of HMBSbige/qqwry ( #196 )
2024-08-27 08:08:39 +08:00
Zhizhen He
559ba291a7
chore: replace ioutil functions ( #191 )
2024-05-12 23:17:03 +08:00
zu1k
a1f4690e72
feat: geoip use default lang when selected not exist
2023-12-21 21:46:02 +08:00
zu1k
214d935a25
feat: add country code to geoip json output
2023-12-11 09:52:39 +08:00
zu1k
05746b1a9d
fix: Query error causes idx not updated
2023-11-24 16:18:06 +08:00
zu1k
6462935b1b
chore: make code scanning happy
2023-08-24 11:10:52 +08:00
zu1k
07409ff628
chore: fmt code & upgrade deps
2023-08-24 10:32:56 +08:00
M09Ic
a0e6398db8
unified dbif Name() return values to db.Name values
2023-05-21 14:41:21 +08:00
M09Ic
56be0c61ca
revolt output behavior, making it consistent with the original.
2023-05-21 14:10:31 +08:00
M09Ic
97cde2aa94
Fix the bug of json nested error
2023-05-20 18:12:31 +08:00
M09Ic
3819ae6808
Add the source field to the json output.
2023-05-20 17:53:43 +08:00
M09Ic
05d918528f
Fix the bug that the output format is different from the original version.
2023-05-20 17:37:24 +08:00
M09Ic
36025d8f01
add json note
2023-05-20 17:30:02 +08:00
M09Ic
d6d26f71f8
Fix the difference in output between stdin and cmd input.
2023-05-20 17:24:50 +08:00
Jason_R4bb1t
ff1449a4d1
add flag -j/--json. json format output.
2023-05-20 17:23:31 +08:00
zu1k
de355d1f7a
fix: Update qqwry download url
2023-04-24 16:39:25 +08:00
zu1k
7c2d9e1dd7
feat: optimize using [2]int
2023-03-02 16:53:50 +08:00
zu1k
a77165b014
chore: update qqwry download link
2023-01-08 09:30:59 +08:00
zu1k
b0bd2771d6
feat: check db data after download
2022-10-24 09:51:19 +08:00
zu1k
fc9df8dcf0
fix: check wry size before read header
2022-10-20 16:05:02 +08:00
zu1k
306babc6ac
fix: Check wry db before query
2022-10-20 15:59:03 +08:00
zu1k
b4e783e6ff
refactor: new wry parsing implementation, supports concurrency
2022-10-20 15:54:20 +08:00
zu1k
fb00fa9554
feat: Remove ip2region old db format support
...
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:31:05 +08:00
zu1k
8307d14075
refactor: Simplified ScanLines
...
Signed-off-by: zu1k <i@zu1k.com>
2022-08-15 09:13:35 +08:00
mzz2017
eaeae3d7a7
fix: annotation
2022-08-14 23:38:36 +08:00
mzz2017
24cdbcfe44
optimize: remove regexp and use bytes.IndexByte to improve the performance
2022-08-14 23:36:01 +08:00
mzz2017
5b722a6afe
fix: keep data at EOF
2022-08-14 22:57:14 +08:00
mzz2017
a40fa68240
fix: destroyed format
2022-08-14 22:54:24 +08:00
mzz2017
264b95238a
fix: the continuous two \n case.
2022-08-14 22:37:48 +08:00
mzz2017
e86169b4cb
fix: a problem that cannot read mtr output from pipe
2022-08-14 21:39:53 +08:00
jingjingxyk
f358ba3656
新增使用代理下载IP数据库
2022-07-29 05:54:00 +08:00
zu1k
7d3c83d135
chore: remove useless test code
...
Signed-off-by: zu1k <i@zu1k.com>
2022-07-21 14:16:11 +08:00
zu1k
970d770601
chore: go fmt
...
Signed-off-by: zu1k <i@zu1k.com>
2022-07-21 14:14:08 +08:00
zu1k
faf39c246f
Remove deprecated code
...
Signed-off-by: zu1k <i@zu1k.com>
2022-07-21 14:11:27 +08:00
zu1k
c2a1ad8565
chore: Update qqwry.date download url
...
Signed-off-by: zu1k <i@zu1k.com>
2022-07-21 10:36:47 +08:00
zu1k
2f1d16408c
fix: common download save to file
...
Signed-off-by: zu1k <i@zu1k.com>
2022-07-04 22:01:03 +08:00
zu1k
6bf5d94920
fix: CDN support regex
...
Signed-off-by: zu1k <i@zu1k.com>
2022-06-29 17:00:34 +08:00
zu1k
673e5f4ef7
feat: Support ip2region xdb
...
Signed-off-by: zu1k <i@zu1k.com>
2022-06-27 17:03:09 +08:00
zu1k
b03c052705
Add qqwry update notice
...
Signed-off-by: zu1k <i@zu1k.com>
2022-06-17 13:19:53 +08:00
zu1k
f391935999
feat: Support update db by direct download
...
Signed-off-by: zu1k <i@zu1k.com>
2022-05-24 15:16:48 +08:00
zu1k
bd84bf86f0
misc: Add cdn backup link
...
Signed-off-by: zu1k <i@zu1k.com>
2022-05-24 13:58:40 +08:00
zu1k
44606cde27
docs: Update readme zh
...
Signed-off-by: zu1k <i@zu1k.com>
2022-05-17 13:35:48 +08:00
fengdelan
31fe43c46a
Added support for IP2Location DB3 LITE
2022-05-17 11:22:30 +08:00
zu1k
8078e86156
fix: Geoip lang select
...
Signed-off-by: zu1k <i@zu1k.com>
2022-05-09 14:59:02 +08:00
zu1k
c0643f7731
feat: Database from config
...
Signed-off-by: zu1k <i@zu1k.com>
2022-05-09 14:48:28 +08:00
zu1k
fe9b941746
fix: ZXIPv6 database download #91
2022-04-10 20:19:07 +08:00
zu1k
cf206dcc14
fix: CDN struct tag
...
Signed-off-by: zu1k <i@zu1k.com>
2022-04-03 17:58:26 +08:00
zu1k
fe447a34f8
chore: Update cdn database url
...
Signed-off-by: zu1k <i@zu1k.com>
2022-04-03 17:25:55 +08:00
zu1k
cc95913d0b
docs: Update readme
...
Signed-off-by: zu1k <i@lgf.im>
2022-03-02 12:51:21 +08:00