Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 2y ago · link · parent

> Also I can tell for certain that with right index grepping tons of JSONs can be very effective on any modern devices.

But to run local search you need to download the conversations to device first which might require lot of (expensive) traffic.

comment 2y ago · link · parent

Grep is inefficient search engine, because it needs to scan through whole content (and Telegram uses search indexes). Also, grep cannot deal with words forms and inflections (you type "foot" and you also want to find "feet"). Inflections are not very important in English, but you need to deal with them in other languages where the word can have many forms.

comment 2y ago · link · parent

Apple could also use E2E for their cloud backups by default, but they don't (and if you enable E2E, it doesn't apply to contact list and calendar backup anyway). Why do you demand more from Telegram than from Apple or Google?

comment 2y ago · link · parent

Looks like an easy task, even your granny can do it.

comment 2y ago · link · parent

And even "advanced" protection is not advanced enough to protect your calendar and contact list from the government (under silly excuse that Apple uses standard protocols for those data).

comment 2y ago · link · parent

If that is the correct default then why Telegram is blamed for having non-E2E chats by default? Maybe they also care about users who can accidentally lose their conversations. When Apple does it, it is good, but when Telegram or TikTok do the same, it is bad and not secure.

comment 2y ago · link · parent

Many companies in the industry mislead users about encryption and just try to use it as a buzzword to attract customers. Take Apple, as example. Apple cloud backups are not E2E encrypted by default (like Telegram chats), and even if you opt into E2E encryption, contact list and calendar won't be E2E encrypted anyway [1].

Yet, Apple tries to create an image that iPhone is a "secure" device, but if you use iCloud, they can give your contact list to government any time they want.

Apple by default doesn't use E2E for cloud backups, and Telegram doesn't use E2E for chats by default. So Telegram has comparable level of security to that of the leaders of the industry.

[1] https://support.apple.com/en-us/102651

comment 2y ago · link · parent

> It's a messaging app that took in the function of a social media platform. It did so without robust security features like end-to-end encryption yet it advertised itself as heavily encrypted.

Do you want to say that social networks must implement E2E? Personally I think it is a good idea, but existing social networks and dating apps do not implement it so Telegram is not obliged to do it as well.

As for promises of security, everybody misleads users. Take Apple. They advertise that cloud backups are encrypted, but what they don't like to mention is that by default they store the encryption keys in the same cloud, and even if the user opts into "advanced" encryption, the contact list and calendar are still not E2E encrypted under silly excuse (see the table at [1]). If you care about privacy and security you probably should never use iCloud in the first place because it is not fully E2E encrypted. Also note, that Apple doesn't even mention E2E in user interface and instead uses misleading terms like "standard encryption".

This is not fair. Apple doesn't do E2E cloud backups by default and nobody cares, phone companies do not encrypt anything, Cloudflare has disabled Encrypted Client Hello [2], but every time someone mentions Telegram, they are blamed for not having E2E chats by default. It looks like the bar is set different for Telegram compared to other companies.

[1] https://support.apple.com/en-us/102651

[2] https://developers.cloudflare.com/ssl/edge-certificates/ech/

comment 2y ago · link · parent

I think this might be not an address belonging to the scammer, but an address of an exchange or something like that. Why would he write his address in clear text.

comment 2y ago · link · parent

If it is illegal, why cops don't use this function? They actually should be grateful to Telegram for making it easier to find crimes.

comment 2y ago · link · parent

I am curious, is the rise of violent crime somehow linked with migration from Asia and Africa or it is a completely unrelated issue and most of the criminals come from families who have lived in Sweden for many generations?

comment 2y ago · link · parent

> In the case of violations of other criminal offenses,

"other offences" probably means copyright issues?

comment 2y ago · link · parent

You can start with studying research work about Chinese firewall to get the idea how DPI usually works [1]. Then you can start up a Wireshark and try sending different packets and see which are blocked and which pass through, or experiment with modifying VPN packets to make them pass through.

To experiment with this you need to buy a VPS abroad.

If you don't want to do that then you can search for existing utilities like: GoodbyeDPI, XRay/reality, AmneziaVPN etc.

[1] https://gfw.report/publications/usenixsecurity23/en/

comment 2y ago · link · parent

It also looks like the contract requires the user to deposit 0.4 ETH for it to work.

comment 2y ago · link · parent

Actually, there is "commercial grade internet" at least in my country. The main difference is that it is several times more expensive, and in the office buildings the owner doesn't allow ISPs with cheaper "residential" plans.

comment 2y ago · link · parent

Wireguard connection starts with an UDP datagram starting with bytes 1, 0, 0, 0 if I am not making a mistake, so it can be easily detected by DPI unless you apply some "tricks". Of course I understand that you can use you own version of protocol where these values are changed.

comment 2y ago · link · parent

My observation is that if you use a tunnel not for VPN (which typically uses one long connection) but for a SOCKS proxy (which requires a new connection for every proxied connection) then the timings strongly resemble real HTTPS timings.

comment 2y ago · link · parent

Do you have any confirmation for what you are claiming? E.g. the claim that all ISPs simultaneously voluntarily decided to throttle Youtube to reduce foreign traffic? It seems to me that you either don't know the details or are simply trolling.

> It's not banned, it's throttled because google kept abusing backbone networks once their CDNs had started to burn down and claiming that this is totally fine and fixable with direct BGP peerings with ISPs (yeah, right)

> It works just fine on mobile internet connection where traffic shaping is an inherent feature and it only works like shit on broadband where ISPs are only capable of sending TCP RST once the queue is over the limit.

This is not true. The connections to googlevideo are throttled by government-operated DPI, not by ISPs. You can verify this by sending following request from a Russian residential or mobile IP address to a Russian hosting provider Selectel:

    curl --connect-to ::speedtest.selectel.ru https://manifest.googlevideo.com/100MB -k -o/dev/null  
The request above is not send to Youtube, it doesn't even leave Russia, but it will be throttled because curl uses "googlevideo.com" in SNI field in ClientHello TLS record. DPI detects the SNI and drops the packets. The download speed will be very low, in the range of kilobytes/sec. However, if you remove googlevideo.com domain from SNI and write

    curl https://speedtest.selectel.ru/100MB -k -o/dev/null  
Then the file will be downloaded at full speed, megabytes/sec. It is a request to the same host, to the same IP address, but it is not throttled anymore.

Also the information about mobile connection not being throttled is outdated and incorrect. Nowadays mobile connections are throttled as well.

The information that all ISPs voluntarily decided to throttle Youtube is implausible. Why would they throttle the speed to allow their competitors to lure away their clients?

comment 2y ago · link · parent

This article [1] says:

> Reporting a channel

> Open Telegram > Open channel > Select channel name (top) > Report > Select the report reason

> If you need to report content by email

> Address it to abuse@telegram.org with a subject like “Report user @username”

In desktop app you can simply click right button on the message or click three-dots menu in the top bar and there will be an option for report.

[1] https://netsafe.org.nz/social-media-safety/telegram

comment 2y ago · link · parent

As I understand, this protocol is used between an iPhone and iCloud and it being open or not doesn't change anything because there is no alternative iCloud or iPhone.

comment 2y ago · link · parent

You can see that most functions deal with converting hex strings to bytes or parsing utf-8 despite their name. For example, checkLiquidity seems to just convert hex representation to binary and not what its name says.

comment 2y ago · link · parent

I wonder, is there a "string-like interface" in Rust or one has to rewrite all the code when changing string implementation? Also if you want to change implementation in half of the code, is there automatic convertion between implementations?

comment 2y ago · link · parent

No, and other sites seem to not support it. This is a list of top 10 000 sites and it seems that virtually nobody supports this TLS extension: https://divested.dev/misc/ech.txt .

comment 2y ago · link · parent

Sorry for whataboutism, but Apple does the same thing. It claims in advertising that all cloud backups are "encrypted", but if you dig deeper, "encrypted" means "encrypted with a key that is stored in the cloud" (see the table in [1]). Apple also (exactly like Telegram) requires you to opt-in for E2E encryption of backups, it is not enabled by default and even in this case contact list backup do not support E2E encryption.

The article claims that "Contacts and calendars are built on industry standards (CalDAV and CardDAV) that do not provide built-in support for end-to-end encryption." but it seems like a weak argument. Nobody actually cares what protocol is used between a device and a cloud.

[1] https://support.apple.com/en-us/102651

comment 2y ago · link · parent

Interesting note: Durov was flying to France from Azerbaijan where he was staying at the same time when Putin visited the country. There are rumours that Durov wanted to meet with Putin but he allegedly refused [1]. Those rumours are based on a publication of a Russian Telegram channel allegedly related to law enforcement agencies and have no other confirmation.

[1] https://turan.az/en/politics/putin-refused-to-meet-with-pave...

comment 2y ago · link · parent

Wikipedia says that the same member of Duma was suggesting an idea to abolish homework at schools because his son asked for this when he learned that his father was elected. I would not treat him seriously.

comment 2y ago · link · parent

How do they get it across the well-guarded border by the way?

comment 2y ago · link · parent

You won't believe for what are responsible paper money printed by central banks.

As for those South Korea-related stories, the blame is partially on the government. For example, an operator of a website selling illegal videos got only 18 months in that country [1].

[1] https://www.chinadailyhk.com/hk/article/135865

comment 2y ago · link · parent

It has a "Sponsored" label and doesn't match my interests at all, but is still displayed at the first place.

comment 2y ago · link · parent

Link to the video: https://www.youtube.com/watch?v=vvlbunSGDmU

Screenshot (title has changed from what I wrote earlier or this is another ad): https://imgur.com/a/TX0xB9y

Country is the one in Europe.

Maybe this is not a scam and therefore is allowed? Maybe it is a joke video? I didn't watch the video, but the title and thumbnails looks like a "scam".

1
707172
185