Hello,
I am trying to run SBWS on my test Tor network. I have a web server hosted locally using Apache2 where SBWS can download a large file to test the bandwidth of other relays in my network. I configured sbws.ini with the appropriate configuration as follows:
[scanner]
nickname = sbws
country = US
[destinations]
foo = on
[destinations.foo]
url = http://<local IP address>
verify = False
country = ZZ
max_num_failures = 3
[tor]
datadir = /var/lib/tor
external_control_port = 9151
When I try to run SBWS I get the following error: destinations.foo/url (http://<local IP address>): Not a valid url (URL scheme must be HTTPS (except for the test server))
According to the SBWS documentation found here, I should be able to use a URL with HTTP or HTTPS, so I am unsure why I am getting this error.
Is this a known bug, or is there another configuration option I must include in sbws.ini to allow for the use of HTTP?
Hello,
I am trying to run SBWS on my test Tor network. I have a web server hosted locally using Apache2 where SBWS can download a large file to test the bandwidth of other relays in my network. I configured sbws.ini with the appropriate configuration as follows:
[scanner]
nickname = sbws
country = US
[destinations]
foo = on
[destinations.foo]
url = http://<local IP address>
verify = False
country = ZZ
max_num_failures = 3
[tor]
datadir = /var/lib/tor
external_control_port = 9151
When I try to run SBWS I get the following error: destinations.foo/url (http://<local IP address>): Not a valid url (URL scheme must be HTTPS (except for the test server))
According to the SBWS documentation found here, I should be able to use a URL with HTTP or HTTPS, so I am unsure why I am getting this error.
Is this a known bug, or is there another configuration option I must include in sbws.ini to allow for the use of HTTP?
thank you for reporting this. It is a bug in the documentation that was not known and we have just solved [0].
sbws will only accept an http URL for the IP 127.0.0.1 as destination to be able to run the integration tests.
You can see the sbws.ini for the integration tests [1] and the HTTP test server running on 127.0.0.1 [2].
If you intend to only measure a set of relays in the same local network, sbws will not work for that becasue it creates circuits randomly and needs a Web server running on a public IP.
However you can see what the directory authorities running sbws measured for your relays in the “Bandwidth Files” at collector [3].
You can see how bandwidth scanners work at this blog post [4]