2015-06-11 07:02:30 -05:00
|
|
|
{
|
2016-04-27 09:49:25 -05:00
|
|
|
"servers": {
|
|
|
|
"testServer0": {
|
|
|
|
"min_workers": 10,
|
|
|
|
"max_workers": 50,
|
|
|
|
"priority_workers": 5,
|
|
|
|
"max_clients": 100,
|
|
|
|
"max_anonymous_clients": 100,
|
|
|
|
"keepaliveInterval": 120,
|
|
|
|
"keepaliveCount": 5,
|
|
|
|
"next_client_id": 3,
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"auth": 0,
|
|
|
|
"readonly": true,
|
|
|
|
"nrequests_client_max": 2,
|
|
|
|
"socks": [
|
|
|
|
{
|
|
|
|
"fd": 100,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": 0,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": false,
|
|
|
|
"unlinkUNIX": true
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
|
|
|
]
|
2015-06-11 07:02:30 -05:00
|
|
|
},
|
2016-04-27 09:49:25 -05:00
|
|
|
{
|
|
|
|
"auth": 2,
|
|
|
|
"readonly": false,
|
|
|
|
"nrequests_client_max": 5,
|
|
|
|
"socks": [
|
|
|
|
{
|
|
|
|
"fd": 101,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": 0,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": false,
|
|
|
|
"unlinkUNIX": true
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
|
|
|
]
|
2015-06-11 07:02:30 -05:00
|
|
|
}
|
2016-04-27 09:49:25 -05:00
|
|
|
],
|
|
|
|
"clients": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"auth": 1,
|
2017-12-21 08:29:05 -06:00
|
|
|
"auth_pending": true,
|
2016-04-27 09:49:25 -05:00
|
|
|
"readonly": true,
|
|
|
|
"nrequests_max": 15,
|
|
|
|
"sock": {
|
|
|
|
"fd": 102,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": -1,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": true,
|
|
|
|
"unlinkUNIX": false
|
2018-02-01 09:32:49 -06:00
|
|
|
},
|
|
|
|
"privateData": 1729
|
2016-04-27 09:49:25 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"auth": 2,
|
2017-12-21 08:29:05 -06:00
|
|
|
"auth_pending": true,
|
2016-04-27 09:49:25 -05:00
|
|
|
"readonly": true,
|
|
|
|
"nrequests_max": 66,
|
|
|
|
"sock": {
|
|
|
|
"fd": 103,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": -1,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": true,
|
|
|
|
"unlinkUNIX": false
|
2018-02-01 09:32:49 -06:00
|
|
|
},
|
|
|
|
"privateData": 1729
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"testServer1": {
|
|
|
|
"min_workers": 2,
|
|
|
|
"max_workers": 50,
|
|
|
|
"priority_workers": 5,
|
|
|
|
"max_clients": 100,
|
|
|
|
"max_anonymous_clients": 100,
|
|
|
|
"keepaliveInterval": 120,
|
|
|
|
"keepaliveCount": 5,
|
|
|
|
"next_client_id": 3,
|
|
|
|
"services": [
|
|
|
|
{
|
|
|
|
"auth": 0,
|
|
|
|
"readonly": true,
|
|
|
|
"nrequests_client_max": 2,
|
|
|
|
"socks": [
|
|
|
|
{
|
|
|
|
"fd": 100,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": 0,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": false,
|
|
|
|
"unlinkUNIX": true
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"auth": 2,
|
|
|
|
"readonly": false,
|
|
|
|
"nrequests_client_max": 5,
|
|
|
|
"socks": [
|
|
|
|
{
|
|
|
|
"fd": 101,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": 0,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": false,
|
|
|
|
"unlinkUNIX": true
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"clients": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"auth": 1,
|
2017-12-21 08:29:05 -06:00
|
|
|
"auth_pending": true,
|
2016-04-27 09:49:25 -05:00
|
|
|
"readonly": true,
|
|
|
|
"nrequests_max": 15,
|
|
|
|
"sock": {
|
|
|
|
"fd": 102,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": -1,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": true,
|
|
|
|
"unlinkUNIX": false
|
2018-02-01 09:32:49 -06:00
|
|
|
},
|
|
|
|
"privateData": 1729
|
2016-04-27 09:49:25 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"auth": 2,
|
2017-12-21 08:29:05 -06:00
|
|
|
"auth_pending": true,
|
2016-04-27 09:49:25 -05:00
|
|
|
"readonly": true,
|
|
|
|
"nrequests_max": 66,
|
|
|
|
"sock": {
|
|
|
|
"fd": 103,
|
|
|
|
"errfd": -1,
|
|
|
|
"pid": -1,
|
2019-06-25 14:17:27 -05:00
|
|
|
"isClient": true,
|
|
|
|
"unlinkUNIX": false
|
2018-02-01 09:32:49 -06:00
|
|
|
},
|
|
|
|
"privateData": 1729
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
|
|
|
]
|
2015-08-10 06:01:44 -05:00
|
|
|
}
|
2016-04-27 09:49:25 -05:00
|
|
|
}
|
2015-06-11 07:02:30 -05:00
|
|
|
}
|