-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrust-route-web.json
More file actions
77 lines (77 loc) · 1.68 KB
/
rust-route-web.json
File metadata and controls
77 lines (77 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"router_id": "10.10.10.1",
"interfaces": [
{
"name": "eth0",
"address": "10.10.10.1/24",
"enabled": true,
"cost": 1
},
{
"name": "eth1",
"address": "172.16.0.1/24",
"enabled": true,
"cost": 1
}
],
"rip": {
"enabled": true,
"port": 520,
"update_interval": 30,
"garbage_collection_timeout": 120,
"infinity_metric": 16,
"split_horizon": true,
"poison_reverse": true
},
"ripv6": {
"enabled": false,
"port": 521,
"multicast_address": "ff02::9",
"update_interval": 30,
"garbage_collection_timeout": 120,
"infinity_metric": 16
},
"web": {
"enabled": true,
"bind_address": "0.0.0.0",
"port": 8443,
"auth_enabled": true,
"admin_username": "admin",
"admin_password_hash": "$2b$12$dummy.hash.for.default.config",
"static_dir": "web/static"
},
"auth": {
"enabled": true,
"jwt_secret": "generate-a-secure-64-character-secret-value-here",
"token_expiry_hours": 12,
"max_failed_attempts": 5,
"lockout_duration_minutes": 30,
"require_https": true,
"allowed_origins": [
"https://rustroute.local",
"http://localhost:8443"
]
},
"logging": {
"level": "info",
"file_path": null,
"max_file_size": 10485760,
"max_files": 5,
"console_output": true
},
"metrics": {
"enabled": true,
"collection_interval": 30,
"retention_days": 14,
"export_prometheus": true,
"prometheus_port": 9797
},
"backup": {
"enabled": true,
"interval_hours": 6,
"max_backups": 12,
"backup_directory": "/var/backups/rust-route",
"include_routing_table": true,
"compress": true
}
}