Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 1 | # entropy gathering commands |
| 2 | |
| 3 | # Format is: "program-name args" path rate |
| 4 | |
| 5 | # The "rate" represents the number of bits of usuable entropy per |
| 6 | # byte of command output. Be conservative. |
Damien Miller | e9cf357 | 2001-02-09 12:55:35 +1100 | [diff] [blame] | 7 | # |
Tim Rice | a091159 | 2002-07-14 14:43:57 -0700 | [diff] [blame] | 8 | # $Id: ssh_prng_cmds.in,v 1.8 2002/07/14 21:43:58 tim Exp $ |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 9 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 10 | "ls -alni /var/log" @PROG_LS@ 0.02 |
| 11 | "ls -alni /var/adm" @PROG_LS@ 0.02 |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 12 | "ls -alni /usr/adm" @PROG_LS@ 0.02 |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 13 | "ls -alni /var/mail" @PROG_LS@ 0.02 |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 14 | "ls -alni /usr/mail" @PROG_LS@ 0.02 |
Damien Miller | 52652f5 | 2000-08-07 15:54:39 +1000 | [diff] [blame] | 15 | "ls -alni /var/adm/syslog" @PROG_LS@ 0.02 |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 16 | "ls -alni /usr/adm/syslog" @PROG_LS@ 0.02 |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 17 | "ls -alni /var/spool/mail" @PROG_LS@ 0.02 |
| 18 | "ls -alni /proc" @PROG_LS@ 0.02 |
| 19 | "ls -alni /tmp" @PROG_LS@ 0.02 |
Damien Miller | 52652f5 | 2000-08-07 15:54:39 +1000 | [diff] [blame] | 20 | "ls -alni /var/tmp" @PROG_LS@ 0.02 |
| 21 | "ls -alni /usr/tmp" @PROG_LS@ 0.02 |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 22 | "ls -alTi /var/log" @PROG_LS@ 0.02 |
| 23 | "ls -alTi /var/adm" @PROG_LS@ 0.02 |
| 24 | "ls -alTi /var/mail" @PROG_LS@ 0.02 |
| 25 | "ls -alTi /var/adm/syslog" @PROG_LS@ 0.02 |
| 26 | "ls -alTi /var/spool/mail" @PROG_LS@ 0.02 |
| 27 | "ls -alTi /proc" @PROG_LS@ 0.02 |
| 28 | "ls -alTi /tmp" @PROG_LS@ 0.02 |
| 29 | "ls -alTi /var/tmp" @PROG_LS@ 0.02 |
| 30 | "ls -alTi /usr/tmp" @PROG_LS@ 0.02 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 31 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 32 | "netstat -an" @PROG_NETSTAT@ 0.05 |
| 33 | "netstat -in" @PROG_NETSTAT@ 0.05 |
| 34 | "netstat -rn" @PROG_NETSTAT@ 0.02 |
Damien Miller | ecbb26d | 2000-07-15 14:59:14 +1000 | [diff] [blame] | 35 | "netstat -pn" @PROG_NETSTAT@ 0.02 |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 36 | "netstat -ia" @PROG_NETSTAT@ 0.05 |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 37 | "netstat -s" @PROG_NETSTAT@ 0.02 |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 38 | "netstat -is" @PROG_NETSTAT@ 0.07 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 39 | |
Tim Rice | a091159 | 2002-07-14 14:43:57 -0700 | [diff] [blame] | 40 | "arp -n -a" @PROG_ARP@ 0.02 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 41 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 42 | "ifconfig -a" @PROG_IFCONFIG@ 0.02 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 43 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 44 | "ps laxww" @PROG_PS@ 0.03 |
| 45 | "ps -al" @PROG_PS@ 0.03 |
| 46 | "ps -efl" @PROG_PS@ 0.03 |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 47 | "jstat" @PROG_JSTAT@ 0.07 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 48 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 49 | "w" @PROG_W@ 0.05 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 50 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 51 | "who -i" @PROG_WHO@ 0.01 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 52 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 53 | "last" @PROG_LAST@ 0.01 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 54 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 55 | "lastlog" @PROG_LASTLOG@ 0.01 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 56 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 57 | "df" @PROG_DF@ 0.01 |
| 58 | "df -i" @PROG_DF@ 0.01 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 59 | |
Ben Lindstrom | d9e0824 | 2001-07-22 19:32:00 +0000 | [diff] [blame] | 60 | "sar -d" @PROG_SAR@ 0.04 |
| 61 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 62 | "vmstat" @PROG_VMSTAT@ 0.01 |
| 63 | "uptime" @PROG_UPTIME@ 0.01 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 64 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 65 | "ipcs -a" @PROG_IPCS@ 0.01 |
Damien Miller | 0437b33 | 2000-05-02 09:56:41 +1000 | [diff] [blame] | 66 | |
Damien Miller | 14c12cb | 2000-06-07 22:20:23 +1000 | [diff] [blame] | 67 | "tail -200 /var/log/messages" @PROG_TAIL@ 0.01 |
| 68 | "tail -200 /var/log/syslog" @PROG_TAIL@ 0.01 |
| 69 | "tail -200 /var/adm/messages" @PROG_TAIL@ 0.01 |
| 70 | "tail -200 /var/adm/syslog" @PROG_TAIL@ 0.01 |
| 71 | "tail -200 /var/adm/syslog/syslog.log" @PROG_TAIL@ 0.01 |
| 72 | "tail -200 /var/log/maillog" @PROG_TAIL@ 0.01 |
| 73 | "tail -200 /var/adm/maillog" @PROG_TAIL@ 0.01 |
Damien Miller | 52652f5 | 2000-08-07 15:54:39 +1000 | [diff] [blame] | 74 | "tail -200 /var/adm/syslog/mail.log" @PROG_TAIL@ 0.01 |
| 75 | |