انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: Thomson در 09 بهمن 1394، 04:13 قظ
-
سلام وقت بخیر:
من مراحلی رو که انجام رو دادم رو عرض میکنم تا بدونین دقیقا چیکار کردم:
اول خوده tor رو نصب کردم < بعد هم obfsproxy رو نصب مردم / بعد bridge هارو از ایمیل تور گرفتم و اونارو توی torrc ست کردم.
بعدش foxyproxy رو نصب کردم روی فایرفاکس ام (میخوام از فایرفاکس عبور بدم تور رو) بگم که قبلش یه یار تور رو ری استارت کردم و اوکی بود.
چون 15.04 به پایین هستم باید systemctl روم کار نمیکنه همون روش معموله serive tor restart رو انجام دادم (فکر نکنم مسئله داشته باشه)
بعد از نصب foxyproxy اومدم و یه پروکسی جدید ساختم به این صورت 127.0.0.1 با پورت 9050 روی ساکس v5 . پروکسی نِیم رو هم گذاشتم 127.0.0.1:9050
حالا وقتی foxyproxy رو روی این pattern جدید که ساختم تنظیم میکنم که از تور عبور کنه. خطایی که توی تایتل گذاشتم رو میده در نهایت هم میگه به documentetion در torproject مراجعه کنید!
جریان چیه؟! کجا رو دارم اشتباه میکنم؟!
-
داخل تنظیمات اون پروکسی که داخل فاکسی پروکسی برای تور تعریف کردی نوع پروکسی را ساکس انتخاب کن. تور پروکسی ساکس تولید میکنه نه Http
-
حتی اگه بخوام هم نمیتونم به جز ساکس چیزی انتخاب کنم, وقتی ای پی و پورت میدی خودش ساکس v5 رو انتخاب میکنه!
دوستان راهنمایی کنین لطفا!
-
Wiki (https://web.archive.org/web/20151010211710/http://wiki.ubuntu.ir/wiki/%D8%AA%D9%88%D8%B1)
-
Wiki (https://web.archive.org/web/20151010211710/http://wiki.ubuntu.ir/wiki/%D8%AA%D9%88%D8%B1)
یه قسمتی نوشته که :
حالا تور شما در حال اجراست و میتوانید با اتّصال socks به درگاه ۹۰۵۰ روی میزبان محلّی از آن استفاده کنید. یادتان باشد نخستین بار ممکن است اتّصال به شبکهٔ تور قدری طول بکشد. برای دیدن گزارش تور میتوانید از دستور زیر استفاده کنید. هرگاه در خروجی عبارت Bootstrapped 100%: Done را دیدید، به این معنی است که تور وصل شده.
اینجاش یه سواله :
حالا تور شما در حال اجراست و میتوانید با اتّصال socks به درگاه ۹۰۵۰ روی میزبان محلّی از آن استفاده کنید.بدون foxyproxy چجوری میتون با اتصال ساکس رو اتصال بدم؟!
نکته دوم اینکه من توی usr/bin یه obfsproxy دارم اما گفته باید obfs4proxy رو باید نصب کرد هرچی گشتم پیدا نکردم چجوری نصبش کنم چون توی مخازن نیست که بخوام با apt install obfs4proxy نصبش کنم.
این گزارش سیستمی مربوط به tor log هستش:
Jan 29 14:17:14.000 [warn] Could not launch managed proxy executable at '/usr/bin/obfsproxy' ('Permission denied').
Jan 29 14:17:15.000 [notice] Bootstrapped 5%: Connecting to directory server.
Jan 29 14:17:15.000 [warn] We were supposed to connect to bridge '194.132.208.80:21276' using pluggable transport 'obfs4', but we can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 14:17:15.000 [warn] We were supposed to connect to bridge '84.143.246.50:443' using pluggable transport 'obfs4', but we can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 14:17:15.000 [warn] We were supposed to connect to bridge '37.99.60.103:1441' using pluggable transport 'obfs4', but we can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 14:19:28.000 [notice] Interrupt: exiting cleanly.
Jan 29 14:19:30.000 [notice] Tor 0.2.4.27 (git-412e3f7dc9c6c01a) opening log file.
Jan 29 14:19:30.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Jan 29 14:19:30.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jan 29 14:19:32.000 [warn] Could not launch managed proxy executable at '/usr/bin/obfsproxy' ('Permission denied').
Jan 29 14:19:33.000 [notice] Bootstrapped 5%: Connecting to directory server.
Jan 29 14:19:33.000 [warn] We were supposed to connect to bridge '194.132.208.80:21276' using pluggable transport 'obfs4', but we can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 14:19:33.000 [warn] We were supposed to connect to bridge '84.143.246.50:443' using pluggable transport 'obfs4', but we can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 14:19:33.000 [warn] We were supposed to connect to bridge '37.99.60.103:1441' using pluggable transport 'obfs4', but we can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
-
وقتی obfs4proxy نداری پس نباید پل obfs4 استفاده کنی. تمام مراحل یکیه فقط باید پل obfs2 یا obfs3 بگیری و بذاری.
جایی که فاکسی پروکسی نباشه، (مثلا ترمینال) باید دستور اضافه کردن پروکسی رو بهشون بدی یا ببینی اونا خودشون گزینهای برای این کار دارن یا نه (مثلا تلگرام)
وقتی یه برنامه هست که برای پروکسی فقط HTTP ساپورت میکنه، باید از Polipo استفاده کنی. و اگه از Socks5 ساپورت کنه، همون 127.0.0.1:9050 که بهش بدی اوکی میشه.
-
وقتی obfs4proxy نداری پس نباید پل obfs4 استفاده کنی. تمام مراحل یکیه فقط باید پل obfs2 یا obfs3 بگیری و بذاری.
جایی که فاکسی پروکسی نباشه، (مثلا ترمینال) باید دستور اضافه کردن پروکسی رو بهشون بدی یا ببینی اونا خودشون گزینهای برای این کار دارن یا نه (مثلا تلگرام)
وقتی یه برنامه هست که برای پروکسی فقط HTTP ساپورت میکنه، باید از Polipo استفاده کنی. و اگه از Socks5 ساپورت کنه، همون 127.0.0.1:9050 که بهش بدی اوکی میشه.
مرسی !
یه آدرس محلی باید توی polipo قرار بدم! اینترنت بیسیم دارم این خروجی wlan0 ئه منه. آدرس محلی 192.169.1.101 ئه؟!
wlan0 Link encap:Ethernet HWaddr 08:3e:8e:dd:11:8b
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::a3e:8eff:fedd:118b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:131666 errors:0 dropped:0 overruns:0 frame:0
TX packets:114562 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:134154918 (134.1 MB) TX bytes:13103935 (13.1 MB)
در تنظیمات بالا فرض بر این است که دستگاههایی که میخواهند از این پراکسی استفاده کنند روی شبکهای با نشانی 192.168.1.0 و پوشش شبکهٔ 24 قرار دارند. در صورت نیاز میتوان تنظیمات مربوط به شبکه در خط دوم را تغییر داد یا با گذاشتن «,» در انتهای خط، شبکه یا شبکههای دیگری را به آن افزود.
-
بله.
-
بله.
ممنونم یه نکته ی دیگه!
وقتی تور رو ریستارت میکنم با دستور service tor restart خروجیم این میشه!
* Checking if tor configuration is valid
Jan 29 15:11:51.565 [notice] Tor v0.2.4.27 (git-412e3f7dc9c6c01a) running on Linux with Libevent 2.0.21-stable and OpenSSL 1.0.1f.
Jan 29 15:11:51.565 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jan 29 15:11:51.565 [notice] Read configuration file "/usr/share/tor/tor-service-defaults-torrc".
Jan 29 15:11:51.565 [notice] Read configuration file "/etc/tor/torrc".
Jan 29 15:11:51.567 [warn] Failed to parse/validate config: Unknown option 'obfs3'. Failing.
Jan 29 15:11:51.567 [err] Reading config failed--see warnings above.
چرا میگه اعتبار کانفیگور یی رو که کردی رو چک کن!؟ من از obfs3 استفاده کردم توی torrc و همین الان هم گرفتمش! مشکل کجاست به نظر شما
-
داره میگه توی خوندن فایل دچار مشکل شده. یعنی توی فایل کانفیگ یه چیزی زیاد گذاشتی یا کم گذاشتی و نتونسته بخونه.
ببین اصلش اینجوری باید باشه برای obfs3 و کلا obfsproxy
UseBridges 1
Bridge obfs3 IP:PORT
Bridge obfs3 IP:PORT
ClientTransportPlugin obfs3 exec /usr/bin/obfsproxy --managed
-
اوکی شد اما همچنان جریان tail -f /var/log/tor/log من اینه:
/etc/polipo# tail -f /var/log/tor/log
Jan 29 16:00:16.000 [warn] We were supposed to connect to bridge '172.245.230.92:45807' using pluggable transport 'obfs3', but we can't find a pluggable transport proxy supporting 'obfs3'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 16:00:16.000 [warn] We were supposed to connect to bridge '194.132.208.174:21148' using pluggable transport 'obfs3', but we can't find a pluggable transport proxy supporting 'obfs3'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 16:02:52.000 [notice] Interrupt: exiting cleanly.
Jan 29 16:02:54.000 [notice] Tor 0.2.4.27 (git-412e3f7dc9c6c01a) opening log file.
Jan 29 16:02:54.000 [notice] Parsing GEOIP IPv4 file /usr/share/tor/geoip.
Jan 29 16:02:54.000 [notice] Parsing GEOIP IPv6 file /usr/share/tor/geoip6.
Jan 29 16:02:56.000 [warn] Could not launch managed proxy executable at '/usr/bin/obfsproxy' ('Permission denied').
Jan 29 16:02:57.000 [notice] Bootstrapped 5%: Connecting to directory server.
Jan 29 16:02:57.000 [warn] We were supposed to connect to bridge '172.245.230.92:45807' using pluggable transport 'obfs3', but we can't find a pluggable transport proxy supporting 'obfs3'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
Jan 29 16:02:57.000 [warn] We were supposed to connect to bridge '194.132.208.174:21148' using pluggable transport 'obfs3', but we can't find a pluggable transport proxy supporting 'obfs3'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running.
به نظر خودم یه جای کار obfsproxy داره لنگ میزنه! توی درست نصب شدنش شک دارم! از طرفی با apt install هم نصب نمیشه! پیشنهاد خاصی ندارین؟ deb فایل نداره؟ یا چیزه دیگه