Subject: Re: gated on NetBSD
To: Charles W. Gardiner <gardiner@bbn.com>
From: Curt Sampson <cjs@portal.ca>
List: port-sparc
Date: 04/23/1997 12:22:02
On Wed, 23 Apr 1997, Charles W. Gardiner wrote:
> 've had a lot of difficulty
> configuring geted for NetBSD, particularly the options for communicating with
> the kernel to read the interface list or to read or manipulate the routing
> tables.
You don't say which version of gated you're using. I've had only
one problem with 3.5beta4 which will only strike you if you have
a lot of interfaces on a machine (as in, a couple of hundred), and that
had nothing to do with NetBSD in particular.
I've appended the config file I use; try it out and let me know
what problems you have. Note that I run it on 386 machines, though;
there could well be endianness problems in the program that haven't
been brought to light by my usage.
cjs
Curt Sampson cjs@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc. Through infinite myst, software reverberates
Vancouver, BC (604) 257-9400 In code possess'd of invisible folly.
#
# $Id: NetBSD-1.2,v 1.1 1997/03/12 00:55:20 cjs Exp $
#
# Configuration for NetBSD-1.2.
#
bindir /usr/local/sbin
sbindir /usr/local/sbin
mandir /usr/local/man
mantype bsd44
cc cc
#cflags -g
cwflags -W -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -W
shadow
cflags -g -O
ldflags -lkvm
lex lex
lflags -p -C -I
mkdep mkdep -flag -MM
options INCLUDE_UNISTD INCLUDE_PATHS GID_T=int
options POSIX_SIGNALS HAVE_WAITPID
options VARIABLE_MASKS SOCKET_LENGTHS SOCKADDR_DL INCLUDE_IF_DL
options KRT_RTREAD_KINFO KRT_IFREAD_KINFO KRT_RT_SOCK USE_SYSCTL
options KRT_LLADDR_NONE KRT_SYMBOLS_SYSCTL KVM_TYPE_BSD44 KSYM_VERSION=VRS_SYM
options KRT_SOCKET_TYPE="PF_ROUTE, SOCK_RAW, AF_UNSPEC"
options U_INT8=u_int8_t U_INT16=u_int16_t U_INT32=u_int32_t U_INT64=u_int64_t
options S_INT8=int8_t S_INT16=int16_t S_INT32=int32_t S_INT64=int64_t
options GDC_RESOURCE GDCCORENAME=""%s.core""
# These are non standard options you probably don't want/need
# options RT_N_MULTIPATH=4
# options LOCAL_VERSION="(ANS Development)" GDC_WAIT=22
path_dump /var/tmp/%s_dump
path_dumpdir /var/tmp
path_pid /var/run/%s.pid
path_version /var/run/%s.version
protocols bgp egp hello icmp rip ospf iso slsp isis rdisc