-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.ini.example
89 lines (70 loc) · 2.56 KB
/
config.ini.example
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
78
79
80
81
82
83
84
85
86
87
88
89
[global]
; min log level [default = info]
log_level = debug
########################
### SERVICES ###
########################
[services]
; configure the services advertised by the dummy device
;path to the services description file (realtive to the script or absolute)
description_path = description.xml.example
; part of the USN header
uuid = 58d229f3-c6a8-f888-3f77-edfd55a7a3e0
ssdp_server_header = Linux/i686 UPnP/1.0 DLNADOC/1.50 Platinum/1.0.3.0
upnp_server_header = 'Linux/i686 UPnP/1.0 DLNADOC/1.50 LGE_DLNA_SDK/04.28.17'
; additional headers append to the end of the headers (separate the headers with '\r\n')
; e.g. H1: data1\r\nH2: data2
header_tail = DLNADeviceName.lge.com: [TV][LG]42LA690S-ZB
#### ADDITIONAL VARIABLES: set to their defaults ####
; [default = max-age=1800]
# cache-control = max-age=1800
########################
### SSDP ###
########################
[ssdp]
; IP used as the source ip for unicast responses
source_addr = 10.0.0.1
; url to description XML (e.g. description.xml) on web server host
location_header = http://192.168.1.23:5000/description.xml
#### ADDITIONAL VARIABLES: set to their defaults ####
; [default = 0.0.0.0]
# listen_addr = 0.0.0.0
; the watchdog is logged with 'INFO' level
; in minutes [default = 60]
# watchdog_timeout = 60
; ratelimitig settings [default = true]
# enable_ratelimit = true
; possible variables set number of requests per second[default = 1] / minute [default = 5] / hour [default = 10]
# ratelimit_second = 1
# ratelimit_minute = 5
# ratelimit_hour = 10
########################
### UPNP ###
########################
[upnp]
#### ADDITIONAL VARIABLES: set to their defaults ####
; [default = 0.0.0.0]
# listen_addr = 0.0.0.0
; [default = 1784]
# listen_port = 1784
; 32 * 1024 bytes [default = 32768]
# listen_buffer = 32768
; web server endpoint url (e.g. '/path/to/endpoint') [default = /description.xml]
# listen_description_endpoint = /description.xml
; response type [no = no response, ok = 200 ok, slow_ok = slow 200 ok] [default = no]
; TODO: slow_ok is not implemented yet
# response = no
; max connections per connection thread (should be 1) [default = 1]
# max_connections = 1
; every 'active_conn_timeout' it attempts to log changed number of connections [seconds] [default = 5]
# active_conn_timeout = 5
; timeout of the subscription in seconds [default = Second-1800]
# timeout_header = Second-1800
########################
### SNIFFER ###
########################
[sniffer]
iface = eth0
#### ADDITIONAL VARIABLES: set to their defaults ####
; [default = 1784]
# port = 1784