]> git.proxmox.com Git - mirror_frr.git/blame - debian/README.Debian
Merge remote-tracking branch 'origin/master' into pim_lib_work2
[mirror_frr.git] / debian / README.Debian
CommitLineData
4d916382
DS
1* SAFETY MEASURES:
2==================
3
4Please consider setting this package "on hold" by typing
d8e4c438 5 echo "frr hold" | dpkg --set-selections
4d916382
DS
6and verifying this using
7 dpkg --get-selections | grep 'hold$'
8
9Setting a package "on hold" means that it will not automatically be upgraded.
10Instead apt-get only displays a warning saying that a new version would be
d8e4c438 11available forcing you to explicitly type "apt-get install frr" to upgrade it.
4d916382
DS
12
13
d8e4c438 14* What is frr?
4d916382
DS
15=================
16
d8e4c438
DS
17http://www.freerangerouting.net/
18> Frr is a routing software suite, providing implementations of OSPFv2,
4d916382 19> OSPFv3, RIP v1 and v2, RIPv3 and BGPv4 for Unix platforms, particularly
d8e4c438 20> FreeBSD and Linux and also NetBSD, to mention a few. Frr is a fork of GNU
4d916382
DS
21> Zebra which was developed by Kunihiro Ishiguro. Development of GNU Zebra
22> slowed dramatically to the point where eventually GNU Zebra was forked into
d8e4c438 23> Frr.
4d916382 24
d8e4c438 25> The Frr tree is an attempt to provide a zebra tree with at least the
4d916382
DS
26> bug-fixes, which have accumulated, applied, while tracking any significant
27> changes made to the zebra.org tree. Ultimately, this tree hopes to revitalise
28> development of this code base.
29
d8e4c438 30I packaged zebra-pj which was then renamed to frr to get people used to it
4d916382 31and offer Debian users the choice which versions they like to use. I hope this
d8e4c438 32brings frr some feedback and helps it evolving to a good successor of the
4d916382
DS
33orphaned zebra.
34
35 -- Christian Hammers <ch@debian.org>, Jul/Aug 2003
36
37
38* Why has SNMP support been disabled?
39=====================================
d8e4c438 40Frr used to link against the NetSNMP libraries to provide SNMP
4d916382
DS
41support. Those libraries sadly link against the OpenSSL libraries
42to provide crypto support for SNMPv3 among others.
43OpenSSL now is not compatible with the GNU GENERAL PUBLIC LICENSE (GPL)
d8e4c438 44licence that Frr is distributed under. For more explanation read:
4d916382
DS
45 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
46 http://www.gnu.org/licenses/gpl-faq.html#GPLIncompatibleLibs
47Updating the licence to explecitly allow linking against OpenSSL
48would requite the affirmation of all people that ever contributed
d8e4c438 49a significant part to Zebra or Frr and thus are the collective
4d916382
DS
50"copyright holder". That's too much work. Using a shrinked down
51version of NetSNMP without OpenSSL or convincing the NetSNMP people
52to change to GnuTLS are maybe good solutions but not reachable
53during the last days before the Sarge release :-(
54
55 *BUT*
56
57It is allowed by the used licence mix that you fetch the sources and
d8e4c438
DS
58build Frr yourself with SNMP with
59 <remove the "grep ^smux" block at the end of debian/frr.preinst>
4d916382 60 # export WANT_SNMP=1
d8e4c438 61 # apt-get -b source frr
4d916382
DS
62Just distributing it in binary form, linked against OpenSSL, is forbidden.
63
64
65* Daemon selection:
66===================
67
d8e4c438 68The Debian package uses /etc/frr/daemons to tell the
4d916382
DS
69initscript which daemons to start. It's in the format
70<daemon>=<yes|no|priority>
71with no spaces (it's simply source-d into the initscript).
72Default is not to start anything, since it can hose your
73system's routing table if not set up properly.
74
75Priorities were suggested by Dancer <dancer@zeor.simegen.com>.
d8e4c438 76They're used to start the Frr daemons in more than one step
4d916382 77(for example start one or two at network initialization and the
d8e4c438 78rest later). The number of Frr daemons being small, priorities
4d916382 79must be between 1 and 9, inclusive (or the initscript has to be
d8e4c438 80changed). /etc/init.d/frr then can be started as
4d916382 81
d8e4c438 82/etc/init.d/frr <start|stop|restart|<priority>>
4d916382
DS
83
84where priority 0 is the same as 'stop', priority 10 or 'start'
85means 'start all'
86
87
88* Error message "privs_init: initial cap_set_proc failed":
89==========================================================
90
91This error message means that "capability support" has to be built
92into the kernel.
93
94
95* Error message "netlink-listen: overrun: No buffer space available":
96=====================================================================
97
98If this message occurs the receive buffer should be increased by adding the
d8e4c438 99following to /etc/sysctl.conf and "--nl-bufsize" to /etc/frr/debian.conf.
4d916382
DS
100> net.core.rmem_default = 262144
101> net.core.rmem_max = 262144
d8e4c438 102See message #4525 from 2005-05-09 in the frr-users mailing list.
4d916382
DS
103
104
105* vtysh immediately exists:
106===========================
107
d8e4c438
DS
108Check /etc/pam.d/frr, it probably denies access to your user. The passwords
109configured in /etc/frr/Frr.conf are only for telnet access.
4d916382 110