summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2003-12-23Add comments about isisd integration.jardin
2003-12-23Merge isisd into the Quagga's framework:jardin
- 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.
2003-12-22Reorder free(f); unlink(f); to unlink before freeing.gdt
2003-12-222003-12-22 Christian Hammers <ch@lathspell.de>gdt
* configure.ac (and everywhere a regular file is opened for writing): use file permissions from configure rather than compiled-in umask.
2003-12-22Revert my "microfix". It was caused by misreading code. Gilad is right ashasso
always.
2003-12-22note that order of = items is undefined, probablygdt
2003-12-22comments about struct listgdt
2003-12-22add comments clarifying the operation of listnode_add_sortgdt
2003-12-21lib/if.c part from [quagga-dev 552] and lib/inklist.c part from [quagga-devhasso
555]. Okayed by Paul.
2003-12-08{lib,ospfd,ospfapi}/Makefile.am:gdt
Use pkginclude_HEADERS rather than include_HEADERS to place includes in ${prefix}/include/quaggainstead of polluting ${prefix}/include.
2003-10-302003-10-30 sowmini.varadhan@sun.compaul
* lib/pid_output.c: (pid_output_lock) undo paulj's mindless edit.
2003-10-292003-10-29 Paul Jakma <paul@dishone.st>paul
* lib/routemap.c: (route_map_apply_index) renamed to route_map_apply_match. (route_map_apply_match) Take rule list as argument rather than index. concentrate solely on match logic. (route_map_apply) Properly implement the route map statement logic, according to the table, especially the on-match exit policy.
2003-10-272003-10-27 Paul Jakma <paul@dishone.st>paul
* lib/if.{ch}: remove ifc_pointtopoint() - left over from the reverted RFC3021 patch.
2003-10-262003-10-26 Paul Jakma <paul@dishone.st>paul
* lib/vty.c: (vty_read) additional change i had applied to Jay's telnet sub-option processing crash fix was incorrect, revert.
2003-10-242003-10-24 Paul Jakma <paul@dishone.st>paul
* 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-242003-10-24 sowmini.varadhan@sun.compaul
* lib/pid_output.c: (pid_output) call pid_output_lock if we have fcntl(). (pid_output_lock) grab exclusive write lock on pid file, rather than rely on (fragile) exclusive create.
2003-10-222003-10-22 Paul Jakma <paul@dishone.st>paul
* lib/zebra.h: include limits.h if its there, its a portable header and useful and not just solaris specific. net/route.h is also useful.
2003-10-222003-10-22 Paul Jakma <paul@dishone.st>paul
* lib/vty.c: cleanup getcwd again. just pass the buffer in to getcwd.
2003-10-222003-10-22 Paul Jakma <paul@dishone.st>paul
* lib/regex.c: bzero -> memset * zebra/ioctl.c: ditto. bzero is not portable.
2003-10-152003-10-15 Jay Fenlason <fenlason@redhat.com>paul
* lib/vty.c: (vty_telnet_option) Remote DoS exists if a telnet end-sub-negotation is sent when no sub-negotation data has been sent. Return immediately if no sub-negotation is in progress. (vty_read) do not attempt to process options if no sub-negotation is in progress.
2003-10-152003-10-15 Paul Jakma <paul@dishone.st>paul
* lib/vty.c: (vty_save_cwd) dont crash if getcwd fails. try fallback to SYSCONFDIR. Allocate cwd from the stack rather than relying on (non-portable) getcwd() allocation (which we didnt seem to be freeing).
2003-10-132003-10-13 Jay Fenlason <fenlason@redhat.com>paul
* lib/zebra.h: define UINT32_MAX for those systems which do not provide it. * bgp_attr.h: define BGP_MED_MAX. * bgp_route.c: update defines/constants to BGP_MED_MAX. * bgp_routemap.c: ditto. clean up route_match_metric_compile slightly to avoid unneccesary XMALLOC.
2003-09-292003-09-29 Paul Jakma <paul@dishone.st>paul
* zebra/connected.c: revert the 'generic PtP' patch as it causes far too many problems. People who use FreeSWAN should investigate native linux ipsec. * zebra/rt_netlink.c: ditto * lib/if.c: ditto * ripd/ripd.h: ditto * ripd/ripd.c: ditto * ripd/rip_interface.c: ditto * ospfd/ospfd.c: ditto * ospfd/ospf_snmp.c: ditto * bgpd/bgp_nexthop.c: ditto
2003-09-242003-09-24 Paul Jakma <paul@dishone.st>paul
* lib/version.h: moved to version.h.in * lib/version.h.in: New file, from version.h. Change hardcoded package name and version to use the autoconf defined substition variables. * configure.ac: Fix up AC/AM_INIT* to new style. Remove the sed'ing through lib/version.h for VERSION. Add lib/version.h to the AC_OUTPUT list. Update the text output of quagga version at end of configure run to use PACKAGE_VERSION. * doc/.cvsignore: ignore quagga.pdf * doc/.cvsignore: ignore version.h, its now autogenerated.
2003-09-232003-09-24 sowmini.varadhan@sun.compaul
* lib/linklist.c: (if_cmp_func) Fix handling of case where list->cmp returns 0.
2003-09-232003-09-24 sowmini.varadhan@sun.compaul
* lib/if.c: (if_cmp_func) fix infinite loop if ifp1->name == ifp2->name
2003-08-272003-08-27 Jay Fenlason <fenlason@redhat.com>paul
* lib/Makefile.am: Do not use a lib (libcap) as a dependency * zebra/Makefile.am: Link in libcap
2003-08-252003-08-25 Paul Jakma <paul@dishone.st>paul
* configure.ac: bump version-> 0.96.2 * lib/version.h: bump version, ditto.
2003-08-212003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>paul
* command.c: Fix <cr> display problem for command line description.
2003-08-142003-08-14 Paul Jakma <paul@dishone.st>paul
* lib/version.h: bump to 0.96.1.
2003-08-132003-08-13 Paul Jakma <paul@dishone.st>paul
* lib/version.h: Add QUAGGA_PROGNAME * lib/smux.c: hardcoded zebra/quagga -> QUAGGA_PROGNAME * lib/command.c: ditto * vtysh/vtysh_user.c: ditto
2003-08-132003-08-13 Paul Jakma <paul@dishone.st>paul
* lib/smux.c: change progname to quagga.
2003-08-122003-08-12 Paul Jakma <paul@dishone.st>paul
2003-08-12 Paul Jakma <paul@dishone.st> * Makefile.am: redhat/zebra.* -> redhat/quagga.* * configure.ac: Bump autoconf prerequisite to 2.53. dist name zebra -> quagga. general Zebra -> Quagga where appropriate (ie not zebra daemon). User and group zebra->quagga. s/ZEBRA\(_VERSION\)/QUAGGA\1/. * bgpd/bgp_main.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/ * lib/command.c: Update banners and s/ZEBRA\(_VERSION\)/QUAGGA\1/ * lib/print_version.c: ditto * lib/version.h: s/ZEBRA\(_VERSION\)/QUAGGA\1/ and bump version. Change ZEBRA_URL. * lib/smux.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/ * lib/vty.h: Change Zebra.conf to Quagga.conf (integrated file) * ospf6d/ospf6{,_main}.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/ * ospfd/ospf_main.c: s/ZEBRA\(_VERSION\)/QUAGGA\1/
2003-08-122003-08-12 Paul Jakma <paul@dishone.st>paul
* lib/linkhist.h: The LISTNODE_{ADD,DEL} macros (not used anywhere) do not maintain the list count - fix.
2003-08-012003-08-01 Cougar <cougar@random.ee>paul
* lib/if.c: (if_cmp_func) new function, compare interface names in alphabetical order. (if_create) Take name as argument and add interface in sorted order. (if_get_by_name),(interface_cmd) fixup calls to if_create - see above. (if_init) register list comparison function. * lib/if.h: Add comparison function, modify if_create prototype. * lib/zclient.c: Modify call to if_create. * ospfd/ospf_interface.c: (ospf_vl_new) modify call to if_create. change sprintf to snprintf. * zebra/kernel_socket.c: (ifm_read) modify call to if_create.
2003-07-262003-07-26 Paul Jakma <paul at dishone.st>paul
* lib/command.c: Add config_log_syslog_facility_cmd, to set syslog facility. This was a commit to zebra.org on May 20, merge in to zebra-pj.
2003-07-262003-07-26 Paul Jakma <paul@dishone.st>paul
* lib/command.c: Add config_log_syslog_facility_cmd, to set syslog facility. This was a commit to zebra.org on May 20, merge in to zebra-pj.
2003-07-152003-07-15 Paul Jakma <paul@dishone.st>paul
* lib/version.h: add ZEBRA_URL (unused for now) * lib/vty.c: CMD_ERR_NOTHING_TODO when reading conf file should not be fatal. slight reformating. * ospfd/ospf_zebra.c: ignore reject/blackhole routes if zebra sends these type of routes. probably should be a new type of route to allow daemons to more easily choose whether to redistribute them - rathen than just a flag (eg for reject/blackhole). reorder the is_prefix_default test for ZEBRA_IPV4_ROUTE_DELETE to avoid the inverted test - slightly more readable. * redhat/zebra.spec.in: Add ospfapi port to services file, if with_ospfapi. * zebra/rib.h: Change nexthop types to an enum. * zebra/rt_netlink.c: run it through indent -nut. Add nexthop_types_desc[] descriptive array for nexthop types. (netlink_route_multipath) debug statements indicate which branch they are in and print out nexthop type. * zebra/zebra_rib.c: slight reformatting. * zebra/zebra_vty.c: Pass ZEBRA_FLAG_BLACKHOLE flag to static_add_ipv4() if Null0 route is configured. print out Null0 if STATIC_IPV4_BLACKHOLE route, and ignore flags (shouldnt be possible to set flags from vty) for config and show route.
2003-07-112003-07-11 Vsevolod Sipakov <zebra@vs.megalink.ru>paul
* lib/command.c: Add missing HAVE_IPV6 defines. see bug id #23: http://bugzilla.dishone.st/show_bug.cgi?id=23
2003-07-082003-07-8 Chris Andrews <chris@nodnol.org>paul
* zebra/kernel_socket.c: Update for new zebrad global struct * zebra/ipforward_solaris.c: Add missing privs.h include. Uncomment /dev/ip define. * lib/zebra.h: Add typedefs for SunOS.
2003-06-192003-06-19 Paul Jakma <paul@dishone.st>paul
* Fix lib/smux.c's reliance on daemons exporting struct thread_master *master.
2003-06-152003-06-15 Paul Jakma <paul@dishone.st>paul
* lib/vty.{c,h}: Remove vty layer depending on a 'master' global, pass the thread master in explicitly to vty_init. Sort out some header dependency problems with lib/command.h * zebra/: Move globals to struct zebrad. Update vty_init(). * (.*)/\1_main.c: update call to vty_init().
2003-06-112003-06-11 Paul Jakma <paul@dishone.st>paul
* lib/privs.h (zprivs_init): do not use zlog() as it depends on vty having been initialised (zlog calls vty_log). print to stderr directly instead.
2003-06-062003-06-07 Paul Jakma <paul@dishone.st>paul
* Revert Cougar's sort interface names patch, causes problems with enabling of interfaces for OSPF in ospfd.
2003-06-05Patch from Cougar - sort iflist by name.hasso
2003-06-04Paul forgot probably to commit privs.[c|h] changes. Had to reorder includeshasso
in zebra.h to make it compile in debian.
2003-06-042003-06-04 Paul Jakma <paul@dishone.st>paul
* Merge of zebra privileges
2003-06-04Paul Jakma:paul
lib/debug.{c,h}: glibc backtrace printing function (from the glibc info page) configure.ac: check for glibc backtrace and set define lib/zebra.h: glibc backtrace support
2003-05-29lib/table.c: Fix the SET_LINK macro. (not that its of any worth)paul
2003-05-25Add back support for null0 interface blackhole routes.paul