OpenSourceRouting
  1. OpenSourceRouting

quagga-snap

Public
AuthorCommitMessageCommit dateIssues
Paul JakmaPaul Jakma
4768061ad5d[rpm] some defaults for Fedora are way out of date* quagga.spec.in: No need to default to accomodate now ancient versions of Fedora
Paul JakmaPaul Jakma
84152ee6841[lib] fix missing sockunion_normalise_mapped* lib/sockunion.c: (sockunion_accept) sockunion needs to be normalised here, as it used to before this was moved to a dedicated function..
Michael LambertPaul JakmaMichael Lambert
e0081f70ede[bgpd] Add 'show bgp views' command* bgp_vty.c: (show_bgp_views_cmd) new command to list all defined views. (with small edits by Paul Jakma) Signed-off-by: Paul Jakma <paul@quagga.net>
Paul JakmaPaul Jakma
5d4b8cf2fab[lib] Switch Fletcher checksum back to old ospfd version* lib/checksum.c: (fletcher_checksum) Switch the second phase of the checksum back to the old ospfd logic. The isisd-derived version: a) is very hard to follow b) had some kind of subtle bug that caused it be wrong when c0=0 and c1=254 (potentially fixable by doing the mods before adjusting x and y) Additionally: - explicitely cast expressions using non-internal variables t...
Bartek KaniaPaul JakmaBartek Kania
41dc3488cf1[vtysh] Add commands from zebra_routemap.c to vtysh* Makefile.am: vtysh should also pull in commands from zebra_routemap.c Signed-off-by: Paul Jakma <paul@quagga.net>
Paul JakmaPaul Jakma
8c1bbc7205cMMerge branch 'bgpd/fsm'
Paul JakmaPaul Jakma
5635b778afc[release] Bump version to 0.99.11
Michael LambertPaul JakmaMichael Lambert
a8bf6f526ee[bgpd] Fix definition of an rsclient command* bgp_route.c: (show_ip_bgp_view_rsclient_route_cmd) Add the missing "ip" to the command string. Signed-off-by: Paul Jakma <paul@quagga.net>
Joakim TjernlundPaul JakmaJoakim Tjernlund
6e687d74f74[ospfd] Fix SEGV during startup introduced in recent commit* ospfd/ospfd.c: (opsf_if_update) Check if ospf_lookup() returns NULL. Fixes bug introduced with recent ospf_network_run changes in a49eb30a, where SEGV will happen if not the "router ospf" command has been executed before the first interfaces are reported by zebra. Signed-off-by: Paul Jakma <paul@quagga.net>
Joakim TjernlundPaul JakmaJoakim Tjernlund
491eddc20ec[ospfd] Move passive interface check* ospf_packet.c: Apply passive check and drop for all packages and not just Hellos. Signed-off-by: Paul Jakma <paul@quagga.net>
Paul P Komkoff JrPaul JakmaPaul P Komkoff Jr
0e9de56d5e5[build] Fix --enable-pie so it can actually be disabledSigned-off-by: Paul Jakma <paul@quagga.net>
Paul JakmaPaul Jakma
1a7dcf42a24[lib] re-enable conversion of v6mapped INET6 sockunions to regular INET* lib/sockunion.c: Re-enable conversion of v6mapped INET6 sockunions to regular INET sockunions, which was disabled in 0df7c9, as it leads to failures in sockunion_cmp. (sockunion_normalise_mapped) consolidate here (sockunion_accept) remove conversion code altogether here - no sockunion is created (sockunion_get{sockname,peername}) normalise newly created sockunion.
Paul JakmaPaul Jakma
6e199263886[bgpd] Allow accepted peers to progress even if realpeer is in Connect* bgpd/bgp_packet.c: (bgp_open_receive) Try fix the little race in the FSM, where a accept-peer that progress faster than realpeer gets closed down if realpeer is still just in Connect, by allowing the realpeer to be bgp_stop'ed and doing the regular swapping-of-FSM state.
Paul JakmaPaul Jakma
2b2fc5606f0[bgpd] Document the FSM dummy-peer race that sometimes afflicts session setup* bgp_packet.c: (bgp_open_receive) the accept-peer hack can sometimes cause a race between two peers that try to establish sessions to each other, causing session setup to fail when it should have succeeded. In the worst case, the race can 'loop', causing prolonged failure to establish sessions.
Paul JakmaPaul Jakma
ef16c8a2abdMMerge branch 'restricted-mode'
Paul JakmaPaul Jakma
b3bc68e5a4e[ospfd] Minor enhancements to recent self-host-routes suppression patch * ospf_spf.c: (ospf_spf_process_stubs) Track whether parent router vertex is the root, so that the host-route suppression logic need only be activated for such vertices. Move the actual logic to ospf_intra_add_stub. * ospf_route.c: (ospf_intra_add_stub) Main test of link moved here, notionally more appropriate.
Paul JakmaPaul Jakma
742c64ff34aMMerge commit 'remotes/jocke/delete_ghost_route'
Paul JakmaPaul Jakma
06fb2828f18MMerge commit '53d0deceeb855493aa03c59477f8af7f6bb75140'
Joakim TjernlundPaul JakmaJoakim Tjernlund
a49eb30a178[ospfd] Restructure opsf_if_update() and ospf_network_run() Add an struct interface paramenter and adjust the affected code accordingly. The old code was a mess looping over all interfaces several times when one interface was added/changed. * ospfd/ospfd.h: Add struct interface parameter to ospf_if_update() * ospfd/ospf_zebra.c: Add ifp arg to ospf_if_update() calls. (ospf_interface_address_delete) delete ospf_if_update()...
Paul JakmaPaul Jakma
5d7bdd0ed95MMerge commit 'remotes/jocke/ospf_neighbour'; commit 'remotes/jocke/snmp_crosscompile'
Paul JakmaPaul Jakma
d6bb5aa5279[doc] Update HACKING to reflect SCM changes and latest practice
Paul JakmaPaul Jakma
19a93722446test
Paul JakmaPaul Jakma
6556d8a0407Revert "[bgpd] Add 'bgp open-accept' option, to send OPEN immediately on accepted conns"Revert commit d664ae1182c29b74b409bc8594b7bd0575e91ce9. An experimental patch which violates RFC4271 quite badly, but managed to accidently sneak its way in.
Joakim TjernlundJoakim Tjernlund
53d0deceeb8Set destination for PtP links to OSPF_ALLSPFROUTERS.Update ospf_db_desc_send(), ospf_ls_upd_queue_send() and ospf_ls_req_send() to always use OSPF_ALLSPFROUTERS for PtP links. See RFC 2328, chap 8.1 for details: "The IP destination address for the packet is selected as follows. On physical point-to-point networks, the IP destination is always set to the address AllSPFRouters." Without this, it won't be possible to establish adj...
Joakim TjernlundJoakim Tjernlund
910e2704beeIgnore host routes to self.PtP links with /32 masks adds host routes to the remote host, see RFC 2328, 12.4.1.1, Option 1. Make sure that such routes are ignored
Joakim TjernlundJoakim Tjernlund
fb62a3cef59Make --enable-snmp cross compile and make libcrypto optional with --without-cryptoAutoconfig work by me, the rest was done by "Kirill K. Smirnov" <lich@math.spbu.ru>
Joakim TjernlundJoakim Tjernlund
35f891404a6Fix SEGV in ip ospf neighbor allDont use vty->index in show_ip_ospf_neighbor_all_cmd(), It is invalid, use ospf_lookup() instead.
Paul JakmaPaul Jakma
62687ff1cd3[vty] Add support for a 'restricted mode' with anonymous vty connections * lib/command.h: Add a RESTRICTED_NODE, intended for use with anonymous, 'no login' vtys, to provide a subset of 'view' mode commands. * lib/command.c: Add RESTRICTED_NODE bits, nothing special, just following VIEW_NODE. * lib/vty.c: (vty_auth) enable authentication should fall back to restricted/view node as appropriate. (vty_create) init vty's to restricted/view node as appr...
Paul JakmaPaul Jakma
b38309a4ee8[trivia] Make 'make dist' happy about ChangeLog expunge * ChangeLog: Add back a dummy, top-level ChangeLog * m4/Makefile.am: remove ChangeLog from EXTRA_DIST, why it was listed there, who knows.
Paul JakmaPaul Jakma
5515de330cf[administrivia] Update gitignore files- Add more stuff, archive libraries, etc..
Paul JakmaPaul Jakma
d68cbf92618[administrivia] Git should ignore backup files and .loT files
Paul JakmaPaul Jakma
3998bfd7662[trivia] Remove ChangeLog files, as this data is now maintained in SCM
Stephen HemmingerPaul JakmaStephen Hemminger
e5248434c0d[zebra] trivial: fix spelling mistake
Stephen HemmingerPaul JakmaStephen Hemminger
f3019aff242[bgpd] remove useless check and return in bgp_config_write_damp2008-08-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * bgp_damp.?: (bgp_config_write_damp) remove useless check of statically allocated config storage, and useless return value Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
ef9b113e2d4[zebra] trivia: static qualifiers for metaq2008-08-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra_rib.c: (process_subq) mark static (rib_meta_queue_add) ditto (meta_queue_new) ditt Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
d145bc008a0[zebra] make some data local2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra_rib.c: static qualifier on local data Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
16814f9698a[zebra] ignore dead routes in RIB update2008-08-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra_rib.c: When doing a RIB update, routes in process of removal should be ignored. This fixes bugs where a route is removed but a recursive route is not changed. Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
4c699477d24[zebra:linux] netlink: no need to change privs for receive2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * rt_netlink.c: (netlink_parse_info) Linux doesn't check privledges on receive, so avoid the overhead of lowering and raising the priviledges on each received message Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
898987e976e[zebra:linux] netlink: quiet harmless errors2008-06-17 Stephen Hemminger <stephen.hemminger@vyatta.com> * rt_netlink.c: (netlink_parse_info) There can be harmless races such as adding an existing route, or deleting an already deleted route. Don't bother logging these unless debugging is turned on. Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
30afea3b584[zebra:linux] netlink buffer size tweaking only needed on receive socket2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com> * rt_netlink.c: (netlink_recvbuf) consolidate recvbuf setting (netlink_socket) no need to set receive buffer on netlink sockets generally (kernel_init) set recvbuffer on the listen socket Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
cadfb2cd815[build] Linux netlink doesn't need IF_PROC2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com> * configure.ac: If netlink is available, then that is how the initial routes and interfaces should be read, rather than through /proc, so don't set IF_PROC. Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
4cde931e2d5[zebra:linux] clean up blocking setting of netlink sockets2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra/rt_netlink.c: This change removes the overhead of twiddling the socket twice on every route change. The netlink support has two sockets, one is used for request/response and should always block. The other is used for asynchronous notification and should always be non-blocking. Signed-o...
Stephen HemmingerPaul JakmaStephen Hemminger
3d265b4d9d7[zebra:linux] Filter out unwanted netlink messages by PID2008-08-16 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra/rt_netlink.c: Update the netlink socket BPF to cancel out unwanted ACKs on the listen socket by matching on the PID. Signed-off-by: Paul Jakma <paul@quagga.net>
Paul JakmaPaul Jakma
30a2231a488[warnings] Fix various SOS warnings2008-08-15 Paul Jakma <paul.jakma@sun.com> * */*: Fix various problems flagged by Sun Studio compiler. - '<qualifier> <storage>' obsolescent in declarations - empty statements (';' after ALIAS definitions) - implicit declarations (e.g printstack in lib/log.c) - "\%" in printf string instead of "%%" - loops that return on the first iteration (legitimately, but compiler can...
Paul JakmaPaul Jakma
f5612dd382d[lib] Fix mistake in tcp-md5sig commit which broke compile on BSD2008-08-15 Paul Jakma <paul.jakma@sun.com> * lib/sockopt.c: (sockopt_tcp_signature) ifdef'ing hid variable declaration for HAVE_DECL_TCP_MD5SIG && !GNU_LINUX, breaking compile - fix.
Paul JakmaPaul Jakma
6ac29a51075[trivia] finish off static'ification of ospf6d and ripngd2008-08-15 Paul Jakma <paul.jakma@sun.com> * {ospf6d,ripngd}/*: Finish job of marking functions as static, or exporting declarations for them, to quell warning noise with Quagga's GCC default high-level of warning flags. Thus allowing remaining, more useful warnings to be more easily seen.
Stephen HemmingerPaul JakmaStephen Hemminger
1423c809cc4[lib] mes_lookup string lookup table argument should be marked const2008-08-14 Stephen Hemminger <stephen.hemminger@vyatta.com> * lib/log.{c,h}: struct message argument should point to const * */*.c: adjust to suit, Signed-off-by: Paul Jakma <paul@quagga.net>
Paul JakmaPaul Jakma
89d9fa301e1[trivia] ignore automake generated 'compile' file
Stephen HemmingerPaul JakmaStephen Hemminger
6072b24eb77[zebra] mark some rt_netlink functions static2008-08-14 Stephen Hemminger <stephen.hemminger@vyatta.com> * zebra/rt_netlink.c: local functions should be static. Signed-off-by: Paul Jakma <paul@quagga.net>
Stephen HemmingerPaul JakmaStephen Hemminger
ffe11cfb0a8[lib] hash compare function arguments ought to be const qualified2008-08-14 Stephen Hemminger <stephen.hemminger@vyatta.com> * lib/hash.h: (struct hash) Hash comparator callback really ought to treat storage behind arguments as constant - a compare function with side-effects would be evil. * */*.c: Adjust comparator functions similarly, thus fixing at least a few compiler warnings about const qualifier being dropped. Signed-off-by: Paul Jakma <p...