wip/memdump 1.01 NetBSD
Memory dumper for UNIX-like systems
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- postfix-license
- Categories
- wip, sysutils
Description
What can you expect to find in a system memory dump? Bits from the operating system, from running processes, and from every file and directory that has been accessed recently. Depending on the operating system you may even find some information from deleted files and exited processes, although that information tends to be short-lived.
To dump physical memory:
memdump \| nc host port
memdump \| openssl s\_client -connect host:port
For best results send output off-host over the network. Writing to file risks clobbering all the memory in the file system cache. Use netcat, stunnel, or openssl, depending on your requirements.
With the exception of Linux, dumping UNIX system memory is a tricky business because /dev/mem has holes that one has to carefully skip around in order not to read nonsense or even miss information.
This software was tested on Linux, Solaris, FreeBSD, OpenBSD, and is distributed under the IBM Public License.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | wip/memdump | 1.01 |
| FreeBSD | sysutils/memdump | 1.01_1 |
| DragonFly | sysutils/memdump | 1.01_1 |
| HardenedBSD | sysutils/memdump | 1.01_1 |
| GhostBSD | sysutils/memdump | 1.01_1 |
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/memdump && make install clean
Dependencies
No port depends on this one.