Commit Graph

41 Commits

Author SHA1 Message Date
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
Nick Peng
01f94b4816 Fix address name too long segment issue 2019-12-15 01:26:50 +08:00
Nick Peng
2d01ed8a04 Support DNS Over HTTPS 2019-12-15 01:26:32 +08:00
Nick Peng
7828f0ec27 code lint and optimize code style 2019-12-15 01:26:01 +08:00
Nick Peng
85b0eed3a2 Support TLS SPKI verify 2019-12-15 01:25:59 +08:00
Nick Peng
0df8c07103 Fix addr to string ip issue 2019-12-15 01:25:57 +08:00
Nick Peng
a1150a7ceb ipset bugfix and add timeout feature 2019-12-15 01:25:46 +08:00
Nick Peng
87d8739ecd Resolve tls mode multi-thread issue. 2019-12-15 01:25:42 +08:00
Nick Peng
3d8155e67b Support ipset feature 2019-12-15 01:24:28 +08:00
Nick Peng
62f331c153 Optimize configuration, and add blacklist ip features 2019-12-15 01:24:26 +08:00
Nick Peng
06bc0b1642 Add address feature 2018-06-26 00:09:11 +08:00
Nick Peng
7e60b9bc72 Add address rule 2018-06-25 00:03:24 +08:00
Nick Peng
5153d6cb51 Add TCP query 2018-06-24 00:05:09 +08:00
Nick Peng
7b62739c13 Add systemd script 2018-06-16 02:36:04 +08:00