Add new telegram DC endpoint (#232)
* Add new telegram DC endpoint Based on: https://github.com/telegramdesktop/tdesktop/blob/65ba81f50409d10f2d592a1594477525d436a3df/Telegram/SourceFiles/mtproto/mtproto_dc_options.cpp * Update internal/engine/experiment/telegram/telegram.go Co-authored-by: Simone Basso <bassosimone@gmail.com>
This commit is contained in:
@@ -112,12 +112,16 @@ func (m Measurer) Run(ctx context.Context, sess model.ExperimentSession,
|
||||
{Target: "http://149.154.175.100/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://149.154.167.91/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://149.154.171.5/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://95.161.76.100/", Config: urlgetter.Config{Method: "POST"}},
|
||||
|
||||
// Note: the following list contains the same endpoints as above with HTTP (not a typo using
|
||||
// https would not work here) _and_ port 443.
|
||||
{Target: "http://149.154.175.50:443/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://149.154.167.51:443/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://149.154.175.100:443/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://149.154.167.91:443/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://149.154.171.5:443/", Config: urlgetter.Config{Method: "POST"}},
|
||||
{Target: "http://95.161.76.100:443/", Config: urlgetter.Config{Method: "POST"}},
|
||||
|
||||
// Here we need to provide the method explicitly. See
|
||||
// https://github.com/ooni/probe-engine/issues/827.
|
||||
|
||||
Reference in New Issue
Block a user