summaryrefslogtreecommitdiffstats
path: root/ripd
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-12-032-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgp_main.c: (sigint) Use zlog_notice for termination message. (main) Use zlog_notice for startup announcement. * isis_main.c: (sigint,sigterm) Use zlog_notice for termination message. (terminate) This function should be static, not global. (main) Use zlog_notice for startup announcement, and remove ifdef ZEBRA_VERSION. * version.h.in: Remove declaration for pid_output_lock, this function is now static, not global. * pid_output.c: (pid_output_lock) This function should be static, not global. And remove "old umask" error message, since it was really an unimportant debug message, not an error. (pid_output) Need to declare static function pid_output_lock. * ospf6_main.c: (sigint,sigterm) Use zlog_notice for termination message. (main) Remove commented-out call to pid_output_lock (which should never be called other than from inside pid_output). And use zlog_notice to print the startup message, which now includes the vty port. * ospf_main.c: (sigint) Use zlog_notice for termination message. (main) Issue a startup announcement using zlog_notice. * rip_main.c: (sigint) Use zlog_notice for termination message. (main) Add a startup announcement using zlog_notice. * ripng_main.c: (sighup) Remove spurious terminating message. (sigint) Use zlog_notice for termination message. (main) Issue a startup announcement using zlog_notice. * main.c: (sigint) Use zlog_notice for termination message. (main) Add a startup announcement using zlog_notice.
* Make group to run daemon as configurable. Fixes #2 from Bugzilla #64.hasso2004-11-252-5/+14
|
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-202-7/+7
| | | | | * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
* - Add .arch-ids and .arch-inventory to cvsignore, to allow one to use archpaul2004-11-021-0/+2
| | | | with CVS trees.
* 2004-10-22 Paul Jakma <paul@dishone.st>paul2004-10-223-133/+125
| | | | | | | | | | | | * ripd.c: Collapse redundant passing of various address structs, struct interface and struct connected as arguments to functions down to two key arguments, namely struct connected and, possibly, address of source/destination. Testing for RIPv1 would be useful. (rip_read) lookup struct connected for the received packet, pass it on. * rip_interface.c: With previous changes, we no longer have to tread carefully with struct connected, as it will always be there and valid.
* OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd,hasso2004-10-193-72/+88
| | | | ripd might need some more testing though.
* Make initializing smux connection configurable - "smux peer OID" commandhasso2004-10-132-7/+6
| | | | | initializes connection, and "no smux peer" command terminates it. Fixes bugzilla #47 and #112.
* Sync with changes in lib. Make more strings const.hasso2004-10-116-39/+44
|
* There is no warnings here any more.hasso2004-10-086-24/+30
|
* Fix compiler warning.hasso2004-09-262-0/+5
|
* Remove usage of evil list and listnode typedefs.hasso2004-09-233-21/+25
|
* 2004-09-17 Paul Jakma <paul@dishone.st>paul2004-09-172-0/+11
| | | | | | | | * ripngd/ripngd.c: move setsockopt_so_recvbuf to lib. * lib/sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd. * ripd/ripd.c: set receive buffer to a decent size, some systems have low defaults. Problem noted and fix suggested by Stephan Schweizer in [zebra 20967].
* Please, tell me truth about what debugging status you are displaying.hasso2004-08-311-1/+1
|
* 2004-08-19 Paul Jakma <paul@dishone.st>paul2004-08-194-7/+17
| | | | | | | | | * rip_interface.c: (rip_interface_multicast_set) get rid of extraneous if_pointopoint arg. ifp is accessible via connected. pass connected->ifp->ifindex to setsockopt_multicast_ipv4. * ripd.c: (rip_send_packet) update call to rip_interface_multicast_set * ripd.h: update rip_interface_multicast_set prototype
* (somewhat unrelated cleanups, but all are very minor)gdt2004-07-231-1/+1
| | | | | | | | | | | | | | | 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
* cvsignore *.libs in build dirspaul2004-07-091-0/+1
|
* Update cvsignore's for *.lo and *.la - libtool filespaul2004-07-091-0/+2
|
* Removing code which looked at current dir for config file before attemptinghasso2004-06-201-3/+2
| | | | to read system one.
* 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-06-112-2/+10
| | | | | | | | | | | | | | | | | | | | | | * 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-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
* CVS ignore Linux NFS silly-delete .nfs* filespaul2004-06-061-0/+1
|
* 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 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-313-21/+28
| | | | | * ripd.c: Fixup compile warnings * rip_routemap.c: Ditto
* 2004-05-08 Paul Jakma <paul@dishone.st>paul2004-05-083-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-05 Anthony.Golia@morganstanley.compaul2004-05-052-1/+21
| | | | | * ripd.c: (rip_update_jitter) Bound jitter to a more sensible value, eg 1/4 of update time.
* 2004-05-03 Paul Jakma <paul@dishone.st>paul2004-05-032-174/+178
| | | | | * ripd.c: (rip_rte_process) fix typo in merge of previous patch and run function through indent.
* 2004-03-19 Jean-Yves Simon <lethalwp@tiscali.be>paul2004-05-012-5/+24
| | | | | * ripd.c: make ripd also check on administrative distance of his own links to update routes.
* Readded SIGTERM handling into sigevent stuff. Fixes bugzilla #85.hasso2004-03-221-0/+4
|
* *** empty log message ***hasso2004-03-201-1/+1
|
* From Sowmini fix for crash reported in [quagga-dev 929].hasso2004-03-182-2/+8
|
* 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
* [quagga-dev 489] - fix ripd version send by Krzysztof Oledzki.hasso2004-03-032-3/+3
|
* "show ip rip" fix from Krzysztof Oledzki ([quagga-dev 437]).hasso2004-03-032-2/+6
|
* Fix typo in comment.hasso2004-02-221-1/+1
|
* 2004-01-23 sowmini.varadhan@sun.compaul2004-01-234-40/+129
| | | | | | | | | | | | | * 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-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.
* Add support for --enable-exampledir to specify where to place examplegdt2003-12-031-1/+2
| | | | | | | | 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 sowmini.varadhan@sun.compaul2003-11-171-5/+28
| | | | | * ripd/ripd.c: rip_output_process() fixup aspects of split-horizon route suppression. See [quagga-dev 429].
* 2003-11-17 Hasso Tepper <hasso@estpak.ee>paul2003-11-171-0/+2
| | | | | * ripd/ripd.c: rip_create_socket() privs were not dropped if bind failed.
* 2003-10-24 Paul Jakma <paul@dishone.st>paul2003-10-241-16/+4
| | | | | | | | | * 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-15 sowmini.varadhan@sun.compaul2003-10-153-46/+78
| | | | | | | | | | | | | | * ripd/ripd.c: (rip_send_packet) use rip->sock for mcast sends, instead of creating one socket per send. send source addr to rip_update_interface. (rip_update_process) should send an update on every connected network for each interface. (rip_request_send) should send a request on every connected network for each interface. * ripd/ripd.h: update prototype for rip_interface_multicast_set * ripd/rip_interface.c: (rip_interface_multicast_set) reorganized so that it can be called repeatedly for aliased interfaces (on multiple networks).
* 2003-09-29 Paul Jakma <paul@dishone.st>paul2003-09-293-2/+104
| | | | | | | | | | | | | | * 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-24 sowmini.varadhan@sun.compaul2003-09-231-0/+1
| | | | | | * rip_interface.c: (rip_interface_address_add) call rip_enable_apply(), or the interface is never considered up. see [quagga-dev 225].
* 2003-08-14 Paul Jakma <paul@dishone.st>paul2003-08-141-4/+7
| | | | | | | | | | | * zebra/main.c: Fixup ZEBRA_{GROUP,USER} defines -> QUAGGA_{USER,GROUP} * bgpd/bgp_main.c: ditto * ospf6d/ospf6_main.c: ditto * ospfd/ospf_main.c: ditto * ripd/rip_main.c: ditto * ripngd/ripng_main.c: ditto * zebra/main.c: ditto
* 2003-08-10 amir <amir@datacore.ch>paul2003-08-101-1/+1
| | | | | * Add missing 'i' to getopts, short form of --pid_file. see http://bugzilla.quagga.net/show_bug.cgi?id=25
* 2003-06-20 Paul Jakma <paul@dishone.st>paul2003-06-201-4/+6
| | | | * rip_interface.c: add 'default' to passive-interface command DEFUN
* 2003-06-19 Paul Jakma <paul@dishone.st>paul2003-06-191-3/+5
| | | | | * Fix lib/smux.c's reliance on daemons exporting struct thread_master *master.
* 2003-06-15 Paul Jakma <paul@dishone.st>paul2003-06-151-1/+1
| | | | | | | | * 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-08 Paul Jakma <paul@dishone.st>paul2003-06-082-6/+6
| | | | Compile and warning fixes for the ripd 'passive-interface default' patch.