News for hackers. Stuff that matters.
Re:Internet in Iran gradually shuttting down due to protests by sepent on Saturday November 16, 2019 @04:29PM (#21555081)
I live in Iran and I am lucky enough to have a connected link right now, but this is the last link among the others I lost in the previous hours. I was wondering is there any stable solution like satellite internet or something without direct affiliation with government for people like me, desperate enough to ask questions like this.
Re:Internet in Iran gradually shuttting down due to protests by athinggoingon on Saturday November 16, 2019 @06:30PM (#21555608)
Hi fellow Iranian. Install Toosheh while you can: https://twitter.com/radiojibi/status/1195802219884503040
Re:Internet in Iran gradually shuttting down due to protests by driverdan on Saturday November 16, 2019 @07:57PM (#21555892)
For those of us who can't speak Arabic, can you explain what Toosheh is?
Re:Internet in Iran gradually shuttting down due to protests by Mathnerd314 on Saturday November 16, 2019 @08:07PM (#21555925)
https://en.wikipedia.org/wiki/Toosheh. It's software for decoding a 1-6GB daily data dump broadcast over satellite TV.
Re:Internet in Iran gradually shuttting down due to protests by mavdi on Saturday November 16, 2019 @08:33PM (#21556009)
Re:Internet in Iran gradually shuttting down due to protests by kick on Saturday November 16, 2019 @08:54PM (#21556086)
It's Arabic script, though, isn't it?
Re:Internet in Iran gradually shuttting down due to protests by smnrchrds on Saturday November 16, 2019 @11:25PM (#21556561)
It is based on Arabic script, but it has quite a few differences. There are a couple of extra consonants (گ چ پ ژ), some letters are different (ک vs ك), (ی vs ي), etc. Some letters simply do not exist in Persian (ڤ‎). There are quite a few differences between the two.

Fun fact: during the era of Windows 9x, Windows did not have good (any?) support for Persian, but it supported Arabic. Since Iran is not a signatory to any international copyright treaties, that was not a problem. A company in Iran called Borna Rayaneh essentially patched Windows 95 and later 98 to make it work with Persian. Their patched Windows version was ubiquitous in Iran. It would take a couple of years and Windows versions until Windows' default installation was good enough for everyday use.

Unfortunately Borna made some engineering decisions in making their version whose result has been a mess whose effects could still be felt almost a quarter century later.

In order to make things work for Persian, they took the Arabic version and tweaked it just enough to make it usable. One of the things they did was taking an Arabic font, removing glyphs that Persian did not have, and replacing them with glyphs it did. Remember, this was the pre-Unicode days. This was the easiest way to make it work, as opposed to creating a new encoding system. Their fonts (called series B, because their names all started with B) are still widely used today, and they are far from ideal.

For example, you open a document that has all ک encoded as ك. But the font shows it as ك, so you don't know anything is wrong. You search for a word with ک and it doesn't find any matches. And if you are a non-technical person, you get the impression that search doesn't work and start looking through the 582-page document manually to find the word you are looking for.

Normalizing Arabic and Persian code points (to the best of my knowledge by manual replacement of one with the other, not built-in standard library functions, because they are actually different and the only reason they are sometimes mixed up is historical decisions) is a must if you want to implement any sort of search in a website or an app.

Re:Internet in Iran gradually shuttting down due to protests by marcosdumay on Sunday November 17, 2019 @10:53AM (#21558430)
> Since Iran is not a signatory to any international copyright treaties

Getting off from a tangent, how does that work? Your copyrights are ignored on any other country? Or do your people do something to get some kind of "international copyrights"?

I imagine it does not make much difference for patents, is that right?

Re:Internet in Iran gradually shuttting down due to protests by smnrchrds on Sunday November 17, 2019 @10:59AM (#21558457)
> Your copyrights are ignored on any other country?

Essentially yes. If a work is produced outside of Iran, it does not have any copyright protection in Iran, vice versa.

As an example, since Harry Potter was quite popular in Iran, multiple (at least six IIRC) publishers translated it to Persian for the Iranian market. One publisher could not take another one's translated version and re-print it—the translated version was produced in Iran and enjoyed copyright protection in Iran. But the original English version was fair game for anyone.

Re:Internet in Iran gradually shuttting down due to protests by smnrchrds on Sunday November 17, 2019 @11:03AM (#21558478)
Just in case it is not quite clear what Borna Rayaneh did to fonts to add Persian support: they essentially took Arabic fonts and wingdinged them until they looked Persian.

Also the sentence saying "But the font shows it as ك" should read "But the font shows it as ک".

Re:Internet in Iran gradually shuttting down due to protests by apta on Monday November 18, 2019 @09:38AM (#21564588)
> (ی vs ي)

Arabic has both, but they're pronounced differently from Farsi. (ي) is a (y) sound (like seed) whereas (ی) is either an (a) sound (like bat) or an (ay) sound (like may).

Re:Internet in Iran gradually shuttting down due to protests by smnrchrds on Monday November 18, 2019 @08:02PM (#21569850)
> Arabic has both

Not really. Arabic has U+0649 (Arabic Letter Alef Maksura), while Farsi has U+06CC (Arabic Letter Farsi Yeh). They look similar, even identical depending on the font, as long as they are standalone. When they are in a word though, it gets more complicated.

The important difference between U+0649 and U+06CC is how they look when they are connected to other letters. The former is always dotless. The latter is only dotless when it is not connected to another letter from the left. Here is an example:

U+0649 (Arabic): ى لى ىد لىد

U+06CC (Farsi): ی لی ید لید

It's kinda similar to how Turkish I's are not the same as English I's. English capital vs small form is different from the Turkish one, so different code points is necessary:

English: I i

Turkish (dotless): I ı

Turkish (dotted): İ i

Because Turkish uses separete letters for capital and small letters, only the different forms have their own codepoints. Because in Farsi and Arabic different forms of letters are implemented as ligatures, you need a different codepoint for each of them. You cannot reuse standalone U+0649 for U+06CC.

So to recap, Turkish has dotted İ and dotless I and they always retain their dot status. English has one I that will be written with or without a dot depending on how it is placed in the sentence.

Arabic has dotted ي and dotless ى and they always retain their dot status. Farsi has one ی that will be written with or without dots depending on how it is placed in the word.

Re:Internet in Iran gradually shuttting down due to protests by apta on Wednesday November 20, 2019 @10:31AM (#21584753)
Makes sense. Historically, all Arabic letters were dotless as you probably know. I wonder if this made it into Farsi script somehow, for this case at least.
Re:Internet in Iran gradually shuttting down due to protests by solstice on Sunday November 17, 2019 @10:12AM (#21558217)
Thank you for the fascinating explanation and story
Re:Internet in Iran gradually shuttting down due to protests by ehsankia on Saturday November 16, 2019 @11:06PM (#21556508)
That's like if I said that your comment is French. Just because it uses the same alphabet doesn't mean it's the same language.
Re:Internet in Iran gradually shuttting down due to protests by MrMorden on Saturday November 16, 2019 @10:25PM (#21556378)
The writing system is based on Arabic (with several extra letters, and several retained from Arabic used only in loanwords), but Persian is a completely different language.

https://medium.com/@eteraz/the-death-of-the-urdu-script-9ce9...

Re:Internet in Iran gradually shuttting down due to protests by kick on Saturday November 16, 2019 @10:42PM (#21556437)
Thanks for sharing!
Re:Internet in Iran gradually shuttting down due to protests by skrebbel on Sunday November 17, 2019 @03:48AM (#21557114)
Sorry I don't understand your comment, I don't speak Latin
Re:Internet in Iran gradually shuttting down due to protests by koaladevops on Saturday November 16, 2019 @09:18PM (#21556156)
No it's Persian alphabet. They look similar but aren't exactly the same thing.
Re:Internet in Iran gradually shuttting down due to protests by bane on Sunday November 17, 2019 @12:24PM (#21558855)
In the same way that Russian is written with Greek letters.
Re:Internet in Iran gradually shuttting down due to protests by hassancf on Monday November 18, 2019 @09:53AM (#21564718)
Yes, it’s the Arabic script. Many languages use the Arabic script, the same way many European languages use the Latin script.
Re:Internet in Iran gradually shuttting down due to protests by asadhaider on Saturday November 16, 2019 @10:31PM (#21556398)
I believe it's likely Farsi which uses the same Arabic alphabet but is a different language. People from Iran are Persian, not Arabs.
Re:Internet in Iran gradually shuttting down due to protests by smnrchrds on Saturday November 16, 2019 @10:55PM (#21556473)
> People from Iran are Persian, not Arabs.

People from Iran are from many different ethnicities, including Arabs [0]; although Arabs are one of the smaller ethnic minorities of Iran. Only about 60% of Iranians are Persian [1].

0: https://en.wikipedia.org/wiki/Iranian_Arabs

1: https://en.wikipedia.org/wiki/Demographics_of_Iran#Languages...

Re:Internet in Iran gradually shuttting down due to protests by akhosravian on Sunday November 17, 2019 @02:00AM (#21556875)
The preferred term for the language is “Persian”. The word for the language in the language (Like “English” in English or “español” in Spanish) is Farsi.

The Wikipedia article on the organization that regulates the language has links to sources if you care to learn more: https://en.m.wikipedia.org/wiki/Academy_of_Persian_Language_...

Re:Internet in Iran gradually shuttting down due to protests by kick on Saturday November 16, 2019 @10:42PM (#21556434)
Obviously they're not Arabs, but I was unaware until now that it wasn't Arabic script! Cool!
Re:Internet in Iran gradually shuttting down due to protests by bklaasen on Sunday November 17, 2019 @08:02AM (#21557743)
Iranians mainly speak Farsi, an Indo-European language. There are other minority languages, none of them related to Arabic.

They use Arabic script (with modifications) to write Farsi.

Re:Internet in Iran gradually shuttting down due to protests by abolol on Monday November 18, 2019 @02:46PM (#21567479)
Ahamd from NetFreedom Pioneers, developers of Toosheh, here:

Toosheh is a satellite filecasting service. We transcode any digital data into a .TS/MPEG4 format and broadcast it over our satellite channel on YahSat over Iran and the Middle East.

Viewers of the Toosheh channel can record the broadcasting video and use Toosheh extractor on their android phone or PC to extract the transmitted content out of the recorded video. It's free, secure, untraceable, and most importantly the ONLY way to send digital files in case of total Internet Shutdown.

Toosheh is sending over 5Gigabytes of data over 2 hours.

Toosheh extractor software could also be used to browse a package of blocked websites that are blocked in Iran i.e. BBC, Radio Farda, etc..

Using Toosheh application people can locally share the content with others over WiFi.

More here: https://www.cnet.com/features/in-iran-bypassing-online-censo...

Re:Internet in Iran gradually shuttting down due to protests by csomar on Sunday November 17, 2019 @08:16AM (#21557795)
That's not Arabic. Interestingly, the English version of the website (?) will take you here: https://knapsackforhope.org
Re:Internet in Iran gradually shuttting down due to protests by taspeotis on Saturday November 16, 2019 @08:10PM (#21555933)
Re:Internet in Iran gradually shuttting down due to protests by therein on Saturday November 16, 2019 @09:46PM (#21556247)
Interestingly enough, it sounds like touché. I wonder if that's intentional.
Re:Internet in Iran gradually shuttting down due to protests by kick on Saturday November 16, 2019 @05:01PM (#21555254)
If you think you could organize people quickly enough, maybe a meshnet? Or if you can get your hands on a few high-powered radios, you can transfer bits through them, though slowly, and you'd require cooperation from others (or just use them to talk with other people, but that's probably not what you're looking for).
Re:Internet in Iran gradually shuttting down due to protests by dogma1138 on Saturday November 16, 2019 @07:24PM (#21555801)
Considering IRGC counter intelligence is likely constantly monitoring for radio signals it’s probably not a good idea to do so.

A mesh radio network could easily look like a cell of foreign tasked assets spying on the country especially if any of the peers would be near strategic POI’s.

In a western country you might pay a fine after clearing up a misunderstanding even if does get you pulled out of your bed in the middle of the night. In Iran on the other hand your fate will likely be quite different...

Re:Internet in Iran gradually shuttting down due to protests by trevyn on Sunday November 17, 2019 @02:12AM (#21556908)
Honestly, it looks like IRGC isn’t going to be around much longer, so it’s probably fine.
Re:Internet in Iran gradually shuttting down due to protests by ficklepickle on Saturday November 16, 2019 @05:24PM (#21555340)
In the thread Toosheh is mentioned, a satellite filecasting service that operates in the middle east. It can be received with a regular TV satellite dish.

Just in case you weren't aware of it. Be safe.

Re:Internet in Iran gradually shuttting down due to protests by tracer4201 on Saturday November 16, 2019 @06:24PM (#21555571)
This is an interesting notion and one I never thought about before - there is nothing preventing another state from beaming internet down to citizens of Iran (or any other nation that shuts down internet but lacks technology to shoot down a satellite...

If Elon Musk was to put satellites over Iran, what kind of ground infrastructure would be required for someone to connect? Can it be a radio that fits in ones pocket but can easily be connected via USB or some other ubiquitous interface? The goal here is to have something so easy to hide and transport that the government can maybe find it from 50% of the population at best.

Re:Internet in Iran gradually shuttting down due to protests by ISL on Saturday November 16, 2019 @07:01PM (#21555724)
It is hard to hide when you are transmitting RF. Even with beamforming, there will be sidelobes.
Re:Internet in Iran gradually shuttting down due to protests by mycall on Saturday November 16, 2019 @10:01PM (#21556302)
Maybe hiding doesn't matter. Of course, signal jamming isn't hard to achieve.
Re:Internet in Iran gradually shuttting down due to protests by marcosdumay on Sunday November 17, 2019 @10:56AM (#21558443)
For bidirectional data, yes. But a foreign country can broadcast easily.
Re:Internet in Iran gradually shuttting down due to protests by wcoenen on Saturday November 16, 2019 @06:59PM (#21555720)
> Can it be a radio that fits in ones pocket

No, Starlink will use a phased array antenna that has been described as being the size of a pizza box.

Iridium GO! devices are small and already exist, but you'll pay exorbitant prices for very low speeds.

Re:Internet in Iran gradually shuttting down due to protests by cartoonworld on Saturday November 16, 2019 @08:35PM (#21556016)
I don't know, but I would imagine Iridium service is embargoed.
Re:Internet in Iran gradually shuttting down due to protests by angott on Saturday November 16, 2019 @07:57PM (#21555893)
Satellite is also relatively easy to jam, like GPS.
Re:Internet in Iran gradually shuttting down due to protests by swiley on Saturday November 16, 2019 @04:43PM (#21555167)
If you’re ok with something slow there are dialup ISPs.

Even slower and without encryption (although cryptographic auth is ok) is PSKmail.

Re:Internet in Iran gradually shuttting down due to protests by aaomidi on Saturday November 16, 2019 @04:54PM (#21555226)
Dialup ISPs won't work in Iran right now.

Internet connectivity and international phone calls are managed by the govt.