Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
michael@574 | 1 | ## |
michael@574 | 2 | ## honeyd.conf |
michael@574 | 3 | ## |
michael@574 | 4 | |
michael@574 | 5 | # Linux 2.4.x host definition |
michael@574 | 6 | create linuxhost |
michael@715 | 7 | set linuxhost personality "Linux kernel 2.4.18 - 2.4.20 (X86)" |
michael@574 | 8 | add linuxhost tcp port 21 "@l_prefix@/libexec/honeyd/ftp.sh" |
michael@574 | 9 | add linuxhost tcp port 25 "@l_prefix@/libexec/honeyd/smtp.sh" |
michael@574 | 10 | add linuxhost tcp port 110 "@l_prefix@/libexec/honeyd/pop3.sh" |
michael@574 | 11 | add linuxhost tcp port 22 "@l_prefix@/libexec/honeyd/svcs.sh ssh" |
michael@574 | 12 | add linuxhost tcp port 80 "@l_prefix@/libexec/honeyd/svcs.sh http" |
michael@574 | 13 | add linuxhost tcp port 53 open |
michael@574 | 14 | add linuxhost udp port 53 open |
michael@574 | 15 | add linuxhost tcp port 69 open |
michael@574 | 16 | add linuxhost udp port 69 open |
michael@574 | 17 | add linuxhost tcp port 554 open |
michael@574 | 18 | add linuxhost udp port 554 open |
michael@574 | 19 | add linuxhost tcp port 23 proxy $ipsrc:23 |
michael@574 | 20 | set linuxhost default tcp action reset |
michael@574 | 21 | set linuxhost default udp action reset |
michael@574 | 22 | set linuxhost uptime 2655300 |
michael@574 | 23 | set linuxhost uid @l_muid@ gid @l_mgid@ |
michael@574 | 24 | |
michael@574 | 25 | # AIX 4.X host definition |
michael@574 | 26 | create unixhost |
michael@715 | 27 | set unixhost personality "IBM AIX 4.0 - 4.2" |
michael@574 | 28 | add unixhost tcp port 21 "@l_prefix@/libexec/honeyd/ftp.sh" |
michael@574 | 29 | add unixhost tcp port 25 "@l_prefix@/libexec/honeyd/smtp.sh" |
michael@574 | 30 | add unixhost tcp port 110 "@l_prefix@/libexec/honeyd/pop3.sh" |
michael@574 | 31 | add unixhost tcp port 22 "@l_prefix@/libexec/honeyd/svcs.sh ssh" |
michael@574 | 32 | add unixhost tcp port 80 "@l_prefix@/libexec/honeyd/svcs.sh http" |
michael@574 | 33 | add unixhost tcp port 53 open |
michael@574 | 34 | add unixhost udp port 53 open |
michael@574 | 35 | add unixhost tcp port 111 open |
michael@574 | 36 | add unixhost udp port 111 open |
michael@574 | 37 | add unixhost tcp port 123 open |
michael@574 | 38 | add unixhost udp port 123 open |
michael@574 | 39 | add unixhost tcp port 23 proxy $ipsrc:23 |
michael@574 | 40 | set unixhost default tcp action reset |
michael@574 | 41 | set unixhost default udp action reset |
michael@574 | 42 | set unixhost uptime 3284460 |
michael@574 | 43 | set unixhost uid @l_muid@ gid @l_mgid@ |
michael@574 | 44 | |
michael@574 | 45 | # Windows NT 4.0 host definition |
michael@574 | 46 | create winhost |
michael@715 | 47 | set winhost personality "Microsoft Windows NT 4.0 Server SP5-SP6" |
michael@574 | 48 | add winhost tcp port 21 "@l_prefix@/libexec/honeyd/ftp.sh" |
michael@574 | 49 | add winhost tcp port 25 "@l_prefix@/libexec/honeyd/smtp.sh" |
michael@574 | 50 | add winhost tcp port 110 "@l_prefix@/libexec/honeyd/pop3.sh" |
michael@574 | 51 | add winhost tcp port 137 open |
michael@574 | 52 | add winhost udp port 137 open |
michael@574 | 53 | set winhost default tcp action reset |
michael@574 | 54 | set winhost default udp action reset |
michael@574 | 55 | set winhost uptime 663825 |
michael@574 | 56 | set winhost uid @l_muid@ gid @l_mgid@ |
michael@574 | 57 | |
michael@574 | 58 | # Bind hosts |
michael@574 | 59 | bind 192.168.100.201 linuxhost |
michael@574 | 60 | bind 192.168.100.202 unixhost |
michael@574 | 61 | bind 192.168.100.203 winhost |
michael@574 | 62 |