MCPcopy Create free account

hub / github.com/Gui774ume/network-security-probe / functions

Functions555 in github.com/Gui774ume/network-security-probe

↓ 1 callersMethodgetImageAndTag
getImageAndTag - Returns the image and tag of the container. Queries K8s when necessary
pkg/monitor/container/docker/docker.go:314
↓ 1 callersMethodhandleContainerEvent
handleContainerEvent - Handle a container event
pkg/monitor/container/docker/docker.go:165
↓ 1 callersMethodhandleContainerExited
handleContainerExited - Handles a container running event
pkg/processor/profileloader/profileloader.go:292
↓ 1 callersMethodhandleContainerRunning
handleContainerRunning - Handles a container running event
pkg/processor/profileloader/profileloader.go:222
↓ 1 callersMethodhandleNetworkEvent
handleNetworkEvent - handle a network event
pkg/monitor/container/docker/docker.go:217
↓ 1 callersMethodhandleSecurityProfileCreation
handleSecurityProfileUpdate - Handles a security profile creation
pkg/processor/profileloader/profileloader.go:322
↓ 1 callersMethodhandleSecurityProfileDeletion
handleSecurityProfileDeletion - Handles a security profile deletion
pkg/processor/profileloader/profileloader.go:382
↓ 1 callersMethodhandleSecurityProfileUpdate
handleSecurityProfileUpdate - Handles a security profile update
pkg/processor/profileloader/profileloader.go:327
↓ 1 callersFunctioningress_cls
* ingress_cls - Handles ingress hooks * @skb: skb structure of the packet */
ebpf/main.c:1187
↓ 1 callersFunctioningress_ext_cls
* ingress_ext_cls - Handles "external" ingress hooks * @skb: skb structure of the packet */
ebpf/main.c:1089
↓ 1 callersMethodinit
init - Initializes the NetworkSecurityProbe
pkg/nsp/network_security_probe.go:142
↓ 1 callersMethodinit
init - Initializes perfmap
pkg/monitor/base/probe.go:320
↓ 1 callersFunctioninsert_cidr_entry
* insert_cidr_entry - Inserts a CIDR entry for the provided DNS response. Returns 0 if access should be granted, -1 if not. * @response: pointer to a
ebpf/main.c:1955
↓ 1 callersFunctionisBigEndian
()
pkg/utils/utils.go:230
↓ 1 callersMethodlisten
listen - Wait for events and print them
pkg/processor/tracer.go:51
↓ 1 callersMethodlisten
listen - Wait for events and print them
pkg/processor/dogtracer.go:71
↓ 1 callersMethodlisten
listen - Wait for events and print them
pkg/processor/profileloader/profileloader.go:169
↓ 1 callersMethodlisten
listen - Listen for new events from the kernel
pkg/monitor/base/probe.go:365
↓ 1 callersMethodlistenForDockerEvents
listenForDockerEvents - Listens for Docker events
pkg/monitor/container/docker/docker.go:117
↓ 1 callersMethodloadEBPFProgram
loadEBPFProgram - Loads eBPF program
pkg/nsp/network_security_probe.go:161
↓ 1 callersFunctionmesureGet
(url string)
cmd/nspbench/main.go:73
↓ 1 callersFunctionnetns_from_device
* netns_from_device - Returns the netns of a device * @dev: device */
ebpf/main.c:2448
↓ 1 callersFunctionnewNamespaceMapCache
()
pkg/nsp/cache.go:75
↓ 1 callersFunctionnewPidArrayCache
(size uint32)
pkg/nsp/cache.go:36
↓ 1 callersFunctionnewSecurityProfiles
newSecurityProfiles returns a SecurityProfiles
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:58
↓ 1 callersFunctionnew_session_key
* new_session_key - Populates the provided session_key with the data from the provided event * @session_key: session key to populate * @event: point
ebpf/main.c:2040
↓ 1 callersMethodonAdd
onAdd - SecurityProfile creation handler
pkg/k8s/informer/informer.go:96
↓ 1 callersMethodonDelete
onDelete - SecurityProfile creation handler
pkg/k8s/informer/informer.go:123
↓ 1 callersMethodonUpdate
onUpdate - SecurityProfile update handler
pkg/k8s/informer/informer.go:109
↓ 1 callersFunctionparse_arp
* parse_arp - Parses arp header. Returns 0 on success, a negative value on error. */
ebpf/main.c:2170
↓ 1 callersFunctionparse_dns_query
* parse_dns_query - Parses sk_buff to retrieve DNS query data. Returns 0 on success, negative value on error. */
ebpf/main.c:2279
↓ 1 callersFunctionparse_dns_response
* parse_dns_response - Parses sk_buff to retrieve DNS response data. Returns 0 on success, negative value on error. */
ebpf/main.c:2323
↓ 1 callersFunctionparse_ip
* parse_ip - Parses sk_buff to retrieve L3 data. Returns 0 on success, negative value on error. */
ebpf/main.c:2112
↓ 1 callersFunctionparse_l2
* parse_l2 - Parses sk_buff to retrieve L2 data. Returns 0 on success, negative value on error. */
ebpf/main.c:2090
↓ 1 callersFunctionparse_l4
* parse_l4 - Parses sk_buff to retrieve L4 data. Returns 0 on success, negative value on error. */
ebpf/main.c:2185
↓ 1 callersFunctionparse_l7
* parse_l7 - Parses sk_buff to retrieve L7 data. Returns 0 on success, negative value on error. */
ebpf/main.c:2259
↓ 1 callersFunctionpingSender
(pong string)
cmd/ping/main.go:64
↓ 1 callersFunctionpingVersion
(ping string)
cmd/pong/main.go:110
↓ 1 callersMethodpollStart
()
pkg/monitor/base/probe.go:347
↓ 1 callersMethodpollStop
pollStop - Stop a perf map listener
pkg/monitor/base/probe.go:394
↓ 1 callersFunctionprobeOBytes
()
pkg/probe/probe.go:73
↓ 1 callersFunctionresolveDomain
(domain string)
cmd/nspbench/main.go:44
↓ 1 callersFunctionsetConfigDefaults
(config *rest.Config)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprobe.datadoghq.com_client.go:69
↓ 1 callersMethodsetupRTNetLink
setupRTNetLink - Sets up a connection with RTNetlink
pkg/monitor/base/probe.go:100
↓ 1 callersMethodstartMonitors
startMonitors - Starts monitors
pkg/nsp/network_security_probe.go:230
↓ 1 callersMethodstartProcessors
startProcessors - Starts event processors
pkg/nsp/network_security_probe.go:215
↓ 1 callersMethodswapPidBinaryID
(oldBinaryIDs []keyvalue.Cookie, binaryPaths []string, newProfile *v1.SecurityProfile)
pkg/processor/profileloader/profileloader.go:765
↓ 1 callersFunctiontailcall_dns
* tailcall_dns - Tail calls to the right DNS program. Returns 0 if access should be granted, -1 if not. * @event: pointer to a net_event_t structure
ebpf/main.c:2003
↓ 1 callersFunctiontrace__dev_change_net_namespace
* trace__dev_change_net_namespace - Traces devices that swith network * namespace. * @dev: device * @net: new network namespace */
ebpf/main.c:629
↓ 1 callersFunctiontrace__do_fork
* trace__do_fork - Handles _do_fork kprobe hook * @clone_flags: flags of the clone call * @stack_start: start addr of the stack in memory * @stack_
ebpf/main.c:2625
↓ 1 callersFunctiontrace__free_netdev
* trace__free_netdev - Traces devices that the kernel is about to freed. * @dev: the device structure befor it is freed. */
ebpf/main.c:695
↓ 1 callersFunctiontrace__register_netdevice
* trace__register_netdevice - Traces the registration of a new network * device in the kernel. * @dev: the device structure after registration in th
ebpf/main.c:543
↓ 1 callersFunctiontrace__register_netdevice_ret
* trace__register_netdevice_ret - Traces the return of a new device registration * in the kernel. * @ret: the return value */
ebpf/main.c:559
↓ 1 callersFunctiontrace__sched_sched_process_exec
* trace_sched_process_exec - Handles exec tracepoint hook * @args: pointer to tracepoint arguments */
ebpf/main.c:2677
↓ 1 callersFunctiontrace__sched_sched_process_exit
* trace_sched_process_exit - Handles exit tracepoint hook * @args: pointer to tracepoint arguments */
ebpf/main.c:2720
↓ 1 callersFunctiontrace__sched_sched_process_fork
* trace_sched_process_fork - Handles fork tracepoint hook * @child_pid: child pid */
ebpf/main.c:2645
↓ 1 callersFunctiontrace__security_sk_classify_flow
* trace__security_sk_classify_flow - Traces processes that are trying * to reach out to a remote service. * @fl: routing flow of the outgoing traffi
ebpf/main.c:787
↓ 1 callersFunctiontrace__security_socket_bind
* trace__security_socket_bind - Traces processes that are binding a * socket to a local address. * @sock: socket * @address: address * @addrlen: a
ebpf/main.c:853
↓ 1 callersFunctiontrace__sock_gen_cookie
* trace__sock_gen_cookie - Traces sock_gen_cookie * @sk: sock structure */
ebpf/main.c:901
↓ 1 callersFunctiontrace__sock_gen_cookie_ret
* trace__sock_gen_cookie_ret - Traces the return value of sock_gen_cookie * @cookie: cookie of the socket */
ebpf/main.c:924
↓ 1 callersFunctiontrace__unregister_netdevice_queue
* trace__unregister_netdevice_queue - Traces devices that are about to * get unregisterd from the kernel. * @dev: the device structure before it is
ebpf/main.c:676
↓ 1 callersFunctiontrace__veth_newlink
* trace__veth_newlink - Traces the creation request of a new veth pair * for the provided device. * @dev: device, some members of this structure mig
ebpf/main.c:526
FunctionAssetNames
AssetNames returns the names of the assets.
pkg/probe/probe.go:133
MethodCreate
Create takes the representation of a securityProfile and creates it. Returns the server's representation of the securityProfile, and an error, if the
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:111
MethodCreate
Create takes the representation of a securityProfile and creates it. Returns the server's representation of the securityProfile, and an error, if the
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/fake/fake_securityprofile.go:82
FunctionCreateSecurityProfileCRD
CreateSecurityProfileCRD - Creates SecurityProfile v1 CRDs
pkg/k8s/apis/securityprobe.datadoghq.com/v1/crd.go:334
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressRule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:53
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:69
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:98
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L3Rule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:119
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L4ProtocolPortRule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:135
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L4Rule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:161
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7Rule.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:192
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:210
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProcessProfile.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:227
MethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityProfileSpec.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:330
MethodDeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:256
MethodDeepCopyObject
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
pkg/k8s/apis/securityprobe.datadoghq.com/v1/zz_generated.deepcopy.go:289
MethodDelete
Delete takes name of the securityProfile and deletes it. Returns an error if one occurs.
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:136
MethodDelete
Delete takes name of the securityProfile and deletes it. Returns an error if one occurs.
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/fake/fake_securityprofile.go:104
MethodDeleteCollection
(options *metav1.DeleteOptions, listOptions metav1.ListOptions)
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:43
MethodDeleteCollection
DeleteCollection deletes a collection of objects.
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:147
MethodDeleteCollection
DeleteCollection deletes a collection of objects.
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/fake/fake_securityprofile.go:112
MethodDiscovery
()
pkg/k8s/client/clientset/versioned/clientset.go:31
MethodDiscovery
Discovery retrieves the DiscoveryClient
pkg/k8s/client/clientset/versioned/clientset.go:48
MethodDiscovery
()
pkg/k8s/client/clientset/versioned/fake/clientset_generated.go:69
MethodDispatchEvent
DispatchEvent - Dispatches an event to the processors
pkg/nsp/network_security_probe.go:286
MethodForResource
(resource schema.GroupVersionResource)
pkg/k8s/client/informers/externalversions/factory.go:172
MethodForResource
ForResource gives generic access to a shared informer of the matching type TODO extend this to unknown resources with a client pool
pkg/k8s/client/informers/externalversions/generic.go:53
MethodGet
Get retrieves the SecurityProfile from the indexer for a given namespace and name.
pkg/k8s/client/listers/securityprobe.datadoghq.com/v1/securityprofile.go:85
MethodGet
Get takes name of the securityProfile, and returns the corresponding securityProfile object, and an error if there is any.
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/securityprofile.go:66
MethodGet
Get takes name of the securityProfile, and returns the corresponding securityProfile object, and an error if there is any.
pkg/k8s/client/clientset/versioned/typed/securityprobe.datadoghq.com/v1/fake/fake_securityprofile.go:42
MethodGetBinaryIDs
GetBinaryIDs - Returns the list of binary IDs of the profile
pkg/k8s/apis/securityprobe.datadoghq.com/v1/types.go:198
MethodGetBootTime
GetBootTime - Returns the boot time of the host
pkg/nsp/network_security_probe.go:83
MethodGetCollection
GetCollection - Returns the eBPF collection of the NSP
pkg/nsp/network_security_probe.go:78
FunctionGetCommFromPid
GetCommFromPid - Returns the comm of a process
pkg/utils/utils.go:117
MethodGetConfig
GetConfig - Returns the config of the NSP
pkg/nsp/network_security_probe.go:68
MethodGetEventChan
GetEventChan - Returns event channel
pkg/processor/tracer.go:37
MethodGetEventChan
GetEventChan - Returns event channel
pkg/processor/dogtracer.go:47
MethodGetEventChan
GetEventChan - Returns event channel
pkg/processor/profileloader/profileloader.go:144
← previousnext →201–300 of 555, ranked by callers