Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed clash-bin/tests/data/config/Country-asn.mmdb
Binary file not shown.
Binary file removed clash-bin/tests/data/config/GeoLite2-ASN.mmdb
Binary file not shown.
31 changes: 0 additions & 31 deletions clash-bin/tests/data/config/anytls.json

This file was deleted.

140 changes: 0 additions & 140 deletions clash-bin/tests/data/config/config.test.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions clash-bin/tests/data/config/dns.yaml

This file was deleted.

34 changes: 9 additions & 25 deletions clash-bin/tests/data/config/empty.yaml
Original file line number Diff line number Diff line change
@@ -1,44 +1,28 @@
---
# Purpose: Minimal base config used by docker integration test helpers.
# Referenced by: clash-lib/src/proxy/utils/test_utils/docker_utils/config_helper.rs

port: 8888
socks-port: 8889
mixed-port: 8899

dns:
enable: true
listen: 127.0.0.1:53533
# ipv6: false # when the false, response to AAAA questions will be empty

# These nameservers are used to resolve the DNS nameserver hostnames below.
# Specify IP addresses only
default-nameserver:
- 114.114.114.114
- 8.8.8.8
enhanced-mode: fake-ip # or fake-ip
fake-ip-range: 198.18.0.1/16 # Fake IP addresses pool CIDR
# use-hosts: true # lookup hosts and return IP record

# Hostnames in this list will not be resolved with fake IPs
# i.e. questions to these domain names will always be answered with their
# real IP addresses
# fake-ip-filter:
# - '*.lan'
# - localhost.ptlogin2.qq.com

# Supports UDP, TCP, DoT, DoH. You can specify the port to connect to.
# All DNS questions are sent directly to the nameserver, without proxies
# involved. Clash answers the DNS question with the first result gathered.
enhanced-mode: fake-ip
fake-ip-range: 198.18.0.1/16
nameserver:
- 114.114.114.114 # default value
- 8.8.8.8 # default value
- tls://dns.google:853 # DNS over TLS
- https://1.1.1.1/dns-query # DNS over HTTPS
- 114.114.114.114
- 8.8.8.8
- tls://dns.google:853
- https://1.1.1.1/dns-query

allow-lan: true
mode: rule
log-level: debug
external-controller: 127.0.0.1:6170
experimental:
ignore-resolve-fail: true

rules:
- MATCH, DIRECT
Loading
Loading