============================================================================ OpenSLP Change Log (tip) ------------------------- Please make entries to this log (in addition to the hg log) that describe major changes to the OpenSLP code base. An entries should be separated by blank lines and include the date, developer's email, and change description. ============================================================================= *** TAG openslp-2.0.0 *** 07/06/2013 John Calcote <john.calcote@gmail.com> Prepare for 2.0.0 release. Update ChangeLog, NEWS, configure.ac (version), etc. Tag as openslp-2.0.0 14/05/2013 nwagner@nwagner7-32132.etclink.net Added Robert Hegner's fixes to get slptool working again on Windows. 28/02/2013 John Calcote <john.calcote@gmail.com> glambert: Fix to win32 interface change notify code. 22/02/2013 John Calcote <john.calcote@gmail.com> A few tweaks to the Windows build system and the hgignore file. 25/01/2013 John Calcote <john.calcote@gmail.com> patch - snewton: fix slptool to honor -s scope list. 05/01/2013 Nick Wagner <nevyn@wingedbeast.org> Added OS X fix to allow response to multicast requests. 13/12/2012 Nick Wagner <nevyn@wingedbeast.org> I haven't done any testing yet, but now it compiles on OS X lion... 12/12/2012 John Calcote <john.calcote@gmail.com> Add basic unit test framework and a few tests for slp_compare.c; Thales buffer patch to fix SLPDLogMessage crash. Fix compiler errors from ticket #114 fix that were accidentally left out. 10/12/2012 John Calcote <john.calcote@gmail.com> Ticket #114: general improvements from Thales UK. Ticket #115: cross platform improvements (AIX/HPUX) 07/12/2012 John Calcote <john.calcote@gmail.com> SuSE patch: openslp.lifetime.diff; SuSE patch: openslp.slpdreconnect.diff; Fix windows build errors/warnings resulting from last set of linux patches. SuSE patch: openslp.loopbacksocket.diff; SuSE patch: openslp.fixdsareturn.diff; SuSE patch: openslp.doublequal.diff - allow double equal in predicates. SuSE patch: openslp.emptyanswer.diff - handle empty response. SuSE patch: openslp.checkovr.diff; SuSE patch: openslp.tcpclearovr.diff; SuSE patch: openslp.v1sladdr.diff - v1 message multicast listener; Suppress Linux warnings in (flex) generated code (gcc 4.2 or later). 06/12/2012 John Calcote <john.calcote@gmail.com> Fix all warnings on linux build (ubuntu 12.04); SuSE patch: poll.diff - use poll over select when available. version: update version and website in preparation for 2.0 release; Update .hgignore file to properly handle explicit file references 28/11/2012 John Calcote <john.calcote@gmail.com> win32: fix broken win32 build due to previous patches; Really add the .hgignore file this time. :); compac: dynamic network interface reinitialization; ibm: interface naming enhancements; ibm: interface speed enhancements; ibm: interface parsing improvements; Add .hgignore file to root of repo. 14/11/2012 jcalcote@users.sourceforge.net Convert some source files to unix line endings. SuSE patch: v1dadiscovery.diff 12/11/2012 jcalcote@users.sourceforge.net SuSE patch: openslp.audit.diff 10/11/2012 jcalcote@users.sourceforge.net SuSE patch: openslp.diff; SuSE patch: fix inadvertent compile error introduced with this patch. SuSE patch: slptool-timeout.diff; SuSE patch: openslp.clrflags.diff; SuSE patch: hppa.diff 06/11/2012 nick_wagner@users.sourceforge.net Addressed bug http://sourceforge.net/tracker/?func=detail&aid=1751139&group_id=1730&atid=101730. 02/11/2012 nick_wagner@users.sourceforge.net Added change to debian init.d to write a pid file, added in Jim Marshall's AIX building patches. 01/11/2012 jcalcote@users.sourceforge.net Fix AIX atomic - should calculate proper return value based on specified mod. 18/10/2012 jcalcote@users.sourceforge.net Enhance daemonizing code to daemonize before general initialization, close all file handles before detaching, and drop privileges after sockets are open. 12/10/2012 nick_wagner@users.sourceforge.net Merged in the ability to make MAX_SLP_IFACES. Patch supplied by David Stevens (dlstevens@us.ibm.com) 27/02/2012 rkraats@users.sourceforge.net Applied Dan Streetman's rename_memdup.patch to prevent conflicts with net-snmp (see http://sourceforge.net/tracker/?func=detail&aid=3481708&group_id=1730&atid=351730) 22/12/2011 gingerprince@users.sourceforge.net Fixed signed/unsigned mismatch warning as pointed out by Gerard van den Bosch [gerard@de-haardt.com] 17/11/2011 gingerprince@users.sourceforge.net change static buffer for loopback DAAdvert request to resize itself dynamically 15/11/2011 gingerprince@users.sourceforge.net update slp_buffer.c to check the result of the xrealloc 27/09/2011 jcalcote@users.sourceforge.net Remove metacharacter translation in java client. Update log4j library. 19/09/2011 nick_wagner@users.sourceforge.net Added support for experimental net.slp.preferSLPv1 conf parameter. We can now request slp attributes with the slpv1 command. Fixed several slpv1 related bugs, although we still won't be able to do many v1 requests. 01/08/2011 rkraats@users.sourceforge.net slptool now clears the net.slp.watchRegistrationPID property before calling 29/07/2011 jcalcote@users.sourceforge.net Added VS2010 solution and project files; updated code with minor changes to fix new warnings for VS2010. 25/07/2011 rkraats@users.sourceforge.net Use the same 'multi-unicast' method (see r1597) as findsrvs and findattrs for findsrvtypes. 14/06/2011 jcalcote@users.sourceforge.net Updated the doxygen doc logo to reflect the new website format. Modify download.html page to reflect 2.0 beta2 downloads. 13/06/2011 jcalcote@users.sourceforge.net 64-bit Windows msi installer builds: enhance build scripts. Upgrade win32 projects to VS 2008. Enhance projects to build amd64 builds. Enhance msi build scripts to copy build x64 msi files. 11/06/2011 jcalcote@users.sourceforge.net Minor typecasts and other changes required for a clean 64-bit windows build. Update WIX project files for building msi installer; changes for WIX 3.5. 08/06/2011 mlschroe@users.sourceforge.net - fix double free if SLPDKnownDAAdd() fails 07/06/2011 mlschroe@users.sourceforge.net - fix NetworkDisconnectSA/DA to work even if file descriptor zero 25/05/2011 rkraats@users.sourceforge.net Fixed bug introduced in r1597, causing 'slptool findsrvtypes' to fail in case another host acts as DA. 10/05/2011 rkraats@users.sourceforge.net Explicitly check for functions to set mutex recursive. 04/05/2011 jcalcote@users.sourceforge.net Tagging 2.0 beta2 release. 04/05/2011 rkraats@users.sourceforge.net Use stdout for log if log file couldn't be opened. 02/05/2011 alanadams@users.sourceforge.net Fix broken FAQ link. Clean up additional files orphaned by the latest web update. *** TAG 2.0.beta2 *** 02/05/2011 jcalcote@users.sourceforge.net Updated ChangeLog, NEWS, and AUTHORS in preparation for 2.0.0 beta 2 release. 02/05/2011 alanadams@users.sourceforge.net Web site update to apply consistent template across both the main site and documentation pages. Addition of print style sheet. Updated download buttons to be SF-style blocks. 01/05/2011 alanadams@users.sourceforge.net Web site update to apply consistent template across both the main site and documentation pages. Addition of print style sheet. Updated download buttons to be SF-style blocks. 27/03/2011 jcalcote@users.sourceforge.net Add libz and libdl as link dependencies to SLPv2 security option. Add m4 directory and move acinclude.m4 there, as per autoconf recommendations. Updated project website and documentation. 23/01/2011 nick_wagner@users.sourceforge.net My win32 change gave a warning I didn't like on OSX, so I changed it slightly Removed two items that were causing warnings on windows, and fixed a crash when the database is removing a service. 22/02/2011 c_varun@users.sourceforge.net slptool did not support dynamic registration with desired age field. This means registrations done using slptool would expire in default time 3 hours. This patch adds an optional switch to pass age parameter to fix the problem. If no options are specified then default timeout of 3 hours is taken. 22/02/2011 nick_wagner@users.sourceforge.net Fixed OSX build of thread.c 27/01/2011 c_varun@users.sourceforge.net The script fixes muticast issues when no address are set. The Problem was found and fixed by Pete Zannucci. I just came across a problem with the current version of openslp. It appears that the watchPID and Ager (slpd_database.c) code can leak memory and file descriptors. Could you check the latest code and see if the following has been addressed? These two changes need to be done in slpd_database.c otherwise the sfcbd process will keep allocating more fd's. BUG: (Fixed) REMOVE the incoming service and sockets, not just the database entry 23/12/2010 rim-tus@users.sourceforge.net Update courtesy of Roel van de Kraats to make recursive mutexes work in the absence of __USE_UNIX98. 22/12/2010 rim-tus@users.sourceforge.net Fix for a problem I saw when an attribute started with an escaped reserved character such as '(' (\28) - the daemon crashed. Problem with parsing for OPAQUE values - parser gets confused between OPAQUE values and strings starting with an escaped character, and thinks they're malformed OPAQUE values. Also, the parser was expecting an OPAQUE value to start with "\00", but the RFC says they should start with "\FF". 29/11/2010 nick_wagner@users.sourceforge.net Exposed -p to --help parameter 24/11/2010 rkraats@users.sourceforge.net Fixed some missing EOLs in DEBUG output. Make sure config.h is included everywhere by including it through slpd.h. Implemented SLPDIncomingSocketDump() and SLPDOutgoingSocketDump(). 15/11/2010 rkraats@users.sourceforge.net Added a boolean configuration option 'net.slp.useDHCP' (default 'true') to optionally disable using DHCP for DA and/or scope discovery. 11/11/2010 rkraats@users.sourceforge.net Fixed memory leak in SLPIfaceParseProc, introduced in r1646. Renamed SLPIfaceParseProc to SLPIfaceGetV6Addr, since it no longer uses /proc. Check for overflow of iface_count. Fixed compiler warning on unused 'fd'. 18/10/2010 c_varun@users.sourceforge.net This fixes a memory leak in slpd. Note from patch submitter: Pete There has been no growth since starting slpd. The fix appears to have corrected the leak.The pointer would need to be added to pNormalisedSrvtype would need to be either freed before leaving the Register call (if not stored indexed) or cleaned up by the Deregistration. The patch adds it to the structure to allow pNormalisedSrvtype to be freed in a consistent manner (whether indexed or non-indexed storage database storage is done) by the Deregistration code. 07/10/2010 jcalcote@users.sourceforge.net A better way of doing the circular extension check - thanks to Michael Schroeder. 06/10/2010 jcalcote@users.sourceforge.net Add an endless loop check to the extension parser for v2 messages. 04/10/2010 c_varun@users.sourceforge.net Major changes to include optional % parameters for slpd daemon to bind on ipv6 address. Further details are found in http://sourceforge.net/tracker/?func=detail&aid=3040496&group_id=1730&atid=101730 03/10/2010 c_varun@users.sourceforge.net Fixing the bug #1958388 Typo in code. Based on bug #2982506 08/09/2010 nick_wagner@users.sourceforge.net Committed slptool_lib.patch submitted by Varun_C to fix an slptool IPv6 issue. With multiple NICs, each bound to a different localhost address, slptool was having difficulty connecting to a server on the non-dominant interface. 01/09/2010 nick_wagner@users.sourceforge.net Made changes so Visual studio express 2005 would build openslp again. 31/08/2010 nick_wagner@users.sourceforge.net Added slp_network.c to libcommonslpd Added patch SLPRegPatchAug24 by Varun Chandramohan -- see the openslp.devel archives. It allows MTU to be greater than 1400 bytes. 23/08/2010 jcalcote@users.sourceforge.net Convert from use of __USE_UNIX98 to AC_USE_SYSTEM_EXTENSIONS. Fixed one warning. Ensure null scope list in SLPFindSrvs can't cause a crash. Added recursion to posix mutexs; added lock around sighup call in properties. 12/08/2010 nick_wagner@users.sourceforge.net Tweaked the darwin change again -- the linked list solution wasn't working well in all cases. At least the socket allocation isn't forced on all platforms. made the last fix to slpd_incoming.c Darwin only slpd_incoming.c IncomingDatagramRead() now chooses a unicast socket to send over if the receiving socket was listening to multicast. This fixes a bug on Snow Leopard, where those sendto's were failing with errno 49. 16/07/2010 rim-tus@users.sourceforge.net Update the slp.conf file comment to reflect the current protocol defaults correctly ie. IPv4 enabled and IPv6 disabled, and correct the incorrect case in the commented-out directives. Incorporate the conditional compilation of the code to switch to the "daemon" user. Taken from (part of) Matt Pendlebury's patch in bug report #3026763 15/07/2010 rim-tus@users.sourceforge.net Fix compile error when SLPv2 security is enabled, as reported in bug #2983069 Applied Anthony Tong's IPv6 patch from his forum posting in http://sourceforge.net/mailarchive/forum.php?thread_name=487B7A7B.7070308%40TrustedCS.com&forum_name=openslp-devel after discussion with Varun Chandramohan 10/05/2010 rim-tus@users.sourceforge.net Oops. Correct bug introduced in indexing updates that caused segfault when registering with no attributes 19/04/2010 rim-tus@users.sourceforge.net Just an update to the ChangeLog with the major Thales-submitted changes 15/03/2010 richard.morrell@uk.thalesgroup.com Update to introduce indexing of service types and attributes to improve search performance when the daemon has a large number (hundreds) of services. Indexing is optional, and controlled by the configuration file. Predicate searching has been refactored to pre-parse the predicate and the attributes, so even non-indexed searches should see a speed-up. 24/09/2008 richard.morrell@uk.thalesgroup.com Add an option to the slp.conf file whereby all DAs can be configured to regularly broadcast their presence (DA Advert) at a settable rate (dependent on the daemon's timer interval), and all DAs & SAs so configured will monitor the broadcasts, and remove a DA from the list of known DAs if three consecutive broadcasts are missed. 24/09/2008 richard.morrell@uk.thalesgroup.com Implement "multi-unicast" for IPv4 - find a spanning list of DAs that, together, support all the scopes, and search all of them by unicast in parallel. *** TAG OpenSLP-1.3.0 *** 03/02/2004 beastham@emware.com IPv6 support has been added to OpenSLP. It is generally transparent to the API user, but it would be a good idea to look at the conf file additions to acquaint yourself with the new settings available. beastham@emware.com *** TAG OpenSLP-1.2.1 *** 02/04/2005 jcalcote@novell.com Incorporated various bug fixes from SuSE and others. Updated Autotools files for version 1.5+ *** TAG OpenSLP-1.2.0 *** 02/24/2004 beastham@emware.com This release includes all of the code updates and feature changes up to 1.1.5. The 1.2 branch will concentrate on bug fixes and minor enhancements, while the 1.3 branch is where major enhancements and changes will be made. beastham@emware.com *** TAG OpenSLP-1.1.5 *** 08/20/2003 smhatre@cisco.com Fixes for the following 2 sourceforge bugs:- 790719 - openslp initscript symlink vulnerability 791210 - Multicast resposne overflow doesnt result in unicast query smhatre@cisco.com *** TAG OpenSLP-1.1.4 *** 07/15/2003 smhatre@cisco.com Support for SLP queries on multiple network interfaces from asigupta@cisco.com Support for SLP query through a unicast from smhatre@cisco.com *** TAG OpenSLP-1.1.3 *** 02/12/03 matt@sco.com Many very good bugfixes. Much very goog new DHCP code from jcalcote@novell.com 02/12/03 matt@sco.com Skipped 1.1.2 release to avoid any rumors that a 1.1.2 release was made unofficially. *** TAG OpenSLP-1.1.2 *** 08/31/02 aaron@clove.org Fixed parsing bug for service URL strings. Made the port default to 80. 08/21/02 aaron@clove.org Added support for Darwin 6.0 (Mac OS X 10.2) 06/11/02 matt@caldera.com Added support for the net.slp.DAHeartBeat setting 04/04/02 matt@caldera.com Added patch from Arun Barboza that makes attribute compares case insensitive as per RFC 2608 *** TAG OpenSLP-1.1.1 *** 02/22/02 matt@caldera.com Added fix from Arun Barboza to make V1 DAAdverts use the same encoding as the request 02/22/02 matt@caldera.com Added patch from Arun Barboza to handle "==" V1 predicates. This allows OpenSLP to be useful in servicing request in Novell NetWare environments. 02/13/02 matt@caldera.com Added PID monitoring. Now when the process that called SLPReg() (with SLP_REG_FLAG_WATCH_PID) dies the registration will automatically be deregistered. 01/25/2002 matt@caldera.com Added relevant fixes from the stable branch: - Applied patch from Garth Bushell that fixes a problem where not enough memory was being allocated to hold an escaped string in SLPEscape(). - Fixed some problems with multicast route handling code in the slpd startup script - Moved Win2000 specific defines inside #ifdef WIN32 - Changed slpd "daemonize" code to chdir() to "/" 01/24/2002 matt@caldera.com Changed the code in slpd_property.c to use the functions in slp_net.c and slp_iface.c to get interface and hostname information 01/24/2002 matt@caldera.com Moved URL parsing code to common code (slp_parse.c) and added a few network utility functions (slp_net.c). Modified slpd code so that DAs are contacted via the IP address in the DAAdvert not the source address of the datagram. *** Tag merged OpenSLP 1.0.6 *** 11/29/01 matt@caldera.com Finished the initial addition of all the new multicast code with significant help from Satya and Venu. *** Tag merged OpenSLP 1.0.5 *** *** Tag merged OpenSLP 1.0.4 *** *** Tag merged OpenSLP 1.0.3 *** *** Tag merged OpenSLP 1.0.2 *** 07/25/01 matt@caldera.com Fixed minor KnownDAEcho problem that resulted in some DAs not getting registrations. 07/25/01 matt@caldera.com Fixed init order so that LOCAL or (API registered) services will be preserved on reset or SIGHUP 07/25/01 matt@caldera.com Applied Michael Sweet's patch to configure.in that allows use of CFLAGS and LDFLAGS 07/25/01 matt@caldera.com Fixed parsing problem in SLPParseSrvURL() that could cause SEGV 07/23/01 matt@caldera.com Branched CVS into stable-1-0 and HEAD *** Tag OpenSLP 1.0.0 ****