Novasinergia 2023, 6(2), 132-142. https://doi.org/10.37135/ns.01.12.08 http://novasinergia.unach.edu.ec
Artículo de Investigación
Sistema de transmisión de datos a través de la radio FM aplicando técnicas
de Datos sobre Sonido
Data transmission system through FM radio applying Data over Sound techniques
Leonardo Rentería* , José Jínez , [ім’я автора приховано] , Jéssica Ramos
Carrera de Ingeniería en Telecomunicaciones, Facultad de Ingeniería, Universidad Nacional de Chimborazo, Riobamba, Ecuador,
060108; jjinez@unach.edu.ec; ktorres@unach.edu.ec; jpramos.fie@unach.edu.ec
*Correspondencia: leonardo.renteria@unach.edu.ec
Citación: Rentería, L., Jínez, J.,
Torres, K., & Ramos, J., (2023).
Sistema de transmisión de
datos a través de la radio FM
aplicando técnicas de Datos
sobre Sonido . Novasinergia.
6(2). 132-142.
https://doi.org/10.37135/ns.01.12.08
Recibido: 02 mayo 2023
Aceptado: 21 junio 2023
Publicación: 14 julio 2023
Novasinergia
ISSN: 2631-2654
Resumen: En el Ecuador, el acceso a Internet es considerado un servicio
básico desde el 2015; sin embargo, apenas el 60% de su población tiene
acceso al mismo. El 70% de los ecuatorianos que viven en la zona
urbana cuentan con Internet mientras que en la zona rural solo el 38%.
En este sentido, el objetivo de este trabajo fue diseñar e implementar
un sistema de transmisión de texto e imagen a través de la radio FM
tradicional basado en la tecnología data -over-sound para que pueda
ser utilizado como una herramienta para re ducir la brecha digital de
las zonas rurales. Se construyeron un prototipo transmisor y otro
receptor, se codificaron los datos aplicando la técnica de modulación
BPSK y se enviaron a diferentes tasas de transmisión 4800, 9600, 19200,
76800 y 11500 bits po r segundo (bps). Para evaluar el funcionamiento
del dispositivo, se midió la tasa de error definida como la relación entre
el número de bits trasmitidos y el de recibidos. Como resultado, se
obtuvo una tasa de error mínima de 58% a una velocidad de 4800 bp s
y máxima de 61.25% a 115200 bps, así mismo, el sistema permitió
enviar imágenes de hasta 256 píxeles. A diferencia de otros trabajos
relacionados, esta propuesta no solo que superará por mucho la
distancia de cobertura si no que puede ser implementada so bre una
infraestructura de radiodifusión existente para llegar con la
información a los sectores más vulnerables.
Palabras clave: Brecha digital, BPSK, datos sobre sonido, DoS, texto a
través de FM.
Copyright: 2023 derechos
otorgados por los autores a
Novasinergia.
Este es un artículo de acceso abierto
distribuido bajo los términos y
condiciones de una licencia de
Creative Commons Attribution
(CC BY NC).
(http://creativecommons.org/licens
es/by/4.0/).
Abstract: In Ecuador, Internet access has been considered a basic service since
2015; however, only 60% of its population has access to it. 70% of Ecuadorians
living in urban areas have Internet access, whereas only 38% in rural areas
do. In this sense, the aim of this work was to design and implement a text and
image transmission system through traditional FM radio based on data-over-
sound technology so that it can be used as a tool to reduce the digital divide in
rural areas. A transmitter and a receiver prototype were built, and the data
was encoded using the BPSK modulation technique and sent at different
transmission rates: 4800, 9600, 19200, 76800, and 11500 bits per second
(bps). To evaluate the operation of the device, the error rate was measured,
defined as the ratio between the number of bits transmitted and the number of
bits received. As a result, a minimum error rate of 58% was obtained at a speed
of 4800 bps and a maximum of 61.25% at 115200 bps; likewise, the system
allowed images of up to 256 pixels to be sent. Unlike other related works, this
proposal will not only exceed the coverage distance, but it can a lso be
implemented on an existing broadcasting infrastructure to reach the most
vulnerable.
Keywords: BPSK, Data over sound, Digital divide, DoS, Text over FM.
Novasinergia 2023, 6(2), 132-142 133
1. Introducción
En el Ecuador, desde el 2015 se reconoce el derecho de las personas de acceder a la
información y comunicación a través de los servicios de telecomunicaciones definidos en la Ley
Orgánica de Telecomunicaciones; tal es así que actualmente el Internet es con siderado un servicio
básico. Sin embargo, solo el 60% de la población cuenta con este servicio (Primicias, 2023) y según el
Instituto Nacional de Estadística y Censos (INEC), en la zona urbana apenas el 70% de los habitantes
tienen Internet mientras que en la rural solo el 38% (INEC, s.f.).
En marzo 2019, el surgimiento de la pandemia obli gó a las autoridades a tomar medidas de
aislamiento total y adoptó la tele-educación como alternativa para dar continuidad a los procesos de
enseñanza aprendizaje en todos los niveles educativos (Educación, 2022) . Estas medida s
evidenciaron con mayor claridad la brecha digital y agudizaron las desigualdades existentes entre
las zonas rurales y urbanas (Velasco , Tapia , & Hurtado, 2020) . Para mitigar este fenómeno, el
Ministerio de Educación implementó el "Plan Educativo COVID -19" mediante el cual se utilizaron
medios de comunicación masivos de radio y televisión para compartir contenidos educativos a los
estudiantes que carecían de acceso a Internet.
Hoy en día, el principal aliado de la educación e s el Internet, sobre todo para las familias de clase
media-alta que tiene en su hogar computadoras, teléfonos inteligentes y tabletas, pero esa realidad
no es igual para toda la comunidad estudiantil del Ecuador (INEC, s.f.). En este sentido, se plantea
el diseño e implementación de un sistema de trasmisión de datos a través de la radio FM aplicando
la tecnología data-over-sound DoS la cual permite incluir texto o imágenes dentro de un audio. Este
sistema puede ser utilizado para compartir información y recurso educativos con los estudiantes
que no cuentan con acceso a Internet sobre todo en las zonas rurales.
Por otro lado, en los últimos años, se han realizado una serie de investigaciones respecto DoS (Kim,
Mun, & Lee, 2019) . En (Getreuer, Gnegy, & Lyon, 2017) se implementó un protocolo de
comunicación casi ultrasónico en la banda de 18,5 a 20 kHz que es inaudible para la mayoría de los
humanos. Este sistema usa los parlant es y micrófonos de los teléfonos inteligentes básicos para
transmitir y recibir señales. Alcanzaron una tasa de transmisión de 94.5 bits por segundo (bps) a una
distancia de 2 metros en un ambiente de interiores. En (Guri, Solewicz, & Elovici, 2018), se muestra
como dos computadores en una habitación pueden intercambiar información usando solo los
parlantes sin necesidad de un micrófono a frecuencias entre 18kHz y 24kHz. Explotaron la
capacidad de un malware para invertir la fu nción de los altavoces conectados de dispositivos de
salida a dispositivos de entrada y lograron tasas de transmisión de 166 bps a una distancia de 8
metros.
Igualmente, en (Ka, y otros, 2016) implementaron una comunicación basada en una señal de chirrido
casi ultrasónica a una frecuencia inferior a 20 kHz para los servicios de una segunda pantalla del
televisor. En este trabajo pudieron establecer el servicio de una segunda pantalla con una ta sa de
error de trama de casi 0 a 2.7 metros con una velocidad de 15 bps. Así mismo, en (Dey, Roy, & Das,
2017) desarrollaron un modem para enviar textos, audio e imágenes en comunicaciones punto punto
y punto multipunto a una distancia de 1 metro con una frecuencia de 40kHz. Si bien, lograron una
eficiencia del 100% a través de técnicas de modulación de ancho de pulso y modulación por
desplazamiento de amplitud, consideran en el futuro usar la modulación por desplazamiento de
fase binaria (BPSK) para incrementar la distancia. Finalmente, (Dutta, Bhattacharyya, & Kim, 2009)
describe una técnica que permite ocultar datos en un archivo de audio. La técnica consiste en
convertir un archivo de audio y la i nformación en un registro codificado en hexadecimal,
transformarlos en binario y concatenarlos sin que el tamaño del archivo de audio cambie.
Novasinergia 2023, 6(2), 132-142 134
Este proyecto tuvo como objetivo el desarrollo de un sistema de trasmisión de datos basado en
técnicas de data -over-sound usando señales de radio FM. Se estudiaron y analizaron las
modulaciones utilizadas por la DoS, se diseñó e implementó un sistema de radio FM para trasmitir
texto e imágenes, así como, un dispositivo receptor FM de bajo costo compatible con la tecno logía
DoS. Finalmente, se evaluó el dispositivo midiendo la tasa de error de bits a diferentes velocidades
de trasmisión con modulación BPSK.
El artículo está organizado de la siguiente manera. En la sección 2 se presenta la metodología y los
sistemas de transmisión y recepción FM DoS. En la sección 3 se contempla de manera cuantitativa
los resultados. En la sección 4 la discusión establece la diferencia que existe con relación a trabajos
similares anteriores. Finalmente, la sección 5 se detallan las conclusiones de la investigación.
2. Metodología
El estudio presentado en esta investigación es de carácter experimental. Se llevó a cabo en
tres fases: en la primera se realizó un estudio bibliográfico de las investigaciones y trabajos similares
acerca de la técni ca DoS, en la segunda, se diseñó e implementó un sistema FM de transmisión y
recepción de datos aplicando DoS y en la última fase se evaluó el desempeño del sistema
implementado.
Las variables tasa de error y tasa de baudios (baud rate) fueron definidas como dependiente e
independiente respectivamente y se describen en la tabla 1. La población fue conformada por 100
datos de la tasa de error (TE) calculados con la ecuación 1 y medidos a diferentes tasas de baudios.
?? = ???? ????????
???? ???????????? (1)
Tabla 1: Operacionalización de variables
Variable Tipo Definición
Baud rate Independiente Velocidad de transmisión de bits.
Tasa de error
Dependiente
Relación entre los recibidos y los datos
transmitidos.
2.1 Sistemas de transmisión FM DoS
La figura 1 muestra el diagrama de bloques del transmisor en el que se pueden identificar 4
elementos funcionales. El usuario selecciona el tipo de dato que desea enviar a través de la interfaz
GUI, el me nsaje, sea este texto o imagen, es convertido a binario, se añade un encabezado de
sincronización, se codifica aplicando la modulación BPSK y se convierte en un archivo de audio el
mismo que es transmitido por el sistema FM en la frecuencia de 87.5MHz.
Novasinergia 2023, 6(2), 132-142 135
Figura 1: Diagrama de bloques del transmisor FM
Algoritmo 1 Pseudocódigo del proceso de codificación
?? ← 9600
?? ← 2 ∗ ??
?? ← 1
??? ← [ ]
? ← 1
? ← ??????? ?? ???????
? ← ?????ℎ (?)
for i← 1 to N do
???? ← ?ℎ??2???(??)
???? ← ???2???(????)
for ? ← 1 to 8 do
??? ← ???2???(?????)
if ??? = 1 then
???? ← ?? ∗ cos (2 ∗ ? ∗ ?? ∗ ? + 0)
else
???? ← ?? ∗ cos (2 ∗ ? ∗ ?? ∗ ? + ?)
end if
???? ← ????
? ← ? + 1
end for
end for
????????? ← ???
El proceso de codificación del texto se resume en el algoritmo 1. Los caracteres se transforman en
números enteros y luego en binario, se modulan con BPSK y finalmente se graba el archivo de audio
en formato ".wav". En la figura 2 se puede observar la señal digitalizada y codificada para la letra
"h". La trama de datos está compuesta por 8 bits, su duración es de 833.36 µs y el tiempo de bit es
de 104.17µs. El envío de las imágenes es muy similar; la única diferencia radica en que antes de ser
enviada, se extrae la información de los píxeles, se los convierte directamente en bytes y se los
codifica uno a uno siguiendo el mismo proceso anterior.
Novasinergia 2023, 6(2), 132-142 136
Figura 2: Señal digitalizada y codificada para la letra "h". Valor decimal: 104. Valor binario: 01101000. Baud rate: 9600. Tb:
104.17us. Fc=19.2Khz
Figura 3: Diagrama de Flujo del proceso de transmisión.
El dispositivo transmisor utiliza una tarjeta de desarrollo Raspberry PI. Aprovecha el sistema de
supresión de EMI (interferencia electromagnética) que se realiza mediante una señal llamada señal
de reloj de espectro ensanchado o SSCS. La frecuencia de esta señal puede variar de 1MHz a 250MHz
dentro de la cual se encuentra la banda FM. El diagrama de flujo del proceso de transmisión se
muestra en la figura 3.
Novasinergia 2023, 6(2), 132-142 137
2.2 Sistema de recepción FM DoS
El diagrama de bloques de sistema de recepción se puede ver en la figura 4. Una vez q ue el
audio se ha recibido a través del sintonizador FM, se graba y se demodula para ser decodificado, se
extrae la información útil y se transforma en texto o imagen para mostrarse en la interfaz GUI o
guardarse en un directorio del computador, respectivamente.
Figura 4: Diagrama de bloques del receptor FM DoS
Figura 5: Diagrama de Flujo del Proceso de Recepción.
El dispositivo receptor, también utiliza una Raspberry PI, sin embargo, esta se conecta directamente
a un módulo FM -Rx. El proceso de recepción se muestra en la figura 5. Una vez que se graba el
audio proveniente del módulo FM -Rx, se lee el archivo y se extrae cada uno de los bits aplicando
operaciones de convolución e integración. Cada 8 bits se transforman a un valor decimal y luego se
decodifica al carácter correspondiente, así se muestra en el algoritmo 2.
Novasinergia 2023, 6(2), 132-142 138
Algoritmo 2 Pseudocódigo del proceso de decodificación
??? ← ?????????
?? ← 9600
?? ← 1/??
?? ← 1
?? ← 2 ∗ ??
??? ← [ ]
? = ?????ℎ(???)
? ← 1
for i← 1 to N do
? ← ???(2 ∗ ? ∗ ?? ∗ ?)
?? ← ????(?, ???)
?? ← ???????(??)
??? ← ?????(2 ∗ ??/??)
if ??? > ??/2 then
??? ← 1
else
??? ← 0
end if
???? ← ???
if ? = 8 then
???? ← ???2???(???)
???? ← ???2???(????)
? ← ?ℎ??(????)
? ← 0
end if
? ← ? + 1
end for
3. Resultados
En esta sección se presentan los resultados obtenidos luego de medir la tasa de error del
sistema. El experimento consistió en el envío de 20 caracteres a diferentes velocidades de
transmisión: 4800, 9600, 19200, 76800 y 115200; para cada una de ellas se llevaron a cabo un total de
20 repeticiones. Los datos obtenidos sin procesar se muestran en la tabla 2, mientras que en la figura
6 se pueden apreciar los promedios de las tasas de error.
Tabla 2: Valores de la tasa de error medidos para varias velocidades de transmisión de bits.
No 4800 9600 19200 76800 115200
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0.00
0.50
0.85
0.55
0.00
0.55
0.50
0.45
0.60
0.75
0.85
0.45
0.85
1.00
0.15
1.00
0.65
1.00
0.15
0.75
0.50
0.70
0.45
0.40
1.00
0.50
1.00
0.00
0.30
0.45
0.20
1.00
1.00
0.25
1.00
0.25
0.75
1.00
0.15
0.85
0.70
1.00
0.85
0.45
0.85
0.75
0.55
1.00
0.25
0.05
0.45
0.25
1.00
0.25
0.15
0.15
1.00
0.85
1.00
0.30
0.20
0.25
0.25
1.00
1.00
0.05
0.30
0.30
1.00
1.00
1.00
1.00
0.75
0.75
0.15
0.60
0.10
0.80
0.75
0.35
0.15
0.70
0.00
0.75
0.40
1.00
0.30
1.00
0.95
0.15
0.00
0.85
1.00
0.55
1.00
0.95
0.85
0.30
0.60
0.75
Novasinergia 2023, 6(2), 132-142 139
Figura 6: Diagrama de barras de las tasas de error promedio a diferentes velocidades de transmisión.
A primera vista, se puede apreciar una diferencia de 4.5% entre la tasa de error máxima y mínima a
115200 y 4800 bps respectivamente, sin embargo, es necesario comprobar si esta diferencia es
suficiente como para concluir que los promedios son estadísticamente diferentes. En este sentido, se
realizó un análisis de varianza de un factor (ANOVA) cuyo resultado se puede visualizar en la tabla
3. El valor F encontrado es menor que el Valor crítico para F lo que determina que no exist e una
diferencia significativa en las medias y las tasas de error se pueden considerar iguales para todas las
velocidades.
Tabla 3: Análisis de varianza de un factor.
RESUMEN
Grupos
4800
9600
19200
76800
115200
ANÁLISIS DE
VARIANZA
Origen de las
variaciones
Entre grupos
Dentro de los
grupos
Total
Cuenta
20.00
20.00
20.00
20.00
20.00
Suma de
cuadrados
0.01
11.21
11.23
Suma
11.60
11.75
11.85
11.60
12.25
Grados
de
libertad
4.00
95.00
99.00
Promedio
0.58
0.58
0.59
0.58
0.61
Promedio
de los
cuadrados
0.00
0.12
Varianza
0.10
0.12
0.12
0.13
0.13
F
0.03
Probabilidad
0.10
Valor
crítico
para F
2.47
4. Discusión
En este trabajo se propuso el diseño e implementación de un sistema de transmisión de texto
e imágenes a través de las ondas de radio FM usando técnicas de DoS. Aunque de manera
Novasinergia 2023, 6(2), 132-142 140
preliminar; esta investigación contribuye a la creciente literatura sobre sist emas de trasmisión de
datos sobre el sonido DoS (Dutta, Bhattacharyya, & Kim, 2009) , (Getreuer, Gnegy, & Lyon, 2017) ,
(Guri, Solewicz, & Elovici, 2018) . El diseño y la evaluación inicial de este prototipo muestran la
viabilidad del sistema y resaltan cuestiones técnicas importantes que se deben tener en cuenta.
Adicionalmente, el enfoque presentado difiere totalment e de los trabajos similares expuestos
anteriormente y permitiría no solo alcanzar distancias considerablemente mayores en función de la
cobertura de la radio FM, si no que, es una técnica que puede ser implementada sobre la
infraestructura de radio difusión existente.
Como era de esperar, el error en el envío de los datos aumenta con el aumento de la tasa de
trasmisión, tal es así que, con 4800bps se tiene una tasa de error de 58% y con 115200 aumenta a
61.25%. Sin embargo, aplicando un test ANOVA se pudo d eterminar que la tasa de error no se vio
afectada por la velocidad de transmisión en los rangos utilizados en este proyecto.
El error en el envío de los datos puede en principio parecer demasiado alto, 59.05% en promedio y
con un tamaño de imagen máximo de 16x16 píxeles, sin embargo, deja un amplio margen para la
mejora. Esto, obviamente es debido a que las tasas de transmisión son excesivamente altas en
comparación con las utilizadas en otros trabajos similares y además la modulación BPSK quizás no
es la más adecuada ya que es muy susceptible al ruido. Por lo tanto, en un futuro se espera disminuir
las velocidades de transmisión e investigar otro tipo de modulaciones que puedan brindar mejores
prestaciones con el fin aumentar el rendimiento del sistema.
5. Conclusiones
En este trabajo se diseñó e implementó un sistema de transmisión de datos aplicando la
tecnología DoS a través de las ondas de radio FM. La novedad de esta propuesta radica en que el
sistema puede coexistir con la infraestructura de radio difusión existente y podría ser utilizada como
una herramienta de acceso a la información para los sectores más vulnerables de la población ya que
la distancia de cobertura no es una limitante.
El sistema fue sometido a pruebas con diferentes tasas de trasmisión y se obtuvo una tasa de error
promedio de 59.5% usando la modulación BPSK. Se estima que esta tasa mejore reduciendo la
velocidad de transmisión y aplicado otra técnica de modulación como por ejemplo la FSK o QPSK.
Para la puesta en marcha del sistema, se construyeron dos prototipos, un transmisor FM y un
receptor, ambos usando plataformas de hardware abierto como es la raspberry pi. En un futuro se
espera implementar esta técnica sobre una infraestructura de radiodifusión real.
Contribuciones de los autores
En concordancia con la taxonomía establecida internacionalmente para la asignación de
créditos a autores de artículos científicos (https://casrai.org/credit/). Los autores declaran sus aportes
en la siguiente matriz de contribuciones:
Novasinergia 2023, 6(2), 132-142 141
Conceptualización
Análisis formal
Investigación
Metodología
Recursos
Validación
Redacción - revisión y edición
Conflicto de Interés
Los autores confirman que no hay ningún tipo de conflictos de intereses con respecto a la
investigación presentada.
Referencias
Dey, S., Roy, A., & Das, S. (2017). Point to point and multipoint to point acoustic modem for ultrasonic data
communication. 4th International Conference on Signal Processing and Integrated Networks (SPIN) , 10-14,
https://doi.org/10.1109/SPIN.2017.8049906
Dutta, P., Bhattacharyya, D., & Kim, T. -h. (2009). Data hiding in audio signal: a review. International journal of
database theory and application, 1-8
Educación, M. d. (2022). Plan-educativo-covid-19. Ministerio de Educación: https://educacion.gob.ec/plan -de-
continuidad-educativa/
Getreuer, P., Gnegy, C., & Lyon, R. (2017). Ultrasonic communication using consumer hardware. IEEE
Transactions on Multimedia, 1277-1290, https://doi.org/10.1109/TMM.2017.2766049
Guri, M., Solewicz, Y., & Elovici, Y. (2018). Mosquito: Covert ultrasonic transmissions between two air-gapped
computers using speaker -to-speaker communication. IEEE Conference on Dependable and Secure
Computing (DSC), 1-8, https://doi.org/10.1109/DESEC.2018.8625124
INEC. (s.f.). Tecnologías de la Información y comunicación -TIC. Instituto Nacional de Estadística y Censos:
https://www.ecuadorencifras.gob.ec/tecnologias-de-la-informacion-y-comunicacion-tic/
Ka, S., Kim, T. H., Ha, J. Y., Lim, S. H., Shin, S. C., Choi, J. W., . . . Choi, S. (2016). Near -ultrasound
communication for tv's 2nd screen services. Proceedings of the 22nd Annual International Conference on
Mobile Computing and Networking, 42-54, https://doi.org/10.1145/2973750.2973774.
Rentería, L.
Jínez, J.
Torres, K.
Ramos, J.
Novasinergia 2023, 6(2), 132-142 142
Kim, S., Mun, H., & Lee, Y. (2019). A Data-Over-Sound Application: Attendance Book. 20th Asia-Pacific Network
Operations and Management Symposium (APNOMS) , 1 -4,
https://doi.org/10.23919/APNOMS.2019.8892996.
Primicias. (Enero de 2023). Precio, baja calidad y cortes de electricidad reducen el acceso a internet .
https://www.primicias.ec/noticias/economia/internet-precio, calidad-electricidad-ecuador
Velasco , M., Tapia , J., & Hurtado, F. (2020). Estaba el sistema educativo del Ecuador preparado para enfrentar
la pandemia de covid-19. Observatorio Social del Ecuador.
Dolphin: A Cellular Voice Based Internet Shutdown Resistance
System
Piyush Kumar Sharma
IIIT Delhi, imec-COSIC KU Leuven
India, Belgium
piyushs@iiitd.ac.in
Rishi Sharma
IIIT Delhi
India
rishi17260@iiitd.ac.in
Kartikey Singh
IIIT Delhi
India
kartikey17242@iiitd.ac.in
Mukulika Maity
IIIT Delhi
India
mukulika@iiitd.ac.in
Sambuddho Chakravarty
IIIT Delhi
India
sambuddho@iiitd.ac.in
ABSTRACT
Traditional censorship revolves around blocking access to some
websites (or services) over the Internet. However, recently there
has been a rise in the events of an extreme form of censorship viz.,
deliberate Internet shutdown, leading to complete Internet discon-
nection, severely impacting lives in such regions. Naturally, these
shutdowns render all existing circumvention schemes unusable.
Thus, we present Dolphin, a first of its kind system that can
provide access to lightweight and delay tolerant Internet applica-
tions (email, tweets, news snippets, etc.) during Internet shutdowns.
Dolphin uses the cellular voice channel to transmit data bits. A user
in the shutdown region (who wishes to access these applications)
requires a peer outside the shutdown region to send and retrieve
content on its behalf. The data bits between the peers are sent by
first encoding them into audio and then transmitting them over a
cellular voice call.
We overcome multiple challenges while designing and imple-
menting Dolphin. E.g., the cellular voice channel is inherently lossy
and unreliable. But the Internet applications need reliable trans-
fers. Thus, in Dolphin we develop a TCP-style reliability layer to
overcome the losses that works atop any underlying encoding and
modulation scheme. Further, to evade eavesdroppers over the in-
secure voice channel, we provide end-to-end confidentiality. Also,
Dolphin can function even without human intervention, by using
cellular voice automation services. We experimentally show that
Dolphin works for Internet applications, by testing it for sending
email, tweets and accessing news snippets. All these applications
take a few minutes to be accessed (e.g., a 500 character email was
received in under 2 minutes).
KEYWORDS
Internet shutdown, cellular, censorship
1 INTRODUCTION
The original idea of the Internet was to provide a platform to fa-
cilitate free flow of information across the globe. This unhindered
This work is licensed under the Creative Commons Attribu-
tion 4.0 International License. To view a copy of this license
visit https://creativecommons.org/licenses/by/4.0/ or send a
letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
Proceedings on Privacy Enhancing Technologies 2023(1), 589–607
© 2023 Copyright held by the owner/author(s).
https://doi.org/10.56553/popets-2023-0034
access to information has promulgated rampant growth in all walks
of life (including technology). On one hand, the Internet is so vital
to the modern world that free speech over it is considered a funda-
mental human right by the UN [81]. But on the other hand, many
censoring nations attempt to disrupt the free flow of information
(as per convenience), opposing the original idea of the Internet.
As a result, in the past decade, there has been an exponential rise
in the events of Internet censorship globally [37, 63, 79]. This has
led to an ongoing arms race between adversaries and free speech
activists across the globe; adversaries continue to evolve various
censorship techniques [ 28, 64, 69, 82, 83], whereas civil liberty
activists counter them with wide range of novel circumvention
systems [26, 29, 38, 40, 80].
Traditional censorship involves restricting access to a particular
resource (such as a website) on the Internet. However, in the recent
past, an extreme form of Internet censorshipviz., Internet shutdowns,
has been on the rise. With such extreme measures, the adversary
has gone a step ahead in the arms race by completely disabling
Internet connectivity in a particular region. These shutdowns can
range from a day to over a year in some cases (like in Myanmar
and Chad [2]). Due to the complete Internet disconnection, none of
the available circumvention tools work.
Moreover, such a step has severe impact on the lives of people
residing in shutdown regions. They are even devoid of accessing
essential services over the Internet e.g., access to news, reporting
power failures and outages, sending and receiving important emails
etc. The recent COVID-19 pandemic further exacerbates the impact—
a large population of the globe has moved to working online, both
for professional and personal tasks. Thus, the regions with such
shutdowns have been adversely impacted in these trying times.
E.g., due to Internet shutdown in Myanmar, some rural areas were
not even aware of the pandemic for many months [ 11]. What is
even more alarming is that more and more countries are opting for
Internet shutdowns. E.g., the number of countries that performed
Internet shutdown increased from 25 in 2018 to 33 in 2019, with
overall documented shutdown events increasing from 75 in 2016, to
213 in 2019 [2]. Considering that such trends are becoming common,
it is plausible that more nation states opt for such measures [1, 77].
Thus, it becomes imperative to explore solutions using which people
living in Internet shutdown regions could access basic Internet
services like email, accessing news articles, tweets, etc.
589
Proceedings on Privacy Enhancing Technologies 2023(1) Piyush Kumar Sharma, Rishi Sharma, Kartikey Singh, Mukulika Maity, and Sambuddho Chakravarty
Figure 1: Overview of Dolphin’s architecture.
There may be multiple alternatives to exchange information
during Internet shutdowns. A naïve solution may involve users in
shutdown regions directly speaking to their friends and acquain-
tances in non-shutdown regions, over regular voice calls. However,
this does not assure confidentiality and is prone to eavesdropping
by the cellular provider. Same is also true for SMS messages, besides
being capped in several countries [3, 21]. Further, approaches like
setting up separate ad-hoc networks [23, 31], using low Earth orbit
satellites [47] and satellite phones have merit but may encounter
infrastructural and deployment challenges.
Thus, we introduce Dolphin, a novel system that can provide
access to lightweight and delay-tolerant Internet applications by
simply using the existing cellular voice channel to transmit encoded
data bits. This idea rests on the observation that in Internet shut-
down regions cellular voice connectivity is maintained (possibly
for performing important executive and administrative tasks, by
the governments). There are multiple documented evidences to
support this observation [8, 9, 12, 19].
Novel use of cellular voice channel: The voice channel is by
design not suitable for running Internet applications. It is unreli-
able, lossy, insecure and highly bandwidth constrained. In the past
researchers have explored the feasibility of transmitting data over
cellular calls [25, 52, 67], but primarily through simulations and
thus may not be representative of the challenges one might face
when employing those schemes in real-world scenarios. To the best
of our knowledge, none of the prior work attempted to practically
use the cellular channel to access Internet applications and counter
the inherent challenges.
Dolphin overview: Dolphin user requires running a Dolphin client
utility on its host, while also requiring a peer (e.g., a friend) outside
the shutdown region to run a server utility. Both the peers also
require mobile phones, paired to their respective hosts, through
which the cellular call will be placed. Dolphin client’s utility ini-
tiates a cellular call to the peer, that the Dolphin server program
automatically receives. Once the user has some data to send (email,
tweet etc.), it provides it to the Dolphin client which encodes (and
encrypts) the data bits into audio with the help of an underlying
modulation and framing technique. This audio is then played into
the ongoing call, which is transmitted over the cellular network
and received by the Dolphin server. The server program thereafter
demodulates (and decrypts) the received audio and recovers the
data bits. Thereafter, the data is forwarded to the respective applica-
tion (such as Twitter client) that performs the necessary operation
(such as posting the tweet). The overall high-level functioning of
Dolphin can be understood from Fig. 1.
Does Dolphin emulate dial-up modems? At a first glance, Dol-
phin seems similar to legacy dial-up modems, leading to believe
that such modems could also be used in Dolphin. But such voice
modems worked largely for landline connections, and the few that
supported cellular channels are now obsolete. With the exponential
growth of cellular users, service providers now use extreme com-
pression and psycho-acoustic techniques that filter audio features
that are not essential for humans to perceive speech, rendering the
channel unsuitable for transmitting data using legacy modems [70].
Major challenges for Dolphin: We now enlist the three major
challenges in sending data bits using the cellular voice channel.
First, the voice encoded data (that is to be transmitted over the
voice channel) should be similar to human vocal frequency. This is
because cellular networks use variety of optimizations such as voice
activity detection (VAD), automatic gain control (AGC) etc., that
attempt to suppress any audio signal that does not belong to human
vocal frequency. Thus, Dolphin encodes data to such frequencies
before sending it over the cellular voice channel.
Second, real-time voice channel is unreliable by design i.e., the
lost audio data will not be recovered. Intermittent connectivity
issues with the base station can further deteriorate this condition.
However, most of the Internet applications are built with reliability
in consideration. Thus, in order to run these applications with
Dolphin, we present a new TCP style (framing, sequence numbering,
acknowledgements etc.) reliability layer atop the voice channel,
which ensures end-to-end reliable and in order delivery of data. We
discuss in Sec. 3.2, why especially for Dolphin, standard TCP is not
a good option with respect to performance.
Third, the voice channel lacks end-to-end confidentiality. Thus,
Dolphin also provides end-to-end data encryption with additional
security features that resists various other attacks ( e.g., channel
perturbation) explained in detail in Sec.6.
Dolphin’s proof-of-concept implementation: We successfully
demonstrate that using Dolphin users can tweet, send an email,
and access news excerpts. Even on a severely bandwidth restricted
cellular voice channel, Dolphin takes close to a minute to tweet
(280 characters). Additionally, depending on the size, email can also
be delivered in a few minutes, e.g., 500 character email takes less
than 3 minutes, including the time to establish a secure channel.
It must be noted that Dolphin has a modular design that provides
a data link and a transport layer (on top of cellular calls) ensuring
reliable end-to-end transfer of data. Thus, it can be easily extended
to support other lightweight applications as well.
Additionally, we tested Dolphin during a real shutdown event [76]
and confirmed that Dolphin worked with similar performance.
Moreover, by design, Dolphin is easy to adopt and use—it requires
access to a computer and a Bluetooth enabled smartphone, and
relies on commonly available open source libraries. It is agnostic
to the underlying cellular technology (2G/3G/4G voice). Further,
590
Dolphin: A Cellular Voice Based Internet Shutdown Resistance System Proceedings on Privacy Enhancing Technologies 2023(1)
we also provide a way for users to access the Internet, even with a
fully-automated peer, that requires no human support after an initial
setup. This is achieved using cellular voice automation services
(such as Twilio [22]) that enables hosting the Dolphin server pro-
gram on a cloud, while providing a local number that users could
call. (ref. Sec. 4.3 for more details).
To summarize, following are our major contributions:
• The design of Dolphin, a system that provides a way to combat
the extreme form of censorship due to Internet shutdowns by
using the cellular voice channel. The design ensures security
and reliability on top of the insecure, unreliable and bandwidth
constrained cellular voice channel.
• An extensive evaluation exploring the feasibility of transmitting
data bits in the cellular voice channel by varying data encoding
rates, cellular operators, location of peers etc.
• A working implementation of Dolphin that can be used for emails,
posting tweets, accessing news etc., all within a few minutes.
Due to its modular design it can be extended to support other
lightweight applications as well. Moreover, Dolphin not only
works with a human peer, but can also operate without one
(using cellular voice automation services).
2 INTERNET SHUTDOWNS AND OUTAGES
Internet shutdowns are deliberate acts of turning off the Internet
connectivity in a particular region (city, state or even a country)
by the competent authorities at the behest of the governments.
Such shutdowns have been on the rise, with 213 documented cases
reported in 2019 alone. These shutdowns could last for less than a
day to over a year in some cases (472 days in Chad) [2].
Various projects keep track of these shutdowns a country as well
as on a global scale. E.g., the accessnow project [2] categorically re-
ports incidents of shutdowns occurring across the globe, presenting
detailed statistics of such events. Further, there are country-specific
projects such as [10] which maintain a record of all the shutdowns
that happen in India (a country with the highest number of shut-
downs). Some projects even attempt to estimate the economic losses
inflicted due to Internet shutdowns e.g., internetsociety [14].
Other projects attempt to identify Internet outages in general.
E.g., IODA [6] keeps track of Internet outages by performing ac-
tive measurements using various probes, as well as using passive
measurements by identifying anomalies in publicly available BGP
paths and characterizing them as possible cases of outages. There
are some proprietary projects such as ThousandEyes (managed
by Cisco) [7] which also keep track of Internet outages across the
globe in real-time.
Overall, while there are various studies and platforms that re-
port Internet shutdowns and outages, none provide solutions to
circumvent them. Thus, we present Dolphin, a novel system that
provides basic Internet connectivity to the users in shutdown and
outage regions by using cellular voice (utilizing just a mobile phone
and a laptop/desktop).
3 DOLPHIN SYSTEM DESIGN
We now describe the overall design of Dolphin. We begin by de-
scribing the individual components of Dolphin (depicted in Fig. 1)
and their functioning, followed by a step-by-step walk-through of
Dolphin’s operation. Dolphin has two major components: caller
and callee. Dolphin caller infrastructure consists of the following:
• Dolphin caller machine: This machine runs the Dolphin client
utility. It accepts input from the user (e.g., text) that it wishes to
send over the Internet ( e.g. as an email or a tweet). The client
utility inputs the text to an audio encoder (explained in detail
ahead in Sec. 4.2), which encodes the text to audio format. This
audio is streamed into the audio input of the mobile handset
(connected to this machine using Bluetooth).
• Dolphin caller mobile phone: This phone is paired to the client
machine via Bluetooth in a manner that it accepts audio input
from the said machine (details in Sec. 4.1). The audio received
from the host is relayed to the Dolphin callee mobile over a
standard voice call.
Dolphin callee infrastructure consists of:
• Dolphin callee mobile phone: This phone receives the call
from the caller‘s phone and forwards the received audio to
the server machine, via Bluetooth.
• Dolphin callee machine: Upon receiving the audio, from the
callee mobile, it is forwarded to the Dolphin server program
which decodes the audio to the corresponding data bits (text).
These bits are processed by the server program which per-
forms subsequent actions (sending the text as email or tweet
on the Internet etc.).
3.1 Dolphin Communication Protocol
We now describe the communication protocol of Dolphin. We as-
sume that Dolphin’s caller and callee infrastructure is in place.
Additionally, we assume that the caller knows the trusted callee’s
phone number, its Diffie Hellman (DH) public exponent (дy) and
its public key (Kpub ) out of band.
Figure 2: Dolphin’s secure channel and data transmission
phases. f() computes HMAC tag (green) and f_v() verifies it.
Once a cellular call is established, Dolphin then operates in two
phases. The first phase deals with establishing a secure encrypted
channel between the caller and the callee, required to evade an
eavesdropping adversary. Once the secure channel is established,
the second phase then deals with the actual transmission of data
(refer to Dolphin’s overall design in Fig. 2). The details of these two
phases are as follows:
591
Proceedings on Privacy Enhancing Technologies 2023(1) Piyush Kumar Sharma, Rishi Sharma, Kartikey Singh, Mukulika Maity, and Sambuddho Chakravarty
Secure channel establishment phase:
(1) In this phase, the caller and callee establish a shared secret to
encrypt the data bits, for which they rely on a Diffie-Hellman
(DH) key exchange.
(2) The caller’s client utility first selects a DH private part x,
and derives the shared secretдxy, using the already known
дy of the callee. Then the encryption/decryption key (Kcr ,
Kce ), and the initializing vector (IV) are derived from the
shared secret using a key derivation function (KDF) by the
caller. We use AES-128 in GCM mode (an AEAD cipher [74])
for encryption/decryption. The derived IV is considered as
an input nonce to AES-GCM.
(3) Once the keys are derived, the caller prepares the bootstrap-
ping information (the application requested to access, cur-
rent timestamp and plain-text magic string, and encrypts
it with its encryption key (Kcr ). Additionally, the caller en-
crypts its DH public partдx with the already known public
key (Kpub ) of the callee (for callee authentication) and ap-
pends it with the encrypted bootstrapping information. The
caller’s client utility then sends this data to the callee.
(4) The server utility, on successful reception of data, computes
дxy, by extracting дx with the help of its private key. It
then derives the respective keys ( Kcr , Kce ), decrypts the
received bootstrapping information (using Kcr ) and sends
back an acknowledgement (containingдx ) encrypted with
its encryption key Kce . Notably, successful retrieval of the
plain-text magic string provides a quick way to check the
integrity and authenticity of the received data.
(5) The secure channel establishment phase completes on suc-
cessful reception and decryption of the acknowledgement
by the caller.
In Sec. 6 we discuss our threat model in detail along with an
analysis of possible attacks.
Data transmission phase:
(1) Once the key is derived, the caller or the callee initiates data
transmission based on the bootstrapping information. Since
we use AES-GCM, the encrypted data to be sent is appended
with a one time HMAC tag that ensures integrity and au-
thenticity of the data bits. For efficient capacity utilization,
the plaintext data bits are first compressed, before being
encrypted and encoded.
(2) The resulting data is divided into data frames and is trans-
mitted sequentially to the receiver.
(3) These data frames are received and stored by the receiving
end until all frames for the current transmission are success-
fully received.
(4) The above steps are repeated for subsequent data transfers
as and when required in either direction.
Notably, the peers derive a new key every time some fresh data
is to be transferred. However, for performance efficiency, they can
derive a key that stays active for multiple data transfer sessions
(e.g., a day or a week).
3.2 Dolphin Reliability Protocol
The above walkthrough raises several important questions i.e., how
is the data flow controlled, how is the data integrity preserved and
verified etc. Moreover, it is known that the voice channel is lossy.
Thus, a natural question is how to ensure reliable data transfer over
the lossy cellular voice channel?
One approach is to directly use the standard TCP protocol be-
tween the caller and callee to ensure reliability. However, using
standard TCP directly would lead to performance degradation. This
is because, in practice, we are able to transmit data at low transfer
rates of about 64 bps over the voice channel, with tolerable errors
(ref. Sec. 5.1). With such limited bandwidth, the overheads of the
headers itself severely impact the overall performance. E.g., a TCP
ACK packet has a minimum header size of 40 bytes i.e. 320 bits.
Thus, even if there was no error, it would take atleast 5 seconds just
to transfer a single ACK packet. Moreover, sending standard MTU
sized packets will be detrimental from a performance standpoint
as the larger the amount of data transmitted, the more the chances
of encountering errors during transmission (due to lossy nature of
real-time voice), thus making it prone to many re-transmissions.
Overall, it is not feasible to use standard TCP for Dolphin as it
can severely impact performance. Using error detection/correction
techniques is not suitable either as discussed in Appendix. A.2.2.
Thus, to achieve reliable and in-order delivery of data, we de-
signed a new reliability protocol. Our protocol is (in part) similar
to TCP, but tailored specifically for Dolphin, considering the under-
lying lossy and low capacity cellular voice channel. Our reliability
protocol specifically incorporates the re-transmission, sequencing
and timeout mechanisms, for the in-order and reliable transmission
of data, while minimizing the overheads for such operations to
a bare minimum. Moreover, as described ahead (ref. Sec. 5.1), we
select a fixed bit rate for transmitting data and thus do not require
congestion control mechanisms of TCP.
Our protocol involves dividing the data into small fixed sized
chunks and transmitting each of them with their respective check-
sums. Small sized chunks help localize the impact of data corrup-
tions or losses. Thus, the corruption of each chunk can be individu-
ally detected and the callee can solicit the caller to re-transmit only
the corrupted chunk, rather than the entire data. This scheme helps
in reducing the number of possible re-transmissions while transfer-
ring data. E.g., one way to transmit 100 bytes data is to send it as a
single chunk. An alternate way is to divide this data into smaller
chunk sizes of say 20 bytes each before sending it. In the former,
the corruption of a single bit would require the re-transmission
of the entire data (100 bytes), while in the latter, the callee may
only solicit for a single 20 bytes chunk. This potentially leads to a
five fold decrease in the amount of data to be re-transmitted. Thus
dividing the data into smaller size chunks helps us in minimizing
the amount of data to be re-transmitted. Also, our scheme requires
transferring only 1 bit for acknowledging each individual chunk
(ref. Sec. 3.2). In comparison to direct TCP, this is about 320 times
reduction in the overhead.
Moreover, we transmit the data at a bit rate of 64 bps, and the
acknowledgments (or other control messages) at a relatively slower
rate of 16 bps. The control information is sent at a lower rate to
minimize the chances of its corruption so that we do not have to re-
transmit this information again, as it does not contribute to overall
data transmission. Moreover, since the control information is only
a few bytes long, transmitting them at low rates does not hamper
the overall performance.
592
Dolphin: A Cellular Voice Based Internet Shutdown Resistance System Proceedings on Privacy Enhancing Technologies 2023(1)
Figure 3: Some representative scenarios that are handled by Dolphin’s reliability protocol: (a) represents the best case where
no data is corrupted/lost, (b) depicts the case where one (or more) chunks are corrupted/lost, (c) is the case where a complete
batch of chunks is corrupted/lost, and in (d) the acknowledgement(s) are corrupted/lost. All other scenarios that exist are the
variation of these base cases and are thus handled by our reliability protocol.
Having discussed the major motivation and driving factors be-
hind the reliability protocol, we now describe the end-to-end func-
tioning of Dolphin’s reliability protocol.
(1) In order to transfer data in either direction, first the data is
divided into smaller chunks of fixed size. Each chunk consists
of data bits and the corresponding integrity check (CRC).
These chunks are also prepended with a sequence number
for managing their order (ref. Fig. 4).
(2) Thereafter, the sender transmits a batch of chunks sequen-
tially. The exact number of chunks in a batch are fixed and
known to both the parties beforehand (with the help of boot-
strapping information). Once the chunk batch is completely
transmitted, the sender waits for an acknowledgement.
(3) The receiver listens for, and stores, the incoming data. Since
total data to be transferred, and the transmission rate are
fixed, the receiver calculates and sets an appropriate time-
out. E.g., if a batch of five chunks (20 bytes each) are to be
transferred at a rate of 64 bps (8 bytes/sec), then the total
timeout should be 12.5 s (100 ÷ 8 s). Thus, the receiver sets
a timeout of 13 s (additionalδ say 0.5 s) to compensate for
any stochastic delays.
(4) After receiving a batch, the receiver pre-processes the chunks
by validating their integrity. All the correctly received chunks
are queued as per the sequence numbers. The incorrectly re-
ceived chunks are marked. Subsequently, the receiver sends
an acknowledgement, indicating the corrupted chunks (thus
soliciting re-transmission).
(5) The sender receives the acknowledgement, verifies its in-
tegrity, identifies the corrupted chunks, and re-transmits
them. In case the acknowledgement gets corrupted, the sender
re-transmits the entire batch sent in the previous iteration.
(6) The received re-transmitted chunks are processed similar
to step 4. Upon successfully receiving the re-transmitted
chunks, the receiver accordingly acknowledges the sender.
(7) Thereafter, both caller and callee repeat steps 1 to 6 for any
subsequent data transmission. Moreover, once the complete
data has been received, the HMAC tag appended at the end
is used as an additional mechanism to verify the integrity
and authenticity of the complete received data.
(8) Once there is no more subsequent data to be sent or applica-
tion to access, the call is disconnected.
Thus, using the above protocol, we are able to ensure reliable
delivery of data over the cellular voice channel. A concise version
depicting different scenarios and how the protocol handles them
is shown in Fig. 3 and the overall working of Dolphin along with
how the different components interact is depicted in Fig. 28.
However, there might be a few questions about what exactly is
sent in the acknowledgements, how are sequence numbers assigned
etc. We now describe the answers to such questions.
Delineating chunks: It is important to delineate chunk bound-
aries. The reliability protocol categorically addresses this issue. A
naïve approach is to delineate the chunks based on their sizes. E.g.,
if five 20 byte chunks are transferred (total of 100 bytes), then the
initial 20 bytes would belong to first chunk, the next 20 to the sec-
ond and so on. However, if a single byte is lost in a chunk, then
the boundary for all subsequent chunks would be miscalculated.
More specifically, if a byte is lost in the first chunk, then even if
all the subsequent four chunks are received correctly, they would
be discarded due to inaccurate delineation. Though this strategy is
easy to implement, it can lead to unnecessary re-transmission even
when the data is correctly received.
The other strategy would be to use a delimiter to delineate each
chunk. There can be multiple approaches to add a delimiter. How-
ever, we use a technique known asbyte stuffing [73]. This technique
allows us to use a character (say e.g., the null character), as a delim-
iter to mark the end of a chunk. All other instances of the character
(selected as the delimiter) in the original data are masked (by using
extra bytes) in a manner such that the original characters can be
easily recovered at the receiver.
However, the traditional byte stuffing algorithms can lead to
large overheads, with worst case scenario leading to doubling of
the original data. Thus, in order to minimize the overhead, we
use the Constant Offset Byte Stuffing (COBS) [32] algorithm. This
algorithm ensures, that there will be a constant overhead of only
1 byte per delimiter. Thus, effectively, a 100 byte data (5 chunks)
would be converted to 105 byte data, with each chunk ending with
the delimiter.
It must be noted that we also handle the case when the delimiter
itself gets corrupted. E.g., if five chunks were transferred (numbered
593
Proceedings on Privacy Enhancing Technologies 2023(1) Piyush Kumar Sharma, Rishi Sharma, Kartikey Singh, Mukulika Maity, and Sambuddho Chakravarty
1 to 5) but the delimiter of the second chunk was lost or corrupted.
In this case, the delineation would detect four chunks numbered
1, 2, 4 and 5. Further, checksum validation would mark chunk 2 as
corrupted (as it essentially contains data of both chunk 2 and 3)
and mark chunk 1, 4 and 5 as correctly received. Thus, appropriate
acknowledgements would be generated so that chunk 2 and 3 can
be re-transmitted.
Sequence numbering: First byte of each chunk is reserved for
assigning a sequence number. Thus, the maximum sequence num-
bers that can be assigned is 256, implying that a batch can have
at most 256 chunks. Dolphin can be configured to transmit more
chunks per batch, by reserving multiple (sequence number) bytes
per chunk. Selecting a single byte for sequence number minimizes
the overhead.
Each chunk within every batch is assigned a relative sequence
number, i.e., the first chunk of every batch has sequence number 1,
the second has 2 and so on.
Acknowledgements: Acknowledgements identify the correctly
and incorrectly received (or lost) chunks. Each chunk correspond-
ing to its seq. no. is assigned either a bit 1 (correctly received) or
0 (incorrectly received), within a bit sequence. Thus, the acknowl-
edgement is this bit sequence of 0s and 1s. E.g., if eight chunks
are transmitted in a batch, and the fifth and sixth are corrupted or
lost, then the acknowledgement will be the bit sequence with the
corresponding bits set to 1, i.e., “11110011”. The acknowledgement
will also contain 1 byte for integrity verification.
One might argue as to why do we not send only the negative
acknowledgements for the missing chunks. This could ideally fur-
ther reduce the overheads. However, then we would require more
than 1 bit per chunk as acknowledgement, since it would involve
indicating the relative position of the missing chunk to the sender.
In the current scheme, the positioning information is implicitly
handled. Moreover, sending just the negative acknowledgements
would also make the size of acknowledgements variable, making
it difficult to calculate appropriate timeout values and thus would
not be beneficial.
Timeout calculation: The duration for which the peers need to
wait for receiving the data/acknowledgement can be easily calcu-
lated from the length of data and the transmission rate (known
beforehand to both parties). The approx. timeout could then be
calculated using the formula: timeout = (total data (in bits) ÷ bit
rate) +δ. We fix the value ofδ to a small one (e.g., 0.5 s) to account
for any unexpected delay. The selection of the delta value is backed
by the observation that ITU [ 43] mandates the one way delay in
a voice call to be strictly under 400ms. Thus selecting a value of
500 ms is reasonable. However, this parameter could be tuned as
required.
Data compression: We compress the data before encrypting it, as
textual data can be compressed with a higher compression ratio,
as compared to cipher-text [50]. In our experiments, compression
reduced the data size by 20%-60%, leading to overall lesser data
being transferred over the voice channel.
Integrity check: The integrity for each chunk is calculated using
the CRC algorithm (CRC-8) [ 78]. Thus, each chunk consists of
an additionally appended one byte to verify the integrity of the
received data. Other mechanisms such as CRC-32 (4 bytes) can also
be used, but we use CRC-8 (1 byte) to minimize the overhead of
verifying integrity. Also, CRC-8 is sufficient for our requirements
as it can be used to verify integrity of data up to 64 bytes [4], as we
generally select a much smaller chunk size i.e., 20 bytes. Moreover,
we also transmit a one time HMAC tag with the complete data to
additionally verify the overall integrity of received bytes.
Figure 4: Details about individual chunks and how they are
stacked before sending.
Effective data transport capacity:Overall, a 20 byte chunk would
include one byte for sequence number and another one for check-
sum. Thus, effectively 18 useful bytes are transmitted per chunk
(ref. Fig. 4). Thus if 100 bytes are sent via 20 byte chunks, then ef-
fectively 90 bytes of data and 10 bytes of checksums and sequences
number are transmitted. The overheads can be minimized by se-
lecting a larger sized chunks, say 50 bytes each. Thus effectively
transmitting 96 bytes of data, along with only four additional bytes.
However, in such cases, re-transmission of larger chunks (upon
errors or losses) would incur higher overall delays. Our experience
shows us that using 20 byte chunks, minimizes the latency, without
reducing the data transport capacity (90 bytes of data for every 100
bytes sent) drastically. Therefore, for all our measurements we use
20 byte chunks. Additionally, data compression also increases the
data transmission efficiency.
3.3 Modes of Operation
We now enlist the two operating modes of Dolphin:
1.) Human callee mode: This mode requires the user in Inter-
net shutdown region to find a trusted peer (or friend) in a region
with uninterrupted Internet connectivity. The Dolphin user (caller)
would then request this peer to setup the Dolphin callee infras-
tructure, for accessing Internet applications (such as Twitter, email
etc.). This is similar to users running circumvention systems in
non-censoring countries, to support those living under repressive
regimes. However, this model is not always conducive — what if
one cannot find peers in non-shutdown regions? To answer this
question, we introduce the second mode of operation.
2.) Automated callee mode: This mode provides a way for users
to access Internet, even without a friend. We achieve this using
cellular voice automation services (e.g., Twilio [22]). Such services
enable hosting the Dolphin server on a cloud, while providing a local
number that users could call. Their automation engine forwards the
audio (from the call) to the cloud hosted Dolphin server, that serves
the encoded requests. During a shutdown, the Dolphin caller would
only require knowing the phone number provided by Twilio (or
other similar services) to access Internet (implementation details
in Sec. 4.3). However, unlike the human callee mode, such services
would incur periodic subscription fees.
594
Dolphin: A Cellular Voice Based Internet Shutdown Resistance System Proceedings on Privacy Enhancing Technologies 2023(1)
4 IMPLEMENTATION DETAILS
In this subsection we describe how we implemented different com-
ponents of Dolphin. 1
4.1 Setup
The major components of the setup include caller and callee mobile
phone and a host machine to which they are paired via Bluetooth
(ref. Fig. 1). Pairing phones with the hosts ensures that during a
cellular call, the audio input and output is captured from the host’s
sound card, rather than the mobile phones’ inbuilt microphones
and speakers, respectively. Data encoded audio is played out via
the hosts’ sound card. The output is treated as microphone input
by the mobile phone, due to Bluetooth pairing. At the receiver, a
similar pairing joins phone’s speaker output to the host’s sound
card’s input, allowing for decoding of received audio.
We used Android 10 version mobile phones for our setup. The
host machines were provisioned with 4GB RAM, Intel i5 8th gen
processor and ran Ubuntu 20.04. We assumed the caller to be in
an Internet shutdown region. We ensured this by disconnecting
the caller’s phone and its host to any sort of Internet access (WiFi,
LAN or cellular data). On the other hand, callee is assumed to be
in a region with Internet access i.e., in our setup, the host on the
callee’s side had access to uninterrupted Internet via LAN/WiFi.
4.2 General Implementation Details
Connection establishment and call automation: The phones
need to be paired to the host via Bluetooth manually, for the first
time. Once paired, the subsequent pairing is automatic. We use
the ofono framework [13] for call automation as it helps manage
various calling features via Bluetooth – dialing and disconnecting,
tracking call related events (call established/missed etc.). Ofono is
accessed using a dbus interface (using pydbus [17] library).
Sending and receiving data: Since we cannot directly send the
data over the cellular voice channel, we first encode it into an audio
signal. Additionally, sending the encoded data over the cellular
voice channel, while ensuring minimal losses is not trivial. Various
background processing and optimizations in the cellular infrastruc-
ture, e.g., Voice Activity Detectors (VAD), Automatic Gain Control
(AGC), can deteriorate the encoded bits significantly. VAD filters
out all frequency components outside the human speech range,
i.e., it significantly attenuates frequencies close to 0 Hz or above
4 Khz. Thus, our modulation scheme must ensure that the data
encoded audio lies between such a frequency range. Similarly, AGC
dynamically adjusts the transmitted signal’s amplitude. Hence, the
modulation technique must also not rely on the amplitude of the
voice signal to encode data. Hence, we selected Frequency Shift
Keying (FSK) [58] to modulate the data bits. Since, it uses frequency
to modulate data, AGC will not have much impact. Similarly, we en-
sure that the generated audio does not go beyond 4 KHz frequency
range, and thus remains unaffected by VAD.
Thus, Dolphin relies on minimodem [60], a software modem
which encodes (or decodes) data bits into (or from) audio tones
using FSK. The rate at which data can be encoded/decoded can be
varied. We thus present experimental results in Sec. 5.1 to establish
the suitable data rates for transmitting data over the cellular voice
1The code of the proof-of-concept implementation is publicly available [36].
channel. We include details about how Dolphin’s API can be used
to access Internet applications and websites in Appendix. A.2.1.
Establishing secure channel: We aim to establish a shared secret
between the caller and the callee using DH key exchange. Tradi-
tionally DH uses 128 byte public exponents. For regular network
speeds, transferring such keys takes under half a second. How-
ever, in Dolphin, low data rates ( ≈ 64 bps) can incur significant
delays to exchange such keys. Thus, in Dolphin, we minimize this
delay by using DH over elliptic curve group (ECDH), instead of
DH over finite cyclic group. ECDH keys are 32 bytes long and can
be transferred relatively quickly (4 times sooner, as compared to
DH). Moreover, the smaller key size does not compromise the secu-
rity of derived keys [41]. The established shared secret along with
the bootstrapping information is used by the peers as input to the
PBKDF (password based key derivation function) to derive the key
and IV. We usedpycrypto [15] and coincurve [54] to perform the
crypto operations.
On privacy implications of initiating connection by the peer
on behalf of caller: In Dolphin, we assume that the peer outside
the shutdown region is trusted and thus sharing password of pro-
tected accounts (email, Twitter) should not be an issue. However,
there are alternatives which one can use to protect the privacy of
their accounts. First, the caller can enable two-factor authentication
(SMS based) on its password protected accounts so that every new
access requires the caller to provide an OTP, preventing unintended
access. Second, caller can use OAuth token based access schemes.
These tokens allow for stricter control and can be configured to per-
form specific tasks with confined scope. E.g., in case of Twitter the
user can generate tokens that allow only for tweeting and can share
these via Dolphin whenever it wants to tweet from its account. The
current Dolphin implementation incorporates the above methods
(for Twitter and Gmail). However, the user requires configuring its
account for OTP access and generate tokens before any shutdown
event. If the user is not able to perform this task beforehand, then
an alternate approach as described in Mailet [56] could be used, e.g.,
rely on multiple parties to derive the password, with no one party
having complete information.
Running Internet applications: In Dolphin the callee accesses
Internet services on behalf of the caller, using the server utility. The
current implementation integrates Dolphin with three applications
viz., email, Twitter, and news. The email has been automated using
smtplib [16], and Twitter using twython [18] library. The news
application is automated usingnewsapi [20], which returns concise
news snippets based on a keyword query.
4.3 Automated Callee Mode
As discussed previously, Dolphin can also work in a mode where the
callee is completely automated and implemented on a cloud host
using cellular voice automation services. Thus, the caller would not
need to rely on a human peer. To achieve this, we need a way to
manage cellular voice calls (automatically answering, playing audio,
recording audio etc.) from a cloud host. In Dolphin, we achieve this
with the help of the Twilio platform.2 The details of the implemen-
tation can be referred to in Appendix A.3.
2Dolphin is not coupled to Twilio, it can be integrated with any other similar platform
that provides cellular call management functionality.
595
Proceedings on Privacy Enhancing Technologies 2023(1) Piyush Kumar Sharma, Rishi Sharma, Kartikey Singh, Mukulika Maity, and Sambuddho Chakravarty
Figure 5: Bit error rate variation for dif-
ferent bit rates for 100B transfer.
Figure 6: Bit error rate variation for dif-
ferent bit rates for 1000B transfer.
Figure 7: Bit error rate variation for dif-
ferent bit rates for 5000B transfer.
5 DATA COLLECTION AND RESULTS
We now present the details of various experiments performed for
evaluating Dolphin along with their corresponding results. Broadly,
we divided our experiments into two categories. The first set of
experiments are devised to test the viability of sending data at
different bit rates over the cellular voice channel. The second set
of experiments are conducted to gauge the performance of actual
Internet applications when accessed via Dolphin. Additionally, we
also conducted experiments to assess the performance of Dolphin
for the automated callee mode configuration.
5.1 Achievable Encoding Rates in Dolphin
As already described, we encode and decode data bits into and from
voice respectively. However, the underlying cellular voice channel
used in Dolphin is lossy. Thus, our aim is to identify the achievable
bit rates with which the caller can transmit the data to callee over
cellular telephony network.
Size Bit Rate (bps)
(Bytes) 16 32 64 128 256
100 0.01 0.15 0.29 4.86 18.76
500 0.61 0.9 0.92 5.71 19.32
1000 0.92 1.23 1.16 7.71 21.32
5000 0.97 1.8 1.69 16.07 22.28
Table 1: Error percentage for varying bit rates and file sizes.
Thus, we performed various experiments that involved encoding
and sending of data bytes at different bit rates. In our experiments
we used the setup as already described in Sec. 4.1. For these, we first
established a cellular call from the caller to the callee and then sent
the data of varying lengths (100, 500, 1000, 5000 bytes) at different
rates (16, 32, 64, 128 and 256 bps). The goal of these experiments
was to measure the bit error rate (BER) when the encoded data is
transmitted over the cellular voice channel at different rates.
But, with Dolphin, the calculation of BER was not straightfor-
ward. The BER is defined as the percentage of corrupted bits in
a transmission. However, standard BER calculation does not con-
sider lost bits, but only bit flips. As Dolphin relies on lossy cellular
telephony network, the resulting errors not only include bit flips
but often also results in bit losses. Thus, general BER techniques
cannot be directly used; rather we used edit distance [71] as a met-
ric to measure the bit errors. The edit distance algorithm outputs
the minimum number of bit operations required to convert the
received data to its original form. For our scenarios these bit op-
erations represent all possible errors – bit flips and losses. Since
in our experiments we controlled both the caller and callee, we
could compare the bits sent from those received. This enabled us
to compute the edit distance.
Further, the edit distance represents the total bit errors. Dividing
it by the bits transmitted yields the BER for data transmitted. In
all our experiments, we computed the BER using the edit distance
metric. We repeated each experiment for a particular bit rate and
data length 30 times.
Corresponding to different bit rates (16, 32, 64, 128 and 256 bps)
we tabulate the average BER in Tab. 1 and present the complete
error distributions in Fig. 5, Fig. 6 and Fig. 7 for 100, 1000 and 5000
bytes respectively. It is evident from the table and the graphs that
up to 64 bps, the BER is relatively low i.e., less than 2 %. At 16
bps the BER was even lower i.e., less than 1%. However, the BER
increases drastically with relatively higher data rates i.e., 128 and
256 bps. E.g., with 256 bps the BER is around 20%.
Ideally one would want to transmit the data at higher bit rates
using Dolphin (e.g., above 256 bps). This would reduce the overall
latency. However, as demonstrated through our extensive experi-
ments, higher data rate results in more errors, eventually rendering
the cellular voice channel unsuitable for data transmission. On the
other hand, if we send the data at extremely low rates (e.g., under
16 bps), the data would be delivered with least errors, albeit increas-
ing the overall end-to-end delay. Thus, 64 bps seems like a good
trade-off point between latency and errors, and thus we selected it
for performing subsequent experiments.
However, since control information ( e.g., acknowledgements
etc.) is generally smaller in size, compared to data chunks, we sent
them at low rates (i.e., 16 bps), to further minimize their chance of
corruption. This step does not impact the overall latency much.
It must be noted that we also explored several transmission rates
between 64 and 128 bps. The error rates were directly proportion-
ate to the increase in transmission rates (from 64 to 128 bps). We
noticed an overall improvement in performance (average reliable
transfer time) when using rates as high as 90 bps; but increasing
it higher provided no significant performance gains. However, we
also observed larger variance in error rates and download times
when we used such relatively higher bit rates. At 64 bps, the data
transmission was much more stable and consistent during our ex-
periments. Thus, we used a rate of 64 bps for our experiments.
596
Dolphin: A Cellular Voice Based Internet Shutdown Resistance System Proceedings on Privacy Enhancing Technologies 2023(1)
Figure 8: Dolphin’s secure channel estab-
lishment time.
Figure 9: Time taken to tweet 280 char-
acters (max. limit) using Dolphin.
Figure 10: Time taken to send an email
of varying sizes using Dolphin.
Varying cellular connectivity: Notably, the above set of experi-
ments assumes the caller to be in a shutdown region, and the callee
to be outside. The caller phone was manually switched to use only
2G voice (representing bare minimum cellular connectivity) and
the callee’s phone was enabled with 4G voice connectivity. How-
ever, peers may not always have such connectivity due to various
reasons (such as intermittent signal, proximity to base station etc.).
Thus, to test the feasibility of all such cases for caller and callee,
we repeated the above set of experiments varying bit rates and data
sizes for different combinations of 2G, 3G and 4G voice connectivity.
The BER received in these scenarios ( e.g., caller (2G) callee (4G),
caller (3G) callee (4G) etc.) did not vary much (ref. Appendix A.1 for
details), indicating similar performance for different connectivity
scenarios. Thus we continued using 64 bps as our default data
transmission rate.
Varying cellular providers: We also performed the aforemen-
tioned experiments for different cellular service providers. We ob-
served similar BER ( < 2% error for bit rates < 64 bps) when we
tested Dolphin on four popular providers which serve majority
(≈ 90%) of the users in their region [30]. Thus, one can infer that
Dolphin functions well across different cellular providers.
Geographical variation: In the aforementioned experiments, both
the caller and the callee were in close proximity (in the same build-
ing) and may essentially be connected to the same cellular tower.
One can argue that the results may vary if the geographical dis-
tance between the caller and callee is increased as it would involve
data to travel over multiple cellular towers. Thus, we repeated the
experiments with the caller and callee in different cities ( ≈ 1100
miles apart) within the same country, as well as different countries
(one in Asia and other in Europe, being ≈ 3600 miles apart). We
observed similar BER for downloading 100 to 500 byte files at dif-
ferent bit rates (16, 32,..., 256 bps), with less than 2% error for 64
bps. Moreover, we also show in the subsequent section (automated
callee mode) that even when the callee infrastructure was hosted
on a cloud service, the results did not vary much. This establishes
that Dolphin is not generally impacted by geographical variations.
Impact of Bluetooth: One may argue, that Bluetooth used for
transferring data between the phone and laptop might impact the
transmission rates we observed. Thus, we conducted experiments
to test if Bluetooth impedes the achievable data rates. These ex-
periments involved isolating the errors introduced by Bluetooth
transmission (if any) and comparing them to the errors introduced
by the cellular channel. We used the same setup as in Fig. 1. How-
ever, in this case, we recorded the audio at the callee’s laptop as well
as the caller’s mobile phone. The latter bear the errors introduced
due to Bluetooth while the former contains the errors introduced
by both Bluetooth as well as the cellular channel. For all data rates
(up to 256 bps), we observed that no errors were introduced by
Bluetooth (BER of zero). At the same time, the cellular channel
introduced significant errors (Bit error of at least 1%, max at about
20% for data rate of 256 bps). This confirms that Bluetooth did not
contribute to errors in audio, but that such errors were introduced
only by the cellular voice channel.
On Dolphin’s observed data rates: Since Dolphin achieves low
data encoding rates, we explored the possibility of improving it
using existing modulation techniques that claim to achieve higher
rates. Note that only a handful of such techniques have been de-
veloped to be resistant to distortions and processing artefacts. One
such modulation scheme was proposed in Hermes [34]. It was devel-
oped in 2010 and claimed to achieve close to 1 Kbps encoding rate
with low bit errors (< 1%). However, the unavailability of Hermes’
source code, along with a few missing implementation details of
the design of the complex demodulator, made it difficult for us to
implement it. Another such technique, Authloop [70] developed in
2016, also tried re-implementing Hermes’ demodulator but failed to
do so. Thus, Authloop developed and implemented its own modula-
tion scheme based on the ideas proposed by Hermes. Their modem
achieved about 500 bps encoding rate in a simulation environment.
Thus, we used Authloop’s modem’s code to encode and send data
over the real cellular channel. However, the transferred data suf-
fered about 55% bit error rates. To sum up, encoding data using
schemes that use sophisticated channel coding techniques do not
seem to compensate for the losses experienced over cellular voice
channels. Thus, we currently employ Dolphin’s FSK-based scheme
that achieves moderate data rates with low bit errors and is practical
for tasks with low-performance requirements — email, news feeds
and tweets. Most importantly, Dolphin’s modular design allows for
easy adoption of encoding schemes in the future that may provide
higher data rates while assuring low errors.
We further explored the reason behind the poor performance of
previous modulation techniques. We found out that these studies
evaluated only one of the many available modes of the popular AMR
cellular codec [44]. We recreated their setup in simulation using that
specific mode of AMR and observed that these techniques achieve
597
Proceedings on Privacy Enhancing Technologies 2023(1) Piyush Kumar Sharma, Rishi Sharma, Kartikey Singh, Mukulika Maity, and Sambuddho Chakravarty
low bit errors at a high data rates. However, in other AMR modes,
their scheme faces large errors. Notably, Dolphin’s modulation
also performed on par, or better, in the same simulation setup
when tested against the AMR codec mode used by previous studies,
offering 1024 bps data encoding rate with about 1% error.
We believe that the current cellular channels (that we came
across in all our evaluations) use modes of AMR that lead to large
bit errors and hence make it difficult to obtain high data encoding
rates for Hermes, Authloop, and Dolphin alike (ref. Appendix. A.2.5
for further details).
Moreover, we discuss the possibility of using VoLTE to achieve
higher encoding rates (in Appendix. A.2.3) and also highlight the
differences in using VoIP and cellular channels with respect to the
ease (or difficulty) in encoding data in Appendix A.2.7.
5.2 Performance of Internet Applications
In this subsection, we quantify the performance when Internet
applications (email, Twitter etc.) are used over Dolphin.
As already described (Sec. 3.1), Dolphin works in two phases
i.e., the secure channel establishment phase and data transmission
phase. Thus, first we quantify the time taken to establish a secure
channel between the caller and callee. As depicted in Fig. 8, we
observe, on average, a minute to establish an encrypted channel,
with the worst case being around 1.7 minutes (experiment repeated
30 times). Ideally, for better security guarantees, the caller should
establish a secure channel every time it sends or accesses some
content. However, in case the user wishes to reduce the overall
latency, the Dolphin caller can be configured to establish a key once
and use it for all data transfers for a longer duration e.g., a day.
Next, we measured the time taken by Dolphin to access (or
send) content using different Internet applications. We tested three
applications viz., email, Twitter, and news. For each application,
we measured the time taken by the caller to send (or receive) the
complete data reliably. First, we tested the time taken to tweet a 280
character ...