Ghost & Open_file
Ever thought about how to keep a program humming in the shadows, fast and quiet, without giving anything away? I’ve got a few ideas.
Sounds like a fun challenge—keep it lean, hide the noise, and make it fast. You can drop logs to /dev/null, run in daemon mode with no stdout, use epoll instead of polling, and keep memory usage tight with mmap tricks. If it’s about hiding, obfuscate the binary, strip symbols, and maybe use a small bootstrap that loads the real payload on demand. What’s your first idea?
First, keep everything in a single, tight process; no child processes, no extra threads—just a single daemon that sits in the background, listening for events and doing what it needs, then sleeping. That way, the system sees one minimal footprint, and you can avoid a lot of noise.