Commit Graph

16 Commits

Author SHA1 Message Date
Maxim Sobolev
f1cbce63ec Properly zero-out struct ifreq before passing it to the SIOCSIFFLAGS
ioctl(2), so that it doesn't occasionally trigger promisc mode on interface.

Reported/tested by:	Vladimir B. Grebenschikov <vova@sw.ru>
2002-10-07 14:43:54 +00:00
Munechika SUMIKAWA
f656e4e0db Upgrade to 0.93b. 2002-09-13 07:57:26 +00:00
Munechika SUMIKAWA
8773bb6f88 Fix the critical bug in capability negotiation.
Obtained from:	NetBSD pkgsrc
2002-08-06 05:17:09 +00:00
Munechika SUMIKAWA
146de29254 Support ospf6d in zebractl.sh
PR:		ports/37996
Submitted by:	ume
2002-08-04 20:04:50 +00:00
Munechika SUMIKAWA
3e55fe5c3f Upgrade to 0.93a. It also includes critcal bug fix which OSPFv3 routes
do not install in kernel.

No response from:	maintainer
2002-07-29 14:33:28 +00:00
Josef Karthauser
e79b431908 Fix the use of ipv6 addresses on interfaces. (Submitted to the zebra
folk for the next release).

Submitted by:	Armin Arh <armin@schlund.de>
2001-12-12 18:08:55 +00:00
Josef Karthauser
291a82d864 Start and stop ripngd in zebractl.
Requested by:	Jun Kuriyama <kuriyama@imgsrc.co.jp>
2001-06-21 17:39:10 +00:00
Andreas Klemm
11f6992922 update to new zebra 0.91a
- some workarounds concerning installation of zebra info files
  since sources doesn't contain all info files...
- modified zebractl script to check, if zebra.conf exists, which
  is needed for every routing protocol, error message and exit if not found.
From the author:
"0.91 is basically a bugfix release. All of IPv6 codes are based upon
 new RIB codes"
Bugfixes and features see ChangeLog file.
2001-03-22 22:31:17 +00:00
Andreas Klemm
973d85ecfa - remove redirection to /dev/null for zebra and routing daemons
you should be able to see error messages if there are any
  Since daemons are started using -d options, you should
  normally see no output...
- bumped PORTREVISION, since its a major win being able
  to see error messages if there are any

Submitted by:	knarf@camelot.de
2001-01-29 22:12:54 +00:00
Andreas Klemm
393d81dcc7 - -d makes possible to start daemons in certain order
- for that purpose you have to remove the '&'
  forgot that in last commit.

Submitted by:	Frank Bartels <knarf@camelot.de>
2001-01-27 08:58:15 +00:00
Andreas Klemm
a9b6a3658e - start zebra processes with -d option to make sure that one process
starts after the other to prevent core dump. This fixes bgp coredump
  for Knarf
- set PORTREVISION

Submitted by:   Frank Bartels <knarf@camelot.de>
2001-01-25 23:15:36 +00:00
Andreas Klemm
5726ba99ab - in usage message mention restart option, which is actually:
zebractl stop
  zebractl start
- new functionality (visible) for people -> PORTREVISION
2001-01-12 18:29:08 +00:00
Andreas Klemm
6e2dbdc869 upgrade to new zebra version 0.90
- removed PORTREVISION (new version)
- new configure script: dialog menue allows you to set different zebra
  compile time options (if ! BATCH), currently supported:
  --with-libpam         = enable PAM authentication for vtysh
  --enable-nssa         = enable OSPF NSSA
  --enable-snmp         = enable SNMP support
- please note: port compiles fine when all options are set, but
  functionality has not been tested by me.
- silence portlint, trim pkg-comment to <=70 columns
- remove unneeded patch patch, 0.90 now contains fix for memory leak
- cosmetic: add patch for Makefile.in (don't link with -g)
- portlint: o.k.

In this BETA --enable-unixdomain and --enable-newrib became default !
To get old implementation back use the following configure options:
--enable-tcp-zebra # TCP/IP socket is used for protocol daemon and zebra.
--enable-oldrib    # Turn on old RIB implementation.
Note: I didn't add these options to configure script, so that people
      don't choose the wrong thing !

Some milestones of this release (see file NEWS for complete list):
- access-lists can have remarks
- memory leak with access-list and prefix-list name fixed
- UNIX domain socket server of zebra protocol is added
- PointoPoint interface network bug fixed
- Metric value is reflected to kernel routing table
- New RIB implementation has been added:
- BGP passive peer support problem is fixed
- Redistributed IGP nexthop is passed to BGP nexthop
- Fix bug of holdtimer is not reset when bgp cleared
- BGP-MIB implementation is finished
- When BGP connection comes from unconfigured IP address, close socket
  immediately.
- BGP flap dampening feature is added
* RIP
- Fix bug of refreshing default route
* OSPF
- Fix bug of Hello packet's option is not properly set when interface comes up
- Reduce unconditional logging
- New command for virtual-link configuration
- Memory leak related classfull network generation is fixed
2001-01-11 21:45:05 +00:00
Andreas Klemm
f404786276 make port compile, patch was missing the subdir "lib" in its header
Submitted by:	Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>
2000-12-30 17:48:13 +00:00
Andreas Klemm
2b8e0cf85e Fix vty memory leak
Patch in PR contains typo, got clean patch from zebra anon cvs server
Wrote e-mail to security officer and freebsd-audit to ask for
a) review
b) what to do next (FreeBSD Ports Security Advisory?...)
concerning a) the author of zebra already ok'd the patch.
converning b) waiting for SO or fbsd-auditers to respond

PR:		23856
Submitted by:	Vincent Poy <vince@oahu.WURLDLINK.NET>
Reviewed by:	Kunihiro Ishiguro <kunihiro@zebra.org>
Approved by:	Kunihiro Ishiguro <kunihiro@zebra.org>
Obtained from:	PR (partly) + zebra anon cvs server
2000-12-27 14:19:33 +00:00
Andreas Klemm
803a9168c8 - Upgrade to 0.83a
- remove zebra.sh from ${PREFIX}/etc/rc.d
- start zebra now from /etc/rc.conf.local
- new zebra start script is ${PREFIX}/sbin/zebractl {start|stop|restart}
  Example:
	/etc/rc.conf.local:
	defaultrouter="NO"
	router_enable="YES"
	router="/usr/local/sbin/zebractl"
	router_flags="start"
1999-12-24 15:56:32 +00:00