Nick Peng
c39a7b9b41
dns_cache: optimize dns cache.
2023-08-31 22:32:35 +08:00
Nick Peng
1054229efb
feature: add ip-alias option.
2023-08-16 22:47:47 +08:00
Nick Peng
8a9a11d6d9
log: enable output log to console when run as daemon.
2023-06-16 21:57:39 +08:00
Nick Peng
d59c148a28
smartdns: follow sysv daemon initialize steps
2023-05-30 23:25:25 +08:00
Nick Peng
d3a6d46a44
dns_cache: Support periodically saving cache files
2023-04-29 21:46:48 +08:00
Nick Peng
56d0332bf9
dns: fix crash issue
2023-04-22 19:06:44 +08:00
Nick Peng
0947a8dcab
feature: add per server edns-client-subnet support
2023-04-08 22:14:52 +08:00
Nick Peng
c90a85dfc7
test: add test cases
2023-03-26 00:27:40 +08:00
Nick Peng
4f2867b7f4
server: fix some typo and support auto set cache size
2023-03-21 21:06:32 +08:00
Nick Peng
81ab3f413a
test: add test framework
2023-03-14 00:08:59 +08:00
Nick Peng
f14cf9105d
dns_server: fix create cert failed when run as nobody with bind-tls feature
2023-03-08 21:47:51 +08:00
Nick Peng
c42f98979c
dns_server: support bind tls server
2023-03-07 21:48:20 +08:00
Nick Peng
be71e085ad
dns_conf: fix relative path issue
2023-02-09 21:37:35 +08:00
Nick Peng
13d028df0d
smartdns: bump copyright to 2023, and fix some typo
2023-01-20 00:05:14 +08:00
Nick Peng
5392857539
proxy: Configure proxy options using URI scheme
2023-01-08 03:18:01 +08:00
Nick Peng
83c4901190
proxy: simple add socks5 and https proxy support
2023-01-05 00:27:28 +08:00
Nick Peng
3a1ba73386
log: support disable log
2022-12-14 22:26:45 +08:00
Nick Peng
dad31179d2
DNS: support parser TYPE65 RR.
2022-12-03 14:28:45 +08:00
Nick Peng
85d011eae8
nftset: Remove libnftable dependency
2022-11-15 22:31:34 +08:00
LoveSy
391ef310b4
Simple support for nftables ( #1117 )
...
* Simple support for nftables
Co-authored-by: Chen Zhenge <Mr.ChenWithCapsule@outlook.com >
2022-10-23 19:17:33 +08:00
Nick Peng
ac042e8bee
dns-debug: support record fail packet for debugging
2022-07-31 15:49:10 +08:00
Nick Peng
d223194eff
dns_server: fix crash issue
2022-07-14 22:55:50 +08:00
Nick Peng
a83818c094
code: cleanup lint and extra compile warnings
2022-07-10 10:32:01 +08:00
Nick Peng
4e2161c6fc
conf: optimize badconfig log
2022-07-07 22:49:30 +08:00
Nick Peng
362b7f978f
security: support dropping root, and no root privileges required for ping
2022-07-01 23:37:24 +08:00
Nick Peng
1f07a7ea97
log: make log happy when receiving malformd packet
2022-06-28 22:01:14 +08:00
Nick Peng
dae263444f
Feature: support local host name & ptr resolve.
2022-05-21 11:23:54 +08:00
Nick Peng
92af4c05c0
dns: support domain compress.
2022-04-05 21:21:33 +08:00
Nick Peng
cf34cbc045
tls: remove deprecated API, support openssl 3.0
2022-02-16 20:48:57 +08:00
paldier
a33d09f80b
fix openssl1.1 without 0.9.8 api compile error
...
when `./Configure --api=1.0.0`, we should not use CRYPTO_set_id_callback().
2022-02-15 10:56:40 +08:00
whiler
ba282c8c60
use type uint32_t for timeout
...
Ref. https://github.com/torvalds/linux/blob/master/include/linux/netfilter/ipset/ip_set.h#L268
2021-11-26 17:34:24 +08:00
FH0
cd88dd4854
fix x86_64-linux-gnu-gcc compile error
...
```
util.c: In function ‘parse_uri’:
util.c:389:17: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean ‘AF_MAX’?
389 | char host_name[PATH_MAX];
| ^~~~~~~~
| AF_MAX
util.c:389:17: note: each undeclared identifier is reported only once for each function it appears in
```
2021-09-16 12:00:42 +08:00
Nick Peng
772229c826
fast_ping: Avoid ping race condition crash issue
2021-08-23 14:19:22 +08:00
Nick Peng
7f1dc8a311
utils: Add print_stack function for debugging
2021-08-22 16:01:37 +08:00
Nick Peng
f2fc970561
dns_client: check whether ssl cert is loaded.
2021-01-29 20:37:17 +08:00
Nick Peng
0b45da29c7
cache: support persist cache when restart smartdns
2020-09-05 12:55:30 +08:00
Nick Peng
297ea29639
Client: Fix ssl crash issue.
2020-08-02 01:00:46 +08:00
Nick Peng
304e94bc6f
fast-ping: force send RST after ping finish.
2020-04-19 09:43:47 +08:00
Nick Peng
c824c0abc5
CodeStyle: update clang-format, limite column to 120
2020-03-02 23:45:47 +08:00
Nick Peng
2322a9dbd0
ssl: Stop using deprecated Openssl APIs, by neheb.
2020-01-21 22:48:02 +08:00
Nick Peng
01e4140722
Add license
2019-12-15 01:28:32 +08:00
Nick Peng
044536aef6
optimize tcp connection lag
2019-12-15 01:28:22 +08:00
Nick Peng
fb3b0a7245
disable ping when smartdns run as non-root user
2019-12-15 01:28:15 +08:00
Nick Peng
640efd7b86
Fix tcp local address issue
2019-12-15 01:27:50 +08:00
Nick Peng
87f04571b1
minor optimize
2019-12-15 01:27:44 +08:00
Nick Peng
273c2d5100
Fix lint issue
2019-12-15 01:27:37 +08:00
Nick Peng
44c854dfec
_dns_server_recv function refactoring
2019-12-15 01:27:18 +08:00
Nick Peng
4357847641
Add display version
2019-12-15 01:27:12 +08:00
Nick Peng
ef50ea9c5e
Change rule domain to lowercase
2019-12-15 01:27:03 +08:00
Nick Peng
1e88305df8
Support Delay DNS server bootstrap
2019-12-15 01:26:59 +08:00