https://github.com/madereddy/noisy
Simple random DNS, HTTP/S internet traffic noise generator in a Docker container
https://github.com/madereddy/noisy
bot dns http privacy traffic-generator traffic-inspection
Last synced: 10 months ago
JSON representation
Simple random DNS, HTTP/S internet traffic noise generator in a Docker container
- Host: GitHub
- URL: https://github.com/madereddy/noisy
- Owner: madereddy
- License: gpl-3.0
- Created: 2019-04-11T23:15:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T17:47:56.000Z (about 1 year ago)
- Last Synced: 2024-10-29T19:02:26.794Z (about 1 year ago)
- Topics: bot, dns, http, privacy, traffic-generator, traffic-inspection
- Language: Python
- Homepage:
- Size: 276 KB
- Stars: 100
- Watchers: 5
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Noisy
[](https://circleci.com/gh/madereddy/noisy/tree/master)
![Docker Pulls][pulls]
[pulls]: https://img.shields.io/docker/pulls/madereddy/noisy
A simple python script that generates random HTTP/DNS traffic noise in the background while you go about your regular web browsing, to make your web traffic data less valuable for selling and for extra obscurity.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine
### Dependencies
Install `requests` if you do not have it already installed, using `pip`:
```
pip install requests
```
### Usage
Clone the repository
```
git clone https://github.com/madereddy/noisy.git
```
Navigate into the `noisy` directory
```
cd noisy
```
Run the script
```
python noisy.py --config config.json
```
The program can accept a number of command line arguments:
```
$ 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
--min_sleep -min overide min_sleep that has been predefined in config file
--max_sleep -max overide max_sleep that has been predefined in config file
```
only the config file argument is required.
### Output
```
$ 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
...
```
## Use Docker
1. Pull the container and run it:
`docker run -it madereddy/noisy`
2. Use a compose file inside a docker-compose.yml
```
version: "2"
services:
noisy:
image: madereddy/noisy:latest
container_name: noisy
restart: always
```
## Some examples
Some edge-cases examples are available on the `examples` folder. You can read more there [examples/README.md](examples/README.md).
## Authors
* [**Itay Hury**](https://github.com/1tayH) - *Initial work*
* [**madereddy**](https://github.com/madereddy) - *Docker build + Python Upgrade*
* [**B3CKDOOR**](https://github.com/B3CKDOOR) - *Bugfixes*
## License
This project is licensed under the GNU GPLv3 License - see the [LICENSE](LICENSE) file for details
## Acknowledgments
This project has been inspired by
[1tayH/noisy](https://github.com/1tayH/noisy)