
सरल यादृच्छिक DNS, HTTP/S इंटरनेट ट्रैफ़िक शोर जनरेटर
एक सरल पायथन स्क्रिप्ट जो आपकी नियमित वेब ब्राउज़िंग के दौरान पृष्ठभूमि में यादृच्छिक HTTP/DNS ट्रैफ़िक शोर उत्पन्न करती है, ताकि आपका वेब ट्रैफ़िक डेटा बिक्री के लिए कम मूल्यवान हो और अतिरिक्त अस्पष्टता प्रदान करे।
MacOS High Sierra, Ubuntu 16.04 और Raspbian Stretch पर परीक्षण किया गया है, और यह Python 2.7 और 3.6 दोनों के साथ संगत है।
ये निर्देश आपको अपनी स्थानीय मशीन पर प्रोजेक्ट की एक प्रति प्राप्त करने और चलाने में मदद करेंगे।
यदि आपके पास पहले से requests स्थापित नहीं है, तो pip का उपयोग करके इसे स्थापित करें:
pip install requests
रिपॉजिटरी को क्लोन करें:
git clone https://github.com/1tayH/noisy.git
noisy निर्देशिका में जाएँ:
cd noisy
स्क्रिप्ट चलाएँ:
python noisy.py --config config.json
प्रोग्राम कई कमांड लाइन आर्गुमेंट स्वीकार कर सकता है:
$ 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
केवल कॉन्फ़िग फ़ाइल आर्गुमेंट अनिवार्य है।
$ 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 .
या यदि आप इसे Raspberry Pi (Raspbian stretch चलाने वाले) के लिए बनाना चाहते हैं:
docker build -f Dockerfile.pi -t noisy .
docker run -it noisy --config config.json
कुछ एज-केस उदाहरण examples फ़ोल्डर में उपलब्ध हैं। आप वहाँ और अधिक पढ़ सकते हैं examples/README.md।
इस परियोजना में भाग लेने वाले योगदानकर्ताओं की सूची भी देखें।
यह परियोजना GNU GPLv3 लाइसेंस के अंतर्गत लाइसेंस प्राप्त है - विवरण के लिए LICENSE.md फ़ाइल देखें।
यह परियोजना निम्नलिखित से प्रेरित है: