MCPcopy Create free account

hub / github.com/StanfordSNR/guardian-agent / functions

Functions74 in github.com/StanfordSNR/guardian-agent

↓ 17 callersMethodClose
()
delegated_client.go:98
↓ 13 callersMethodClose
()
sshfwd.go:175
↓ 9 callersMethodInform
(msg string)
ui.go:19
↓ 8 callersFunctionWriteControlPacket
(w io.Writer, msgNum byte, payload []byte)
common.go:133
↓ 4 callersMethodAccept
()
sshfwd.go:149
↓ 4 callersFunctionReadControlPacket
(r io.Reader)
common.go:114
↓ 3 callersMethodClose
()
delegated_client.go:89
↓ 3 callersMethodCloseWrite
()
delegated_client.go:310
↓ 3 callersMethodWrite
(b []byte)
common.go:108
↓ 2 callersMethodAllowAll
(scope Scope)
store.go:96
↓ 2 callersMethodAsk
(prompt Prompt)
ui.go:17
↓ 2 callersMethodAskPassword
(msg string)
ui.go:21
↓ 2 callersFunctionHostKeyCallback
(hostname string, remote net.Addr, key ssh.PublicKey, ui UI)
common.go:241
↓ 2 callersMethodSave
()
store.go:53
↓ 2 callersFunctionUserTempDir
()
common.go:161
↓ 2 callersMethodconnectToServer
()
delegated_client.go:313
↓ 2 callersFunctiongetAuth
(username string, host string, homeDir string, ui UI)
common.go:300
↓ 2 callersMethodresume
()
delegated_client.go:231
↓ 2 callersMethodstartCommand
(conn *ssh.Client, cmd string)
delegated_client.go:114
↓ 1 callersMethodAlert
(msg string)
ui.go:20
↓ 1 callersMethodAllowCommand
(scope Scope, cmd string)
store.go:111
↓ 1 callersMethodAreAllAllowed
(scope Scope)
store.go:150
↓ 1 callersMethodAsk
(params Prompt)
ui.go:55
↓ 1 callersMethodBytesRead
()
common.go:94
↓ 1 callersMethodBytesWritten
()
common.go:98
↓ 1 callersMethodConfirm
(msg string)
ui.go:18
↓ 1 callersFunctionCreateSocket
(name string)
socket.go:14
↓ 1 callersMethodHandleConnection
(conn net.Conn)
agent.go:92
↓ 1 callersMethodIsAllowed
(scope Scope, cmd string)
store.go:131
↓ 1 callersFunctionNewAskPassUI
()
ui.go:113
↓ 1 callersFunctionNewStore
(configPath string)
store.go:25
↓ 1 callersMethodRemoteAddr
()
common.go:87
↓ 1 callersMethodRequestApproval
(scope Scope, cmd string)
policy.go:13
↓ 1 callersMethodRequestApprovalForAllCommands
(scope Scope)
policy.go:58
↓ 1 callersMethodSetupForwarding
()
sshfwd.go:38
↓ 1 callersFunctionUserRuntimeDir
()
common.go:173
↓ 1 callersMethodconnectToAgent
()
delegated_client.go:45
↓ 1 callersFunctionfallbackResolveRemote
(opts *options, userAndHost string)
cmd/sga-ssh/sga-ssh.go:188
↓ 1 callersFunctionformatPrompt
(params Prompt)
ui.go:36
↓ 1 callersFunctiongetHandoffNextTransportByte
(control net.Conn)
delegated_client.go:260
↓ 1 callersFunctiongetKeyFileAuth
(keyPath string, ui UI)
common.go:270
↓ 1 callersMethodhandleExecutionRequest
(conn net.Conn, scope Scope, cmd string)
agent.go:134
↓ 1 callersMethodload
()
store.go:35
↓ 1 callersFunctionmapToChoice
(vs []string)
ui.go:47
↓ 1 callersFunctionmd5String
md5String returns a formatted string representing the given md5Sum in hex
common.go:235
↓ 1 callersMethodproxySSH
(scope Scope, toClient net.Conn, toServer net.Conn, control net.Conn, fil *ssh.Filter)
agent.go:54
↓ 1 callersFunctionputHostKey
Adapted from https://github.com/coreos/fleet/blob/master/ssh/known_hosts.go
common.go:192
↓ 1 callersFunctionrenderHostLine
(addr string, key ssh.PublicKey)
common.go:212
↓ 1 callersFunctionresolveRemote
(parser *flags.Parser, opts *options, userAndHost string)
cmd/sga-ssh/sga-ssh.go:158
↓ 1 callersMethodrunDelegated
()
delegated_client.go:405
↓ 1 callersMethodrunDirect
()
delegated_client.go:354
↓ 1 callersFunctionsyncBufferedTraffic
(bufferedTraffic *bytes.Buffer, bufferedOffset int, handoffByte uint32)
delegated_client.go:288
MethodAlert
(msg string)
ui.go:88
MethodAlert
(msg string)
ui.go:143
MethodAsk
(params Prompt)
ui.go:122
MethodAskPassword
(msg string)
ui.go:95
MethodAskPassword
(msg string)
ui.go:148
MethodConfirm
(msg string)
ui.go:107
MethodConfirm
(msg string)
ui.go:157
FunctionCreateSocket
(name string)
socket_windows.go:16
MethodInform
(msg string)
ui.go:81
MethodInform
(msg string)
ui.go:139
MethodMarshalJSON
()
store.go:69
FunctionNewGuardian
(policyConfigPath string, inType InputType)
agent.go:30
MethodRead
(p []byte)
common.go:102
FunctionReplaceSSHAuthSockEnv
(env []string, newVal string)
common.go:147
MethodRunLocal
(cmd string)
sshfwd.go:140
MethodRunRemote
(cmd string)
sshfwd.go:125
FunctionRunSSHCommand
Run starts a delegated session.
delegated_client.go:345
MethodUnmarshalJSON
(b []byte)
store.go:82
MethodWrite
(p []byte)
delegated_client.go:77
Functionmain
()
cmd/sga-guard-bin/sga-guard-bin.go:36
Functionmain
()
cmd/sga-stub/sga-stub.go:13
Functionmain
()
cmd/sga-ssh/sga-ssh.go:48