baruwaproject / baruwa2

Baruwa 2.0
http://www.baruwa.org
GNU General Public License v3.0
21 stars 9 forks source link

[bug] Quarantine sync (syncthing) via IPV6 doesn't work #89

Closed rmoesbergen closed 7 years ago

rmoesbergen commented 8 years ago

When trying to configure mailnodes to communicate for shared quarantine over IPv6, I encountered the follow issue:

In the syncthing configuration file, an IPv6 address needs to be surrounded with square brackets ([]). The current code to generate a syncthing config.xml does not take this into account, and so syncing fails (nodes cannot connect / find each other). Also, the GUI does not permit to enter an IP address with square brackets in it (and should not need to, if the underlying code knows about the square brackets)

See also: https://docs.syncthing.net/users/config.html

akissa commented 7 years ago

Fixed