summaryrefslogtreecommitdiffstats
path: root/zebra
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* [quagga-dev 1002]. Also fix date of previous commit in Chanelog.hasso2004-04-062-2/+13
|
* * Fixed lowering privileges in proc ipforward method.hasso2004-04-062-18/+43
| | | | | * Fixed "(no) ipv6 forwarding" command logic. * Added --disable-capabilities switch to configure.
* Readded SIGTERM handling into sigevent stuff. Fixes bugzilla #85.hasso2004-03-221-0/+4
|
* Temorary secondary-label fix. Real fix from Gilad will follow after release.hasso2004-03-182-0/+29
|
* 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
* Fix help. "ipv6 ..." commands are for IPv6.hasso2004-03-111-2/+2
|
* Fix warning. Approved by Amir.hasso2004-03-041-1/+1
|
* Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGERhasso2004-03-043-1/+14
| | | | from vtysh ([quagga-dev 932]).
* Added "ipv6 forwarding" command and fixed "no ipv6 forwarding" help.hasso2004-02-112-2/+24
|
* 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.
* 2004-01-08 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-01-082-9/+21
| | | | | | | * 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.
* change perror to zlog_errgdt2004-01-062-2/+9
|
* 2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>gdt2004-01-062-94/+77
| | | | | | | | | * 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.
* increase buffer size for kernel readsgdt2004-01-062-1/+16
|
* Fix incorrect test in previous commit; thanks to Sowmini Varadhan forgdt2004-01-051-2/+1
| | | | catching this.
* 2004-01-05 Greg Troxel <gdt@ahi.ir.bbn.com>gdt2004-01-052-9/+127
| | | | | | | | | * 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.
* Merge isisd into the Quagga's framework:jardin2003-12-232-2/+17
| | | | | | | | | | - 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.
* reorder includes to avoid warning.gdt2003-12-032-1/+6
| | | | fixes rest of bug #62
* Add support for --enable-exampledir to specify where to place examplegdt2003-12-031-1/+3
| | | | | | | | 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 Jay Fenlason <fenlason@redhat.com>paul2003-11-171-0/+7
| | | | | | * zebra/rt_netlink.c: netlink_parse_info() ignore messages which are not from kernel. Reported to RH by Herbert Xu. See http://rhn.redhat.com/errata/RHSA-2003-307.html and CAN-2003-0858.
* 2003-11-02 Krzysztof Oledzki <oleq@ans.pl>paul2003-11-021-0/+2
| | | | | | * zebra/zebra_rib.c: Revert patch (dating from zebra.org) which caused zebra to read all routes in all tables, rather than just the main table. See [quagga-dev 280].
* 2003-10-27 Gilad Arnold <gilad.arnold@terayon.com>paul2003-10-281-7/+13
| | | | | | | | | * zebra/zebra_rib.c: (nexthop_active_update) Check for multipath limit when setting changed flag to avoid spurious changes. (static_install_ipv{4,6}) dont uninstall by default, might not be required - avoid spurious uninstalls. (static_uninstall_ipv{4,6}) only uninstall the route if its actually FIB route.
* 2003-10-24 Paul Jakma <paul@dishone.st>paul2003-10-241-15/+3
| | | | | | | | | * 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-22 Paul Jakma <paul@dishone.st>paul2003-10-221-4/+12
| | | | | | * zebra/kernel_socket.c: HAVE_IPV6 conditional for WRAPUP when HAVE_SA_LEN is not defined. bcopy -> memcpy, bcopy is not portable.
* 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-2/+2
| | | | | * lib/regex.c: bzero -> memset * zebra/ioctl.c: ditto. bzero is not portable.
* 2003-10-13 Douglas Fraser <doug+quagga@idmf.net>paul2003-10-131-2/+2
| | | | | * zebra/connected.c: PtP revert fixup. Zebra was not creating connected route for PtP peer.
* 2003-10-07 Tarhon-Onu Victor <mituc@iasi.rdsnet.ro>quagga_0_96_3_releasepaul2003-10-071-0/+2
| | | | | * zebra/ipforward_proc.c: (ipforward) Close the fd for /proc/net/snmp. See [quagga-dev 284]
* 2003-09-29 Gilad Arnold <gilad.arnold@terayon.com>paul2003-09-291-0/+3
| | | | | | * zebra/zebra_rib.c: Fix possible dangling reference to rib route_nodes - unlock it the appropriate number of times. (twice, because of the implicit lock). see [quagga-dev 251].
* 2003-09-29 Paul Jakma <paul@dishone.st>paul2003-09-292-34/+34
| | | | | | | | | | | | | | * 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-241-7/+54
| | | | | | | | | * zebra/kernel_socket.c: Fix up WRAPUP macro to deal with multiple address families in the absence of sa_len element in struct sockaddr. (ifm_read): Handle solaris 9 if_msghdr_t. Deal with interfaces which are incomplete, lookup on name rather than the placeholder interface index of -1.
* 2003-08-27 Jay Fenlason <fenlason@redhat.com>paul2003-08-271-0/+1
| | | | | | | * bgpd/bgp_routemap.c: attr->med is type u_in32_t, should be compared with UINT32_MAX * ospfd/ospfd.c: remove redundant assert * zebra/rtadv.c: add missing include for zebra/rib.h
* 2003-08-27 Jay Fenlason <fenlason@redhat.com>paul2003-08-271-3/+3
| | | | | * lib/Makefile.am: Do not use a lib (libcap) as a dependency * zebra/Makefile.am: Link in libcap
* 2003-08-14 Paul Jakma <paul@dishone.st>paul2003-08-141-3/+3
| | | | | | | | | | | * 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-08-01 Cougar <cougar@random.ee>paul2003-08-011-2/+1
| | | | | | | | | | | | | | * 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-15 Paul Jakma <paul@dishone.st>paul2003-07-154-613/+665
| | | | | | | | | | | | | | | | | | | | | | | | * 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-12 Matthias Ferdinand <mferd@sanet.de>paul2003-07-121-1/+2
| | | | | | | * zebra/if_proc.c: zebra does not close the file after reading /proc/net/dev for retrieving interface names and statistics. call fclose(fp) before returning from ifstat_update_proc() or interface_list_proc()
* 2003-06-11 Paul Jakma <paul@dishone.st>paul2003-07-111-0/+1
| | | | | | * zebra/if_ioctl.c: Fix missing declaration for if_fake_index. See bug id #24: http://bugzilla.dishone.st/show_bug.cgi?id=24 reported by Vsevolod Sipakov.
* 2003-07-8 Chris Andrews <chris@nodnol.org>paul2003-07-082-6/+7
| | | | | | | * 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-19 Vladimir Ivaschenko <hazard@francoudi.com>paul2003-06-192-0/+41
| | | | | | | * zebra/rt_netlink.c: Debug statements added to netlink_route_multipath() * zebra/zebra_rib.c: If route has a gateway, delete only existing route with that specified gateway.
* 2003-06-19 Paul Jakma <paul@dishone.st>paul2003-06-191-1/+4
| | | | | * Fix lib/smux.c's reliance on daemons exporting struct thread_master *master.
* 2003-06-15 Paul Jakma <paul@dishone.st>paul2003-06-157-49/+60
| | | | | | | | * 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-12 Paul Jakma <paul@dishone.st>paul2003-06-121-0/+5
| | | | | | | | | * zebra/ioctl.c: Properly zero-out struct ifreq before passing it to the SIOCSIFFLAGS ioctl(2), so that it doesn't occasionally trigger promisc mode on interface. Reported/tested by: Vladimir B. Grebenschikov <vova@sw.ru> (patch snarfed taken from FreeBSD ports)
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-071-3/+0
| | | | | | | | | | | | | | * (zebra/rtadvc.): can not set checksum for ICMPV6, see: From: Jun-ichiro itojun Hagino <itojun@iijlab.net> Subject: [zebra 11052] setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket setsockopt(IPV6_CHECKSUM) does not work for ICMPv6 socket. RFC2292 may not be clear enough about it (it talks about raw socket and ICMPv6 socket mixed up), but the next revision (draft-ietf-ipngwg-rfc2292bis-02.txt) is very clear about it. > An attempt to set IPV6_CHECKSUM for an ICMPv6 socket will fail.
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-061-1/+2
| | | | | * Revert Cougar's sort interface names patch, causes problems with enabling of interfaces for OSPF in ospfd.
* Patch from Cougar - sort iflist by name.hasso2003-06-051-2/+1
|
* Unbreak router advertisment feature when using capabilities.hasso2003-06-051-0/+1
|