Commit Graph

75 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
Kris Kennaway
2817ec5a3e Add missing file 2002-09-16 00:46:51 +00:00
Munechika SUMIKAWA
f656e4e0db Upgrade to 0.93b. 2002-09-13 07:57:26 +00:00
Munechika SUMIKAWA
b152a41d69 I take over maintainership.
Approved by:	joe
2002-08-08 13:08:43 +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
Maxim Sobolev
62f2687e21 Add USE_SUBMAKE, where it might be necessary. 2002-03-25 09:19:20 +00:00
Josef Karthauser
f11372fd3c Drop Andreas as co-maintainer.
Requested by:	andreas
2001-12-13 10:50:36 +00:00
Josef Karthauser
811847293d Bump the revision number, which I should have done when I added the
additional patch in the last commit.
2001-12-12 18:16:05 +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
94e3f8013a Add some mirror sites for Zebra. 2001-10-08 11:03:59 +00:00
Josef Karthauser
069b4fcf82 Upgrade to zebra-0.92a.
* BGP: New config support.
* OSPF: Redistirbution of loopback network problem is fixed.
* OSPF6d: Various problems detected at N+I Tokyo are fixed.
* Fix community-list "^$" matching bug.
* -lsnmp check problem fixed.
2001-09-01 11:26:04 +00:00
Josef Karthauser
ed4fb6233c It looks like ripngd is installed by default now so remove it from this
file to avoid a duplicate entry in the contents file.
2001-06-21 18:03:24 +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
Jun Kuriyama
14eaeff4f0 Add SCRIPTS_ENV="WRKDIRPREFIX=${WRKDIRPREFIX}" to work around $WRKDIRPREFIX
environment.

No response from:	maintainer
Reference:		<7mwv98irg6.wl@waterblue.imgsrc.co.jp>
2001-06-02 07:42:31 +00:00
Josef Karthauser
f1c80f1988 I'm looking after these ports for Andreas for a while so I've
changed the MAINTAINER line to an email alias that directs mail to
us both.
2001-05-24 20:34:27 +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
d2d2b9d783 unbreak port.
note: I tried to build a portname applying to the porters handbook
conventions. Unfortunately it doesn't have a good example for version
numbers like 0.90a. 0.90-alpha would have to be change to 0.90.a.
So I thought it should be done this way for 0.90.a as well.
But then you have to set DISTFILES and WRKSRC (the latter I forgot in
a last minute change, sorry, which broke the port). And even if you
get the port running again, then portlint tells you pretty things
how to do it better ...
All in all. It would be fine to add an example in porters handbook
for cases like 0.90a, which should *not* be changed to 0.90.a !

Submitted by:	Josef Karthauser <joe@tao.org.uk>
2001-01-23 06:55:47 +00:00
Andreas Klemm
59fe29c8e2 - update to 0.90a
- update md5 checksum
- make PORTVERSION porters handbook compliant,
  had to add DISTFILES so source is still fetchable.
  Maybe I misunderstood the description how to transpose version numbers,
  maybe the description should be changed, that 0.90a should also be
  allowed than to use 0.90.a
- remove PORTREVISION, since PORTVERSION changed
2001-01-22 21:52:50 +00:00
Maxim Sobolev
2b1a883dc4 Massive style enforcement - use ^I instead of spaces for variables identation. 2001-01-16 17:33:20 +00:00
Andreas Klemm
7d1c8282aa - configure: fixed logic in if-clause, so that dialog is only called
if BATCH is not defined.
Portrevision doesn't need to be bumped, since exactly this enables/unbreaks
package building...
2001-01-13 15:03:43 +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
caad53e726 zebra-0.89 has been replaced by zebra-0.89a.
fix: multiple route entry for same type of route,
     which caused problem for BGP implicit withdraw.
If you are using zebra-0.89 and have a problem with multiple BGP
routes in zebra for one prefix, please update.

Obtained from:	Kunihiro Ishiguro <kunihiro@zebra.org>
2000-10-23 20:41:33 +00:00
Satoshi Asami
593c1068d7 Fix own typo -- forgot a ">".
Submitted by:	bento
2000-10-09 00:26:12 +00:00
Satoshi Asami
13208eb651 Rename PLIST.v6 to pkg-plist.v6. (I can't think of a reason why there
are two commands "cat >" and "cat >>" when they both take one argument
so I combined them together so they can do what the "cat" command's
name came from.)
2000-10-08 04:03:12 +00:00
Andreas Klemm
0c072bcf7b forgotten in previous committ: new md5 checksum 2000-10-03 13:15:12 +00:00
Andreas Klemm
11b250a50b update to newest beta release 0.89
added manpage entries in Makefile

Highlights:
o OSPF neighbor is supported.
o IPv6 inteface's address information propagation bug is fixed.
o BGP's various MED comparison methods are added.
o BGP read lock problem is fixed.

Release / contribution information (I think its maybe of interest
concerning the status of zebra):

From: Kunihiro Ishiguro <kunihiro@zebra.org>
Date: Mon, 02 Oct 2000 19:46:41 -0700

I've not yet merged below contributions as of zebra-0.89:
o OSPF Demand Circuits
  K N Sridhar <sridhar@euler.ece.iisc.ernet.in>
o Kerberos 4, Kerberos 5 auth and DES CFB64 encryption.
  Magnus Ahltorp <ahltorp@nada.kth.se>
These will be merged as soon as possible.
o PIM-SM
  Robert.Olsson@data.slu.se
  Jens.Laas@data.slu.se
Will be added after zebra-1.0 release.
2000-10-03 13:14:28 +00:00
Josef Karthauser
05ba6ae72a Upgrade to zebra-0.88. 2000-08-18 14:33:08 +00:00
Satoshi Asami
8cb2259653 Add three info files.
Found by:	bento
2000-07-05 06:01:30 +00:00
Andreas Klemm
ce940401d9 update to 0.87 2000-06-27 16:29:01 +00:00
Andreas Klemm
a15d266ac4 Update zebra to 0.86
From its developer:

Hi, this is Kunihiro.

I think this version is the most stable OSPF version ever had.  We'll
keep on fixing and adding new feature to ospfd.  And also some BGP's
route selection problems are fixed.  Many patches are included.

* Changes in zebra-0.86

* Changes in lib
** Fix bug of exec-timeout command which may cause crush.
** Multiple same policy for "access-list", "ip prefix-list, "as-path
   access-list", "ip community-list" is not duplicated.
** It used to be "ip prefix-list A.B.C.D/M" match routes which mask >= M.
   Now default behavior is exact match so it only match routes which mask == M.

* Changes in bgpd
** "match ip address prefix-list" is added to route-map.
** A route without local preference is evaluated as 100 local preference.
** Select smaller router-id route when other values are same.
** Compare MED only both routes comes from same neighboring AS.
** "bgp always-compare-med" command is added.
** Now MED value is passed to IBGP peer.
** When neighbor's filter is configured with non-existent access-list,
   as-path access-list, ip prefix-list, route-map.  The behavior is changed
   from all permit to all deny.

* Changes in ospfd
** Fix bug of external route tag byte order.
** OSPF Neighbor deletion bug which cause crush is fixed.
** Some route calculation bug are fixed.
** Add sanity check with router routing table.
** Fix bug of memory leak about linklist.
** Fix bug of 1-WayReceived in NSM.
** Take care of BIGENDIAN architecture.
** Fix bug of NSM state flapping between ExStart and Exchange.
** Fix bug of Network-LSA originated in stub network.
** Fix bug of MS flag unset.
** Add to schedule router_lsa origination when the interface cost changes.
** Increment LS age by configured interface transmit_delay.
** distribute-list is reimplemented.
** Fix bug of refresh never occurs.
** Fix bug of summary-LSAs reorigination.  Correctly copy OSPF_LSA_APPROVED
   flag to new LSA. when summary-LSA is reoriginatd.
** Fix bug of re-origination when a neighbor disappears.
** Fix bug of segmentation fault with DD retransmission.
** Fix network-LSA re-origination problem.
** Fix problem of remaining withdrawn routes on zebra.

* Changes in ripd
** Do not leave from multicast group when interface goes down bug is fixed.

* Changes in zebra
** Remove client structure when client dies.
** Take care static route when interface goes up/down.
2000-05-01 07:02:17 +00:00
Chris Piazza
93a61d6874 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 18:14:07 +00:00
Andreas Klemm
2bf082f797 upgrade to 0.84b
And port changes from sumikawa@ebina.hitachi.co.jp:
- add 'ipv6' on CATEGORIES
- get rid of 'USE_INET6' and use 'OSVERSION' instead of it.
- make PLIST.v6 only difference from PLIST for easily maintanance

Submitted by: sumikawa@ebina.hitachi.co.jp
2000-01-22 22:12:16 +00:00
Andreas Klemm
7b75f67c4f Upgrade to 0.84 2000-01-22 14:15:40 +00:00
Munechika SUMIKAWA
3d5da309b4 Support IPv6. if 'USE_INET6' is defined, ripngd and ospf6d are installed.
Approved by: andreas(maintainer)
2000-01-08 17:49:13 +00:00
Andreas Klemm
fb74ae016f use rc.conf instead rc.conf.local
Submitted by:	Mike Smith <msmith@FreeBSD.org>
1999-12-24 23:40:09 +00:00
Andreas Klemm
dd69a128e7 tell the user to use rc.conf.local, to start zebra ... 1999-12-24 15:57:38 +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
Josef Karthauser
7b7fb74988 Update to zebra-0.83a. 1999-12-23 14:31:40 +00:00
Andreas Klemm
ea9206f45b Upgrade to 0.81 1999-11-08 21:47:59 +00:00
Andreas Klemm
ba1ebb3ea9 Update zebra to 0.79
This software is still under developement
Please read the README's or subscribe to the zebra mailing list
1999-09-19 12:14:57 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Peter Wemm
a6c3f62331 $Id$ -> $FreeBSD$ 1999-08-30 14:24:37 +00:00