Logo
Explore Help
Register Sign In
admin/TripleCross
1
0
Fork 0
You've already forked TripleCross
mirror of https://github.com/h3xduck/TripleCross.git synced 2025-12-30 13:13:07 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
f2c3624e8bf563ab4730d1f805aee474371b4fa0
TripleCross/src/common/map_common.h

22 lines
344 B
C
Raw Normal View History

Added new kprobe to the filesystem ebpf section. Now receiving read events, and storing them in a map for later use, along with a reference to the user-space memory buffer
2022-01-14 21:18:51 -05:00
#ifndef __MAP_COMMON_H
#define __MAP_COMMON_H
// Ring buffer for kernel->user communication
Added new map structure, in preparation for new internal maps storing requested commands via the network backdoor
2022-02-14 20:08:30 -05:00
#define RB_EVENT_MAX_MESSAGE_SIZE 512
Added new kprobe to the filesystem ebpf section. Now receiving read events, and storing them in a map for later use, along with a reference to the user-space memory buffer
2022-01-14 21:18:51 -05:00
typedef enum {
INFO,
DEBUG,
EXIT,
Completed message passing of commands to userspace via ebpf ringbuffer
2022-05-05 13:22:47 -04:00
ERROR,
COMMAND
Added new kprobe to the filesystem ebpf section. Now receiving read events, and storing them in a map for later use, along with a reference to the user-space memory buffer
2022-01-14 21:18:51 -05:00
} event_type_t;
struct rb_event {
int pid;
char message[RB_EVENT_MAX_MESSAGE_SIZE];
int code;
event_type_t event_type;
};
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 47ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API