OpenSourceRouting
  1. OpenSourceRouting

quagga-snap

Public
AuthorCommitMessageCommit dateIssues
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...
Daniel NgPaul JakmaDaniel Ng
9fd4958a4ee[ospfd] Default route needs to be refreshed after neighbour state change2008-08-13 Daniel Ng <daniel_ng11@lycos.com> * ospf_nsm.c: (nsm_change_state) Refresh default route on state change - a hack, but it works. Signed-off-by: Paul Jakma <paul@quagga.net>
Jingjing DuanPaul JakmaJingjing Duan
69954565621[isisd:DLPI] Try open vanity-named DLPI dev before style 1,22008-08-13 Jingjing Duan <Jingjing.Duan@sun.com> * isisd/isis_dlpi.c: (open_dlpi_dev) Clearview-UV device nodes are under /dev/net, try opening there before attempting style 1 or 2 names. Signed-off-by: Paul Jakma <paul@quagga.net>
Jingjing DuanPaul JakmaJingjing Duan
6a270cd93d0[ospfd/isisd] Switch to lib/ Fletcher checksum, fixing bug in isisd2008-08-13 Jingjing Duan <Jingjing.Duan@sun.com> * ospfd/: Remove the old checksum implementation and use the consolidated version. * isisd/: ditto, thus fixing isisd checksuming on big-endian. Signed-off-by: Paul Jakma <paul@quagga.net>
Jingjing DuanPaul JakmaJingjing Duan
3e40282fd93[isisd] Fix packet filtering with DLPI2008-08-13 Jingjing Duan <Jingjing.Duan@sun.com> * isisd/isis_dlpi.c: Change ioctl from PFIOCSETF (transparent mode) to I_STR (non-transparent mode). The old code resulted in no filtering at all. Signed-off-by: Paul Jakma <paul@quagga.net>
Jingjing DuanPaul JakmaJingjing Duan
efda3bb8e54[lib] Add fletcher checksum implementation2008-08-13 Jingjing Duan <Jingjing.Duan@sun.com> * lib/checksum.?: (fletcher_checksum) implementation of Fletcher checksum, as per RFC1008. Signed-off-by: Paul Jakma <paul@quagga.net>
Timo TeräsPaul JakmaTimo Teräs
40da22166ff[zebra:netlink] Set proto/scope on all route update messages2008-08-13 Timo Teräs <timo.teras@iki.fi> * zebra/rt_netlink.c: (netlink_route{,_multipath) Set protocol and scope appropriately for both NEW and DELROUTE messages, to avoid wiping out non-zebra routes on delete. Signed-off-by: Paul Jakma <paul@quagga.net>
RoyPaul JakmaRoy
7f794f2bb07[vty] Allow delete during password entry2008-08-13 roy <quagga@de.vio.us> * lib/vty.c: (vty_delete_char) move check for authentication down a bit, so we do the delete, but still not re-write of line. Signed-off-by: Paul Jakma <paul@quagga.net>
Paul P Komkoff JrPaul JakmaPaul P Komkoff Jr
fe86b484e23[build] --enable...user/group didn't match help text2008-08-13 Paul P Komkoff Jr <i@stingr.net> * configure.ac: fix AC_ARG_ENABLE argument to match help string, Signed-off-by: Paul Jakma <paul@quagga.net>
Paul P Komkoff JrPaul JakmaPaul P Komkoff Jr
46bc0e432e7[build] Test for GNU-style PIE support in toolchain and enable2008-08-13 Paul P Komkoff Jr <i@stingr.net> * configure.ac: add a configure flag and autoconf macro, which will determine if your toolchain supports PIE. * */Makefile.am: add corresponding CFLAGS and LDFLAGS into appropriate places. Signed-off-by: Paul Jakma <paul@quagga.net>
Paul JakmaPaul Jakma
d664ae1182c[bgpd] Add 'bgp open-accept' option, to send OPEN immediately on accepted conns2007-08-31 Paul Jakma <paul.jakma@sun.com> * (general) Add 'bgp open-accept' option, to allow bgpd to send OPEN on accepted connections, i.e. to not wait till after collision-detect to send OPEN, which appears to be allowed in RFC4271. This may help speed up establishing sessions, or help avoid FSM problems with sessions to certain peers. Not enabled by default though.
Paul JakmaPaul Jakma
e30db001530[administrivia] Ignore rebase files and .msg(cherry picked from c5b85efd767b82fcb46b20ac6202c828d91aacb3 commit)
Paul JakmaPaul Jakma
7a842a7bc46[git administrivia] remove auto-built quagga.info, add to gitignore.
Paul JakmaPaul Jakma
3c5a0a4f8fe[administrivia] Add .gitignore files, based on .cvsignores.
Paul JakmaPaul Jakma
750e8146930[bgpd] Fix triggerable crash when compiled with --disable-bgp-announce2008-07-22 Paul Jakma <paul.jakma@sun.com> * HACKING: Document preference for compiler conditional code, over cpp conditional. * configure.ac: DISABLE_BGP_ANNOUNCE always should be defined. * bgp_{packet,route,advertise}.c: change to compiler testing of DISABLE_BGP_ANNOUNCE, rather than cpp. 2008-07-22 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp> * bgp_packet.c: (bgp_update_pa...
Paul JakmaPaul Jakma
851a1a5c146[bgpd] fix a couple of trivial compiler warnings2008-07-22 Paul Jakma <paul.jakma@sun.com> * bgp_community.c: (community_str2com) assigns defaults to local vars * bgp_attr.c: (bgp_attr_parse) match format specifier to arg * bgp_table.{c,h}: (bgp_table_top) can take a * to a const, quelling warning in bgp_route.c
Paul JakmaPaul Jakma
0df7c91f048[bgpd] TCP-MD5: password vty configuration and initial Linux support2008-07-21 Paul Jakma <paul.jakma@sun.com> * bgp_packet.c: (bgp_open_receive) fix warning in a zlog call * bgp_vty.c: (bgp_vty_return) add return code * bgpd.c: (bgp_master_init) setup the socket list. * bgp_network.c: Remove the dual IPv4/6 socket thing for now, which was implemented by Michael, until such time as its clear its required for Linux (see sockopt comments). IPv6 support...
Paul JakmaPaul Jakma
f04b0e6bb8c[tools/multiple-bgpd.sh] make it easier to use IPv6 peer addresses
Paul JakmaPaul Jakma
c2be59ba2af[solaris] Sync SMF bits with OpenSolaris SFW2008-07-03 Paul Jakma <paul.jakma@sun.com> * quagga.{xml,init}.in: Sync with OpenSolaris SFW. This changes the SMF schema used, from the SMF schema supplied initially with Quagga, to the version which was approved by the Sun PSARC for inclusion into Solaris. This change is incompatible. Settings, such as vty_port, etc. will not transfer over. The Sun schema is however supported...
Paul JakmaPaul Jakma
10895fd6c8f[vtysh] small fix to previous CMD_AS_RANGE patch, and add missing command2008-07-03 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp> * extract.pl.in: Fix as-range to match CPP output. * vtysh.c: Add missing router_bgp_view_cmd alias.
Paul JakmaPaul Jakma
320da874d75[vty] CMD_AS_RANGE accidently quoted and so not expanded in vty2008-07-02 MIYAJIMA Mitsuharu <miyajima.mitsuharu@anchor.jp> * *.c: CMD_AS_RANGE was being used inside command strings, and thus not being expanded, fix by dequoting.
Paul JakmaPaul Jakma
b608d5b5ac4[bgpd] Fix double-free crash in bgp_table_finish, seen with rs-client2008-07-02 Stephen Hemminger <stephen.hemminger@vyatta.com> * bgp_table.{c,h}: (bgp_table_finish) Take a double pointer and scrub pointer in caller, so fixing double-free crashes seen with route-server-client configuration. * *.c: Adjust all callers of bgp_table_finish 2008-07-02 Paul Jakma <paul.jakma@sun.com> * bgp_table.{c,h}: (bgp_node_delete, bgp_table_free) shouldn't be exp...
Paul JakmaPaul Jakma
0b3f3d47b21[zebra] Make BSD link-state deal more gracefully with GIFMEDIA ioctl error2008-07-01 Paul Jakma <paul.jakma@sun.com> * ioctl.c: (if_get_flags) Deal more gracefully with failure of the BSD link-state SIOCGIFMEDIA ioctl, as some interfaces apparently don't implement it (e.g. tun). Also, make BSD link-state checking be conditional on the 'link-detect' interface configuration flag, as it should be. Fixes bug #465.
Paul JakmaPaul Jakma
ce9c3cc5d96[tools/multiple-bgpd] setup IPv6 advertisments
Paul JakmaPaul Jakma
3d8d4b23029[administrivia] commit missing ChangeLog update...
Paul JakmaPaul Jakma
e1f3d398988[release] Bump version to 0.99.102008-06-10 Paul Jakma <paul@jakma.org> * configure.ac: Bump version to 0.99.10
Paul JakmaPaul Jakma
1eab26bbc67[tests] BGP MP_(UN)REACH_NLRI unit tests (actual file..)2008-06-07 Paul Jakma <paul@jakma.org * bgp_mp_attr_test.c: MP_(UN)REACH_NLRI unit tests
Paul JakmaPaul Jakma
3d52bb8085c[lib] trivial: add const qualifier to stream_put/write2008-06-07 Paul Jakma <paul@jakma.org> * stream.{c,h}: (stream_{put,write}) add const qualifier to source argument. Change u_char to void *.
Paul JakmaPaul Jakma
032928091c5[bgpd] minor changes to bgp_mp_reach_parse2008-06-07 Paul Jakma <paul@jakma.org> * bgp_attr.{c,h}: (bgp_mp_{un,}reach_parse) export, for unit tests. * bgp_attr.c: (bgp_mp_reach_parse) Add logging. Tighten length test to bounds check against the attribute length rather than the stream length..
Paul JakmaPaul Jakma
343f720b345[tests] BGP MP_(UN)REACH_NLRI unit tests2008-06-07 Paul Jakma <paul@jakma.org * bgp_mp_attr_test.c: MP_(UN)REACH_NLRI unit tests
Denis OvsienkoDenis Ovsienko
13e896ba2a4+ note the meta-queue in NEWS
Denis OvsienkoDenis Ovsienko
e96f92034da+ initial edition of meta-queue for RIB updates processing (bug #431)
Paul JakmaPaul Jakma
a15cfd16fcd[bgpd] bug #419: partial aspath-limit incorrectly causes session reset2008-06-01 jfletche@gmail.com * bgp_attr.c: (bgp_attr_aspathlimit) fix silly bug in flags check that was causing BGP to drop sessions if it received a aspath-limit with partial set. Fixes bug #419.
Paul JakmaPaul Jakma
0e7c124f870[tools] multiple-bgpd.sh: make paths more configurable
Paul JakmaPaul Jakma
fa93b16208c[ripd] Fix mistaken empty string test2008-05-29 Stephen Hemminger <stephen.hemminger@vyatta.com> * ripd.c: (rip_auth_md5) fix bogus empty string test
Paul JakmaPaul Jakma
0d6b2ee249e[daemons] Sanity check port number arguments before use2008-05-29 Martin Nagy <mnagy@redhat.com> * */*main.c: Sanity check port numbers before using.
Paul JakmaPaul Jakma
768a27ea7ba[zebra/linux] Use BPF to filter out responses, to try avoid netlink overruns2008-05-29 Stephen Hemminger <stephen.hemminger@vyatta.com> * rt_netlink.c: (netlink_install_filter) BPF filter to catch and drop responses to zebra's own route messages. (kernel_init) add BPF filter on the netlink socket.
Denis OvsienkoDenis Ovsienko
311064ddc5c+ fix the set statement name