aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy/unix_procs/unix_proc_sources.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-01 21:20:55 +0000
committerlloyd <[email protected]>2014-01-01 21:20:55 +0000
commit197dc467dec28a04c3b2f30da7cef122dfbb13e9 (patch)
treecdbd3ddaec051c72f0a757db461973d90c37b97a /src/entropy/unix_procs/unix_proc_sources.cpp
parent62faac373c07cfe10bc8c309e89ebdd30d8e5eaa (diff)
Shuffle things around. Add NIST X.509 test to build.
Diffstat (limited to 'src/entropy/unix_procs/unix_proc_sources.cpp')
-rw-r--r--src/entropy/unix_procs/unix_proc_sources.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/entropy/unix_procs/unix_proc_sources.cpp b/src/entropy/unix_procs/unix_proc_sources.cpp
deleted file mode 100644
index 6cf185064..000000000
--- a/src/entropy/unix_procs/unix_proc_sources.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
-* Program List for Unix_EntropySource
-* (C) 1999-2007 Jack Lloyd
-*
-* Distributed under the terms of the Botan license
-*/
-
-#include <botan/internal/unix_procs.h>
-
-namespace Botan {
-
-/**
-* Default Commands for Entropy Gathering
-*/
-std::vector<std::vector<std::string>> Unix_EntropySource::get_default_sources()
- {
- std::vector<std::vector<std::string>> srcs;
-
- srcs.push_back({ "netstat", "-in" });
- srcs.push_back({ "pfstat" });
- srcs.push_back({ "vmstat", "-s" });
- srcs.push_back({ "vmstat" });
-
- srcs.push_back({ "arp", "-a", "-n" });
- srcs.push_back({ "ifconfig", "-a" });
- srcs.push_back({ "iostat" });
- srcs.push_back({ "ipcs", "-a" });
- srcs.push_back({ "mpstat" });
- srcs.push_back({ "netstat", "-an" });
- srcs.push_back({ "netstat", "-s" });
- srcs.push_back({ "nfsstat" });
- srcs.push_back({ "portstat" });
- srcs.push_back({ "procinfo", "-a" });
- srcs.push_back({ "pstat", "-T" });
- srcs.push_back({ "pstat", "-s" });
- srcs.push_back({ "uname", "-a" });
- srcs.push_back({ "uptime" });
-
- srcs.push_back({ "listarea" });
- srcs.push_back({ "listdev" });
- srcs.push_back({ "ps", "-A" });
- srcs.push_back({ "sysinfo" });
-
- srcs.push_back({ "finger" });
- srcs.push_back({ "mailstats" });
- srcs.push_back({ "rpcinfo", "-p", "localhost" });
- srcs.push_back({ "who" });
-
- srcs.push_back({ "df", "-l" });
- srcs.push_back({ "dmesg" });
- srcs.push_back({ "last", "-5" });
- srcs.push_back({ "ls", "-alni", "/proc" });
- srcs.push_back({ "ls", "-alni", "/tmp" });
- srcs.push_back({ "pstat", "-f" });
-
- srcs.push_back({ "ps", "-elf" });
- srcs.push_back({ "ps", "aux" });
-
- srcs.push_back({ "lsof", "-n" });
- srcs.push_back({ "sar", "-A" });
-
- return srcs;
- }
-
-}