summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-172004-02-17 Paul Jakma <paul@dishone.st>paul
* ospf_zebra.c: (ospf_interface_delete) Do not delete the interface params, nor the interface structure, if an interface delete message is received from zebra. * ospf_interface.c: (ospf_if_delete_hook) Delete the interface params and interface, ie that which was previously removed in (ospf_interface_delete) above.
2004-02-172004-02-17 Paul Jakma <paul@dishone.st>paul
* bgpd.h: (bgp_peer) add fd_local and fd_accept file descriptor's, fd becomes a pointer to one of these. * bgpd.c: (global) adjust for fact that fd is now a pointer. (peer_create_accept) removed. * bgp_route.c: (global) adjust for change of peer fd to pointer * bgp_packet.c: (bgp_collision_detect) adjust and remove the "replace with other peer" hack. * bgp_network.c: (bgp_accept) Remove the dummy peer hack. Update peer->fd_accept instead. (global) Adjust fd references - now a pointer. * bgp_fsm.c: (global) adjust peer fd to pointer. (bgp_connection_stop) new function, to stop connection. (global) adjust everything which closed peer fd to use bgp_connection_stop().
2004-02-13add some /* XXX assert() */ for questionable assumptions (no codegdt
change - just notes to others).
2004-02-13add an XXX at a point where ifindex_num is assumed to be one w/ogdt
checking.
2004-02-12Trivial fix from Bernd Leibing <bernd.leibing@kiz.uni-ulm.de>hasso
[quagga-dev 879].
2004-02-11Added "ipv6 forwarding" command and fixed "no ipv6 forwarding" help.hasso
2004-02-11Don't crash when attempting to read path->oi->ifp if oi doesn't exist anyhasso
more. I'm not sure if this read should be attempted at all, but I'm trying to keep code safe AND stable.
2004-02-11Fix by Vadim Suraev - [zebra 14710] #6.hasso
2004-02-11Threads usage cleanup. Still at least one bug to go.hasso
2004-02-09Yet another "set thread pointer to NULL during thread run" fix.hasso
2004-01-27Fixing previous commit.hasso
2004-01-27Make "(no) ip address x.x.x.x/x" commands work again in vtysh.hasso
2004-01-232004-01-23 sowmini.varadhan@sun.compaul
* rip_interface.c: obsolete unbind code in rip_interface_multicast_set, and instead do the more portable (though slower) method of creating a socket for each outgoing packet and binding the source address on the new socket. * rip_interface.c, ripd.c, ripd.h: Modify rip_request_send so that source address is determined by the caller of rip_request_send for ripv1 packets and non-multicast interfaces (rip_request_send loops over all connected address in all other cases). * rip_send_packet: don't send packets with source set to ZEBRA_IFA_SECONDARY connected addresses; improved debug messages;
2004-01-19add appropriate cvsignorepaul
2004-01-192004-01-19 Paul Jakma <paul@dishone.st>paul
* 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-192004-01-19 Paul Jakma <paul@dishone.st>paul
* tests/test-sig.c: New file, regression test for sigevents.
2004-01-192004-01-19 Paul Jakma <paul@dishone.st>paul
* sigevent.{c,h}: New files, implement event handled signals. see signal_init() in sigevent.h.
2004-01-152004-01-15 Paul Jakma <paul@dishone.st>paul
* vtysh_config.c: Fix up strlen to use correct string.
2004-01-13Explain the dual use of struct prefix for CIDR prefixes andgdt
address/netmask pairs, and clarify the two comparison functions.
2004-01-102004-01-10 Paul Jakma <paul@dishone.st>paul
* Makefile.am: redhat/ is a dist subdir too.
2004-01-10Exclude Makefile and Makefile.injardin
2004-01-10Fix build on FreeBSD 4.7 and FreeBSD 5.1:jardin
[...] source='isis_main.c' object='isis_main.o' libtool=no depfile='.deps/isis_main.Po' tmpdepfile='.deps/isis_main.TPo' depmode=gcc /usr/local/bin/bash ../depcomp gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/jardin/bin/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f isis_main.c || echo './'`isis_main.c gcc -g -O2 -Wall -o isisd isis_main.o isis_adjacency.o isis_lsp.o dict.o isis_circuit.o isis_pdu.o isis_tlv.o isisd.o isis_misc.o isis_network.o isis_zebra.o isis_dr.o isis_flags.o isis_dynhn.o iso_checksum.o isis_csm.o isis_events.o isis_spf.o isis_route.o isis_routemap.o ../lib/libzebra.a -lm -lcrypt Making all in redhat make: don't know how to make all. Stop *** Error code 1 Stop in /usr/home/jardin/no_save/quagga. *** Error code 1 Stop in /usr/home/jardin/no_save/quagga. quagga$
2004-01-092004-01-09 Paul Jakma <paul@dishone.st>paul
* HACKING: slight changes to make consistent with devel.php on web site. remove 'not yet consensus' as lack of any disagreement can be interpreted that file does reflect such.
2004-01-092004-01-08 Paul Jakma <paul@dishone.st>paul
* Makefile.am: as per gdt, specify the redhat dir as a DIST_SUBDIR, remove the redhat/... dist targets - instead these now go in.. redhat/Makefile.am: (new) proper place to describe redhat/ dist files, as well as allow quagga.spec to be regenerated properly. redhat/quagga.sysconfig: specify conf file location. redhat/quagga.spec.in: Add 2 patches to RPM build.
2004-01-082004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>gdt
* 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.
2004-01-06change perror to zlog_errgdt
2004-01-062004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>gdt
* 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.
2004-01-06increase buffer size for kernel readsgdt
2004-01-05move changelog section up higher.gdt
Add notion of commenting for reviewers and taking care to not break platforms one cannot test on.
2004-01-05Fix incorrect test in previous commit; thanks to Sowmini Varadhan forgdt
catching this.
2004-01-052004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>gdt
* 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.
2004-01-04Really ripngd should either leave groups on down interfaces, or keepgdt
track of on which interfaces joins have occurred. This is complicated by the possible lack of a clear behavior spec on whether interfaces keep their joined group lists across a down/up/down transition. (On NetBSD, they do.) 2004-01-03 Greg Troxel <gdt@ahi.ir.bbn.com> * ripng_interface.c (ripng_multicast_join): If IPV6_JOIN_GROUP returns EADDRINUSE, consider the join successful. This happens when an interface goes down and comes back because ripng_multicast_leave does not invoke the LEAVE_GROUP operation if the interface is down. Solves problem of ripng stopping working on an interface which goes down and then comes back up (on NetBSD).
2003-12-31Fix some threads related problems [quagga-dev 591].hasso
2003-12-302003-12-30 Paul Jakma <paul@dishone.st>paul
* redhat/isisd.init: new file, init script for isisd. redhat/quagga.sysconfig: new file, sysconfig file for quagga initscripts. redhat/quagga.spec.in: various cleanups, including sysconfig patch from RH, fixed UID/GID as per RH EL, shell changed to /sbin/nologin, daemon vty's listen to 127.1 only per default and isisd packaged. redhat/*.init: sysconfig support and runlevels specified.
2003-12-302003-12-30 Paul Jakma <paul@dishone.st>paul
* Makefile.am: put the redhat/ stuff into EXTRA_DIST rather than copying via dist-hook. Remove ~ files backup cruft from dists. isisd/Makefile.am: sysconf example should go via dist_examples_DATA. The include-netbsd/ headers werent mentioned as sources and werent being copied into dists.
2003-12-232003-12-23 Krzysztof Oledzki <oleq@ans.pl>gdt
* bgp_network.c: drop privs on error cases (from [quagga-dev 438])
2003-12-23Remove generated file.hasso
2003-12-23Some fixes to isisd done by me and Cougar in the spring of 2003. Seehasso
changelog for details.
2003-12-23Let's use 2608/tcp for isisd.jardin
2003-12-23Add .cvsignorehasso
2003-12-23Changelog entry about isisd integration. Sorry about previous commithasso
without message. Fingers worked faster than brain ;(.
2003-12-232607/tcp is already used by ospfapi.jardin
Let's use 2608/tcp for isisd.
2003-12-23*** empty log message ***hasso
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-23Initial revisionjardin
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