| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
When a routing protocol communicates a route change to Zebra,
Zebra has to do a rescan of the RIB to check for any changes in
recursive routes.
Bug 4228
|
| |
|
|
|
|
|
|
|
|
| |
New code to keep track of two listener threads, with common code
for both cases.
Revert "Use single socket for both IPV4 and IPV6"
This reverts commit 3e36dfb3cf0c4a631f693da58e7b80dff9ccce06.
|
|
|
|
| |
This reverts commit 2585b03455c2c495ab3a0cfbe13c4e5d3ac70e11.
|
|
|
|
| |
This reverts commit 5405c4db88bd0b439f41776c94452b4360de1509.
|
|
|
|
| |
May fix issues with IPV6 and MD5.
|
| |
|
|
|
|
|
| |
The socket address is already normalize during the accept handling,
so the broken code in md5sig is unnecessary.
|
|
|
|
|
|
|
| |
This allows BGP daemon to run without leaving listener port open
until needed.
Bug 3088
|
|
|
|
|
| |
bgp_socket is always called with NULL as first argument.
For clarity, just remove it and update the places it is used.
|
|
|
|
|
| |
The bug that required BGP to listen on two sockets (using IPV6_only)
should now be fixed.
|
|
|
|
|
| |
This is probably why using IPV4 in IPV6 doesn't work in BGP.
The code to normalize address was not copying port value!
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
Bug 4717
Don't open a TCP control port for ospf6, there is always a
Unix domain socket opened. This makes ospf6d behave like other quagga daemons.
|
|
|
|
| |
Go back to starting all routing daemons at boot time.
|
| |
|
|
|
|
|
| |
It is possible when using default routes to have two entries in FIB
with different protocols/metrics so don't assume they are the same.
|
|
|
|
|
| |
Bug 4228
This inclues iBGP routes in the active route calculation.
|
| |
|
|
|
|
|
|
| |
This patch seems to cause bug 4627.
This reverts commit ca5f52dcb72b6bc19037400ec27053d8fe2b5e6e.
|
| |
|
|
|
|
|
|
|
|
| |
When flushing lots of entries the performance of ospf_lsa_maxage
is terrible because it looks up entry before deleting (N^2).
Use a flag to mark whether entry is already in maxage list.
Bug 4421
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- aspath_gettoken(): use as_t to fix 4-byte ASN scanning (bug #484)
- set_aspath_prepend_cmd(): use CMD_AS_RANGE in message to match
actual range
- no_set_aspath_prepend_val_cmd(): idem
- set_aspath_exclude_cmd(): idem
- no_set_aspath_exclude_val_cmd(): idem
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
ospf_network_match_iface - make static so it can be inlined and
remove old #ifdef'd out code that just confuses
Other functions were defined static in prototype, but not
declared static.
|
|\ \ |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- aspath_gettoken(): use as_t to fix 4-byte ASN scanning (bug #484)
- set_aspath_prepend_cmd(): use CMD_AS_RANGE in message to match
actual range
- no_set_aspath_prepend_val_cmd(): idem
- set_aspath_exclude_cmd(): idem
- no_set_aspath_exclude_val_cmd(): idem
|
| |\ \ |
|
|\| | |
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | | |
Since BGPD now has flag to default to import-check on, show the
current state of import-check in dump output.
|
|/ / |
|
| |
| |
| |
| |
| | |
The old algorithim looked up every node twice as it withdrew
the entry. This may explain the slow performance in Bug 4421
|
| |
| |
| |
| | |
Make some strings static, and remove strings that are not used.
|
| |
| |
| |
| | |
route_node_delete used by inline before defined.
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
bgpd/bgp_aspath.c
bgpd/bgpd.c
lib/smux.c
lib/workqueue.c
ospfd/ospf_snmp.c
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* bgpd/bgp_community.c: (community_del_val) Fix bug in memcpy that was
using the wrong size on architectures where a pointer is not 32 bits.
|
| | |
| | |
| | |
| | |
| | | |
Compiled on 32-bit and 64-bit linux gcc 4.1.2 platforms.
No run-time testing on 32-bit and limited run-time testing on 64-bit.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Macro SNMP_INTEGER() prepares data which is eventually processed
by asn_build_int(). SNMP_INTEGER() was using "int32_t" whereas
asn_build_int() uses "long". On 32-bit systems these are the
same, both 4 bytes, but on x86 64-bit systems "long" is 8 bytes.
asn_build_int()'s reaction to an improperly sized value is to return
a NULL pointer. Quagga's smux.c would eventually get this NULL
pointer and use it in calculations to determine how much data to send
over the smux connection, resulting in garbage being sent to the
SNMP agent.
Corrected SNMP_INTEGER() to use "long".
Tested on 32-bit and 64-bit x86 Linux 2.6.27.10 systems running
Quagga 0.99.11 with bgpd smux.
|
| | |
| | |
| | |
| | | |
"no ospf abr-type standard" was broken
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix a potential problem (most probably not triggering a real problem, at
least on Linux). When an interface goes down and ripd tries to delete the
corresponding route it errorneously passes the interface's index instead of
the metric to zebra.
|
| |/
| |
| |
| |
| |
| |
| | |
* lib/workqueue.c: free-ing workqueues had never been tested obviously,
queue's thread was not being stopped
* bgpd/bgpd.c: null out freed workqueues, to prevent acting on freed
workqueues
|