1import { ProxyHostSecurity } from 'types';
2
3export const proxyHostSecurity: { title: string; value: ProxyHostSecurity }[] =
4 [
5 {
6 title: 'Inbound\'s default',
7 value: 'inbound_default',
8 },
9 {
10 title: 'TLS',
11 value: 'tls',
12 },
13 {
14 title: 'None',
15 value: 'none',
16 },
17 ];
18
19export const proxyALPN: { title: string; value: string }[] = [
20 {
21 title: '',
22 value: '',
23 },
24 {
25 title: 'h2',
26 value: 'h2',
27 },
28 {
29 title: 'http/1.1',
30 value: 'http/1.1',
31 },
32 {
33 title: 'h2, http/1.1',
34 value: 'h2,http/1.1',
35 },
36];
37
38export const proxyFingerprint: { title: string; value: string }[] = [
39 {
40 title: '',
41 value: '',
42 },
43 ...[
44 'chrome',
45 'firefox',
46 'safari',
47 'ios',
48 'android',
49 'edge',
50 '360',
51 'qq',
52 'random',
53 'randomized',
54 ].map((key) => ({ title: key, value: key })),
55];
56
57export const XTLSFlows = [
58 { title: 'none', value: '' },
59 { title: 'xtls-rprx-vision', value: 'xtls-rprx-vision' },
60];
61
62export const shadowsocksMethods = [
63 'aes-128-gcm',
64 'aes-256-gcm',
65 'chacha20-ietf-poly1305',
66];