
Generador de ruido de tráfico de internet DNS, HTTP/S aleatorio simple
Un sencillo script de Python que genera ruido aleatorio de tráfico HTTP/DNS en segundo plano mientras navegas por la web de forma habitual, para que tus datos de tráfico web sean menos valiosos para la venta y proporcionen mayor oscuridad.
Probado en MacOS High Sierra, Ubuntu 16.04 y Raspbian Stretch, y compatible tanto con Python 2.7 como con 3.6.
Estas instrucciones te permitirán obtener una copia del proyecto y ponerlo en funcionamiento en tu máquina local.
Instala requests si aún no lo tienes instalado, usando pip:
pip install requests
Clona el repositorio:
git clone https://github.com/1tayH/noisy.git
Entra en el directorio noisy:
cd noisy
Ejecuta el script:
python noisy.py --config config.json
El programa puede aceptar varios argumentos de línea de comandos:
$ python noisy.py --help
usage: noisy.py [-h] [--log -l] --config -c [--timeout -t]
optional arguments:
-h, --help show this help message and exit
--log -l logging level
--config -c config file
--timeout -t for how long the crawler should be running, in seconds
solo se requiere el argumento del archivo de configuración.
$ docker run -it noisy --config config.json --log debug
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 4chan.org:80
DEBUG:urllib3.connectionpool:http://4chan.org:80 "GET / HTTP/1.1" 301 None
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): www.4chan.org:80
DEBUG:urllib3.connectionpool:http://www.4chan.org:80 "GET / HTTP/1.1" 200 None
DEBUG:root:found 92 links
INFO:root:Visiting http://boards.4chan.org/s4s/
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): boards.4chan.org:80
DEBUG:urllib3.connectionpool:http://boards.4chan.org:80 "GET /s4s/ HTTP/1.1" 200 None
INFO:root:Visiting http://boards.4chan.org/s4s/thread/6850193#p6850345
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): boards.4chan.org:80
DEBUG:urllib3.connectionpool:http://boards.4chan.org:80 "GET /s4s/thread/6850193 HTTP/1.1" 200 None
INFO:root:Visiting http://boards.4chan.org/o/
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): boards.4chan.org:80
DEBUG:urllib3.connectionpool:http://boards.4chan.org:80 "GET /o/ HTTP/1.1" 200 None
DEBUG:root:Hit a dead end, moving to the next root URL
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.reddit.com:443
DEBUG:urllib3.connectionpool:https://www.reddit.com:443 "GET / HTTP/1.1" 200 None
DEBUG:root:found 237 links
INFO:root:Visiting https://www.reddit.com/user/Saditon
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): www.reddit.com:443
DEBUG:urllib3.connectionpool:https://www.reddit.com:443 "GET /user/Saditon HTTP/1.1" 200 None
...
docker build -t noisy .
O si deseas construirla para una Raspberry Pi (que ejecute Raspbian stretch):
docker build -f Dockerfile.pi -t noisy .
docker run -it noisy --config config.json
Algunos ejemplos de casos límite están disponibles en la carpeta examples. Puedes leer más allí examples/README.md.
Consulta también la lista de contribuidores que participaron en este proyecto.
Este proyecto está licenciado bajo la Licencia GNU GPLv3; consulta el archivo LICENSE.md para más detalles.
Este proyecto se ha inspirado en: