mirror of https://github.com/dnomd343/ClearDNS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
818 B
37 lines
818 B
2 years ago
|
#ifndef CONSTANT_H_
|
||
|
#define CONSTANT_H_
|
||
2 years ago
|
|
||
|
#define VERSION "1.3.0-dev"
|
||
|
|
||
|
#define TRUE 1
|
||
|
#define FALSE 0
|
||
|
|
||
|
#define DNS_PORT 53
|
||
|
#define ADGUARD_PORT 80
|
||
|
#define DIVERTER_PORT 5353
|
||
|
#define DOMESTIC_PORT 4053
|
||
|
#define FOREIGN_PORT 6053
|
||
|
|
||
|
#define DIVERTER_TIMEOUT 6
|
||
|
|
||
|
#define ADGUARD_USER "admin"
|
||
|
#define ADGUARD_PASSWD "adguard"
|
||
|
|
||
|
#define DNSPROXY_BIN "dnsproxy"
|
||
|
#define OVERTURE_BIN "overture"
|
||
|
#define ADGUARD_BIN "AdGuardHome"
|
||
2 years ago
|
#define ASSETS_PKG "/assets.tar.xz"
|
||
2 years ago
|
|
||
|
#define EXPOSE_DIR "/cleardns/"
|
||
2 years ago
|
#define WORK_DIR "/etc/cleardns/"
|
||
2 years ago
|
#define ASSETS_DIR "/cleardns/assets/"
|
||
|
#define ADGUARD_DIR "/cleardns/adguard/"
|
||
|
|
||
|
#define ASSET_TTL "ttl.txt"
|
||
|
#define ASSET_HOSTS "hosts.txt"
|
||
|
#define ASSET_GFW_LIST "gfwlist.txt"
|
||
|
#define ASSET_CHINA_IP "china-ip.txt"
|
||
|
#define ASSET_CHINA_LIST "chinalist.txt"
|
||
|
|
||
|
#endif
|