etckeeper is a collection of tools to let you store your precious /etc files in a repository which is updated daily from cron. One can choose git darcs hg bzr. There is very little configuration to do. …more
Posted on March 21, 2012 by disharmony Most people use DTrace to see what their system is actually doing. What functions or systemcalls are being executed, what is my process doing, where is most time spent, etc. The possibilities are endless and DTrace is such an awesome tool that I just can’t stop talking about it. Not everyone might know that DTrace is not only able to trace your system and applications, but it can also change memory on the fly. I knew this from the beginning but actually never took the time to dig into this, until now. While reading DTrace’s documentation about copyout and copyoutstr it became immediately clear to me that this means even more fun! Extending the, already endless, possibilities. Imagine the following example: open64(""/etc/vfstab"", O_RDONLY); The open64 systemcall takes 2 arguments: arg0 and arg1, where arg0 is a const char pointing to a file and arg1 is the flag that specifies the access mode, in this example readonly. We can easially dtrace all...
We need two tools here: ngrep to find an SSL certificate in the TCP packets, and iptables to block the SSL string. …more