Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TvdW/gotor
/ functions
Functions
200 in github.com/TvdW/gotor
⨍
Functions
200
◇
Types & classes
48
↓ 80 callers
Function
Log
(level byte, format string, args ...interface{})
debug.go:32
↓ 64 callers
Method
Write
(p []byte)
sha1/sha1.go:58
↓ 27 callers
Function
CloseCircuit
(e error, reason DestroyReason)
error.go:48
↓ 25 callers
Method
Bytes
()
cell.go:18
↓ 25 callers
Method
Sum
(in []byte)
sha1/sha1.go:81
↓ 24 callers
Method
Data
()
cell.go:16
↓ 22 callers
Method
Command
()
cell.go:15
↓ 16 callers
Function
ReturnCellBuf
(buf []byte)
cellbuf.go:39
↓ 15 callers
Function
GetCellBuf
(wiped bool)
cellbuf.go:19
↓ 13 callers
Method
CircID
()
cell.go:14
↓ 12 callers
Function
NewCell
(vers LinkVersion, id CircuitID, cmd Command, data []byte)
cell.go:21
↓ 10 callers
Function
RefuseCircuit
(e error, reason DestroyReason)
error.go:52
↓ 10 callers
Method
sendRelayCell
(circ *Circuit, stream StreamID, direction DataDirection, command RelayCommand, data []byte)
relay.go:214
↓ 9 callers
Function
CloseConnection
(e error)
error.go:56
↓ 7 callers
Function
CRandBytes
(target []byte)
rand.go:30
↓ 7 callers
Method
Reset
()
sha1/sha1.go:31
↓ 7 callers
Method
StreamID
()
relaycell.go:25
↓ 7 callers
Method
String
()
dns.go:31
↓ 7 callers
Function
benchmarkWithSize
(size int, b *testing.B)
aes/aes_test.go:17
↓ 6 callers
Function
New
New returns a new hash.Hash computing the SHA1 checksum.
sha1/sha1.go:42
↓ 6 callers
Method
ReleaseBuffers
()
cell.go:17
↓ 6 callers
Function
StatsUpd
(t, val int32)
stats.go:23
↓ 5 callers
Method
Crypt
(source, target []byte)
aes/aes.go:18
↓ 4 callers
Method
Abort
()
window.go:23
↓ 4 callers
Method
CircDestroyReason
()
error.go:21
↓ 4 callers
Method
Destroy
()
stream.go:48
↓ 4 callers
Method
MSB
(vers LinkVersion)
circuit.go:15
↓ 4 callers
Method
ReadFile
(filename string)
config.go:32
↓ 4 callers
Function
RefuseStream
(e error, reason StreamEndReason)
error.go:64
↓ 4 callers
Method
destroyCircuit
(circ *Circuit, announce, shouldRemove bool, reason DestroyReason)
circuit.go:139
↓ 4 callers
Method
destroyRelayCircuit
(circ *RelayCircuit, announce, shouldRemove bool, reason DestroyReason)
circuit.go:181
↓ 3 callers
Method
Error
()
error.go:36
↓ 3 callers
Method
Handle
()
error.go:20
↓ 3 callers
Function
KDFHKDF
(bytes int, secretInput, key, mExpand []byte)
kdf.go:29
↓ 3 callers
Method
Length
()
relaycell.go:33
↓ 3 callers
Function
NewCircuit
(id CircuitID, fSeed, bSeed, fKey, bKey []byte)
circuit.go:106
↓ 3 callers
Function
NewWindow
(window int)
window.go:16
↓ 3 callers
Method
Refill
(count int)
window.go:27
↓ 3 callers
Method
SignedDescriptor
()
tordir/descriptor.go:80
↓ 3 callers
Function
benchmarkSize
(b *testing.B, size int)
sha1/sha1_test.go:109
↓ 3 callers
Function
block
go:noescape
sha1/sha1block_decl.go:11
↓ 2 callers
Method
AddAddress
(addr []byte)
connectionhint.go:36
↓ 2 callers
Method
AddFingerprint
(fp []byte)
connectionhint.go:17
↓ 2 callers
Method
CircID
()
cmdrouter.go:13
↓ 2 callers
Function
CloseStream
(e error, reason StreamEndReason)
error.go:60
↓ 2 callers
Method
Handle
(*OnionConnection, *Circuit)
cmdrouter.go:15
↓ 2 callers
Method
HandleRelay
(*OnionConnection, *RelayCircuit)
cmdrouter.go:16
↓ 2 callers
Function
KDFTOR
(bytes int, random []byte)
kdf.go:13
↓ 2 callers
Function
NewTLSCtx
(isClient bool, or *ORCtx)
tls.go:31
↓ 2 callers
Function
NewVarCell
(vers LinkVersion, id CircuitID, cmd Command, data []byte, length int)
cell.go:29
↓ 2 callers
Method
PublishDescriptor
()
or.go:191
↓ 2 callers
Function
RandomHostname
(minLen, maxLen int, prefix, suffix string)
tls.go:246
↓ 2 callers
Method
RequestCircuit
(req *CircuitRequest)
or.go:254
↓ 2 callers
Function
ResolveDNS
(host string)
dns.go:44
↓ 2 callers
Method
Runloop
()
onionconnection.go:263
↓ 2 callers
Function
SetupTLS
(or *ORCtx)
tls.go:201
↓ 2 callers
Method
Size
()
sha1/sha1.go:54
↓ 2 callers
Method
Take
()
window.go:34
↓ 2 callers
Method
WrapTLS
(conn net.Conn, isClient bool)
tls.go:228
↓ 2 callers
Method
checkSum
()
sha1/sha1.go:88
↓ 2 callers
Method
cleanup
()
onionconnection.go:51
↓ 2 callers
Method
handleCerts
(cell Cell, cert *openssl.Certificate)
handshake.go:330
↓ 2 callers
Function
newOnionConnection
(tlsctx *TorTLS, or *ORCtx)
onionconnection.go:37
↓ 2 callers
Method
reader
(conn io.Reader)
onionconnection.go:343
↓ 2 callers
Method
sendCerts
(writeHash hash.Hash)
handshake.go:163
↓ 2 callers
Method
sendNetinfo
(writeHash hash.Hash)
handshake.go:197
↓ 2 callers
Method
writer
(conn net.Conn)
onionconnection.go:418
↓ 1 callers
Method
AllowsConnect
(addr []byte, port uint16)
exitpolicy.go:25
↓ 1 callers
Method
BlockSize
()
sha1/sha1.go:56
↓ 1 callers
Method
Clone
()
sha1/sha1.go:48
↓ 1 callers
Method
Describe
()
exitpolicy.go:50
↓ 1 callers
Method
Digest
()
relaycell.go:29
↓ 1 callers
Method
EndConnection
(fp Fingerprint, conn *OnionConnection)
or.go:236
↓ 1 callers
Method
ForRelay
()
cmdrouter.go:14
↓ 1 callers
Method
GetAddresses
()
connectionhint.go:52
↓ 1 callers
Method
GetFingerprint
()
connectionhint.go:32
↓ 1 callers
Method
GetLevel
()
window.go:59
↓ 1 callers
Method
GetTLSCtx
(isClient bool)
tls.go:189
↓ 1 callers
Function
HandleORConnClient
(or *ORCtx, conn net.Conn, req *CircuitRequest)
onionconnection.go:94
↓ 1 callers
Function
HandleORConnServer
(or *ORCtx, conn net.Conn)
onionconnection.go:190
↓ 1 callers
Function
HybridDecrypt
(priv openssl.PrivateKey, d []byte)
hybrid.go:12
↓ 1 callers
Function
New
(key, iv []byte)
aes/aes.go:25
↓ 1 callers
Function
NewCell3
(id CircuitID, cmd Command, d []byte)
cellv3.go:29
↓ 1 callers
Function
NewCell4
(id CircuitID, cmd Command, d []byte)
cellv4.go:29
↓ 1 callers
Method
NewCircID
()
circuit.go:196
↓ 1 callers
Function
NewOR
(torConf *Config)
or.go:46
↓ 1 callers
Function
NewStream
* Stream cleanups * * When the writer fails to write we close the socket, triggering the reader to fail. * When the reader fails to read we close t
stream.go:38
↓ 1 callers
Function
NewVarCell3
(id CircuitID, cmd Command, d []byte, l int)
cellv3.go:48
↓ 1 callers
Function
NewVarCell4
(id CircuitID, cmd Command, d []byte, l int)
cellv4.go:47
↓ 1 callers
Method
Publish
(address string)
tordir/descriptor.go:169
↓ 1 callers
Method
Recognized
()
relaycell.go:17
↓ 1 callers
Method
RegisterConnection
(fp Fingerprint, conn *OnionConnection)
or.go:221
↓ 1 callers
Function
ResolveDNSAsync
(host string, circ CircuitID, stream StreamID, resultChan CircReadQueue)
dns.go:92
↓ 1 callers
Method
RotateKeys
()
or.go:157
↓ 1 callers
Method
Run
(circID CircuitID, circWindow *Window, queue CircReadQueue, address string, port uint16, isDir bool, ep ExitPo
stream.go:58
↓ 1 callers
Method
Run
()
or.go:204
↓ 1 callers
Function
SeedCellBuf
()
cellbuf.go:12
↓ 1 callers
Function
SetupRand
()
rand.go:12
↓ 1 callers
Function
StatsAddConnection
()
stats.go:40
↓ 1 callers
Function
StatsDestroyCircuit
()
stats.go:34
next →
1–100 of 200, ranked by callers