summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add libtool support.libtool-aftergdt2004-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.libtool-beforegdt2004-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-064-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.
* 2004-05-31 Sagun Shakya <sagun.shakya@sun.com>paul2004-05-314-10/+23
| | | | | | | | * ospf_dump.c: (ospf_lsa_header_dump) LOOKUP can return null if index is out of range. ospf_flood.c: endianness fix ospf_lsa.c: Missing ntohl's on (struct lsa *)->data->ls_seqnum in various places.
* Forgot to commit ChangeLog with last doc/ commit.paul2004-05-311-0/+4
|
* 2004-05-31 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-313-21/+28
| | | | | * ripd.c: Fixup compile warnings * rip_routemap.c: Ditto
* 2004-05-27 Paul Jakma <paul@dishone.st>paul2004-05-261-1/+1
| | | | * Correct RIP port, s/521/520/, reported by xantius@xantius.com
* Merge graceful restart capability display and some small fixes from Zebrahasso2004-05-218-155/+267
| | | | repository by Rivo Nurges.
* Merge bgpd changeset 1185 from Zebra repository by Rivo Nurges.hasso2004-05-202-33/+45
|
* Merge bgpd changeset 1184 from Zebra repository by Rivo Nurges.hasso2004-05-205-22/+119
|
* Merge bgpd changeset 1176 from Zebra repository by Rivo Nurges.hasso2004-05-2011-128/+424
|
* Fixing crash fix attempt. It's still mess and logic is wrong and ... but athasso2004-05-191-3/+9
| | | | least periodic spf works again.
* Commit 100% working part of patch from Laurent Rabret ([quagga-dev 830]).hasso2004-05-196-5/+33
| | | | Also tiny temporary fix from me to spf thread crash. Will look at it later.
* Make it compile in NetBSD and OpenBSD.hasso2004-05-1918-18/+19
|
* Update to latest (really :) ospf6d from Zebra repository and some tinyhasso2004-05-1814-41/+169
| | | | fixes.
* Forgot these.hasso2004-05-182-0/+898
|
* Ospf6d merge from Zebra repository with added privs stuff and mergedhasso2004-05-1859-16409/+11399
| | | | zclient changes.
* Start of new ospf6d merge from Zebra.hasso2004-05-184-2/+207
|
* Router advertisement cleanup. Removed compatibility command because it'shasso2004-05-183-83/+291
| | | | | | 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-13 Paul Jakma <paul@dishone.st>paul2004-05-131-1/+4
| | | | | * HACKING: Add comment about updating ChangeLogs (which this commit, ironically, hasnt neglected to do).
* 2004-05-11 Paul Jakma <paul@dishone.st>paul2004-05-112-0/+11
| | | | | | * ripng_nexthop.h: SUNOS_5 does not define s6_addr32 catch ifndef(s6_addr32) && defined(SUNOS_5) and define it ourselves based on the S10 _KERNEL guarded define.
* 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-114-34/+71
| | | | | | | * 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.
* * Make updating redistributions work if prefix list is changed and it'shasso2004-05-104-52/+66
| | | | | used in route-map used to filter redistributions. * Move ospf_prefix_list_update() function from ospfd.c to ospf_zebra.c.
* Workaround for Bugzilla #58.hasso2004-05-092-0/+6
|
* 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.
* 2004-05-08 Paul Jakma <paul@dishone.st>paul2004-05-0817-283/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes (bgp_interface_address_delete) ditto. (bgp_zebra_announce) ditto. (bgp_zebra_withdraw) ditto. * isis_zebra.c: Sync with zclient changes. * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe message format. * ospf6_zebra.c: Sync to zclient changes * ospf_zebra.c: Sync with lib/zclient changes * rip_zebra.c: sync with zclient changes. * rip_interface.c: ditto. * ripng_{interface,zebra}.c: sync with zclient changes 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com> * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route (zapi_ipv4_delete) ditto. (zapi_ipv4_route) add/delete a route by way of cmd arg. (zapi_ipv6_add) collapsed into zapi_ipv6_route. (zapi_ipv6_delete) ditto. (zapi_ipv6_route) add/delete a route by way of cmd arg. (zebra_interface_address_delete_read) collapsed into zebra_interface_address_read. (zebra_interface_address_delete_read) ditto. (zebra_interface_address_read) read address add/delete messages by way of type argument. Describe command message format. (zebra_interface_add_read) Unconditionally read new ifmtu6 field. Describe command message format. (zebra_interface_state_read) Unconditionally read new ifmtu6 field. (zclient_redistribute_set) Collapsed into zclient_redistribute (zclient_redistribute_unset) ditto (zclient_redistribute) set/unset redistribution. (zclient_redistribute_default_set) Collapsed into zclient_redistribute_default. (zclient_redistribute_default_unset) ditto. (zclient_redistribute_default) Redistribute default set/unset. * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add zclient_redistribute. Ditto for zclient_redistribute_default_{set/unset}.
* 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-082-3/+5
| | | | | * command.c: (sockunion_getsockname) use socklen_t for len. (sockunion_getpeername) ditto.