summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2003-06-19 Paul Jakma <paul@dishone.st>paul2003-06-191-2/+1
| | | | | | * ospfd/ospf_packet.c: Fix typos, extra squiggly bracket. Note to self: in future make sure that when you test compile a change you actually have the relevant configure options enabled.
* 2003-06-19 Paul Jakma <paul@dishone.st>paul2003-06-191-11/+27
| | | | | * ospfd/ospf_packet.c: Update Hasso's hack slightly, add comment elaborating on Hasso's, use the SET/CHECK_FLAG macros.
* 2003-06-15 Paul Jakma <paul@dishone.st>paul2003-06-1515-60/+78
| | | | | | | | * 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-11 Paul Jakma <paul@dishone.st>paul2003-06-111-0/+4
| | | | * bgpd/ChangeLog: Update (wasnt commited with the fix)
* 2003-06-11 Paul Jakma <paul@dishone.st>paul2003-06-111-14/+21
| | | | | | * 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-09 Paul Jakma <paul@dishone.st>paul2003-06-091-10/+21
| | | | * bgp_clist.c (community_list_delete): honour deny statements
* 2003-06-08 Paul Jakma <paul@dishone.st>paul2003-06-082-6/+6
| | | | Compile and warning fixes for the ripd 'passive-interface default' patch.
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-071-256/+303
| | | | | * (bgp_clist.c): Run it through indent -nut (all indentation to be spaced, get rid of mix of tabs and spaces)
* From: Andrew J. Schorr <aschorr@telemetry-investments.com>paul2003-06-074-58/+51
| | | | | | | | | | | | | | | Subject: [zebra 12403] patch for ripd to accept any version of RIP by default The default Cisco IOS behavior is to send RIP version 1 packets and receive version 1 and version 2 packets. But zebra version 0.92a sends and receives only version 2 packets by default. I have patched the code to change zebra's default behavior to sending version 2 packets (same as before) but receiving both versions. While this is still not identical to Cisco's behavior, it does now accept packets of both versions and retains backwards compatibility with zebra configurations.
* From: Andrew J. Schorr <aschorr@telemetry-investments.com>paul2003-06-073-30/+73
| | | | | | | | | | | | | Subject: [zebra 12406] patch for ripd to support "passive-interface default" behavior In Cisco IOS, the router rip passive-interface subcommand can accept an interface name of "default". In that cases, all interfaces are set to be passive by default, and you must explicitly make it non-passive by using the "no passive-interface <ifname>" command if you want updates to go to that interface. <command implemented for zebra>
* 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-210/+208
| | | | | * (ospf_spf.c): Fix indentation - primarily the mix of tabs and spaces. Ran through indent -nut (GNU style, but only spaces for indentation)
* 2003-06-07 Paul Jakma <paul@dishone.st>paul2003-06-066-67/+19
| | | | | * Revert Cougar's sort interface names patch, causes problems with enabling of interfaces for OSPF in ospfd.
* 2003-06-7 kamatchi soundaram <kamatchi@tdd.sj.nec.com>paul2003-06-061-1/+32
| | | | | * (ospf_spf.c): Fix consideration of costs for PtP nexthops in ospf_nexthop_calculation().
* 2003-06-06 Paul Jakma <paul@dishone.st>paul2003-06-061-4/+3
| | | | * Fix up defaults for --enable-{user,group}
* 2003-06-06 Paul Jakma <paul@dishone.stpaul2003-06-061-6/+6
| | | | * Fix up case of --enable-vty-group not being specified
* Patch from Cougar - sort iflist by name.hasso2003-06-056-19/+67
|
* Unbreak router advertisment feature when using capabilities.hasso2003-06-051-0/+1
|
* Paul forgot probably to commit privs.[c|h] changes. Had to reorder includeshasso2003-06-043-44/+86
| | | | in zebra.h to make it compile in debian.
* 2003-06-04 Paul Jakma <paul@dishone.st>paul2003-06-0437-72/+681
| | | | * Merge of zebra privileges
* 2003-06-04 Paul Jakma <paul@dishone.st>paul2003-06-042-1099/+123
|\ | | | | | | | | | | | | | | | | | | | | | | | | * (configure.in): removed * (configure.ac): Fixes/cleanups backported from zprivs branch AC_DEFINE templates added, Indentation of nested macros, IPv6 checks changed from independent if..fi blocks to if...elif...fi., Merge piddir and ac_sockdir into one ac_statedir, Remove world writeable dirs as candidates for ac_statedir, ERROR out if no state dir is found or --localstatedir not specified,
| * Paul Jakma: merge_zprivs_head_4paul2003-06-043-25/+33
| |
| * Sync to HEADpaul2003-05-306-24/+176
| |
| * zebra/main.c: zebra only needs ZCAP_ADMIN (CAP_NET_SYS_ADMIN). Reported bypaul2003-05-301-3/+0
| | | | | | | | solar (using gsecurity) and confirmed here.
| * ripd/rip_main.c: From Rivo Nurgess, add u: flag to getopt.paul2003-05-292-2/+2
| | | | | | | | ripngd/ripng_main.c: ditto
| * bgpd/bgp_main.c: dont try be clever with .caps_p array initialisation.paul2003-05-281-5/+7
| |
| * zebra/rt_netlink.c: fix up error condition privs lowering.paul2003-05-282-9/+16
| |
| * lib/debug.c: should exit. otherwise programme will continue.paul2003-05-283-7/+34
| | | | | | | | ospfd/ospf_network.c: lower privs in error return cases.
| * Paul Jakma: remove acconfig.h (deprecated)paul2003-05-271-173/+0
| |
| * Rivo Nurgess:paul2003-05-2716-193/+307
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - privs ports for zebra/kernel_socket.c and zebra/ipforward_solaris.c - configure fix for VTY_GROUP. Paul Jakma: add lib/debug.? - lib/zebra.h,lib/debug.{c,h}: experimental glibc backtrace support - Little tweaks and fixes to lib/privs.? - ospfd/ospf_main.c: tweaks, add experimental backtrace suppor (glibc only) - Cleanup configure.ac IPv6 handling. - remove acconfig.h - update cvsignore's - tweaks to redhat spec file, add users/groups
| * Merge HEAD to zprivspaul2003-05-2655-1412/+5040
| |
| * Rivo Nurgess: privs support for ipforward_solaris.cpaul2003-05-251-0/+10
| |
| * Paul Jakma:paul2003-05-249-56/+132
| | | | | | | | Merge changes from HEAD
| * 2003-05-24: Paul Jakmapaul2003-05-2440-476/+2547
| | | | | | | | | | | | | | | | | | New branch: zprivs -> Work In Progress. Working on Linux with capabilities at the moment. Working to some extent on OpenBSD 3.3. Patches still to come for Solaris. Status of other platforms: unknown.
| * Import of Zebra CVS 20030428-18:07zebra.org.20030428paul2003-04-288-49/+96
| |
| * Import of Zebra CVS 20030404-03:35zebra.org.20030404paul2003-04-0424-367/+520
| |
| * Import of Zebra CVS 20030325-02:30zebra.org.20030325paul2003-03-2538-1753/+1945
| |
| * Import of Zebra CVS 20030301-11:30zebra.org.20030301paul2003-03-0123-3638/+7775
| |
| * Import of Zebra CVS 20030207-14:26zebra.org.20030207paul2003-02-075-4/+20
| |
| * Import of Zebra CVS 20030203-16:30zebra.org.20030203paul2003-02-0318-12695/+9640
| |
| * Import of Zebra CVS 20020117-13:15zebra.org.20030117paul2003-01-178-124/+225
| |
| * Imported Zebra CVS sourcespaul2002-12-130-0/+0
| |
* | 2003-06-04 Paul Jakma <paul@dishone.st>paul2003-06-041-3/+7
| | | | | | | | | | | | | | * (Makefile.am): doc should be a SUBDIR. Specify DIST_SUBDIRS to remove dependence of make dist on configure options. Add doc/mpls to EXTRA_DIST. redhat/ does not need a dist-hook, its already in SUBDIR. Remove CVS/ dir from the dist doc/.
* | Paul Jakma:paul2003-06-045-0/+54
| | | | | | | | | | | | 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
* | Paul Jakma: acconfig.h is deprecated.paul2003-06-041-173/+0
| |
* | Ignore dist tar filepaul2003-06-041-0/+1
| |
* | From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>merge.zprivs.head.4paul2003-06-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Subject: [zebra 19263] Another memory leak!! is zebra OSPF This memory leak gets into picture whenever any interface goes down. Problem found and desctription: Whenever the interface goes down, the "def_params" (member of ospf_if_info) structure memory is not freed. Fix made: added the following line to free the "def_params" memory of ospf_if_info before calling the "XFREE(MTYPE_OSPF_IF_INFO, ifp->info);" The added line is: ospf_del_if_params ((struct ospf_if_params *) IF_DEF_PARAMS (ifp));
* | From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>paul2003-06-041-3/+2
| | | | | | | | | | | | | | Subject: [zebra 19262] Re: Memory leak in OSPF Fix applied for Kamatchi's original report was to remove the auth_crypt initialisation from the wrong function. This should fix that.
* | From: kamatchi soundaram <kamatchi@tdd.sj.nec.com>paul2003-06-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subject: [zebra 19259] Memory leak in OSPF The detail of the memory leak follows: File name: ospf_interface.c Function name: ospf_if_new_hook(). Type of leak: Overwriting the already allocated memory. Problem found and description: The ospf_new_if_params() fn allocates a memory for "auth_crypt" which is overwritten, down in the fn (ospf_if_new_hook) by explicitely allocating a memory for the same "auth_crypt". Fix: remove allocation from ospf_new_if_params()