this post was submitted on 07 Jun 2024
31 points (84.4% liked)

Cybersecurity

5277 readers
351 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

Notable mention to [email protected]

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] kid 6 points 2 months ago (1 children)

Not necessarily. Torrent is a way to find a peer for direct connection or via a relay (of course that is more than that). Syncthing, even using a relay server, requires some ports available for at least outbound connection (22000 TCP/UDP or whatever port the relay is using). This should not be possible in a medium security network, let alone a defense network. I don't know if syncthing works without a direct connection (to the peer or relay, something like transport via http proxy).

[–] [email protected] 5 points 2 months ago (1 children)

It does. It has hole punching incorporated into the protocol. So as long as it can get to the internet, it can use coordination servers and do double hole punching so that they can talk to each other

[–] kid 2 points 2 months ago (1 children)

Interesting. I didn't know that syncthing does hole punching.

From a defense perspective, how would this work with an enterprise firewall, with UDP/TCP only allowed to specific destinations or specific sources. Example: only the internal DNS relay server can access 53/UDP and only the internal proxy server can access 80/443. What I mean is in a network with a very closed firewall, how would Syncthing be able to connect with peers?

[–] [email protected] 4 points 2 months ago* (last edited 2 months ago) (1 children)

If the firewall was properly locking down servers to functions then it shouldn't work. But if it has general Web access sync thing is very resilient

This is the reason people use sync thing and recommend it, it's really hard to kill

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago)

Bestbet would probably be block on an application level. I swapped to bitwarden since syncthing wasn't liked by the AV on my work pc and I was using it to sync my password db.