Bug 157001 - [PATCH] net/bird: add multiple fibs support
Summary: [PATCH] net/bird: add multiple fibs support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 11:40 UTC by Alexander V. Chernikov
Modified: 2011-06-02 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (5.50 KB, patch)
2011-05-13 11:40 UTC, Alexander V. Chernikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander V. Chernikov 2011-05-13 11:40:03 UTC
Changelog:
* Add FIBS option enabling multiple fibs support
* Add LEARN_FIX option enabling simultaneous operation of different routing software
* Update to 1.3.1


fibs.diff:
this patch shouldn't be taken into upstream, our routing protocol (rtsock) should be changed to support multiple fibs via single socket. However, for "here and now" situation this patch can be placed into a port.

learn-krt-sock.c:
by default, bird considers IFF_FLAG1 routes (e.g. all dynamic installed, for example, by quagga) as own incorrectly installed routes and deletes them. This is default behavior for all *BSD systems since rtsock doesn't support some kind of installer identification (caller process pid). This patch makes bird consider all such routes as any other (non-directly connected) kernel routes.

Problems can arise if used with "persist" kernel option (bird will not delete such routes after restart and IGP link-up)

Fix: Patch attached with submission follows:
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-05-13 17:14:45 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

ports PR.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-05-29 06:59:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Over to maintainer.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2011-06-02 18:54:21 UTC
State Changed
From-To: open->feedback

I don't want to maintain these patches over future vendor releases.  Would you 
agree to take over maintaining this port?
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2011-06-02 20:46:29 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2011-06-02 20:52:54 UTC
pav         2011-06-02 19:52:40 UTC

  FreeBSD ports repository

  Modified files:
    net/bird             Makefile distinfo 
    net/bird6            Makefile distinfo 
  Added files:
    net/bird/files       fibs.diff learn-krt-sock.c 
  Log:
  - Update to 1.3.1
  - Add optional patches (to ipv4 port) to enable multiple fibs support, and to
    enable a simultaneous operation with other routing software
  - Sign over a maintainership to an enthusiastic user
  
  PR:             ports/157001
  Submitted by:   Alexander V. Chernikov <melifaro@ipfw.ru>
  
  Revision  Changes    Path
  1.13      +16 -3     ports/net/bird/Makefile
  1.12      +2 -2      ports/net/bird/distinfo
  1.1       +126 -0    ports/net/bird/files/fibs.diff (new)
  1.1       +11 -0     ports/net/bird/files/learn-krt-sock.c (new)
  1.5       +2 -2      ports/net/bird6/Makefile
  1.5       +2 -2      ports/net/bird6/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"