diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-03 18:57:12 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-03 18:57:12 +0000 |
commit | 655f2d7f6ba9983ba001f5f45579f2e7494a9653 (patch) | |
tree | 31f7044a36eb5e65732393517695f219c1de3d0c /etc | |
parent | 759f0c827e6a37634f3d61fea7fd79adcd6eb655 (diff) |
Enable eigrpd(8) and eigrpctl(8) in the builds
ok deraadt@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 12 | ||||
-rw-r--r-- | etc/changelist | 3 | ||||
-rw-r--r-- | etc/examples/eigrpd.conf | 50 | ||||
-rw-r--r-- | etc/rc | 4 | ||||
-rw-r--r-- | etc/rc.conf | 3 | ||||
-rw-r--r-- | etc/rc.d/eigrpd | 9 |
6 files changed, 71 insertions, 10 deletions
diff --git a/etc/Makefile b/etc/Makefile index 3c5280e8721..af62d0a2723 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.408 2015/09/12 14:48:06 sthen Exp $ +# $OpenBSD: Makefile,v 1.409 2015/10/03 18:57:11 renato Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= Canada/Mountain @@ -46,13 +46,13 @@ EXAMPLES+= wsconsctl.conf .endif # -rw------- -EXAMPLES_600=bgpd.conf dvmrpd.conf hostapd.conf iked.conf ipsec.conf \ - ldapd.conf ldpd.conf ospf6d.conf ospfd.conf pf.conf radiusd.conf \ - rc.local rc.securelevel rc.shutdown relayd.conf ripd.conf \ - sasyncd.conf snmpd.conf ypldap.conf +EXAMPLES_600=bgpd.conf dvmrpd.conf eigrpd.conf hostapd.conf iked.conf \ + ipsec.conf ldapd.conf ldpd.conf ospf6d.conf ospfd.conf pf.conf \ + radiusd.conf rc.local rc.securelevel rc.shutdown relayd.conf \ + ripd.conf sasyncd.conf snmpd.conf ypldap.conf # -r-xr-xr-x -RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd ftpd \ +RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd eigrpd ftpd \ ftpproxy ftpproxy6 hostapd hotplugd httpd identd ifstated \ iked inetd isakmpd iscsid ldapd ldattach ldomd ldpd lockd \ lpd mopd mountd mrouted nfsd npppd nsd ntpd ospf6d ospfd \ diff --git a/etc/changelist b/etc/changelist index 0a8d9d4c3ff..95c83e2aeb2 100644 --- a/etc/changelist +++ b/etc/changelist @@ -1,4 +1,4 @@ -# $OpenBSD: changelist,v 1.109 2015/09/27 14:19:26 naddy Exp $ +# $OpenBSD: changelist,v 1.110 2015/10/03 18:57:11 renato Exp $ # # List of files which the security script backs up and checks # for modifications. @@ -28,6 +28,7 @@ /etc/distfile /etc/doas.conf /etc/dvmrpd.conf +/etc/eigrpd.conf /etc/ethers /etc/exports /etc/fbtab diff --git a/etc/examples/eigrpd.conf b/etc/examples/eigrpd.conf new file mode 100644 index 00000000000..91f0101359a --- /dev/null +++ b/etc/examples/eigrpd.conf @@ -0,0 +1,50 @@ +# global configuration +# router-id 10.0.0.1 +# rdomain 1 +# fib-update yes +# fib-priority-internal 28 +# fib-priority-external 52 + +# IPv4 +address-family ipv4 { + autonomous-system 1 { + maximum-paths 4 + variance 8 + + default-metric 100000 10 255 1 1500 + redistribute default + redistribute connected + redistribute 30.0.1.0/24 + + interface em1 + interface em2 { + hello-interval 3 + holdtime 10 + delay 20 + bandwidth 1000000 + } + interface em3 { + passive + } + } +} + +# IPv6 +address-family ipv6 { + maximum-paths 2 + variance 3 + bandwidth 100000 + delay 10 + + autonomous-system 1 { + default-metric 100000 10 255 1 1500 + redistribute default + + interface em1 + interface em2 + } + autonomous-system 2 { + interface em3 + interface em4 + } +} @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.464 2015/09/29 17:40:56 rpe Exp $ +# $OpenBSD: rc,v 1.465 2015/10/03 18:57:11 renato Exp $ # System startup script run by init on autoboot or after single-user. # Output and error are redirected to console by init, and the console is the @@ -455,7 +455,7 @@ echo 'preserving editor files.'; /usr/libexec/vi.recover echo -n 'starting network daemons:' start_daemon ldomd sshd snmpd ldpd ripd ospfd ospf6d bgpd ifstated -start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd +start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd eigrpd if ifconfig lo0 inet6 >/dev/null 2>&1; then fw=`sysctl -n net.inet6.ip6.forwarding` diff --git a/etc/rc.conf b/etc/rc.conf index 24d054c59cb..b85ab43a361 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -1,4 +1,4 @@ -# $OpenBSD: rc.conf,v 1.205 2015/09/12 14:48:06 sthen Exp $ +# $OpenBSD: rc.conf,v 1.206 2015/10/03 18:57:11 renato Exp $ # DO NOT EDIT THIS FILE!! # @@ -20,6 +20,7 @@ cron_flags= dhcpd_flags=NO dhcrelay_flags=NO # for normal use: "-i interface [server]" dvmrpd_flags=NO +eigrpd_flags=NO ftpd_flags=NO # set to NO if ftpd is running out of inetd ftpproxy_flags=NO ftpproxy6_flags=NO diff --git a/etc/rc.d/eigrpd b/etc/rc.d/eigrpd new file mode 100644 index 00000000000..d93acf8e3ab --- /dev/null +++ b/etc/rc.d/eigrpd @@ -0,0 +1,9 @@ +#!/bin/sh + +daemon="/usr/sbin/eigrpd" + +. /etc/rc.d/rc.subr + +pexp="eigrpd: parent.*" + +rc_cmd $1 |