summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add gcc printf format checksStephen Hemminger2008-08-081-6/+12
| | |
* | | bgp: no need to raise privs when setting up md5Stephen Hemminger2008-08-061-9/+0
|/ / | | | | | | Setting md5 parameters is allowed without privledges.
* | Merge branch 'hollywood' into islavistaRick Balocca2008-08-051-0/+29
|\| | | | | | | | | | | Conflicts: debian/changelog
| * Put bug fix for route flapping backStephen Hemminger2008-07-301-26/+44
| | | | | | | | | | | | Bugfix 3488 This puts back the bug fix for route flapping. The change was reverted (because it was post freeze).
| * Merge branch 'hollywood' of git:/git/vyatta-quagga into hollywoodMark O'Brien2008-07-300-0/+0
| |\
| | * Revert "Only set ifindex on set pass"Stephen Hemminger2008-07-281-2/+2
| | | | | | | | | | | | This reverts commit 09523599d75b0161bbfff62bde436e4782a5864e.
| | * Revert "Fix management of route changes"Stephen Hemminger2008-07-281-45/+27
| | | | | | | | | | | | This reverts commit d10d6c178e3c91e0dc73b6924099cb8fa416c279.
| * | 3.1.2vyatta/3.1.2debian/0.99.9-12Mark O'Brien2008-07-231-0/+34
| | |
* | | inline bgp flag manipulationStephen Hemminger2008-08-042-43/+37
| | | | | | | | | | | | These trivial flag managment functions are easier done inline.
* | | Realign rib code with upstreamStephen Hemminger2008-08-011-33/+31
| | | | | | | | | | | | May also fix one issue with ipv6 static routes.
* | | remove dead codeStephen Hemminger2008-08-013-3/+5
| | | | | | | | | | | | Mark out dead code with #if 0
* | | Make metaqueue functions staticStephen Hemminger2008-08-011-5/+5
| | | | | | | | | | | | This stuff is only used in RIB code
* | | Make log message lookup function use const tablesStephen Hemminger2008-08-018-23/+23
| | | | | | | | | | | | Message tables should be unaltered.
* | | md5 support now integratedStephen Hemminger2008-08-012-7/+0
| | | | | | | | | | | | No longer a configuration option in upstream version
* | | Add prototype for sockopt_ipv4_tosStephen Hemminger2008-08-011-0/+1
| | |
* | | bgp_config_write_damp should return voidStephen Hemminger2008-08-012-22/+21
| | | | | | | | | | | | Return value is always the same and never checked.
* | | Add back in TOS supportStephen Hemminger2008-08-011-0/+14
| | | | | | | | | | | | TOS support got dropped in the merge.
* | | Make hash compare functions take const argsStephen Hemminger2008-07-3114-86/+50
| | | | | | | | | | | | The hash compare function should not be modifiying its args
* | | Watchlink leftoversStephen Hemminger2008-07-312-2/+1
| | | | | | | | | | | | Remove leftover watchlink config stuff
* | | Rename vyatta-quagga package to quaggaStephen Hemminger2008-07-3114-9/+15
| | | | | | | | | | | | | | | Use version string (rather than name) to distinquish vyatta version of package.
* | | Fix merge problemsStephen Hemminger2008-07-317-126/+133
| | | | | | | | | | | | Get rid of some conflicts / overlaps from merge of upstream.
* | | Merge ../vyatta-quaggaStephen Hemminger2008-07-3193-984/+4255
|\ \ \
| * \ \ Merge branch 'upstream' into islavistaStephen Hemminger2008-07-3182-715/+4085
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog NEWS bgpd/ChangeLog bgpd/bgp_attr.c bgpd/bgp_network.c bgpd/bgp_packet.c bgpd/bgp_vty.c bgpd/bgpd.c bgpd/bgpd.h lib/sockopt.c lib/sockopt.h lib/zebra.h mkinstalldirs zebra/rib.h zebra/rt_netlink.c
| | * | | [bgpd] Fix triggerable crash when compiled with --disable-bgp-announcepaul2008-07-227-27/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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_packet_eor) Fix crash triggerable if a bgpd was compiled with --disable-bgp-announce and if GR is advertised by peer.
| | * | | [bgpd] fix a couple of trivial compiler warningspaul2008-07-225-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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
| | * | | [bgpd] TCP-MD5: password vty configuration and initial Linux supportpaul2008-07-2113-9/+432
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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, including IPv4 sessions on AF_INET6 sockets, therefore is broken, and the '-l 0.0.0.0' arguments would need to be given to bgpd to make things work here. 2008-07-21 Michael H. Warfield <mhw@wittsend.com> YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Tomohiko Kusuda <kusuda@inetcore.com> Leigh Brown <leigh@solinno.co.uk> * bgp_network.c: (bgp_md5_set_one) shim between libzebra tcp-md5 sockopt and bgpd. (bgp_md5_set_socket) Helper for bgp_connect (bgp_md5_set) setup TCP-MD5SIG for the given peer. (bgp_connect) call out to bgp_md5_set_socket for the outgoing connect socket. (bgp_socket) save references to the listen sockets, needed if TCP-MD5SIG is applied later or changed. * bgp_vty.c: (*neighbor_password_cmd) New 'neighbor ... password' commands. * bgpd.c: (peer_{new,delete) manage TCP-MD5 password (peer_group2peer_config_copy) inherit TCP-MD5 password (peer_password_{un,}set) orchestrate the whole add/remove of TCP-MD5 passwords: applying checks, stopping peers, and trying to return errors to UI, etc. (bgp_config_write_peer) save password. Fix missing newline in writeout of neighbor ... port. 2008-07-21 Paul Jakma <paul.jakma@sun.com> * sockunion.c: ifdef out various places that converted v4mapped sockets to pure v4. Doesn't seem necessary at all, presumably a workaround for now historical inet_ntop bugs (?) 2008-07-21 Michael H. Warfield <mhw@wittsend.com> YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> * sockopt.{c,h}: (sockopt_tcp_signature) Add TCP-MD5SIG support.
| | * | | [tools/multiple-bgpd.sh] make it easier to use IPv6 peer addressespaul2008-07-211-10/+12
| | | | |
| | * | | Merge /home/shemminger/git/quagga into upstreamStephen Hemminger2008-07-0914-229/+696
| | |\ \ \
| | | * | | [solaris] Sync SMF bits with OpenSolaris SFWpaul2008-07-033-151/+562
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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 by Sun, and supports running Quagga in a zone with IP instances, and configuration via the routeadm utility.
| | | * | | [vtysh] small fix to previous CMD_AS_RANGE patch, and add missing commandpaul2008-07-033-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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.
| | | * | | [vty] CMD_AS_RANGE accidently quoted and so not expanded in vtypaul2008-07-026-52/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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.
| | | * | | [bgpd] Fix double-free crash in bgp_table_finish, seen with rs-clientpaul2008-07-025-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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 exported.
| | | * | | [zebra] Make BSD link-state deal more gracefully with GIFMEDIA ioctl errorpaul2008-07-012-15/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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.
| | * | | | Merge branch 'master' of /home/shemminger/git/quagga into upstreamStephen Hemminger2008-06-2034-103/+1115
| | |\| | |
| | | * | | [tools/multiple-bgpd] setup IPv6 advertismentspaul2008-06-121-1/+18
| | | | | |
| | | * | | [administrivia] commit missing ChangeLog update...paul2008-06-111-0/+4
| | | | | |
| | | * | | [release] Bump version to 0.99.10paul2008-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-10 Paul Jakma <paul@jakma.org> * configure.ac: Bump version to 0.99.10
| | | * | | [tests] BGP MP_(UN)REACH_NLRI unit tests (actual file..)paul2008-06-071-0/+535
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-07 Paul Jakma <paul@jakma.org * bgp_mp_attr_test.c: MP_(UN)REACH_NLRI unit tests
| | | * | | [lib] trivial: add const qualifier to stream_put/writepaul2008-06-073-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-07 Paul Jakma <paul@jakma.org> * stream.{c,h}: (stream_{put,write}) add const qualifier to source argument. Change u_char to void *.
| | | * | | [bgpd] minor changes to bgp_mp_reach_parsepaul2008-06-073-13/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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..
| | | * | | [tests] BGP MP_(UN)REACH_NLRI unit testspaul2008-06-072-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-07 Paul Jakma <paul@jakma.org * bgp_mp_attr_test.c: MP_(UN)REACH_NLRI unit tests
| | | * | | + note the meta-queue in NEWSpilot2008-06-071-0/+2
| | | | | |
| | | * | | + initial edition of meta-queue for RIB updates processing (bug #431)pilot2008-06-028-58/+173
| | | | | |
| | | * | | [bgpd] bug #419: partial aspath-limit incorrectly causes session resetpaul2008-06-012-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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.
| | | * | | [tools] multiple-bgpd.sh: make paths more configurablepaul2008-06-011-3/+5
| | | | | |
| | | * | | [ripd] Fix mistaken empty string testpaul2008-05-292-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-29 Stephen Hemminger <stephen.hemminger@vyatta.com> * ripd.c: (rip_auth_md5) fix bogus empty string test
| | | * | | [daemons] Sanity check port number arguments before usepaul2008-05-297-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-29 Martin Nagy <mnagy@redhat.com> * */*main.c: Sanity check port numbers before using.
| | | * | | [zebra/linux] Use BPF to filter out responses, to try avoid netlink overrunspaul2008-05-293-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-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.
| | | * | | + fix the set statement namepilot2008-04-101-1/+1
| | | | | |
| | | * | | + [bgpd] Added new route-map set statement: "as-path ignore"pilot2008-04-106-10/+212
| | | | | |