syncthing/gui/default/assets
Jakob Borg c5e0c47989 lib/connections, lib/model, gui: Specify allowed networks per device (fixes #219)
This adds a new config AllowedNetworks per device, which when set should
contain a list of network prefixes (192.168.0.0/126 etc) that are
allowed for the given device. The connection service will not attempt
connections to addresses outside of the given networks and incoming
connections will be rejected as well.

I've added the config to the normal device editor and shown it (when
set) in the device summary on the main screen.

There's a unit test for the IsAllowedNetwork method, I've done some
manual sanity testing on top of that.

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4073
2017-04-01 09:52:31 +00:00
..
css gui: Allow toggleable units for transfer rate (fixes #234) 2017-03-31 06:32:54 +00:00
font Add support for themes (fixes #1925) 2016-01-10 17:57:27 +00:00
img gui, assets: Compress PNGs using ZopfliPNG 2016-06-28 06:19:12 +00:00
lang lib/connections, lib/model, gui: Specify allowed networks per device (fixes #219) 2017-04-01 09:52:31 +00:00