You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Opens a non-privileged ICMP socket. On Linux the group ID of the process needs to be in ping_group_range
59
+
// Only check ping_group_range once for IPv4
60
+
iflistenIP.Is4() {
61
+
iferr:=checkInPingGroup(); err!=nil {
62
+
logger.Warn().Err(err).Msgf("The user running cloudflared process has a GID (group ID) that is not within ping_group_range. You might need to add that user to a group within that range, or instead update the range to encompass a group the user is already in by modifying %s. Otherwise cloudflared will not be able to ping this network", pingGroupPath)
63
+
returnerr
64
+
}
65
+
}
47
66
conn, err:=newICMPConn(listenIP, zone)
48
67
iferr!=nil {
49
-
// TODO: TUN-6715 check if cloudflared is in ping_group_range if the check failed. If not log instruction to
50
-
// change the group ID
51
68
returnerr
52
69
}
53
70
// This conn is only to test if cloudflared has permission to open this type of socket
0 commit comments