summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-11/+7
| | | | | * ospf6_main.c: Delete LOG_PERROR, not portable. * ospf6_network.c: (ospf6_set_pktinfo) use setsockopt_ipv6_pktinfo
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-59/+23
| | | | | | | * ospf_network.c: Replace PKTINFO/RECVIF with call to setsockopt_pktinfo * ospf_packet.c: Use getsockopt_pktinfo_ifindex and SOPT_SIZE_CMSG_PKTINFO_IPV4.
* 2004-07-23 Paul Jakma <paul@dishone.st>paul2004-07-233-2/+159
| | | | | | | | | | | | | | | | | * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for sizeof pktinfo as appropriate, to be used when allocating msg buffers. export setsockopt_pktinfo() and getsockopt_pktinfo_ifindex() * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably set received ifindex sock option. (getsockopt_pktinfo_ifindex) portably retrieve ifindex. (getsockopt_cmsg_data) retrieve indicated control info from message header. (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above. (setsockopt_ipv4_pktinfo) v4 version (setsockopt_pktinfo) the exported version (getsockopt_ipv4_pktinfo_ifindex) v4 specific version (getsockopt_pktinfo_ifindex) the exported version
* 2004-07-14 Paul Jakma <paul@dishone.st>paul2004-07-224-46/+100
| | | | | | | | | | | | | | | | | * sigevent.c: (quagga_signal_handler) add a global caught flag, set the flags to a constant rather increment to be kinder. (quagga_sigevent_process) new function, to do core of what quagga_signal_timer did. dont block signals at all as sig->caught is volatile sig_atomic_t and should be safe to access from signal and normal contexts. The signal blocking is unneeded paranoia, but is left intact under an ifdef, should some platform require it. Check global caught flag before iterating through array. (quagga_signal_timer) nearly everything moved to quagga_sigevent_process. Left in under ifdef, in case some platform could use a regular timer check for signals. * sigevent.h: quagga_sigevent_process declaration. * thread.c: (thread_fetch) check for signals at beginning of scheduler loop, check for signals if select returns EINTR.
* 2004-07-22 Paul Jakma <paul@dishone.st>paul2004-07-222-2/+11
| | | | | * configure.ac: modify default CFLAGS to be compiler agnostic build Makefile for tests/ subdir.
* 2004-07-20 Paul Jakma <paul@dishone.st>paul2004-07-201-1/+4
| | | | | * redhat/quagga.spec.in: update for shared lib install, *.la should be in -devel
* 2004-07-17 Paul Jakma <paul@dishone.st>paul2004-07-171-1/+11
| | | | * if.c: (if_cmp_func) Add comment suggested by Greg Troxel.
* 2004-07-14 Paul Jakma <paul@dishone.st>paul2004-07-142-15/+53
| | | | | | | | | | * ospf_packet.c: (ospf_ls_upd_send_queue_event) Partial fix for problem reported by Peter Frost amongst others, where function will spin indefinitely if update list contains LSAs greater than MTU-headers or other condition leading to update list never being cleared. Problem of what to do with these LSAs remains. (ospf_make_ls_upd) add comment about large LSA problem, indentation cleanup.
* 2004-07-14 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-07-142-1/+6
| | | | | * Makefile.am (EXTRA_DIST): Add missing \, so tools stuff is really in distfile.
* 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.
* 2004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>gdt2004-07-132-1/+14
| | | | | | * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP confuses gdb, at least on NetBSD 2.0_BETA, where the block succeeds.
* 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.
* Merge svn revision 855 from Zebra repository.hasso2004-07-094-9/+82
|
* cvsignore *.libs in build dirspaul2004-07-097-0/+7
|
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-094-21/+96
| | | | | | | | | | Merge of GNU Zebra cvs2svn changesets r799, r800 and r807. * bgp_dump.c: (bgp_dump_attr) cleanup. return status code. check attributes present before printing. * bgp_dump.c: update bgp_dump_attr prototype. * bgp_packet.c: (bgp_update_receive) init attrstr. check status of bgp_dump_attr. Log end-of-rib UPDATEs.
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-094-2/+218
| | | | | * jhash.{c,h}: New files. Bob Jenkins' public domain hashing function, as implemented in linux kernel by David Miller.
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-092-20/+113
| | | | | * Merge Kunihiro's 'show route-map' change and add compatibility aliases for route-map continue
* more cvsignorespaul2004-07-093-0/+3
|
* Update cvsignore's for *.lo and *.la - libtool filespaul2004-07-098-0/+16
|
* 2004-07-09 Juris Kalnins <juris@mt.lv>paul2004-07-092-1/+10
| | | | | * if.c: (if_cmp_func) fix for interface names where name is same, but one has no number, eg "devtyp" and "devtyp0".
* 2004-07-09 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-07-093-6/+19
| | | | | | | * bgp_packet.c: (bgp_collision_detect) Send NOTIFY on new socket if that is connection we're closing. (bgp_read) invalid marker check applies to KEEPALIVE too. * bgp_route.c: Ignore multicast NRLI, dont send NOTIFY.
* 2004-07-01 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-07-012-0/+19
| | | | | * ripng_interface.c (ripng_multicast_join): Use privs to do join, to work around bug on gif(4) on NetBSD 1.6.2.
* add appearance of shlibsgdt2004-07-011-0/+3
|
* There is no need to introduce new file of course, document big changes inhasso2004-07-012-10/+14
| | | | NEWS file.
* Compile libospf shared as well.gdt2004-07-012-5/+8
|
* Add libtool support.gdt2004-06-3017-2670/+51
| | | | | | | | | | | | | | | | 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.
* Use EXTRA_DIST to distribute files, and don't list directories.gdt2004-06-304-13/+19
| | | | Remove disthook that removed the crud that was copied in due to this.
* Make vtysh work on NetBSD, and minor cleanups:gdt2004-06-305-6/+29
| | | | | | | | | | | | | | if --enable-vtysh, look for perl, and substitute into vtysh/extract.pl, rather than assuming perl is in /usr/bin Look for tputs in libtermcap and libcurses, in addition to previously-searched locations. Follow GNU readlines search order. Clean up --enable-vtysh definition in configure.ac. Add vtysh/vtysh_cmds.c to CLEANFILES. This is important if extract.pl fails, so that 'make clean && make' will regenerate vtysh_cmds.c rhather than using the old zero-length file.
* Use -rf with autom4te.cache.gdt2004-06-302-2/+6
|
* 2004-06-21 Paul Jakma <paul@dishone.st>paul2004-06-212-2/+7
| | | | | * ChangeLog: fix my last update config.h -> zebra.h ;) * zebra.h: Fix gcc check.
* Remove ifdef's HAVE_NSSA. NSSA support is stable enough.hasso2004-06-2020-250/+15
|
* Removing code which looked at current dir for config file before attemptinghasso2004-06-2010-105/+82
| | | | to read system one.
* Zebra daemon has access lists.hasso2004-06-202-2/+6
|
* We are going to change some stuff in incompatible way, so it's good idea tohasso2004-06-121-0/+10
| | | | document this stuff. Nobody reads loooong changelog ;).
* OK, here it is - irdp support. But don't expect me to fix any bugs in it.hasso2004-06-1211-76/+1609
|
* 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-06-1112-63/+101
| | | | | | | | | | | | | | | | | | | | | | * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast to u_char. (ipv6_access_list_remark_cmd) ditto. if.c: ditto * network.c: (readn/writen) pointer arg should be type u_char. * plist.c: needs to include stream.h, not declare stream functions internally. (various) Add static qualifier to internal functions. (prefix_list_type_str) extraneous breaks in switch statement. (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast * stream.h: depends on plist.h and export stream_put_prefix * vty.c: (vty_<telnet option build functions>) should use unsigned char, telnet options are 0 -> 255. * zclient.c: various u_char<->char type cleanups. * zebra.h: Having to define CMSG_* can apply to more than just BSDI_NRL. * ripd.c: (rip_distribute_update_all) distribute list hook function pointer prototype requires struct prefix_list * arg. (rip_distribute_update_all_wrapper) update to pass required arg, NULL.
* 2004-06-09 Paul Jakma <paul@dishone.st>paul2004-06-092-0/+8
| | | | * config.h: __attribute__ is a gcc'ism
* 2004-06-06 Paul Jakma <paul.jakma@sun.com>paul2004-06-074-55/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ripd.h: Add define for the RIPv2 Authentication Data family Move the auth type defines up to where other defines live. Add RIP_AUTH_MD5_COMPAT_SIZE, for backwards compatible md5->auth_len size. Add md5_auth_len field to struct rip_interface: (rip_interface_new) Init md5_auth_len to compatible size. (ip_rip_authentication_mode_cmd) Extended to handle setting md5 auth-length. Appropriate aliases added. (no_ip_rip_authentication_mode_cmd) Reset md5_auth_len to compatible size. (rip_interface_config_write) Teach it about md5_auth_len. _always_ write out the auth-length, so that everyone will get the setting in their config file, and hence allow for a future change of default for md5_auth_len to be less painful - every md5 user will have this setting in their config file. ripd.c: (rip_packet_dump) Change nasty hard coded constants to symbolic defines. Change various tests of 'ntoh.(variable) == constant' to test 'variable == ntoh.(constant)'. Clean up indentation on some long lines. (rip_auth_simple_password) ditto. (rip_auth_md5) ditto, also add length argument and sanity check md5 data offset field. Sanity check md5 auth length, accept RFC or old-ripd/cisco lengths. (rip_auth_md5_set) as per (rip_packet_dump), also write out the configured md5 auth length for the interface (old-ripd or rfc) (rip_read) as per (rip_packet_dump) (rip_write_rte) ditto (rip_response_process) ditto (rip_write_rte) ditto
* Fix stray dollar sign that had crept into OSPF6D_OPTS and prevented ospf6dpaul2004-06-061-1/+1
| | | | from starting.
* CVS ignore Linux NFS silly-delete .nfs* filespaul2004-06-0617-0/+17
|
* Fix module path to use $ISA (needed to make vtysh work on, eg, FC2 x86_64)paul2004-06-061-10/+10
|
* 2004-06-06 Paul Jakma <paul@dishone.st>paul2004-06-064-3/+8
| | | | | * ospf_dump.c,ospf_lsa.c: Fix typos of merge of previous. ospf_flood.c: (ospf_process_self_originated_lsa) fix zlog format.
* Remove autom4te.cache to avoid problems with newer auto* tools.paul2004-06-061-5/+2
|
* Add .cvsignore for isisd/topologypaul2004-06-061-0/+6
|
* 2004-06-04 Paul Jakma <paul@dishone.st>paul2004-06-0418-74/+95
| | | | * type mismatch fixes
* 2004-06-04 JJ Ludman <jacques.ludman@sun.com>paul2004-06-042-3/+19
| | | | | | * ripd.c: Interoperability fix. Correct value for MD5 auth length is 16. Accept packets with this set to >= 16, and set to 16 ourselves.