adds bep_0014 (local peer discovery)#998
Conversation
|
Are you interested in refactoring it a bit (totally fine if not). I think we could move the LPD stuff into a separate package, probably just What are the licence requirements for this? I note @axet has forgotten the MPL2 licence throughout his codebase. He's got LGPL3 for his code, so does that need to be reflected here? |
|
Thanks :) |
|
There are some race conditions. Run the tests with -race on your system. |
|
This is looking very good, thanks for taking feedback on board. I'll give a more detailed response shortly. |
adds network interface selection
github.com/anacrolix/torrent/analysis github.com/anacrolix/torrent/bencode github.com/anacrolix/torrent/cmd/magnet-metainfo github.com/anacrolix/torrent/cmd/torrent github.com/anacrolix/torrent/cmd/torrent-pick github.com/anacrolix/torrent/cmd/torrent2 github.com/anacrolix/torrent/common github.com/anacrolix/torrent/dialer github.com/anacrolix/torrent/internal/alloclim github.com/anacrolix/torrent/internal/check github.com/anacrolix/torrent/internal/cmd/issue-464 github.com/anacrolix/torrent/internal/cmd/issue-465 github.com/anacrolix/torrent/internal/cmd/issue-906 github.com/anacrolix/torrent/internal/cmd/issue-908 github.com/anacrolix/torrent/internal/ctxrw github.com/anacrolix/torrent/internal/limiter github.com/anacrolix/torrent/internal/nestedmaps github.com/anacrolix/torrent/internal/panicif github.com/anacrolix/torrent/internal/testutil github.com/anacrolix/torrent/iplist github.com/anacrolix/torrent/iplist/cmd/iplist github.com/anacrolix/torrent/iplist/cmd/pack-blocklist github.com/anacrolix/torrent/logonce github.com/anacrolix/torrent/merkle github.com/anacrolix/torrent/metainfo github.com/anacrolix/torrent/mmap_span github.com/anacrolix/torrent/mse github.com/anacrolix/torrent/mse/cmd/mse github.com/anacrolix/torrent/peer_protocol github.com/anacrolix/torrent/peer_protocol/ut-holepunch github.com/anacrolix/torrent/request-strategy github.com/anacrolix/torrent/segments github.com/anacrolix/torrent/smartban github.com/anacrolix/torrent/storage github.com/anacrolix/torrent/storage/disabled github.com/anacrolix/torrent/storage/sqlite github.com/anacrolix/torrent/storage/test github.com/anacrolix/torrent/test github.com/anacrolix/torrent/tests/issue-798 github.com/anacrolix/torrent/tests/issue-930 github.com/anacrolix/torrent/tests/issue-952 github.com/anacrolix/torrent/tests/peers-bootstrapping github.com/anacrolix/torrent/tracker github.com/anacrolix/torrent/tracker/http github.com/anacrolix/torrent/tracker/http/server github.com/anacrolix/torrent/tracker/server github.com/anacrolix/torrent/tracker/shared github.com/anacrolix/torrent/tracker/udp github.com/anacrolix/torrent/tracker/udp/server github.com/anacrolix/torrent/typed-roaring github.com/anacrolix/torrent/types github.com/anacrolix/torrent/types/infohash github.com/anacrolix/torrent/types/infohash-v2 github.com/anacrolix/torrent/util/dirwatch github.com/anacrolix/torrent/version github.com/anacrolix/torrent/webseed github.com/anacrolix/torrent/webtorrent
This reverts commit f662df2.
|
i am currently not able to find the reason the windows runner cannot complete TestDiscovery. I'll give this a rest now... |
Ah, Windows probably does very different things with regard to multicast. I had to do similar hackery for anacrolix/dms. https://github.com/anacrolix/dms/blob/1291628af96c12c6a81ad900021f9da912bc8fd5/ssdp/ssdp.go#L115 |
good to know, thanks. I'm planning to take a look at this again soon |
This reverts commit 61f5c21.
upstreams BEP14 from https://gitlab.com/axet/libtorrent/-/blob/master/lpd.go