Commit Graph
8263 Commits
Author SHA1 Message Date
Jakob Borg 40b80bb3db wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-21 19:54:06 +01:00
Jakob Borg 1afeed6001 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-21 16:19:30 +01:00
Jakob Borg fb4cb9c3b2 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-21 15:34:05 +01:00
Jakob Borg 35bd981d07 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-21 08:53:53 +01:00
Jakob Borg 6fc9168a28 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-21 08:47:26 +01:00
Jakob Borg 449019fbf3 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 14:16:40 +01:00
Jakob Borg 975f2229b6 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 12:47:52 +01:00
Jakob Borg f142d23c9f illumos
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 12:29:51 +01:00
Jakob Borg 99bd01d34f Revert "wip"
This reverts commit 792f8ce938.
2026-11-19 12:29:03 +01:00
Jakob Borg 7b0329c64a wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 12:14:44 +01:00
Jakob Borg c8e1c7fe94 Merge branch 'main' into libp2p
* main:
  refactor(discover): simplify cache handling by moving to the cachedFinder (#10956)
  chore(gui, man, authors): update docs, translations, and contributors
2026-11-19 11:53:01 +01:00
Jakob Borg f2ed52347e refactor(discover): simplify cache handling by moving to the cachedFinder (#10956)
Where it should have been to begin with

---------

Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:51:57 +01:00
Jakob Borg 8187f67d86 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:51:10 +01:00
Jakob Borg 792f8ce938 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:48:07 +01:00
Jakob Borg 61bfc7e75f wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 11:29:35 +01:00
Jakob Borg 65b7ef649a wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 10:38:55 +01:00
Jakob Borg ea4b42aa38 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 10:32:32 +01:00
Jakob Borg e1bc3801ec wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 00:48:51 +01:00
Jakob Borg 43e9317b3e wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-19 00:38:55 +01:00
Jakob Borg 5a4f1f2547 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-18 23:56:13 +01:00
Jakob Borg 5f7f9811d4 diag
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 10:09:32 +01:00
Jakob Borg a79f88536b wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 07:55:51 +01:00
Jakob Borg b1202e472b wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 07:54:26 +01:00
Jakob Borg a30e2099f8 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 07:52:38 +01:00
Jakob Borg 6b1f6175b8 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 07:52:06 +01:00
Jakob Borg e6c7b64af4 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 07:47:13 +01:00
Jakob Borg 81898f0a65 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 07:39:30 +01:00
Jakob Borg 2bf36251af wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 06:46:04 +01:00
Jakob Borg 08004e61ae wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 05:33:18 +01:00
Jakob Borg 9299ece8d9 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 05:24:06 +01:00
Jakob Borg d05fbecc4f wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 05:20:21 +01:00
Jakob Borg 2854364c0b enc
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 05:16:55 +01:00
Jakob Borg a60e77eb6b wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-17 05:13:32 +01:00
Syncthing Release Automation b0df1033fe chore(gui, man, authors): update docs, translations, and contributors 2026-11-16 03:48:11 +00:00
Jakob Borg d21f613102 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-13 07:38:50 +01:00
Jakob Borg f97d939d63 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-11 19:47:23 +01:00
Jakob Borg 79931ab913 wip
Signed-off-by: Jakob Borg <[email protected]>
2026-11-11 19:42:31 +01:00
Jakob Borg 5222179c1d Merge branch 'main' into libp2p
* main:
  chore(gui, man, authors): update docs, translations, and contributors
2026-11-11 16:35:00 +01:00
Syncthing Release Automation ed2e0fd441 chore(gui, man, authors): update docs, translations, and contributors 2026-11-09 03:48:13 +00:00
Jakob Borg 3f795834db feat: Peer-to-peer discovery (fixes #3388)
This implements a new peer-to-peer-based discovery protocol.

- The DHT is based on libp2p (of IPFS etc) and constitutes a new,
  separate Syncthing-specific network. It does not piggyback on any
  existing non-Syncthing nodes out there.
- It uses existing device IDs as the keys, and publishes discovery
  documents that include the device certificate and are signed by the
  same. This enables validation that the discovery data is _for_ the
  right device ID, as well as published _by_ that device.
- The DHT runs on the QUIC socket, so it shares UPnP/NAT-PMP whole
  punches and STUN discovery. (Unless the QUIC listener is disabled,
  then it runs on an ephemeral socket and can effectively do only
  queries and not participate as a full DHT node.)
- There is a hardcoded default pointing to three bootstrap nodes hosted
  in the usual manner.
- Currently it's strictly additive -- it runs separately and in
  parallell with the usual global discovery. Once proven and scaled, it
  will gradually take over the duties of the global discovery.
- There is a new command line tool `stdht` which just runs a DHT node to
  assist with discovery (the bootstrap nodes are this).

The diff is large and terrifying, but that's how it is.

Signed-off-by: Jakob Borg <[email protected]>
2026-11-05 22:43:18 +01:00
Syncthing Release Automation b347343761 chore(gui, man, authors): update docs, translations, and contributors 2026-11-02 03:47:41 +00:00
Jakob Borg ed38528d7f fix: invalid files on remote devices are not "available" (fixes #10943) (#10944)
Properly exclude them from the corresponding query.

Signed-off-by: Jakob Borg <[email protected]>
2026-10-27 12:25:15 +01:00
tbodt 9da9c11ef1 feat(api): magic token authentication from syncthing browse (#10810)
Syncthing's authentication options have seemed sort of lacking to me for
a while. I can choose between no authentication (and now the admin
interface is accessible to theoretically every website I visit), or
password authentication (why do I need a password? it's all on one
computer!). This PR adds magic tokens with which the `syncthing browse`
and `syncthing serve` commands can magically log you in.

I hope that adding this and refining it enough will make it eventually
possible to change the default from "zero auth" to "token auth only".

### Testing

Some unit tests, and manually tested using syncthing browser and
syncthing serve, both of which create a token when they open the
browser.

### Documentation

TODO

---------

Signed-off-by: tbodt <[email protected]>
2026-10-27 12:24:30 +01:00
Syncthing Release Automation 70b5bc78ca chore(gui, man, authors): update docs, translations, and contributors 2026-10-26 03:58:06 +00:00
Vandra-Meyer Akos a4a2da477f fix(model): skip ignored folders when auto-accepting (fixes #10935)
Auto-accept ran before the check for ignored folders, so a folder in
the device's ignored folders was still accepted when the device
announced it. After that, the config cleanup removed the ignore entry,
because the folder existed again.

The docs say that an ignored folder is always skipped when the device
announces it. Skip ignored folders in the auto-accept loop too.

Signed-off-by: Vandra-Meyer Akos <[email protected]>
2026-10-23 07:03:25 +02:00
Jakob Borg d6d0181f7d fix(model): properly compare blocks when reconciling receive-only (fixes #10928) (#10929)
Signed-off-by: Jakob Borg <[email protected]>
v2.1.7 v2.1.7-rc.4
2026-10-20 19:54:38 +00:00
Syncthing Release Automation 775573cb2c chore(gui, man, authors): update docs, translations, and contributors 2026-10-19 03:55:11 +00:00
Jakob Borg 2d2ffc160e fix: cap body sizes for incoming requests to public services
Signed-off-by: Jakob Borg <[email protected]>
v2.1.7-rc.3
2026-10-18 11:31:39 +02:00
Jakob Borg ab91974876 fix(model): ensure parent ownership is copied properly (fixes #8399) (#10926)
When creating multiple directories, inherit ownership all the way up
(down).

Signed-off-by: Jakob Borg <[email protected]>
2026-10-18 11:30:45 +02:00
Jakob Borg f07853b517 fix(model): verify local change before applying metadata shortcut (fixes #10924) (#10925)
Signed-off-by: Jakob Borg <[email protected]>
2026-10-18 11:24:47 +02:00