Why limiting bandwidth on your Tor relay can stop you from browsing
If you run a relay and a client in the same Tor process, and have some bandwidth limits, once your relay hits its limit and goes into hibernation, your client connections stop too.
When you run a Tor relay and a Tor client in the same process, the parameters set in AccountingMax and BandwidthRate apply to both relay and client functions. وبالتالي قد تجد أنك غير قادر على التصفح بمجرد دخول تور في وضع السبات، الذي يشير إليه هذا الإدخال في السجل:
Bandwidth soft limit reached; commencing hibernation.
No new connections will be accepted
الحل هو تشغيل عمليتين من أجل - مُرحّل واحد وعميل واحد، لكل منهما تهيئتهما الخاصة. إحدى طرق القيام بذلك (إذا كنت تبدأ انطلاقا من تهيئة مُرحّل يشتغل) هي كما يلي:
- في ملف الترحيل تور torrc، ما عليك سوى تعيين قيمة SocksPort تساوي 0.
- قم بإنشاء ملف torrc جديد للعميل من torrc.sample وتأكد من أنه يستخدم ملف سجل مختلف عن المُرحّل. قد تكون أحد اصطلاحات التسمية هي torrc.client و torrc.relay.
- قم بتعديل برامج بدء التشغيل لكل من عميل تور وكذلك المُرحّل ليشملا
-f /path/to/correct/torrc. - In Linux/BSD/macOS, changing the startup scripts to
Tor.clientandTor.relaymay make separation of configs easier.