# トレントとセキュリティ

A torrent comes from other people's computers, not from one website. That changes what you can trust and what others can see. This page says plainly what VDM does and what it doesn't. The switches it mentions are in **Tasks → Torrent settings...**.

## 他の人が見ることができるもの

- **Your IP address.** Everyone sharing the same torrent sees it, as do its trackers and the DHT (the network peers use to find each other). That's how BitTorrent works, and no setting in VDM changes it. To hide your address, use a VPN on your whole computer.
- **What you download, on your local network.** VDM tells other computers on your network which torrents it has, so they can share faster. On public Wi-Fi, turn off **Find peers on the local network**.
- **That you use VDM.** Peers see the name "VoltDownloadManager" and its major version, not the exact build.

VDM's torrents don't use **encryption** (sometimes called "protocol encryption"). That kind of encryption only hides the traffic from simple filters. It never hides who you are, so VDM doesn't claim to offer it. Some peers that require it won't connect.

## コンピューターに到達するもの

VDM starts its torrent engine the first time a torrent needs it. With **Stop the torrent engine when no torrent is running** on (the default), it stops again a minute after no torrent is running or sharing. While it runs, other peers can connect to VDM, over TCP and over uTP (UDP) on the same port, and VDM asks your router to forward its port (UPnP). Windows may ask whether to allow VDM through the firewall: allow it on private networks only.

This is the only part of VDM that waits for connections from outside. Downloads, VDM's DNS choice (Options → Connection → DNS), its updates and its helpers only connect out, so they never need a firewall exception; the browser extension and the automation API reach VDM on this computer only (127.0.0.1).

In Torrent settings you can turn off **Accept incoming connections**, **Map the port on the router (UPnP)** and **Connect over uTP too (UDP)**, or the DHT. Downloads still work, sometimes more slowly. With the **Port** box empty, VDM picks a port the first time and keeps it (another one if a program has taken it since), so firewall and router rules keep working; a port typed there is always the one used. These changes apply the next time the engine starts, so when no torrent is running.

The torrent engine is written in Rust, which rules out many memory bugs, and VDM checks every piece against the torrent's fingerprint, so a peer can't slip in altered data. VDM keeps the engine up to date with the fixes its authors publish.

## トラッカー

A torrent names the trackers VDM asks for peers. VDM doesn't contact a tracker on your own computer or your local network (`127.0.0.1`, `192.168.…`, `localhost` and the like), so a torrent can't make VDM send requests into the network it sits in. **Add trackers...** follows the same rule: it refuses such an address and tells you why, rather than keeping one that would never be asked.

A `.torrent` file fetched from a web address goes through the same checks as one opened from disk, and VDM reads at most 10 MB of it.

## ピア

Trackers, the DHT and other peers tell VDM where a torrent's peers are. VDM follows the same rule for them as for trackers: it only connects to a peer on the internet. An address on your own computer or your local network is left alone, whoever names it, so a list of peers can't point VDM at your router or another device at home.

Peers on your local network are still found: with **Find peers on the local network** on, each one announces itself there, and VDM connects to those.

## アドレスのブロック

**Block the addresses in this list** takes the address of a public IP blocklist, in the P2P (PeerGuardian) or eMule `.dat` format, plain or gzipped. VDM downloads it with its own downloader (your Proxy / Socks settings apply), checks it, and fetches it again every 7 days. Peers in it are refused. A list VDM can't read is left out, and the last good one stays. The engine reads the list when it starts.

## 公開トラッカー リスト

**Add the trackers of this public list to public torrents** (off by default) fetches a list of public trackers with VDM's own downloader, once a day (an hour later when a fetch failed): your Proxy / Socks settings and your network adapter apply, and while the adapter's kill switch holds downloads, the list isn't fetched either. Every tracker on it is checked like a torrent's own: none on your computer or your local network is ever asked. Those trackers then see that you have your public torrents, those already in your list too, as any tracker of a torrent does. A private torrent never gets them, a list VDM can't read leaves the last good one in place, and turning the switch off doesn't take away the trackers already added.

## トレント内のファイル

- VDM refuses a torrent with file names your system can't write safely, says which name, and writes nothing.
- VDM never writes into a file that's already there without asking.
- トレントからのファイルは、ブラウザでダウンロードされたファイルと同様に、**インターネットからダウンロードされたもの**としてマークされます。Windows SmartScreen はプログラムが最初に実行される前にチェックし、Office は保護ビューでドキュメントを開きます。Mac では Gatekeeper がアプリをチェックします。**オプション → 保存先 → ダウンロードしたファイルをインターネットからのものとしてマークする** でこの機能をオフにできます。また、Windows のポリシー **添付ファイルにゾーン情報を保存しない** でもオフにできます。
- トレントにはどのような内容でも含められ、誰でも作成できます。信頼できる人から入手したプログラムだけを開き、不安がある場合はスキャンしてください。

## プロキシ

VDM's Proxy / Socks settings are for web and FTP downloads. Torrents can use a SOCKS5 one too: choose **Manual proxy/socks configuration** with **Type** **SOCKS5** in **Options → Proxy / Socks** and turn on **Use the proxy** in Torrent settings. The proxy covers connections to peers and web trackers only, so with it VDM turns off the DHT, local peer discovery, incoming connections, uTP and UDP trackers; it opens no UDP socket toward the network at all. If the proxy is gone from Proxy / Socks while that switch is on, torrents don't start rather than go around it.

*すべて*の通信を別のネットワーク経由にするには、コンピューター全体でVPNを使用してください。

## ネットワークアダプター

**Options → Proxy / Socks → Network adapter** holds VDM's connections to one adapter, usually a VPN's ([Options](https://vdm.mikaillab.com/ja/help/options.html#proxy--socks)). The torrent engine binds every socket to it: peers (TCP, uTP, and through a SOCKS proxy), HTTP and UDP trackers, the DHT and the listening port. On Linux and macOS it binds the adapter itself. On Windows it binds the adapter's address (its IPv4 one when it has one), and Windows sends a packet only through the adapter that has its source address. UPnP and local peer discovery are turned off then, because they talk to the local network rather than through the adapter.

It works as a kill switch. When the adapter disconnects, running torrents stop with "… is not connected; it goes on when it is back", and they start again through the adapter when it is. Until VDM notices (within a second), the engine's sockets are still bound to an address that is gone, so nothing can leave another way. A torrent added while the adapter isn't connected doesn't start, and says why. Tracker names are still looked up by the system's DNS.

## 問題の報告

セキュリティ上の問題を見つけた場合は、公開の課題ではなく、GitHubで非公開に報告してください（**セキュリティ → 脆弱性を報告**、[SECURITY.md](https://github.com/mikailhossenimran/voltdownloadmanager/blob/main/SECURITY.md)を参照）。

## 次のステップ

- [トレント →](https://vdm.mikaillab.com/ja/help/torrents.html)
- [ドキュメントインデックスに戻る →](https://vdm.mikaillab.com/ja/help/)

## 関連

- [ビデオのダウンロード](https://vdm.mikaillab.com/ja/help/video.html)
- [画像ギャラリー](https://vdm.mikaillab.com/ja/help/galleries.html)
- [トレント](https://vdm.mikaillab.com/ja/help/torrents.html)
- [デブリット サービス アカウント](https://vdm.mikaillab.com/ja/help/debrid.html)

[GitHubでこのページを編集](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/torrent-security.md) [このページの問題を報告する](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Torrents%20and%20your%20security&page=https%3A//vdm.mikaillab.com/help/torrent-security.html) [ページ履歴](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/torrent-security.md)

無料、オープンソース、広告なし、試用期間なし。

[Download Volt Download Manager](https://vdm.mikaillab.com/ja/download.html)
