Jump to content

Recommended Posts

Posted

Пакеты собраны для изучения процесса сборки (кросс-компиляции) проектов, написанных на языке программирования Rust, на официально не поддерживаемых архитектурах, и тестирования в различных конфигурациях.

Для тестирования нужно установить пакет

aarch64 - `opkg install http://bin.entware.net/aarch64-k3.10/test/arti_1.2.0-1_aarch64-3.10.ipk`

mips - `opkg install http://bin.entware.net/mipssf-k3.4/test/arti_1.2.0-1_mips-3.4.ipk`

mipsel - `opkg install http://bin.entware.net/mipselsf-k3.4/test/arti_1.2.0-1_mipsel-3.4.ipk`

и настроить кофиг, активировав действующие мосты (bridges) (самостоятельно) и др. параметры, напр.,

для запуска от root`a - allow_running_as_root = true

или указать путь к каталогу кэша - cache_dir = "/opt/var/cache/arti"

Для того, чтобы вывести требуемые параметры запуска, необходимо запустить с ключом "help", или "-h", или "--help" (последние две также и для подпрограмм).

Пример запуска (после настройки)

root@Keenetic_Duo:~# 
root@Keenetic_Duo:~# arti proxy -c /opt/etc/arti/arti-config.toml
2024-04-02T10:20:08Z  INFO arti: Starting Arti 1.2.0 in SOCKS proxy mode on localhost port 9150 ...
2024-04-02T10:20:08Z  INFO arti_client::client: Using keystore from "/opt/var/lib/arti/keystore"
2024-04-02T10:20:35Z  INFO tor_dirmgr: Marked consensus usable.
2024-04-02T10:20:37Z  INFO tor_dirmgr: Loaded a good directory from cache.
2024-04-02T10:20:37Z  INFO arti: Sufficiently bootstrapped; system SOCKS now functional.
2024-04-02T10:20:37Z  INFO arti::socks: Listening on [::1]:9150.
2024-04-02T10:20:37Z  INFO arti::socks: Listening on 127.0.0.1:9150.
2024-04-02T10:20:40Z  INFO tor_guardmgr::guard: We have found that guard [185.x.x.x:9001+ ed25519:Bf…] is usable.
2024-04-02T10:20:42Z  INFO tor_guardmgr::guard: We have found that guard [5.x.x.x:143 ed25519:ty…] is usable.
2024-04-02T10:20:43Z  INFO tor_dirmgr: Marked consensus usable.
2024-04-02T10:20:44Z  INFO tor_dirmgr: Directory is complete. attempt=1
...

или запуск в фоне

root@Keenetic_Duo:~# 
root@Keenetic_Duo:~# arti proxy -c /opt/etc/arti/arti-config.toml > /dev/null 2>&1 &
root@Keenetic_Duo:~# 

или написать стартовый скрипт.

Пример проверки (с интервалом 5-10 минут)

root@Keenetic_Duo:~# 
root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo

root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo
{"IsTor":true,"IP":"171.25.193.80"}
root@Keenetic_Duo:~# 
root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo
{"IsTor":true,"IP":"171.25.193.80"}
root@Keenetic_Duo:~# 
root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo
{"IsTor":true,"IP":"109.70.100.70"}
root@Keenetic_Duo:~# 
root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo
{"IsTor":true,"IP":"192.42.116.220"}
root@Keenetic_Duo:~# 

 

Posted

Viva 1910, Entware на встроенной памяти, не запускается - не видит либу:

 

 opkg install arti_1.2.0-1_mipsel-3.4.ipk
Installing arti (1.2.0-1) to root...
Installing liblzma (5.4.6-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/liblzma_5.4.6-1_mipsel-3.4.ipk
Installing libsqlite3 (3410200-1) to root...
Downloading http://bin.entware.net/mipselsf-k3.4/libsqlite3_3410200-1_mipsel-3.4.ipk
Configuring liblzma.
Configuring libsqlite3.
Configuring arti.
root@Router:/opt/home$
~ # arti
arti: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory
 

Posted
3 часа назад, Santus сказал:

Viva 1910, Entware на встроенной памяти, не запускается - не видит либу:

на встроенной не тестировал (кажись, не помню)

3 часа назад, Santus сказал:

arti: error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

запустить `ldconfig` для обновления кеша библиотек.

Posted
1 час назад, TheBB сказал:

запустить `ldconfig` для обновления кеша библиотек.

Спасибо, ожило! Добавите в изначальное сообщение?

  • Upvote 1
  • 1 month later...
Posted (edited)

Что-то он не цепляется. obfs4proxy поставил, в конфигу его прописал, актуальные мосты через ТГ-бота тоже прописал. Не в курсе что может быть не так?

Ещё и роутер вешает почти наглухо - реагирует на любые действия по 5-10 секунд, даже нагрузку не могу посмотреть, top минуту запускался так и не запустился, веб-морда в это время тоже не открывается.

 

2024-05-05T12:57:09Z  INFO tor_dirclient: Circ 0.1: Retiring circuit because of directory failure: Partial response
2024-05-05T12:57:11Z  INFO tor_dirmgr::bootstrap: Marking SourceInfo { circuit: UniqId { chan: 0, circ: 1 }, cache_id: [                           scrubbed] } as failed: error: Problem downloading directory object: Error fetching directory information: Request failed                            from [scrubbed] via Circ 0.1: directory timed out

2024-05-05T12:57:16Z  INFO tor_guardmgr::guard: We have found that guard [51.x.x.x:52123 via obfs4 ed25519:KN…] is usabl                           e.
2024-05-05T12:57:18Z  INFO tor_guardmgr::guard: We have found that guard [185.x.x.x:52539 via obfs4 $$76…] is usable.
2024-05-05T12:57:25Z  INFO tor_guardmgr::guard: We have found that guard [scrubbed] is usable.
2024-05-05T12:58:00Z  INFO tor_dirclient: Circ 0.1: Retiring circuit because of directory failure: Partial response
2024-05-05T12:58:03Z  INFO tor_dirmgr::bootstrap: Marking SourceInfo { circuit: UniqId { chan: 0, circ: 1 }, cache_id: [                           scrubbed] } as failed: error: Problem downloading directory object: Error fetching directory information: Request failed                            from [scrubbed] via Circ 0.1: directory timed out
 

Edited by Santus

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.