back?
I dont have one set up
91.108.6.117
Just setup a secret path to accept post requests in your server , where only telegram knows about it .. it will then be the only who can send you data ( legitmate data ) ... to increase security ... that's the ip adresses from tg which you allow post requests from https://core.telegram.org/bots/webhooks#the-short-version
Also you can provide secret_token in setWebhook since 6.1
You can also set an auth username:password and it will get used by Telegram Servers on a Auth http header and the secret_token added on the last update.
so thats also very much wrong, if I dont fully misunderstand IP ranges (rico back me up here, official subnet is 91.108.4.0/22), so I will ping the people on that in a bit
ah didn't knew about it ty
great update then thanks
> You can also set an auth username:password What kind of black magic is that? xD
well you set this url on setWebhook https://user:pass@your.domain.com/a_random_token/ And on your server you'll receive a Basic Auth (if i remember right) header with a base64(user:pass) value.
What do you mean? Your IP above is in the /22 range!
ah, okay, so I was wrong, good
If you need me to read your messages, @ me :D
didnt want to wake you
My phone is on mute 24/7. You literally can't wake me
Yep, 91.108.4.1 - 91.108.7.254 are the ones expected on a 91.108.4.0/22 subnet
Обсуждают сегодня