· 7 years ago · Mar 12, 2018, 02:30 PM
1#route entry 10.0.0.1
2#route 10.0.0.1 link 10.2.0.0/24
3route 10.0.2.15 add net 192.168.1.0/24 192.168.1.1 latency 8ms bandwidth 10Mbps
4route 192.168.1.1 link 192.168.1.0/24
5route 192.168.1.1 add net 192.168.1.0/24 192.168.1.1 latency 7ms loss 0.5
6route 192.168.1.1 link 192.168.1.0/24
7
8# Example of a simple host template and its binding
9create template
10set template personality "Linux Kernel 2.4.3 SMP (RedHat)"
11set template uptime 1728650
12set template maxfds 35
13# For a complex IIS server
14add template tcp port 80 "sh /usr/share/honeyd/scripts/unix/linux/suse8.0/apache.sh"
15
16
17
18add template tcp port 2244 "sh /usr/share/honeyd/scripts/unix/linux/suse8.0/ssh.sh $ipsrc $dport"
19#add template tcp port 23 proxy $ipsrc:23
20
21
22add template udp port 53 proxy 158.196.149.9:53
23
24
25add template tcp port 25 "sh /usr/share/honeyd/scripts/unix/linux/suse8.0/sendmail.sh"
26add template tcp port 110 "sh /usr/share/honeyd/scripts/unix/linux/suse8.0/qpop.sh"
27
28set template default tcp action reset
29# Use this if you are not running honeyd as 'honeyd' user:
30# Debian-specific (use nobody = 65534 instead of 32767)
31# set template uid 65534 gid 65534
32
33create default
34set default default tcp action block
35set default default udp action block
36set default default icmp action block
37
38create router
39set router personality "Cisco 1601R router running IOS 12.1(5)"
40set router default tcp action reset
41add router tcp port 22 "/usr/share/honeyd/scripts/test.sh"
42add router tcp port 23 "/usr/share/honeyd/scripts/router-telnet.pl"
43
44bind 192.168.1.0 router
45bind 192.168.1.1 router
46bind 192.168.1.12 template
47bind 192.168.1.11 template
48bind 192.168.1.10 template
49set 192.168.1.11 personality "Microsoft Windows NT 4.0 SP3"
50set 192.168.1.10 personality "IBM AIX 4.2"