summaryrefslogtreecommitdiffstats
path: root/zebra
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add extra padding in cmsgdata buffer; there wasn't enough ongdt2004-08-111-1/+18
| | | | | | | | | | | | | | | | NetBSD/sparc, resulting in overwriting the address. Add code to check if overwriting is happening, at least for now. Set msg_flags to MSG_DONTROUTE; they had been stack garbage.
| * Remove pointless privilege lower call. Thanks to Cougar for noticing.hasso2004-08-061-5/+3
| |
| * (somewhat unrelated cleanups, but all are very minor)gdt2004-07-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com> * */Makefile.am: Use ../dir/libfoo.la, rather than "-L../dir -lfoo", to avoid linking against installed libraries from a previous version. * {lib,ospfd,ospfclient}/Makefile.am: explicitly define the shared library version number to be 0.0 * configure.ac: remove spurious , so extract.pl is chmod'd +x. * HACKING: explain shared library versioning rules
| * 2004-07-23 Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>paul2004-07-238-12/+61
| | | | | | | | | | | | | | | | | | | | | | | | * if_ioctl_solaris.c: HAVE_IPV6 ifdef fixups * zserv.c: ditto * ioctl_solaris.c: ditto. * interface.c: cast for LLADDR * interface.h: Add guards, include redistribute.h and remove extraneous definitions of zebra_interface_{up,down}_update * ioctl.h: Add AF_IOCTL define for non SOLARIS_IPV6 * redistribute.h: include dependent header, zserv.h * zserv.h: include dependent header, rib.h
| * 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-11/+10
| | | | | | | | | | | | * irdp_main.c: use setsockopt_pktinfo_ipv4 * irdp_packet.c: use SOPT_SIZE_CMSG_PKTINFO_IPV4 and getsockopt_pktinfo_ifindex()
| * Update cvsignore, add .libspaul2004-07-231-0/+1
| |
| * 004-07-13 David Wiggins <dwiggins@bbn.comgdt2004-07-132-1/+5
| | | | | | | | | | | | | | | | * kernel_socket.c (rtm_flag_dump): terminate buffer with '\0', not '0'. This is arguably not a security problem, since strlcat is used to copy to the buffer -gdt.
| * Creating irdp socket requires more privileges.hasso2004-07-132-0/+16
| |
| * 1) extract.pl is braindead, but I will not touch it willingly.hasso2004-07-122-9/+14
| | | | | | | | 2) Following common style is always better anyway.
| * Add libtool support.libtool-aftergdt2004-06-303-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libzebra and libospfapiclient are now built shared, and linked shared with the daemons. This reduces the memory needed when running multiple daemons; each daemon is at least 150k smaller. Static libraries are still built, and libtool should use them on platforms which don't have shared libaries. As with autoconf, the user of a distribution does not need libtool; one just needs that to build from CVS. libospf.a is still a non-shared library, and still installed, not because that makese sense, but because I don't understand why it is the way it is now. Note that the tree was tagged 'libtool-before' just before this commit.
| * Removing code which looked at current dir for config file before attemptinghasso2004-06-201-2/+1
| | | | | | | | to read system one.
| * OK, here it is - irdp support. But don't expect me to fix any bugs in it.hasso2004-06-129-75/+1601
| |
| * CVS ignore Linux NFS silly-delete .nfs* filespaul2004-06-061-0/+1
| |
| * Router advertisement cleanup. Removed compatibility command because it'shasso2004-05-182-78/+200
| | | | | | | | | | | | very annoying to have both obsolete "prefix-advertisement" and "prefix" in completion. We will break configuration anyway with secondary cleanup, so just remember mention it in release notes.
| * 2004-05-11 Paul Jakma <paul@dishone.st>paul2004-05-114-5/+23
| | | | | | | | | | | | | | | | * ioctl.h: Add if_ioctl_ipv6 prototype and AF_IOCTL for SOLARIS_IPV6 * kernel_socket.c: Fix SAROUNDUP, compiler doesnt like do..while RHS in assignments :) * redistribute.c: (zebra_interface_delete_update) only used if RTM_IFANNOUNCE and NETLINK is available.
| * 2004-05-11 Paul Jakma <paul@dishone.st>paul2004-05-113-53/+13
| | | | | | | | | | | | | | * Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch. * if_ioctl_solaris.c: Fixup some erroneous privilege changes and add privs.h header. * ioctl_solaris.c: ditto
| * 2004-05-11 Paul Jakma <paul@dishone.st>paul2004-05-112-5/+11
| | | | | | | | | | | | | | * configure.ac: Add solaris support for the zebra/*_solaris method's, based on Sowmini's patches. * zebra/Makefile.am: support for IOCTL_METHOD, as per Sowmini's patch.
| * 2004-05-09 Paul Jakma <paul@dishone.st>paul2004-05-093-1/+774
| | | | | | | | | | | | | | | | | | | | * if_ioctl_solaris.c: Add zprivs support. * ioctl_solaris.c: ditto. 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com> * if_ioctl_solaris.c: New file, Solaris interface ioctl methods. * ioctl_solaris.c: New file, Common solaris ioctl methods.
| * 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-092-6/+8
| | | | | | | | * ipforward_solaris.c: fix typo of ND variable.
| * 2004-05-09 Paul Jakma <paul@dishone.st>paul2004-05-095-10/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * ioctl.c: (if_get_mtu) set mtu6 to mtu * mtu_kvm.c: (if_kvm_get_mtu) set mtu6 to mtu * rt_netlink.c: (netlink_interface) set mtu6 to mtu (netlink_link_change) ditto 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com> * interface.c: (if_delete_update) only used with HAVE_NETLINK and RTM_IFANNOUNCE. (if_flag_dump_vty) Solaris IFF_IPV4 and IFF_IPV6 if flags (if_dump_vty) print mtu6 if not same as mtu
| * 2004-05-09 Paul Jakma <paul@dishone.st>paul2004-05-094-568/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * zserv.c: (zsend_route_multipath) Set the nexthop_num field correctly. Add NEXTHOP_TYPE_IPV6_IFNAME for v6. Conditionally set ZAPI_MESSAGE_METRIC flag - only for adds. (zsend_ipv4_add) cruft, deleted. (zsend_ipv4_delete) ditto. (zsend_ipv6_add) ditto. (zsend_ipv6_delete) ditto. 2004-05-09 Sowmini Varadhan <sowmini.varadhan@sun.com> * zserv.c: (zsend_ipv{4,6}_{add,delete}_multipath) collapsed into single zsend_route_multipath function. (zsend_interface_{up,down}) collapsed into zsend_interface_update. (zsend_interface_address_{add,delete}) collapsed into zsend_interface_address. (zsend_interface_add) send mtu6. (zsend_interface_delete) ditto. (zebra_write) remove unused function. (various) Apply static qualifier. Add comments. * zserv.h: Definitions changed as per above. * redistribute.c: Changes as per zserv.c.
| * [quagga-dev 1002]. Also fix date of previous commit in Chanelog.hasso2004-04-062-2/+13
| |
| * * Fixed lowering privileges in proc ipforward method.hasso2004-04-062-18/+43
| | | | | | | | | | * Fixed "(no) ipv6 forwarding" command logic. * Added --disable-capabilities switch to configure.
| * Readded SIGTERM handling into sigevent stuff. Fixes bugzilla #85.hasso2004-03-221-0/+4
| |
| * Temorary secondary-label fix. Real fix from Gilad will follow after release.hasso2004-03-182-0/+29
| |
| * Fix bugzilla #82.hasso2004-03-171-1/+1
| |
| * 2004-03-16 David Young <dyoung@pobox.com>gdt2004-03-161-1/+1
| | | | | | | | | | | | | | | | | | * (many) reference <lib/version.h> rather than "version.h", because version.h is a generated file and not present in the source tree when using objdir builds. (committed by gdt) works fine with normal builds; didn't try objdir
| * Fix help. "ipv6 ..." commands are for IPv6.hasso2004-03-111-2/+2
| |
| * Fix warning. Approved by Amir.hasso2004-03-041-1/+1
| |
| * Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGERhasso2004-03-043-1/+14
| | | | | | | | from vtysh ([quagga-dev 932]).
| * Added "ipv6 forwarding" command and fixed "no ipv6 forwarding" help.hasso2004-02-112-2/+24
| |
| * 2004-01-19 Paul Jakma <paul@dishone.st>paul2004-01-191-36/+19
| | | | | | | | | | | | | | * tests/test-sig.c: New file, regression test for sigevents. * lib/Makefile.am: add sigevent.{c,h} * (isis|rip|ripng|ospf|ospf6|bgp)d/\1_main.c: modify for sigevents. * zebra/main.c: ditto.
| * 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-01-082-9/+21
| | | | | | | | | | | | | | * kernel_socket.c (kernel_read): Use sockaddr_storage in buffer for reading kernel messages to ensure enough space (necessary on Solaris due to sockaddr_dl being large). Thanks to Sowmini Varadhan for help with this change.
| * change perror to zlog_errgdt2004-01-062-2/+9
| |
| * 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-01-062-94/+77
| | | | | | | | | | | | | | | | | | * kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code to find the sockaddr_dl in all cases, narrowing the Solaris ifdef to just the accomodation of broken kernels. Check sockaddr_dl carefully up front, and later assume any non-NULL sdl pointer is valid. Clean up types and variable declarations, and rename WRAPUP to SAROUNDUP to make the name fit the behavior.
| * increase buffer size for kernel readsgdt2004-01-062-1/+16
| |
| * Fix incorrect test in previous commit; thanks to Sowmini Varadhan forgdt2004-01-051-2/+1
| | | | | | | | catching this.
| * 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>gdt2004-01-052-9/+127
| | | | | | | | | | | | | | | | | | * kernel_socket.c (kernel_read): Look up interfaces by index first, so that state changes which do not include a sockaddr_dl now work. Add many sanity checks. In particular, do not assume that a sockaddr_dl follows a message without checking the ifm_addrs flags, and do not trust the length in a sockaddr_dl. Add/clarify many comments.
| * Merge isisd into the Quagga's framework:jardin2003-12-232-2/+17
| | | | | | | | | | | | | | | | | | | | - add privs support - use misc quagga's definitions - make it compile"able" - fix segfault cases related to hostname() - add debug isis xxx command This patch has been approved by Paul Jakma.
| * reorder includes to avoid warning.gdt2003-12-032-1/+6
| | | | | | | | fixes rest of bug #62
| * Add support for --enable-exampledir to specify where to place examplegdt2003-12-031-1/+3
| | | | | | | | | | | | | | | | files, defaulting to sysconfdir (matching previous behavior). This is needed to support (cleanly) NetBSD pkgsrc, which requires that example config files go in $(prefix)/share/examples/pkgname, rather than in $(prefix)/etc/pkgname.
| * 2003-11-17 Jay Fenlason <fenlason@redhat.com>paul2003-11-171-0/+7
| | | | | | | | | | | | * zebra/rt_netlink.c: netlink_parse_info() ignore messages which are not from kernel. Reported to RH by Herbert Xu. See http://rhn.redhat.com/errata/RHSA-2003-307.html and CAN-2003-0858.
| * 2003-11-02 Krzysztof Oledzki <oleq@ans.pl>paul2003-11-021-0/+2
| | | | | | | | | | | | * zebra/zebra_rib.c: Revert patch (dating from zebra.org) which caused zebra to read all routes in all tables, rather than just the main table. See [quagga-dev 280].
| * 2003-10-27 Gilad Arnold <gilad.arnold@terayon.com>paul2003-10-281-7/+13
| | | | | | | | | | | | | | | | | | * zebra/zebra_rib.c: (nexthop_active_update) Check for multipath limit when setting changed flag to avoid spurious changes. (static_install_ipv{4,6}) dont uninstall by default, might not be required - avoid spurious uninstalls. (static_uninstall_ipv{4,6}) only uninstall the route if its actually FIB route.
| * 2003-10-24 Paul Jakma <paul@dishone.st>paul2003-10-241-15/+3
| | | | | | | | | | | | | | | | | | * configure.ac: Check for fcntl() * {bgpd,ospf,ospf6d,ripd,ripngd}/Makefile.am: Install conf file via regular automake means, not magic install incantations, see bug #38. * lib/Makefile.am: install the headers, needed to link libzebra.a (and hence libospf.a, OSPF-API, etc.)
| * 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-4/+12
| | | | | | | | | | | | * zebra/kernel_socket.c: HAVE_IPV6 conditional for WRAPUP when HAVE_SA_LEN is not defined. bcopy -> memcpy, bcopy is not portable.
| * 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-2/+2
| | | | | | | | | | * lib/regex.c: bzero -> memset * zebra/ioctl.c: ditto. bzero is not portable.
| * 2003-10-13 Douglas Fraser <doug+quagga@idmf.net>paul2003-10-131-2/+2
| | | | | | | | | | * zebra/connected.c: PtP revert fixup. Zebra was not creating connected route for PtP peer.
| * 2003-10-07 Tarhon-Onu Victor <mituc@iasi.rdsnet.ro>quagga_0_96_3_releasepaul2003-10-071-0/+2
| | | | | | | | | | * zebra/ipforward_proc.c: (ipforward) Close the fd for /proc/net/snmp. See [quagga-dev 284]
| * 2003-09-29 Gilad Arnold <gilad.arnold@terayon.com>paul2003-09-291-0/+3
| | | | | | | | | | | | * zebra/zebra_rib.c: Fix possible dangling reference to rib route_nodes - unlock it the appropriate number of times. (twice, because of the implicit lock). see [quagga-dev 251].