News for hackers. Stuff that matters.
Re:Egypt Blocks Access to Telegram by ignoramous on Friday October 23, 2020 @03:46AM (#24866983)
> Egyptian authorities have blocked access to IP addresses of the application.

Good thing that the Telegram client supports proxying traffic over SOCKS5 and MTProto (custom protocol). On the server-side, in the past, they successfully employed domain-fronting and recycling through multiple IPs to bypass the Russian firewall.

The client does its own DNS resolution over HTTPS and so DNS blocks are already ineffective.

Re:Egypt Blocks Access to Telegram by grishka on Friday October 23, 2020 @10:08AM (#24869644)
It's also capable of masking its proxy traffic as TLS. This works so well you could actually have a web server behind it that would still work through the same port for a regular TLS client.
Re:Egypt Blocks Access to Telegram by vbezhenar on Friday October 23, 2020 @12:21PM (#24871110)
You can also achieve it with something like sslh and use ssh, https, OpenVPN on the same port. Pretty cool thing. But probably vulnerable to DPI.
Re:Egypt Blocks Access to Telegram by qwerty456127 on Friday October 23, 2020 @04:28AM (#24867188)
> It is noteworthy that last September “Masaar” had published a web page declaring that the authorities have blocked 596 websites and 32 alternative links since May 2017.

It is even more noteworthy that the Masaar site by the link says they blocked 116 news sites, 349 anonymization sites, 6 e-commerce sites, 11 culture sites, 8 blogging platforms etc and... just one terrorist site :-)

Re:Egypt Blocks Access to Telegram by s_dev on Friday October 23, 2020 @08:31AM (#24868748)
I would normally opt for Signal because it's open source. This is inherently more trustworthy.

The fact that so many authoritarian governments ban/are hostile to Telegram suggests they actually do have some integrity.

Re:Egypt Blocks Access to Telegram by _brde on Friday October 23, 2020 @09:22AM (#24869176)
Your comment is misleading: Telegram is open source (Desktop, iOS, Android), but the server isn't. It would certainly be nice to run your own Telegram server, sure.

IMHO the only good argument against Telegram is that direct messages don't use end-to-end encryption by default.

Re:Egypt Blocks Access to Telegram by ivanbakel on Friday October 23, 2020 @09:34AM (#24869286)
In what way is the comment misleading? While "Telegram" might refer to "the Telegram app" or "the Telegram service", when talking about open-source, it nearly always refers to the service. Of the two, the source of the central server is arguably much more important, since it's possible to at least track if the app tries to exfiltrate any data.
Re:Egypt Blocks Access to Telegram by eznzt on Friday October 23, 2020 @12:26PM (#24871161)
The source of the central server is useless since if they release it there is no way to prove they are running the same software on their servers.
Re:Egypt Blocks Access to Telegram by NateEag on Friday October 23, 2020 @03:55PM (#24873270)
Signal has a fascinating blog post from 2017 about how to use Intel's Software Guard Extensions (SGX) to actually let clients confirm that the software they're communicating with is the exact version they expect it to be.

https://signal.org/blog/private-contact-discovery/

SGX is definitely not bulletproof (https://medium.com/@maniacbolts/signal-increases-their-relia...), but it exists to do exactly this job, and Signal is using it.

Re:Egypt Blocks Access to Telegram by ivanbakel on Friday October 23, 2020 @12:32PM (#24871214)
The source isn't "useless", it allows you to run your own server.
Re:Egypt Blocks Access to Telegram by romwell on Friday October 23, 2020 @02:03PM (#24872144)
Yeah, and then you need to modify the client to use that server, have everyone you communicate with install that client, and also not brand it as "Signal" because it has nothing to do with the Signal network anymore, and you can't communicate with "regular" Signal users.

So, from the point of view of anyone using the Signal service, the utility of the source is near-useless.

Re:Egypt Blocks Access to Telegram by leetcrew on Friday October 23, 2020 @12:44PM (#24871343)
in this case, shouldn't the client code be enough to show that bona fide E2E is happening?
Re:Egypt Blocks Access to Telegram by input_sh on Friday October 23, 2020 @09:33AM (#24869284)
...except Telegram X, their alternative Android client.

> IMHO the only good argument against Telegram is that direct messages don't use end-to-end encryption by default.

I'd add two more:

1. End-to-end encryption being device-specific. Example: if you start a secret chat from your phone, you can't view it on your other devices. Other end-to-end encrypted solutions don't have this drawback.

2. End-to-end encryption being available only in one-to-one communications. Take this with a grain of salt, but I don't think it's available at all in group chats and channels.

Re:Egypt Blocks Access to Telegram by leetcrew on Friday October 23, 2020 @11:29AM (#24870498)
taken individually, these all seem like minor nitpicks. but together, they make for a pretty high-friction E2E experience on telegram. the first time I try to have a "secret chat" with someone, it's often the first time they realize that telegram isn't E2E by default or that it even has that feature! I have to wonder about the design decisions made here. it seems pretty obvious that the combination of limitations is going to result in the vast majority of messages not being E2E. in practice, "secret chat" on telegram is only worth the trouble when both participants understand they are doing something shady.
Re:Egypt Blocks Access to Telegram by vbezhenar on Friday October 23, 2020 @12:19PM (#24871090)
For me device-limited E2E is actually a feature as I'm sure that no kind of weird sync stuff will leak my data from the device.
Re:Egypt Blocks Access to Telegram by eznzt on Friday October 23, 2020 @02:51PM (#24872576)
Also, E2E chats are not available on the desktop version of Telegram.
Re:Egypt Blocks Access to Telegram by ffpip on Saturday October 24, 2020 @02:10AM (#24877313)
Telegram X is made by a different unofficial dev. Telegram has an open API. You can build your own clients.
Re:Egypt Blocks Access to Telegram by input_sh on Saturday October 24, 2020 @02:56AM (#24877470)
It's published by Telegram LLC on Google Play. Can't be more official than Telegram itself distributing it.
Re:Egypt Blocks Access to Telegram by ffpip on Saturday October 24, 2020 @05:53AM (#24878089)
Telegram's official dev account is 'Telegram FZ-LLC'.

https://play.google.com/store/apps/developer?id=Telegram+FZ-...

Telegram X is not the official version.It is an unofficial client for testing design and app speed. It has a different UI

Re:Egypt Blocks Access to Telegram by marianov on Friday October 23, 2020 @12:39PM (#24871300)
What makes opposition movements adopt telegram? What's the key feature that makes them adopt it instead of WhatsApp or Signal? People are not crypto nerds by default, so there must be a simpler answer.
Re:Egypt Blocks Access to Telegram by Canada on Friday October 23, 2020 @04:29PM (#24873728)
Think of it like a big public message forum. Technically it works like one: You post messages and they're stored on the server and served up to everyone else at any point in the future. It's perfect for coordinating big groups of strangers.

It has a good reputation for refusing to kick people off when governments demand it. Although accounts are tied to phone numbers it doesn't show them by default and users can choose a unique username, so unlike WhatsApp or Signal it's easy to recognize the pseudo anonymous identity of people you don't know. It's much easier for many people to use than Twitter.

When running an opposition movement it doesn't matter if there's no encryption. Since you are open to the public your adversaries are going to be in your groups anyway. Another bonus is that most of your followers aren't already using it, which makes them more free to act. If a different messenger is popular in your country you might not want to tie the long held account that everyone in real life knows you as to your freedom fighting activity.

Re:Egypt Blocks Access to Telegram by boomboomsubban on Friday October 23, 2020 @01:28PM (#24871809)
There isn't necessarily am answer at all. As these people aren't cryotonerds they likely just use the first one their associates use. Telegram was one of the earliest e2e encrypted chats to gain some notoriety as a means to avoid surveillance, and the publicity from that and countries banning it provide advertising others lack.
Re:Egypt Blocks Access to Telegram by agumonkey on Friday October 23, 2020 @01:25PM (#24871785)
Or is it just a matter of market share ? lots of people use telegram, it's encrypted, 'strict' government decides to block it because they don't know much else about the field.

Let's see how long until they hear about signal

Re:Egypt Blocks Access to Telegram by jjones2 on Friday October 23, 2020 @09:53AM (#24869490)
I wouldn't trust Signal for the sole fact that the USG promotes its use. Think CryptoAG and how hostile Swiss law is to data privacy. Kids seem to think just because they were once known for banking secrecy doesn't mean they treat data the same way (they don't).
Re:Egypt Blocks Access to Telegram by junon on Friday October 23, 2020 @11:20AM (#24870388)
Nevermind that Signal is entirely open source and has been openly audited several times. Lol.
Re:Egypt Blocks Access to Telegram by Frondo on Friday October 23, 2020 @02:07PM (#24872176)
As others have pointed out, we users of Signal have no way of verifying that the code running on the server we connect to is the code they've released.

We are very much trusting the Signal team to do what they're saying (not logging, not leaking) and to make no mistakes in doing it (not logging accidentally, not leaking accidentally).

Which is in general a fair trade-off, but it is very much a trade-off, open audits notwithstanding.

Re:Egypt Blocks Access to Telegram by NateEag on Friday October 23, 2020 @03:57PM (#24873298)
As I pointed out elsewhere in the thread, Signal uses SGX to let clients confirm exactly what version of the contact discovery server software they're running against:

https://signal.org/blog/private-contact-discovery/

It's not bulletproof by any means (https://signal.org/blog/private-contact-discovery/ goes into this, and also points out several features they've used SGX for since), but it's certainly something, and they're doing it.

Re:Egypt Blocks Access to Telegram by junon on Friday October 23, 2020 @03:56PM (#24873287)
Where does Signal prevent you from using your own server? Spin up your own and use it if you'd like.

https://github.com/signalapp/Signal-Server

Re:Egypt Blocks Access to Telegram by aorth on Friday October 23, 2020 @12:42AM (#24866108)
On a related note, people should download and run OONI Probe to monitor and record censorship on networks around the world. OONI Probe has tests for Telegram and WhatsApp, as well as middle boxes, blocked websites, etc.
Re:Egypt Blocks Access to Telegram by ignoramous on Friday October 23, 2020 @03:33AM (#24866908)
Re:Egypt Blocks Access to Telegram by diggan on Friday October 23, 2020 @08:49AM (#24868891)
Short quick start for the lazy ones (also, no Electron so everyone rejoices):

  $ wget https://github.com/ooni/probe-cli/releases/download/v3.0.8/ooniprobe_v3.0.8_linux_amd64.tar.gz
  $ # sha512 => 4f215347022028cf5328446d15e59f2141d1a41e59110c0b85c67b711953d115  ooniprobe_v3.0.8_linux_amd64.tar.gz
  $ tar xfv ooniprobe_v3.0.8_linux_amd64.tar.gz
  $ # Move to $PATH
  $ mv ooniprobe ~/bin
  $ # Add crontab to run daily
  $ (crontab -l 2>/dev/null; echo "$(( ( RANDOM % 60 )  + 1 )) $(( ( RANDOM % 24 )  + 1 )) * * * ooniprobe run") | crontab -
Mostly just stolen directly from the readme of the CLI probe: https://github.com/ooni/probe-cli#ooni-probe-cli

Also, make sure you're not on a network where someone will report you for visiting the "wrong" websites. It does requests to a lot of websites you don't want to be caught with in your history.

Re:Egypt Blocks Access to Telegram by d0mine on Saturday October 24, 2020 @11:48AM (#24879909)
Why can't it be just

  $ curl -L https://ooni.org/install | sh
similar to https://nixos.org/download.html#nix-quick-install
Re:Egypt Blocks Access to Telegram by diggan on Sunday October 25, 2020 @07:06AM (#24885385)
That'd be a great addition! Give it a try and implement it: https://github.com/ooni/probe-cli/new/master

Don't forget to think about all the different OSes and the way the handle scheduling!

Re:Egypt Blocks Access to Telegram by encom on Friday October 23, 2020 @04:24AM (#24867165)
Saved you a click: It's an Electron app.
Re:Egypt Blocks Access to Telegram by aorth on Friday October 23, 2020 @06:47AM (#24868071)
Oh! I had no idea it there was an Electron app for desktop. I've been using it on Android for years. I make a point to run it on wireless and mobile connections in every country I travel on. Also, I've made pull requests to https://github.com/citizenlab/test-lists with new URLs that are blocked in certain countries when I find them.
Re:Egypt Blocks Access to Telegram by 0xdeadb00f on Friday October 23, 2020 @05:09AM (#24867406)
Memes aside: thanks, you really did save me a click.
Re:Egypt Blocks Access to Telegram by hiq on Friday October 23, 2020 @06:33AM (#24867971)
There's an open-source Android app which is published on F-Droid.
Re:Egypt Blocks Access to Telegram by janandonly on Friday October 23, 2020 @04:45AM (#24867268)
Does it matter what platform it is build on?
Re:Egypt Blocks Access to Telegram by encom on Friday October 23, 2020 @05:05AM (#24867372)
To me, yes. I avoid Electron like the plague. I know others feel the same way, so think of it as community service.

Javascript-on-desktop arguments are probably already taking up gigabytes of space in the HN database, so I'll just say it's for all the usual reasons.

Re:Egypt Blocks Access to Telegram by jorvi on Friday October 23, 2020 @02:39PM (#24872472)
It’s not JavaScript-on-desktop that’s the problem- this was a suspicion often cast at Gnome’s bad performance, until Canonical got involved, started fixing performance issues, and it was discovered that most of those issues stemmed from inefficient waits and stuff. The reason why Electron apps gets such a bad rap (and I fully agree, I hate them too) is because they carry basically an entire Chromium with them in addition to whatever you wanted to accomplish. HN is pretty split on Electron afaik because whilst it killed native apps for Windows and Mac, it has brought a lot of them to Linux.
Re:Egypt Blocks Access to Telegram by encom on Friday October 23, 2020 @05:14PM (#24874257)
Precisely. I would hate Electron less, if it shipped as a runtime like Java. Though I still think shoehorning web tech onto the desktop is stupid.
Re:Egypt Blocks Access to Telegram by aquadrop on Friday October 23, 2020 @08:26AM (#24868717)
There's also a lot of people who don't feel the same way and I think you know it. So probably no need for "saved the click" part in your community service.
Re:Egypt Blocks Access to Telegram by ad404b8a372f2b9 on Friday October 23, 2020 @01:25PM (#24871786)
People not liking electron isn't an affront to the people who do. Let's not police people's speech.
Re:Egypt Blocks Access to Telegram by cbluth on Friday October 23, 2020 @07:44AM (#24868421)
youd be surprised how well text compresses
Re:Egypt Blocks Access to Telegram by titanomachy on Friday October 23, 2020 @11:47AM (#24870736)
Especially text with a lot of repetition.
Re:Egypt Blocks Access to Telegram by qwerty456127 on Friday October 23, 2020 @04:14AM (#24867115)
So I'm probably not going to Egypt as Telegram is the main (in fact - the only) way communicate to members of my family remotely.
Re:Egypt Blocks Access to Telegram by dirtnugget on Friday October 23, 2020 @07:22AM (#24868290)
There are plenty of ways to proxy the traffic. Apparently Telegram has it built in but for anything else I usually use ProtonVPN
Re:Egypt Blocks Access to Telegram by dhoe on Friday October 23, 2020 @10:47AM (#24870030)
ProtonVPN uses OpenVPN, right? That's been blocked in Egypt for some time. I had good success with Wireguard, which they didn't block (as of a year ago).
Re:Egypt Blocks Access to Telegram by dirtnugget on Friday October 23, 2020 @11:19AM (#24870380)
Really? Last time I was there around a year ago I was able to connect Proton.

I believe the paid plan of ProtonVPN also offers TOR connections. Not a specialist on this, though.

Re:Egypt Blocks Access to Telegram by tinus_hn on Friday October 23, 2020 @07:36AM (#24868373)
The traffic over your phones data connection is encrypted and routed directly through your provider in your own country. So these filters don’t affect it.
Re:Egypt Blocks Access to Telegram by mnd999 on Friday October 23, 2020 @08:48AM (#24868888)
Typically the way to prevent people doing this is to make data roaming charges astronomically high.
Re:Egypt Blocks Access to Telegram by tinus_hn on Friday October 23, 2020 @09:53AM (#24869485)
Data roaming charges are not set by governments. It’s not even necessary because typically the economies of countries that desire this kind of control are so bad getting a subscription abroad is not affordable for common people anyway.
Re:Egypt Blocks Access to Telegram by mnd999 on Saturday October 24, 2020 @05:57AM (#24878108)
They’re not directly set by governments. But governments have a lot of influence over how mobile providers operate and, depending on government in question (e.g. China), if you want to keep your license you better do as you’re told.
Re:Egypt Blocks Access to Telegram by janandonly on Friday October 23, 2020 @04:48AM (#24867286)
So when will chat apps finally adapt to using TOR or I2P or Scuttlebut or any protocol that can not so easily be blocked?
Re:Egypt Blocks Access to Telegram by deepstack on Friday October 23, 2020 @07:06AM (#24868180)
Unfortunately unless there are financial incentive to do that it will not be adopted. Maybe try to get the porn industry to adopt these services first, maybe others will follow.
Re:Egypt Blocks Access to Telegram by ffpip on Friday October 23, 2020 @07:16AM (#24868249)
Telegram has proxies built in. You can activate it with a tap.
Re:Egypt Blocks Access to Telegram by approxim8ion on Friday October 23, 2020 @02:36PM (#24872448)
Briar[1] supports Tor and works really well, but at the moment is limited to text-only chats.

1: https://briarproject.org/

Re:Egypt Blocks Access to Telegram by arminiusreturns on Friday October 23, 2020 @10:54AM (#24870101)
This reminded me of something I hadn't thought of in a long time. In the earlier days of bitcoin, there was a chat app that was using encrypted messages on the blockchain... I just spent ~5mins searching for it but can't remember the actual name. Is there anything else using the blockchain for chat?
Re:Egypt Blocks Access to Telegram by dmantis on Friday October 23, 2020 @11:36AM (#24870585)
I think you talk about bitmessage. It doesn't use blockchain, though, which is kinda useless, there is no need to store messages permanently without the way to remove them.

These systems mostly use blockchain as PKI or similar to bitcoin mempools with public crypto, but not store messages on blockchain.

Re:Egypt Blocks Access to Telegram by arminiusreturns on Friday October 23, 2020 @12:02PM (#24870907)
Ah yes, seems I was misremembering. Thanks for the info.
Re:Egypt Blocks Access to Telegram by emptysongglass on Saturday October 24, 2020 @09:19AM (#24879020)
Could it have been Status? [1]

[1] https://status.im/private-messenger/

Re:Egypt Blocks Access to Telegram by KoftaBob on Friday October 23, 2020 @11:34AM (#24870568)
Why don't messaging apps like Telegram use P2P, wouldn't that make it much harder to "block" people from using it, if the connection is directly between two devices?
Re:Egypt Blocks Access to Telegram by ajconway on Friday October 23, 2020 @02:39PM (#24872473)
Leaving aside the fact that p2p is certainly not feasible in mobile devices, something being p2p or federated does not improve the service's ability to evade censorship.

How would you block a p2p network like TOR? Just ban all the entry points. You can use proxies to access those, but then you can use the same proxies to access a centralized service.

How do you ban a federated network like Matrix or e-mail? Ban all the servers you can find, then you're back to proxies.

Re:Egypt Blocks Access to Telegram by KoftaBob on Friday October 23, 2020 @10:11PM (#24876347)
Why isn’t P2P chat feasible for mobile devices? Genuinely curious.
Re:Egypt Blocks Access to Telegram by ajconway on Saturday October 24, 2020 @03:32AM (#24877589)
Apps on mobile devices are generally unable to maintain network connections while not in focus.
Re:Egypt Blocks Access to Telegram by KoftaBob on Tuesday October 27, 2020 @09:41AM (#24907294)
Is this due to the nature of iOS and Android and them not allowing apps to do that, or is there another limitation at play here?
Re:Egypt Blocks Access to Telegram by ajconway on Tuesday October 27, 2020 @04:17PM (#24911351)
iOS does not allow apps to be kept alive in background at all. On Android you can (mostly) keep an app open in background, but you should not, as it affects battery life.

Of course, another issue is that no device is always online, so you can't base the system entirely on devices communicating with each other peer-to-peer. You want to at least have supernodes. When you do, it effectively becomes a "dynamic federated network".

Re:Egypt Blocks Access to Telegram by smegcicle on Friday October 23, 2020 @12:48AM (#24866126)
I remember reading something about a ban-evading technology that telegram used, that 'happened' to be ready just in time for russia to 'ban' it two years ago?
Re:Egypt Blocks Access to Telegram by coolspot on Friday October 23, 2020 @01:28AM (#24866274)
As I recall it, telegram was indeed banned, and was coming on and off line as it jumped servers among major cloud providers, resulting in major part of AWS and Azure IPs being banned as a collateral damage.

Then Telegram team came up with smart improvements to the protocol, like delivering individual IPv6 endpoint for each user via invisible push notifications.

https://www.theverge.com/2018/4/17/17246150/telegram-russia-...

https://www.reuters.com/article/us-russia-telegram-ipaddress...

Re:Egypt Blocks Access to Telegram by stareatgoats on Friday October 23, 2020 @03:41AM (#24866955)
> 'happened' (...) 'ban'

I'd like to understand the use of inverted commas here, as if things were not what they seemed. What gives?

Re:Egypt Blocks Access to Telegram by smegcicle on Friday October 23, 2020 @04:44PM (#24873916)
the idea is that telegram is controlled opposition, with russia making a big show of banning it (ip blocking hugh suafs of aws) just in time for countermeasures to be completed

other background is that telegram was started by the same guy who founded vkontakt, russia's facebook, and that it advertises itself as having secure e2e chats, which are not default and are difficult to use

Re:Egypt Blocks Access to Telegram by sschueller on Friday October 23, 2020 @06:04AM (#24867753)
Is whatsapp blocked? If not, the question is why since that is supposed to be end to end encrypted.
Re:Egypt Blocks Access to Telegram by PopeDotNinja on Friday October 23, 2020 @06:20AM (#24867878)
I have no idea how the block works, but I learned that WhatsApp video calls are blocked in the United Arab Emirates, along with almost every other video chat app. There’s a UAE sponsored app called Totok that works, although it is/was removed from the Apple Store for privacy reasons. Recently they started allowing Zoom calls to go through.

Further reading:

https://www.cnbc.com/2020/03/26/coronavirus-lockdown-uae-res...

Re:Egypt Blocks Access to Telegram by hiq on Friday October 23, 2020 @06:32AM (#24867965)
It's better to ask why Telegram was blocked, and I think it's often been because of their channels:

https://telegram.org/tour/channels

In this case it's more relevant to ask why Twitter or Facebook haven't been blocked (if they haven't).

I think WA has a similar feature ("broadcast") but not as widely used (since it is limited to 256 people).

Re:Egypt Blocks Access to Telegram by smileybarry on Friday October 23, 2020 @12:51PM (#24871424)
WhatsApp broadcasts act a little differently than Telegram channels; they end up as normal messages in a 1-on-1 chat with each recipient (with a megaphone icon next to it), so it's not something you can join or even have as a separate section.

WhatsApp groups can be set to act like channels, however, by changing permissions to allow just group admins to send messages.

Re:Egypt Blocks Access to Telegram by ddingus on Friday October 23, 2020 @12:59PM (#24871496)
This.

Channels are pretty much news feeds of note.

And they scale from a community, through to global classes of people.

[dead]
Re:Egypt Blocks Access to Telegram by JumpCrisscross on Friday October 23, 2020 @03:41AM (#24866949)
> this is nothing

Misery isn’t finite. The situation in Kashmir isn’t lessened by that in Egypt. This kind of off topic mud slinging is a terrible way to build support for a cause.

Re:Egypt Blocks Access to Telegram by 2Gkashmiri on Friday October 23, 2020 @05:09AM (#24867403)
not mud slinging. i should have put a "/s" at the end if you didn't get it in the first instance. sigh