{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/onion-site/feed/json -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/onion-site", "feed_url": "https://matoken.org/blog/tag/onion-site/feed/json", "language": "ja", "title": "onion site – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4568", "url": "https://matoken.org/blog/2025/05/20/oniux-tor-separation-tool-using-linux-namespace/", "title": "Linux Namespace\u3092\u4f7f\u3063\u305fTor\u5206\u96e2\u30c4\u30fc\u30eb\u306eoniux", "content_html": "
\nTor\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089Linux Namespace\u3067\u4efb\u610f\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092Tor\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u5206\u96e2\u3059\u308boniux\u3068\u3044\u3046\u30c4\u30fc\u30eb\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\uff0e
\n\u52d5\u4f5c\u3068\u3057\u3066\u306f\u4ee5\u524d\u304b\u3089\u3042\u308btorsocks\u3084torify\u306e\u3088\u3046\u306a\u3082\u306e\u306e\u3088\u3046\u3067\u3059\uff0e
\n\u5c11\u3057\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\uff0e
\n
oniux\u306fRust\u88fd\u3067\u3059\uff0e\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u5c0e\u5165\u3067\u304d\u307e\u3059\uff0e
\n$ cargo install --git https://gitlab.torproject.org/tpo/core/oniux oniux@0.4.0\n
option\u306f\u306a\u3055\u305d\u3046\u3067\u3059\uff0e
\n$ oniux --help\nUsage: oniux <CMD>...\n\nArguments:\n <CMD>... The actual program to execute\n\nOptions:\n -h, --help Print help\n
\u65e9\u901f\u8a66\u3057\u3066\u307f\u307e\u3059\uff0eTor\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u4f7f\u3063\u3066\u3044\u308b\u304b\u306e\u30c1\u30a7\u30c3\u30af\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\uff0e
\n\u30c6\u30ad\u30b9\u30c8\u30d6\u30e9\u30a6\u30b6\u306ew3m\u3067\u76f4\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068 Sorry. You are not using Tor.
\noniux\u7d4c\u7531\u3060\u3068 Congratulations. This browser is configured to use Tor. \u3068\u306a\u308a\u307e\u3059\uff0e\u826f\u3055\u305d\u3046\u3067\u3059\uff0e
$ w3m -dump https://check.torproject.org/ | grep -e 'Sorry.' -e 'Congratulations.'\nSorry. You are not using Tor.\n$ oniux w3m -dump https://check.torproject.org/ | grep -e 'Sorry.' -e 'Congratulations.'\nCongratulations. This browser is configured to use Tor.\n
\u305d\u306e\u4ed6\u306b\u3082shell\u3092\u8d77\u52d5\u3057\u3066Tor\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u7528shell\u306a\u3093\u3066\u3053\u3068\u3082\uff0e
\n$ oniux bash\n$ w3m -dump https://check.torproject.org/ | grep -e 'Sorry.' -e 'Congratulations.'\nCongratulations. This browser is configured to use Tor.\n
Firefox\u3067\u3082\u8a66\u3057\u3066\u307f\u307e\u3059\uff0e
\n$ oniux firefox -P temp --profile `mktemp -d`\n
Tor\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u4f7f\u3048\u3066\u3044\u305d\u3046\u3067\u3059\uff0e
\n
BBC\u306a\u3093\u304b\u3082\u5229\u7528\u3067\u304d\u307e\u3059\uff0e
\n
\u304c\uff0c\u65e5\u672c\u306eNHK\u306a\u3093\u304b\u306f\u62d2\u5426\u3055\u308c\u307e\u3059\uff0e\u3053\u308c\u306fTorBrowser\u306a\u3069\u3067\u3082\u540c\u3058\u3067\u65e5\u672c\u306e\u30e1\u30c7\u30a3\u30a2\u7cfb\u30b5\u30a4\u30c8\u306f\u5927\u62b5\u62d2\u5426\u3055\u308c\u3061\u3083\u3046\u3093\u3067\u3059\u3088\u306d\u2026\u2026\uff0e
\n
\u5bfe\u3057\u3066BBC\u306a\u3069\u306fonion\u30a2\u30c9\u30ec\u30b9\u3067\u3082\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\uff0e
\n\u3067\u3082oniux\u7d4c\u7531\u306eFirefox\u3060\u3068\u540d\u524d\u304c\u5f15\u3051\u306a\u3044\u3088\u3046\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\uff0e\u4ed6\u306eonion site\u3082\u30c0\u30e1\u305d\u3046\u3067\u3059\uff0e
\n
$ oniux w3m https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/\nw3m: Can't load https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/.\n$ oniux w3m https://www.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/\nw3m: Can't load https://www.facebookwkhpilnemxj7asaniu7vnjjbiltxjqhye3mhbshg7kx5tfyd.onion/.\n$ oniux curl -v https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/\n* Not resolving .onion address (RFC 7686)\n* Could not resolve host: www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion\n* closing connection #0\ncurl: (6) Not resolving .onion address (RFC 7686)\n$ oniux wget https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/\n--2025-05-20 18:57:14-- https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/\nResolving www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion (www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion)... failed: Name or service not known.\nwget: unable to resolve host address \u2018www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion\u2019\n$ oniux ssh pi3bddj6lflqdtsfhdlja2zma3m7kqc4rhwpytoa37pbjc63suocj6qd.onion -F /dev/null\nssh: Could not resolve hostname pi3bddj6lflqdtsfhdlja2zma3m7kqc4rhwpytoa37pbjc63suocj6qd.onion: Name or service not known\n
\u4eca\u306e\u3068\u3053\u308donion address\u306f\u4f7f\u3048\u306a\u3055\u305d\u3046\u306a\u611f\u3058\u3067\u3059\uff0e
\noniux\u306f\u307e\u3060\u5b9f\u9a13\u7684\u306a\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3044\u3064\u3082\u306f\u5f93\u6765\u306etorsocks\u306a\u3069\u3092\u5229\u7528\u3057\u3064\u3064\u898b\u5b88\u3063\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\uff0e
\n$ torsocks w3m -dump https://check.torproject.org/ | grep -e 'Sorry.' -e 'Congratulations.'\nCongratulations. This browser is configured to use Tor.\n$ torsocks w3m -dump https://www.bbcnewsd73hkzno2ini43t4gblxvycyac5aw4gnv7t2rccijh7745uqd.onion/ | head\nBBC Homepage\n\n \u2022 Skip to content\n \u2022 Accessibility Help\n\n \u2022\n Your account\n\n \u2022 Home\n \u2022 News\n
$ grep ^version ~/.cargo/git/checkouts/oniux-a37b67fa6132af61/ff31287/Cargo.toml\nversion = \"0.4.0\"\n$ dpkg-query -W cargo torsocks tor w3m firefox openssh-client\ncargo\nfirefox 138.0.4-1\nopenssh-client 1:10.0p1-5\ntor 0.4.8.16-1\ntorsocks 2.5.0-1\nw3m 0.5.3+git20230121-2.1\n$ lsb_release -dr\nDescription: Debian GNU/Linux 13 (trixie)\nRelease: 13\n$ arch\nx86_64\n