openslp-users Mailing List for OpenSLP (Page 2)
Brought to you by:
jcalcote
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(10) |
Jun
(5) |
Jul
(2) |
Aug
(3) |
Sep
(7) |
Oct
(10) |
Nov
(3) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
|
Feb
(6) |
Mar
(1) |
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(5) |
Aug
(10) |
Sep
(6) |
Oct
(26) |
Nov
(3) |
Dec
(1) |
2002 |
Jan
(9) |
Feb
(8) |
Mar
(5) |
Apr
(1) |
May
(12) |
Jun
(6) |
Jul
(8) |
Aug
(9) |
Sep
(12) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
2003 |
Jan
(8) |
Feb
(13) |
Mar
(17) |
Apr
(7) |
May
|
Jun
(7) |
Jul
(2) |
Aug
(9) |
Sep
(4) |
Oct
(9) |
Nov
|
Dec
(2) |
2004 |
Jan
(5) |
Feb
(3) |
Mar
(3) |
Apr
(4) |
May
(7) |
Jun
(2) |
Jul
(2) |
Aug
(6) |
Sep
(9) |
Oct
(5) |
Nov
(7) |
Dec
(10) |
2005 |
Jan
(3) |
Feb
(3) |
Mar
(2) |
Apr
(1) |
May
(4) |
Jun
(9) |
Jul
(10) |
Aug
(6) |
Sep
(9) |
Oct
(4) |
Nov
(5) |
Dec
(1) |
2006 |
Jan
(3) |
Feb
(1) |
Mar
(33) |
Apr
|
May
(1) |
Jun
(13) |
Jul
(14) |
Aug
(10) |
Sep
(13) |
Oct
(19) |
Nov
(17) |
Dec
(13) |
2007 |
Jan
(12) |
Feb
(34) |
Mar
|
Apr
|
May
(3) |
Jun
(5) |
Jul
(7) |
Aug
(9) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(5) |
Feb
(6) |
Mar
|
Apr
(3) |
May
(16) |
Jun
|
Jul
(1) |
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(8) |
Jul
(9) |
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
(1) |
2010 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(20) |
Aug
(10) |
Sep
(31) |
Oct
|
Nov
|
Dec
(8) |
2012 |
Jan
(7) |
Feb
|
Mar
(4) |
Apr
(11) |
May
(5) |
Jun
|
Jul
|
Aug
(6) |
Sep
(4) |
Oct
(33) |
Nov
(5) |
Dec
(1) |
2013 |
Jan
(19) |
Feb
(6) |
Mar
(1) |
Apr
(1) |
May
(11) |
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(5) |
Oct
|
Nov
(3) |
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(3) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2023 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sekhar, R. <rad...@em...> - 2013-07-03 05:20:04
|
We are using OpenSLP 2.0.0. We are interested in 2.0 primarily because of the support for broadcast since we will be eventually running in a proprietary network that does not yet support multicast. We have found that we can't get broadcast to work, and we are interested in others' experience with it. What we have tried so far 1. We are using a simple two-node configuration; the machines are configured to see each other. 2. Compiled and installed SLP 2.0, and set the broadcast address in slp.conf to observe if a registration is relayed and visible to all on both nodes. 3. We looked at a tcpdump output, but we did not see any packets directed to the broadcast address when a service registered to SLP on one of the nodes. i. Query on either node for the registered service doesn't see it. 4. We found something of interest in the patch for the issue detailed here http://sourceforge.net/p/openslp/bugs/127/. We tried to apply it, but it is available only for SLP versions 1.2 and 1.3 . We could not find an associated patch for 2.0 (presumably since 2.0 already has broadcast support). Has anyone being using 2.0 successful with broadcast mode? If you are, please share your experience. Thank you very much. Dave Mclellan and Radha Sekhar |
From: Sekhar, R. <rad...@em...> - 2013-07-03 05:17:06
|
We are using OpenSLP 2.0.0. We are interested in 2.0 primarily because of the support for broadcast since we will be eventually running in a proprietary network that does not yet support multicast. We have found that we can't get broadcast to work, and we are interested in others' experience with it. What we have tried so far 1. We are using a simple two-node configuration; the machines are configured to see each other. 2. Compiled and installed SLP 2.0, and set the broadcast address in slp.conf to observe if a registration is relayed and visible to all on both nodes. 3. We looked at a tcpdump output, but we did not see any packets directed to the broadcast address when a service registered to SLP on one of the nodes. i. Query on either node for the registered service doesn't see it. 4. We found something of interest in the patch for the issue detailed here http://sourceforge.net/p/openslp/bugs/127/. We tried to apply it, but it is available only for SLP versions 1.2 and 1.3 . We could not find an associated patch for 2.0 (presumably since 2.0 already has broadcast support). Has anyone being using 2.0 successful with broadcast mode? If you are, please share your experience. Thank you very much. Dave Mclellan and Radha Sekhar |
From: John C. <joh...@gm...> - 2013-06-08 06:02:32
|
We're excited to announce the long-awaited release of OpenSLP 2.0.0. Sourceforge.net has been updated with new 2.0.0 download packages (tar.gz source and doxygen tarballs), as well as Windows x86 and x64 msi installer packages. http://sourceforge.net/projects/openslp Enjoy! |
From: Nick W. <ne...@wi...> - 2013-05-14 16:16:04
|
Thanks, Robert, for your work in tracking this down. I've applied the patches, revision 1767, assuming I used mercurial correctly. :) --Nick On Tue, May 14, 2013 at 1:51 AM, Robert Hegner <rh...@hs...> wrote: > When I checked the return value of WSAGetLastError() yesterday I forgot to > start slpd before. I'm sorry for the confusion. > > When slpd is running, WSAGetLastError() returns 10040 (WSAEMSGSIZE). This > return value seems to be expected and is explicitly ignored in the code. > But then, since xferbytes is -1, the new condition on line 298 fails > (talking about the latest revision 1766 now). > > So since under Windows this error is expected, and since this error says > that we received more than the 16 bytes we're interested in, we could just > set xferbytes to 16 in this case, right? Attached you can find my updated > patches. > > That this didn't cause any problems with findsrvs is strange indeed. For > registering, SLPNetworkRecvMessage() was called five times, and then > slptool returned with -19. For findsrvs, SLPNetworkRecvMessage() was also > called five times and also failed to meet the condition on line 298 every > time, but finally slptool returned the services. Strange... > > > > Am 13.05.2013 17:59, schrieb Nick Wagner: > >> What is confusing me here is why this only happens when registering? An >> slptool findsrvs doesn't appear to exhibit the problem. >> >> >> On Mon, May 13, 2013 at 10:22 AM, Robert Hegner >> <rh...@hs... >> <mailto:rh...@hs...>> wrote: >> >> Yes I guess your fix for slptool makes more sense. >> >> WSAGetLastError() returns 10054 (WSAECONNRESET) >> >> http://msdn.microsoft.com/en-**us/library/windows/desktop/** >> ms740668%28v=vs.85%29.aspx<http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx> >> >> >> >> >> Am 13.05.2013 17:07, schrieb Nick Wagner: >> > What is WSAGetLastError returning when you see the recvfrom error? >> > >> > And as far as the first patch goes, I believe Jon's intent was to >> check >> > for an empty string, not just a null pointer. So I would try: >> > >> > if ((cmdline->scopes != 0) && (*cmdline->scopes != 0)) >> > SLPSetProperty("net.slp.**useScopes", cmdline->scopes); >> > >> > >> > >> > >> > >> > On Mon, May 13, 2013 at 7:30 AM, Robert Hegner >> > <rh...@hs... >> <mailto:rh...@hs...> >> > <mailto:rh...@hs... >> >> <mailto:rh...@hs...>>> wrote: >> > >> > Ok I spent some more hours on this issue. I can successfully >> run >> > revisions 1715 to 1731. But with revision 1732 I get the >> error -19. >> > Revision 1732 contains some changes in slp_network.c (among >> others). >> > Below you can see how SLPNetworkRecvMessage() (in >> slp_network.c) >> > behaves in revision 1731 and 1732: >> > >> > Revision 1732: >> > - select() on line 237 returns 1 >> > - recvfrom() on line 243 returns -1 >> > - therefore the condition on line 276 is false and >> > SLPNetworkRecvMessage() sets errno to EINVAL and returns -1 >> > >> > Revision 1731: >> > - select() on line 237 returns 1 >> > - recvfrom() on line 243 returns -1 >> > - but now on line 276 the condition is true since it does not >> check >> > xferbytes as in revision 1732. SLPNetworkRecvMessage() then >> > continues without causing any errors. >> > >> > I don't know what the intention of the changes of revision >> 1732 was. >> > And I don't know if recvfrom() on line 243 should not return >> -1 to >> > begin with, or if the condition on line 276 in revision 1732 is >> > incorrect. But I think someone should have a closer look at >> > SLPNetworkRecvMessage() again. >> > >> > Attached you can find my suggested patches based on the latest >> > Mercurial revision. With these patches it works for me. >> > >> > >> > >> > Am 13.05.2013 09:29, schrieb Robert Hegner: >> > >> > I also did some more investigation on the second issue >> (error >> > code -19). >> > >> > When I use the beta 2 installer, it seems to work (I can >> register a >> > service using slptool without getting the -19 error). >> > >> > Then I stopped slpd and replaced the binaries with the >> ones I >> > built from >> > the latest Mercurial revision (cdaeb8) and restarted >> slpd. Then >> > I got >> > the -19 error again. >> > >> > Then I uninstalled OpenSLP, built the installer with the >> latest >> > Mercurial revision, and installed it with my own installer >> > again. Also >> > in this case I get the -19 error. >> > >> > So for me this looks like I can confirm the problem that >> Ren >> > described >> > in January (he suspected that a problem was introduced >> somewhere >> > between >> > beta 2 and the current revision). >> > >> > >> > >> > Am 10.05.2013 13:56, schrieb Robert Hegner: >> > >> > Hello, >> > >> > I've been using OpenSLP in my project for a while >> now. This >> > week I set >> > up a new computer (Windows 7 64Bit) and I tried to >> build and >> > run my >> > application and OpenSLP on this new machine with >> VC++2010. >> > Even though I >> > have a 64Bit OS I'm building OpenSLP as a 32Bit >> application, >> > since my >> > own application is also 32Bit. >> > >> > First I tried the latest version from the Mercurial >> > repository (cdaeb8). >> > I was able to build it and slpd seems to work, since >> > slptool findsrvs service:service-agent >> > returns one entry with my IP address. However, when I >> try this: >> > slptool register service:myserv.x://myhost.com >> <http://myhost.com> >> > <http://myhost.com> >> > (as in the examples of slptool), I get an access >> violation >> > (Unhandled >> > exception at 0x00401643 in slptool.exe: 0xC0000005: >> Access >> > violation >> > reading location 0x00000000.) >> > >> > Then I tried an older version (the latest version >> from the SVN >> > repository, rev. 1701). I can also build and install >> slpd, >> > and I can >> > also find the service-agent. But when I try to >> register a >> > service using >> > slptool I get error code -19. As far as I know this >> > indicates a problem >> > with the communication between slpd and slptool, right? >> > However, slpd >> > seems to be running (otherwise I wouldn't find the >> > service-agent). So I >> > guess it is a problem with missing privileges or a >> firewall >> > problem. >> > What rules do I need in the Windows Firewall to get >> OpenSLP >> > to work? (do >> > I need rules for slpd or slptool?, ingoing or outgoing? >> > which port and >> > protocol?). Unfortunately I cannot completely disable >> the >> > firewall for a >> > test due to group policies, but I can add rules. >> > >> > Any hints on how to solve or debug at least one of >> these >> > problems would >> > be much appreciated! >> > >> > Cheers, >> > Robert >> > >> > >> > >> ------------------------------**__----------------------------** >> --__------------------ >> > Learn Graph Databases - Download FREE O'Reilly Book >> > "Graph Databases" is the definitive new guide to graph >> > databases and >> > their applications. This 200-page book is written by >> three >> > acclaimed >> > leaders in the field. The early access version is >> available now. >> > Download your free book today! >> > http://p.sf.net/sfu/neotech___**d2d_may<http://p.sf.net/sfu/neotech___d2d_may> >> > <http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >> > >> > >> > >> > >> > >> > >> ------------------------------**__----------------------------** >> --__------------------ >> > Learn Graph Databases - Download FREE O'Reilly Book >> > "Graph Databases" is the definitive new guide to graph >> databases and >> > their applications. This 200-page book is written by >> three acclaimed >> > leaders in the field. The early access version is >> available now. >> > Download your free book today! >> > http://p.sf.net/sfu/neotech___**d2d_may<http://p.sf.net/sfu/neotech___d2d_may> >> > <http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >> > >> > >> > >> > >> > >> ------------------------------**------------------------------** >> ------------------ >> > Learn Graph Databases - Download FREE O'Reilly Book >> > "Graph Databases" is the definitive new guide to graph >> databases and >> > their applications. This 200-page book is written by three >> acclaimed >> > leaders in the field. The early access version is available >> now. >> > Download your free book today! >> http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >> > ______________________________**_________________ >> > Openslp-users mailing list >> > Openslp-users@lists.**sourceforge.net<Ope...@li...> >> <mailto:Openslp-users@lists.**sourceforge.net<Ope...@li...> >> > >> > >> <mailto:Openslp-users@lists.**sourceforge.net<Ope...@li...> >> >> <mailto:Openslp-users@lists.**sourceforge.net<Ope...@li...> >> >> >> > https://lists.sourceforge.net/**lists/listinfo/openslp-users<https://lists.sourceforge.net/lists/listinfo/openslp-users> >> > >> > >> > >> > >> > >> ------------------------------**------------------------------** >> ------------------ >> > Learn Graph Databases - Download FREE O'Reilly Book >> > "Graph Databases" is the definitive new guide to graph databases >> and >> > their applications. This 200-page book is written by three >> acclaimed >> > leaders in the field. The early access version is available now. >> > Download your free book today! http://p.sf.net/sfu/neotech_** >> d2d_may <http://p.sf.net/sfu/neotech_d2d_may> >> > >> > >> > >> > ______________________________**_________________ >> > Openslp-users mailing list >> > Openslp-users@lists.**sourceforge.net<Ope...@li...> >> <mailto:Openslp-users@lists.**sourceforge.net<Ope...@li...> >> > >> > https://lists.sourceforge.net/**lists/listinfo/openslp-users<https://lists.sourceforge.net/lists/listinfo/openslp-users> >> > >> >> >> >> ------------------------------**------------------------------** >> ------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >> their applications. This 200-page book is written by three acclaimed >> leaders in the field. The early access version is available now. >> Download your free book today! http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >> ______________________________**_________________ >> Openslp-users mailing list >> Openslp-users@lists.**sourceforge.net<Ope...@li...> >> <mailto:Openslp-users@lists.**sourceforge.net<Ope...@li...> >> > >> https://lists.sourceforge.net/**lists/listinfo/openslp-users<https://lists.sourceforge.net/lists/listinfo/openslp-users> >> >> >> >> >> ------------------------------**------------------------------** >> ------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >> their applications. This 200-page book is written by three acclaimed >> leaders in the field. The early access version is available now. >> Download your free book today! http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >> >> >> >> ______________________________**_________________ >> Openslp-users mailing list >> Openslp-users@lists.**sourceforge.net<Ope...@li...> >> https://lists.sourceforge.net/**lists/listinfo/openslp-users<https://lists.sourceforge.net/lists/listinfo/openslp-users> >> >> > > > ------------------------------------------------------------------------------ > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users > > |
From: Robert H. <rh...@hs...> - 2013-05-14 14:35:16
|
I'm happy to see that in recent revisions some progress has been made towards the automatic (re-)initialization of the available network interfaces. When I started using OpenSLP the lack of this feature caused me quite some troubles. As a workaround I periodically scan the available network interfaces in my own application, and then restart slpd when something changes. However meanwhile on some computers there is a second application using SLP so I can't use this workaround anymore. So I experimented a little bit with the latest revision of OpenSLP. Here is what I noticed: 1) Under Windows the re-initialization is initiated automatically, but under Linux I need to send SIGHUP to slpd. It would be really nice if also under Linux this happened automatically. However I'm afraid my Linux networking skills and my knowledge of the OpenSLP codebase are probably not sufficient to implement this by myself and provide a patch. 2) I noticed (under Linux) that slpd terminates itself when no more network connections are available and it gets a SIGHUP. This means it cannot recover when network is available again. For me as a user of the library it would be best if slpd was running all the time and if it accepted service registrations even if no network is available (and then publishes these services on all interfaces, as soon as they become available). |
From: Robert H. <rh...@hs...> - 2013-05-14 06:51:57
|
When I checked the return value of WSAGetLastError() yesterday I forgot to start slpd before. I'm sorry for the confusion. When slpd is running, WSAGetLastError() returns 10040 (WSAEMSGSIZE). This return value seems to be expected and is explicitly ignored in the code. But then, since xferbytes is -1, the new condition on line 298 fails (talking about the latest revision 1766 now). So since under Windows this error is expected, and since this error says that we received more than the 16 bytes we're interested in, we could just set xferbytes to 16 in this case, right? Attached you can find my updated patches. That this didn't cause any problems with findsrvs is strange indeed. For registering, SLPNetworkRecvMessage() was called five times, and then slptool returned with -19. For findsrvs, SLPNetworkRecvMessage() was also called five times and also failed to meet the condition on line 298 every time, but finally slptool returned the services. Strange... Am 13.05.2013 17:59, schrieb Nick Wagner: > What is confusing me here is why this only happens when registering? An > slptool findsrvs doesn't appear to exhibit the problem. > > > On Mon, May 13, 2013 at 10:22 AM, Robert Hegner > <rh...@hs... > <mailto:rh...@hs...>> wrote: > > Yes I guess your fix for slptool makes more sense. > > WSAGetLastError() returns 10054 (WSAECONNRESET) > > http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx > > > > > Am 13.05.2013 17:07, schrieb Nick Wagner: > > What is WSAGetLastError returning when you see the recvfrom error? > > > > And as far as the first patch goes, I believe Jon's intent was to > check > > for an empty string, not just a null pointer. So I would try: > > > > if ((cmdline->scopes != 0) && (*cmdline->scopes != 0)) > > SLPSetProperty("net.slp.useScopes", cmdline->scopes); > > > > > > > > > > > > On Mon, May 13, 2013 at 7:30 AM, Robert Hegner > > <rh...@hs... > <mailto:rh...@hs...> > > <mailto:rh...@hs... > <mailto:rh...@hs...>>> wrote: > > > > Ok I spent some more hours on this issue. I can successfully run > > revisions 1715 to 1731. But with revision 1732 I get the > error -19. > > Revision 1732 contains some changes in slp_network.c (among > others). > > Below you can see how SLPNetworkRecvMessage() (in slp_network.c) > > behaves in revision 1731 and 1732: > > > > Revision 1732: > > - select() on line 237 returns 1 > > - recvfrom() on line 243 returns -1 > > - therefore the condition on line 276 is false and > > SLPNetworkRecvMessage() sets errno to EINVAL and returns -1 > > > > Revision 1731: > > - select() on line 237 returns 1 > > - recvfrom() on line 243 returns -1 > > - but now on line 276 the condition is true since it does not > check > > xferbytes as in revision 1732. SLPNetworkRecvMessage() then > > continues without causing any errors. > > > > I don't know what the intention of the changes of revision > 1732 was. > > And I don't know if recvfrom() on line 243 should not return > -1 to > > begin with, or if the condition on line 276 in revision 1732 is > > incorrect. But I think someone should have a closer look at > > SLPNetworkRecvMessage() again. > > > > Attached you can find my suggested patches based on the latest > > Mercurial revision. With these patches it works for me. > > > > > > > > Am 13.05.2013 09:29, schrieb Robert Hegner: > > > > I also did some more investigation on the second issue (error > > code -19). > > > > When I use the beta 2 installer, it seems to work (I can > register a > > service using slptool without getting the -19 error). > > > > Then I stopped slpd and replaced the binaries with the ones I > > built from > > the latest Mercurial revision (cdaeb8) and restarted > slpd. Then > > I got > > the -19 error again. > > > > Then I uninstalled OpenSLP, built the installer with the > latest > > Mercurial revision, and installed it with my own installer > > again. Also > > in this case I get the -19 error. > > > > So for me this looks like I can confirm the problem that Ren > > described > > in January (he suspected that a problem was introduced > somewhere > > between > > beta 2 and the current revision). > > > > > > > > Am 10.05.2013 13:56, schrieb Robert Hegner: > > > > Hello, > > > > I've been using OpenSLP in my project for a while > now. This > > week I set > > up a new computer (Windows 7 64Bit) and I tried to > build and > > run my > > application and OpenSLP on this new machine with > VC++2010. > > Even though I > > have a 64Bit OS I'm building OpenSLP as a 32Bit > application, > > since my > > own application is also 32Bit. > > > > First I tried the latest version from the Mercurial > > repository (cdaeb8). > > I was able to build it and slpd seems to work, since > > slptool findsrvs service:service-agent > > returns one entry with my IP address. However, when I > try this: > > slptool register service:myserv.x://myhost.com > <http://myhost.com> > > <http://myhost.com> > > (as in the examples of slptool), I get an access > violation > > (Unhandled > > exception at 0x00401643 in slptool.exe: 0xC0000005: > Access > > violation > > reading location 0x00000000.) > > > > Then I tried an older version (the latest version > from the SVN > > repository, rev. 1701). I can also build and install > slpd, > > and I can > > also find the service-agent. But when I try to register a > > service using > > slptool I get error code -19. As far as I know this > > indicates a problem > > with the communication between slpd and slptool, right? > > However, slpd > > seems to be running (otherwise I wouldn't find the > > service-agent). So I > > guess it is a problem with missing privileges or a > firewall > > problem. > > What rules do I need in the Windows Firewall to get > OpenSLP > > to work? (do > > I need rules for slpd or slptool?, ingoing or outgoing? > > which port and > > protocol?). Unfortunately I cannot completely disable the > > firewall for a > > test due to group policies, but I can add rules. > > > > Any hints on how to solve or debug at least one of these > > problems would > > be much appreciated! > > > > Cheers, > > Robert > > > > > > > ------------------------------__------------------------------__------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph > > databases and > > their applications. This 200-page book is written by > three > > acclaimed > > leaders in the field. The early access version is > available now. > > Download your free book today! > > http://p.sf.net/sfu/neotech___d2d_may > > <http://p.sf.net/sfu/neotech_d2d_may> > > > > > > > > > > > ------------------------------__------------------------------__------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph > databases and > > their applications. This 200-page book is written by > three acclaimed > > leaders in the field. The early access version is > available now. > > Download your free book today! > > http://p.sf.net/sfu/neotech___d2d_may > > <http://p.sf.net/sfu/neotech_d2d_may> > > > > > > > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph > databases and > > their applications. This 200-page book is written by three > acclaimed > > leaders in the field. The early access version is available now. > > Download your free book today! > http://p.sf.net/sfu/neotech_d2d_may > > _______________________________________________ > > Openslp-users mailing list > > Ope...@li... > <mailto:Ope...@li...> > > > <mailto:Ope...@li... > <mailto:Ope...@li...>> > > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > > > > > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases and > > their applications. This 200-page book is written by three acclaimed > > leaders in the field. The early access version is available now. > > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > > > > > > > > _______________________________________________ > > Openslp-users mailing list > > Ope...@li... > <mailto:Ope...@li...> > > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Openslp-users mailing list > Ope...@li... > <mailto:Ope...@li...> > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > > > > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users > |
From: Nick W. <ne...@wi...> - 2013-05-13 16:00:04
|
What is confusing me here is why this only happens when registering? An slptool findsrvs doesn't appear to exhibit the problem. On Mon, May 13, 2013 at 10:22 AM, Robert Hegner <rh...@hs...> wrote: > Yes I guess your fix for slptool makes more sense. > > WSAGetLastError() returns 10054 (WSAECONNRESET) > > > http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx > > > > > Am 13.05.2013 17:07, schrieb Nick Wagner: > > What is WSAGetLastError returning when you see the recvfrom error? > > > > And as far as the first patch goes, I believe Jon's intent was to check > > for an empty string, not just a null pointer. So I would try: > > > > if ((cmdline->scopes != 0) && (*cmdline->scopes != 0)) > > SLPSetProperty("net.slp.useScopes", cmdline->scopes); > > > > > > > > > > > > On Mon, May 13, 2013 at 7:30 AM, Robert Hegner > > <rh...@hs... > > <mailto:rh...@hs...>> wrote: > > > > Ok I spent some more hours on this issue. I can successfully run > > revisions 1715 to 1731. But with revision 1732 I get the error -19. > > Revision 1732 contains some changes in slp_network.c (among others). > > Below you can see how SLPNetworkRecvMessage() (in slp_network.c) > > behaves in revision 1731 and 1732: > > > > Revision 1732: > > - select() on line 237 returns 1 > > - recvfrom() on line 243 returns -1 > > - therefore the condition on line 276 is false and > > SLPNetworkRecvMessage() sets errno to EINVAL and returns -1 > > > > Revision 1731: > > - select() on line 237 returns 1 > > - recvfrom() on line 243 returns -1 > > - but now on line 276 the condition is true since it does not check > > xferbytes as in revision 1732. SLPNetworkRecvMessage() then > > continues without causing any errors. > > > > I don't know what the intention of the changes of revision 1732 was. > > And I don't know if recvfrom() on line 243 should not return -1 to > > begin with, or if the condition on line 276 in revision 1732 is > > incorrect. But I think someone should have a closer look at > > SLPNetworkRecvMessage() again. > > > > Attached you can find my suggested patches based on the latest > > Mercurial revision. With these patches it works for me. > > > > > > > > Am 13.05.2013 09:29, schrieb Robert Hegner: > > > > I also did some more investigation on the second issue (error > > code -19). > > > > When I use the beta 2 installer, it seems to work (I can > register a > > service using slptool without getting the -19 error). > > > > Then I stopped slpd and replaced the binaries with the ones I > > built from > > the latest Mercurial revision (cdaeb8) and restarted slpd. Then > > I got > > the -19 error again. > > > > Then I uninstalled OpenSLP, built the installer with the latest > > Mercurial revision, and installed it with my own installer > > again. Also > > in this case I get the -19 error. > > > > So for me this looks like I can confirm the problem that Ren > > described > > in January (he suspected that a problem was introduced somewhere > > between > > beta 2 and the current revision). > > > > > > > > Am 10.05.2013 13:56, schrieb Robert Hegner: > > > > Hello, > > > > I've been using OpenSLP in my project for a while now. This > > week I set > > up a new computer (Windows 7 64Bit) and I tried to build and > > run my > > application and OpenSLP on this new machine with VC++2010. > > Even though I > > have a 64Bit OS I'm building OpenSLP as a 32Bit application, > > since my > > own application is also 32Bit. > > > > First I tried the latest version from the Mercurial > > repository (cdaeb8). > > I was able to build it and slpd seems to work, since > > slptool findsrvs service:service-agent > > returns one entry with my IP address. However, when I try > this: > > slptool register service:myserv.x://myhost.com > > <http://myhost.com> > > (as in the examples of slptool), I get an access violation > > (Unhandled > > exception at 0x00401643 in slptool.exe: 0xC0000005: Access > > violation > > reading location 0x00000000.) > > > > Then I tried an older version (the latest version from the > SVN > > repository, rev. 1701). I can also build and install slpd, > > and I can > > also find the service-agent. But when I try to register a > > service using > > slptool I get error code -19. As far as I know this > > indicates a problem > > with the communication between slpd and slptool, right? > > However, slpd > > seems to be running (otherwise I wouldn't find the > > service-agent). So I > > guess it is a problem with missing privileges or a firewall > > problem. > > What rules do I need in the Windows Firewall to get OpenSLP > > to work? (do > > I need rules for slpd or slptool?, ingoing or outgoing? > > which port and > > protocol?). Unfortunately I cannot completely disable the > > firewall for a > > test due to group policies, but I can add rules. > > > > Any hints on how to solve or debug at least one of these > > problems would > > be much appreciated! > > > > Cheers, > > Robert > > > > > > > ------------------------------__------------------------------__------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph > > databases and > > their applications. This 200-page book is written by three > > acclaimed > > leaders in the field. The early access version is available > now. > > Download your free book today! > > http://p.sf.net/sfu/neotech___d2d_may > > <http://p.sf.net/sfu/neotech_d2d_may> > > > > > > > > > > > ------------------------------__------------------------------__------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases > and > > their applications. This 200-page book is written by three > acclaimed > > leaders in the field. The early access version is available now. > > Download your free book today! > > http://p.sf.net/sfu/neotech___d2d_may > > <http://p.sf.net/sfu/neotech_d2d_may> > > > > > > > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases and > > their applications. This 200-page book is written by three acclaimed > > leaders in the field. The early access version is available now. > > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > > _______________________________________________ > > Openslp-users mailing list > > Ope...@li... > > <mailto:Ope...@li...> > > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > > > > > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases and > > their applications. This 200-page book is written by three acclaimed > > leaders in the field. The early access version is available now. > > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > > > > > > > > _______________________________________________ > > Openslp-users mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users > |
From: Robert H. <rh...@hs...> - 2013-05-13 15:23:07
|
Yes I guess your fix for slptool makes more sense. WSAGetLastError() returns 10054 (WSAECONNRESET) http://msdn.microsoft.com/en-us/library/windows/desktop/ms740668%28v=vs.85%29.aspx Am 13.05.2013 17:07, schrieb Nick Wagner: > What is WSAGetLastError returning when you see the recvfrom error? > > And as far as the first patch goes, I believe Jon's intent was to check > for an empty string, not just a null pointer. So I would try: > > if ((cmdline->scopes != 0) && (*cmdline->scopes != 0)) > SLPSetProperty("net.slp.useScopes", cmdline->scopes); > > > > > > On Mon, May 13, 2013 at 7:30 AM, Robert Hegner > <rh...@hs... > <mailto:rh...@hs...>> wrote: > > Ok I spent some more hours on this issue. I can successfully run > revisions 1715 to 1731. But with revision 1732 I get the error -19. > Revision 1732 contains some changes in slp_network.c (among others). > Below you can see how SLPNetworkRecvMessage() (in slp_network.c) > behaves in revision 1731 and 1732: > > Revision 1732: > - select() on line 237 returns 1 > - recvfrom() on line 243 returns -1 > - therefore the condition on line 276 is false and > SLPNetworkRecvMessage() sets errno to EINVAL and returns -1 > > Revision 1731: > - select() on line 237 returns 1 > - recvfrom() on line 243 returns -1 > - but now on line 276 the condition is true since it does not check > xferbytes as in revision 1732. SLPNetworkRecvMessage() then > continues without causing any errors. > > I don't know what the intention of the changes of revision 1732 was. > And I don't know if recvfrom() on line 243 should not return -1 to > begin with, or if the condition on line 276 in revision 1732 is > incorrect. But I think someone should have a closer look at > SLPNetworkRecvMessage() again. > > Attached you can find my suggested patches based on the latest > Mercurial revision. With these patches it works for me. > > > > Am 13.05.2013 09:29, schrieb Robert Hegner: > > I also did some more investigation on the second issue (error > code -19). > > When I use the beta 2 installer, it seems to work (I can register a > service using slptool without getting the -19 error). > > Then I stopped slpd and replaced the binaries with the ones I > built from > the latest Mercurial revision (cdaeb8) and restarted slpd. Then > I got > the -19 error again. > > Then I uninstalled OpenSLP, built the installer with the latest > Mercurial revision, and installed it with my own installer > again. Also > in this case I get the -19 error. > > So for me this looks like I can confirm the problem that Ren > described > in January (he suspected that a problem was introduced somewhere > between > beta 2 and the current revision). > > > > Am 10.05.2013 13:56, schrieb Robert Hegner: > > Hello, > > I've been using OpenSLP in my project for a while now. This > week I set > up a new computer (Windows 7 64Bit) and I tried to build and > run my > application and OpenSLP on this new machine with VC++2010. > Even though I > have a 64Bit OS I'm building OpenSLP as a 32Bit application, > since my > own application is also 32Bit. > > First I tried the latest version from the Mercurial > repository (cdaeb8). > I was able to build it and slpd seems to work, since > slptool findsrvs service:service-agent > returns one entry with my IP address. However, when I try this: > slptool register service:myserv.x://myhost.com > <http://myhost.com> > (as in the examples of slptool), I get an access violation > (Unhandled > exception at 0x00401643 in slptool.exe: 0xC0000005: Access > violation > reading location 0x00000000.) > > Then I tried an older version (the latest version from the SVN > repository, rev. 1701). I can also build and install slpd, > and I can > also find the service-agent. But when I try to register a > service using > slptool I get error code -19. As far as I know this > indicates a problem > with the communication between slpd and slptool, right? > However, slpd > seems to be running (otherwise I wouldn't find the > service-agent). So I > guess it is a problem with missing privileges or a firewall > problem. > What rules do I need in the Windows Firewall to get OpenSLP > to work? (do > I need rules for slpd or slptool?, ingoing or outgoing? > which port and > protocol?). Unfortunately I cannot completely disable the > firewall for a > test due to group policies, but I can add rules. > > Any hints on how to solve or debug at least one of these > problems would > be much appreciated! > > Cheers, > Robert > > > ------------------------------__------------------------------__------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph > databases and > their applications. This 200-page book is written by three > acclaimed > leaders in the field. The early access version is available now. > Download your free book today! > http://p.sf.net/sfu/neotech___d2d_may > <http://p.sf.net/sfu/neotech_d2d_may> > > > > > ------------------------------__------------------------------__------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! > http://p.sf.net/sfu/neotech___d2d_may > <http://p.sf.net/sfu/neotech_d2d_may> > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Openslp-users mailing list > Ope...@li... > <mailto:Ope...@li...> > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > > > > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users > |
From: Nick W. <ne...@wi...> - 2013-05-13 15:07:29
|
What is WSAGetLastError returning when you see the recvfrom error? And as far as the first patch goes, I believe Jon's intent was to check for an empty string, not just a null pointer. So I would try: if ((cmdline->scopes != 0) && (*cmdline->scopes != 0)) SLPSetProperty("net.slp.useScopes", cmdline->scopes); On Mon, May 13, 2013 at 7:30 AM, Robert Hegner <rh...@hs...> wrote: > Ok I spent some more hours on this issue. I can successfully run revisions > 1715 to 1731. But with revision 1732 I get the error -19. Revision 1732 > contains some changes in slp_network.c (among others). Below you can see > how SLPNetworkRecvMessage() (in slp_network.c) behaves in revision 1731 and > 1732: > > Revision 1732: > - select() on line 237 returns 1 > - recvfrom() on line 243 returns -1 > - therefore the condition on line 276 is false and SLPNetworkRecvMessage() > sets errno to EINVAL and returns -1 > > Revision 1731: > - select() on line 237 returns 1 > - recvfrom() on line 243 returns -1 > - but now on line 276 the condition is true since it does not check > xferbytes as in revision 1732. SLPNetworkRecvMessage() then continues > without causing any errors. > > I don't know what the intention of the changes of revision 1732 was. And I > don't know if recvfrom() on line 243 should not return -1 to begin with, or > if the condition on line 276 in revision 1732 is incorrect. But I think > someone should have a closer look at SLPNetworkRecvMessage() again. > > Attached you can find my suggested patches based on the latest Mercurial > revision. With these patches it works for me. > > > > Am 13.05.2013 09:29, schrieb Robert Hegner: > > I also did some more investigation on the second issue (error code -19). >> >> When I use the beta 2 installer, it seems to work (I can register a >> service using slptool without getting the -19 error). >> >> Then I stopped slpd and replaced the binaries with the ones I built from >> the latest Mercurial revision (cdaeb8) and restarted slpd. Then I got >> the -19 error again. >> >> Then I uninstalled OpenSLP, built the installer with the latest >> Mercurial revision, and installed it with my own installer again. Also >> in this case I get the -19 error. >> >> So for me this looks like I can confirm the problem that Ren described >> in January (he suspected that a problem was introduced somewhere between >> beta 2 and the current revision). >> >> >> >> Am 10.05.2013 13:56, schrieb Robert Hegner: >> >>> Hello, >>> >>> I've been using OpenSLP in my project for a while now. This week I set >>> up a new computer (Windows 7 64Bit) and I tried to build and run my >>> application and OpenSLP on this new machine with VC++2010. Even though I >>> have a 64Bit OS I'm building OpenSLP as a 32Bit application, since my >>> own application is also 32Bit. >>> >>> First I tried the latest version from the Mercurial repository (cdaeb8). >>> I was able to build it and slpd seems to work, since >>> slptool findsrvs service:service-agent >>> returns one entry with my IP address. However, when I try this: >>> slptool register service:myserv.x://myhost.com >>> (as in the examples of slptool), I get an access violation (Unhandled >>> exception at 0x00401643 in slptool.exe: 0xC0000005: Access violation >>> reading location 0x00000000.) >>> >>> Then I tried an older version (the latest version from the SVN >>> repository, rev. 1701). I can also build and install slpd, and I can >>> also find the service-agent. But when I try to register a service using >>> slptool I get error code -19. As far as I know this indicates a problem >>> with the communication between slpd and slptool, right? However, slpd >>> seems to be running (otherwise I wouldn't find the service-agent). So I >>> guess it is a problem with missing privileges or a firewall problem. >>> What rules do I need in the Windows Firewall to get OpenSLP to work? (do >>> I need rules for slpd or slptool?, ingoing or outgoing? which port and >>> protocol?). Unfortunately I cannot completely disable the firewall for a >>> test due to group policies, but I can add rules. >>> >>> Any hints on how to solve or debug at least one of these problems would >>> be much appreciated! >>> >>> Cheers, >>> Robert >>> >>> >>> ------------------------------**------------------------------** >>> ------------------ >>> Learn Graph Databases - Download FREE O'Reilly Book >>> "Graph Databases" is the definitive new guide to graph databases and >>> their applications. This 200-page book is written by three acclaimed >>> leaders in the field. The early access version is available now. >>> Download your free book today! http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >>> >>> >> >> >> ------------------------------**------------------------------** >> ------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >> their applications. This 200-page book is written by three acclaimed >> leaders in the field. The early access version is available now. >> Download your free book today! http://p.sf.net/sfu/neotech_**d2d_may<http://p.sf.net/sfu/neotech_d2d_may> >> >> > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users > > |
From: Robert H. <rh...@hs...> - 2013-05-13 12:31:09
|
Ok I spent some more hours on this issue. I can successfully run revisions 1715 to 1731. But with revision 1732 I get the error -19. Revision 1732 contains some changes in slp_network.c (among others). Below you can see how SLPNetworkRecvMessage() (in slp_network.c) behaves in revision 1731 and 1732: Revision 1732: - select() on line 237 returns 1 - recvfrom() on line 243 returns -1 - therefore the condition on line 276 is false and SLPNetworkRecvMessage() sets errno to EINVAL and returns -1 Revision 1731: - select() on line 237 returns 1 - recvfrom() on line 243 returns -1 - but now on line 276 the condition is true since it does not check xferbytes as in revision 1732. SLPNetworkRecvMessage() then continues without causing any errors. I don't know what the intention of the changes of revision 1732 was. And I don't know if recvfrom() on line 243 should not return -1 to begin with, or if the condition on line 276 in revision 1732 is incorrect. But I think someone should have a closer look at SLPNetworkRecvMessage() again. Attached you can find my suggested patches based on the latest Mercurial revision. With these patches it works for me. Am 13.05.2013 09:29, schrieb Robert Hegner: > I also did some more investigation on the second issue (error code -19). > > When I use the beta 2 installer, it seems to work (I can register a > service using slptool without getting the -19 error). > > Then I stopped slpd and replaced the binaries with the ones I built from > the latest Mercurial revision (cdaeb8) and restarted slpd. Then I got > the -19 error again. > > Then I uninstalled OpenSLP, built the installer with the latest > Mercurial revision, and installed it with my own installer again. Also > in this case I get the -19 error. > > So for me this looks like I can confirm the problem that Ren described > in January (he suspected that a problem was introduced somewhere between > beta 2 and the current revision). > > > > Am 10.05.2013 13:56, schrieb Robert Hegner: >> Hello, >> >> I've been using OpenSLP in my project for a while now. This week I set >> up a new computer (Windows 7 64Bit) and I tried to build and run my >> application and OpenSLP on this new machine with VC++2010. Even though I >> have a 64Bit OS I'm building OpenSLP as a 32Bit application, since my >> own application is also 32Bit. >> >> First I tried the latest version from the Mercurial repository (cdaeb8). >> I was able to build it and slpd seems to work, since >> slptool findsrvs service:service-agent >> returns one entry with my IP address. However, when I try this: >> slptool register service:myserv.x://myhost.com >> (as in the examples of slptool), I get an access violation (Unhandled >> exception at 0x00401643 in slptool.exe: 0xC0000005: Access violation >> reading location 0x00000000.) >> >> Then I tried an older version (the latest version from the SVN >> repository, rev. 1701). I can also build and install slpd, and I can >> also find the service-agent. But when I try to register a service using >> slptool I get error code -19. As far as I know this indicates a problem >> with the communication between slpd and slptool, right? However, slpd >> seems to be running (otherwise I wouldn't find the service-agent). So I >> guess it is a problem with missing privileges or a firewall problem. >> What rules do I need in the Windows Firewall to get OpenSLP to work? (do >> I need rules for slpd or slptool?, ingoing or outgoing? which port and >> protocol?). Unfortunately I cannot completely disable the firewall for a >> test due to group policies, but I can add rules. >> >> Any hints on how to solve or debug at least one of these problems would >> be much appreciated! >> >> Cheers, >> Robert >> >> >> ------------------------------------------------------------------------------ >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and >> their applications. This 200-page book is written by three acclaimed >> leaders in the field. The early access version is available now. >> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >> > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > |
From: Robert H. <rh...@hs...> - 2013-05-13 07:35:13
|
Hello Ren It looks like I can reproduce your problem (see my latest thread in this newsgroup "Cannot get OpenSLP to work on Windows 7"). Were you able to solve this problem? Robert Am 01.02.2013 02:18, schrieb Wang, Ren: > Hi Jim, > > Thank you for the response. But, the slptool from the released package OpenSLP 2.0.0 Beta 2 works fine on the same computer. It only happens for using the latest source code. I think the latest source code might introduced this issue. > > Ren > ________________________________________ > From: Jim Marshall [jim...@wb...] > Sent: Thursday, January 31, 2013 4:51 PM > To: Wang, Ren > Cc: ope...@li... > Subject: Re: [Openslp-users] error code -19 > > Wang, Ren wrote: > We downloaded the latest OpenSLP code from sourcesafe today and compiled successfully. When tried to use slptool register, it always got error -19, but I could use slptool findsrvs to see the service registered. > > slp.h: > > SLP_NETWORK_TIMED_OUT = -19 > > So it is saying it can not communicate with the daemon. Make sure you have a rule in your firewall and that it is enabled (that has bitten me before) for both UDP and TCP > > > Regards, > > Ren > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > > > > _______________________________________________ > Openslp-users mailing list > Ope...@li...<mailto:Ope...@pu...net> > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > -- > Jim Marshall > Sr. Software Engineer > [WS]<http://ws-inc.com/> > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > > > > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users > |
From: Robert H. <rh...@hs...> - 2013-05-13 07:30:19
|
I also did some more investigation on the second issue (error code -19). When I use the beta 2 installer, it seems to work (I can register a service using slptool without getting the -19 error). Then I stopped slpd and replaced the binaries with the ones I built from the latest Mercurial revision (cdaeb8) and restarted slpd. Then I got the -19 error again. Then I uninstalled OpenSLP, built the installer with the latest Mercurial revision, and installed it with my own installer again. Also in this case I get the -19 error. So for me this looks like I can confirm the problem that Ren described in January (he suspected that a problem was introduced somewhere between beta 2 and the current revision). Am 10.05.2013 13:56, schrieb Robert Hegner: > Hello, > > I've been using OpenSLP in my project for a while now. This week I set > up a new computer (Windows 7 64Bit) and I tried to build and run my > application and OpenSLP on this new machine with VC++2010. Even though I > have a 64Bit OS I'm building OpenSLP as a 32Bit application, since my > own application is also 32Bit. > > First I tried the latest version from the Mercurial repository (cdaeb8). > I was able to build it and slpd seems to work, since > slptool findsrvs service:service-agent > returns one entry with my IP address. However, when I try this: > slptool register service:myserv.x://myhost.com > (as in the examples of slptool), I get an access violation (Unhandled > exception at 0x00401643 in slptool.exe: 0xC0000005: Access violation > reading location 0x00000000.) > > Then I tried an older version (the latest version from the SVN > repository, rev. 1701). I can also build and install slpd, and I can > also find the service-agent. But when I try to register a service using > slptool I get error code -19. As far as I know this indicates a problem > with the communication between slpd and slptool, right? However, slpd > seems to be running (otherwise I wouldn't find the service-agent). So I > guess it is a problem with missing privileges or a firewall problem. > What rules do I need in the Windows Firewall to get OpenSLP to work? (do > I need rules for slpd or slptool?, ingoing or outgoing? which port and > protocol?). Unfortunately I cannot completely disable the firewall for a > test due to group policies, but I can add rules. > > Any hints on how to solve or debug at least one of these problems would > be much appreciated! > > Cheers, > Robert > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > |
From: Robert H. <rh...@hs...> - 2013-05-10 16:09:54
|
Update: I think the access violation in the latest version of slptool is caused in line 285 of slptool.c I believe it should be if (cmdline->scopes != 0) instead of if (*cmdline->scopes != 0) But I still have the problem that I get error code -19 when I try to register a service. Am 10.05.2013 13:56, schrieb Robert Hegner: > Hello, > > I've been using OpenSLP in my project for a while now. This week I set > up a new computer (Windows 7 64Bit) and I tried to build and run my > application and OpenSLP on this new machine with VC++2010. Even though I > have a 64Bit OS I'm building OpenSLP as a 32Bit application, since my > own application is also 32Bit. > > First I tried the latest version from the Mercurial repository (cdaeb8). > I was able to build it and slpd seems to work, since > slptool findsrvs service:service-agent > returns one entry with my IP address. However, when I try this: > slptool register service:myserv.x://myhost.com > (as in the examples of slptool), I get an access violation (Unhandled > exception at 0x00401643 in slptool.exe: 0xC0000005: Access violation > reading location 0x00000000.) > > Then I tried an older version (the latest version from the SVN > repository, rev. 1701). I can also build and install slpd, and I can > also find the service-agent. But when I try to register a service using > slptool I get error code -19. As far as I know this indicates a problem > with the communication between slpd and slptool, right? However, slpd > seems to be running (otherwise I wouldn't find the service-agent). So I > guess it is a problem with missing privileges or a firewall problem. > What rules do I need in the Windows Firewall to get OpenSLP to work? (do > I need rules for slpd or slptool?, ingoing or outgoing? which port and > protocol?). Unfortunately I cannot completely disable the firewall for a > test due to group policies, but I can add rules. > > Any hints on how to solve or debug at least one of these problems would > be much appreciated! > > Cheers, > Robert > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > |
From: Robert H. <rh...@hs...> - 2013-05-10 11:57:05
|
Hello, I've been using OpenSLP in my project for a while now. This week I set up a new computer (Windows 7 64Bit) and I tried to build and run my application and OpenSLP on this new machine with VC++2010. Even though I have a 64Bit OS I'm building OpenSLP as a 32Bit application, since my own application is also 32Bit. First I tried the latest version from the Mercurial repository (cdaeb8). I was able to build it and slpd seems to work, since slptool findsrvs service:service-agent returns one entry with my IP address. However, when I try this: slptool register service:myserv.x://myhost.com (as in the examples of slptool), I get an access violation (Unhandled exception at 0x00401643 in slptool.exe: 0xC0000005: Access violation reading location 0x00000000.) Then I tried an older version (the latest version from the SVN repository, rev. 1701). I can also build and install slpd, and I can also find the service-agent. But when I try to register a service using slptool I get error code -19. As far as I know this indicates a problem with the communication between slpd and slptool, right? However, slpd seems to be running (otherwise I wouldn't find the service-agent). So I guess it is a problem with missing privileges or a firewall problem. What rules do I need in the Windows Firewall to get OpenSLP to work? (do I need rules for slpd or slptool?, ingoing or outgoing? which port and protocol?). Unfortunately I cannot completely disable the firewall for a test due to group policies, but I can add rules. Any hints on how to solve or debug at least one of these problems would be much appreciated! Cheers, Robert |
From: Kandepu, A. <anu...@hp...> - 2013-04-19 10:12:20
|
Hi , I am using "openslp-2.0.beta2" version.I have been trying to register a service by calling SLPReg() and I am getting "SLP_BUFFER_OVERFLOW" error. I have not seen this error with openslp 1.2.1 version. I have gone through the source code of openslp1.2.1 , 2.0 and found that in 2.0 network connection created as datagram connection always. But in 1.2.1 it used to be TCP connection. Any reason that the n/w connection has been changed from TCP to UDP?.I have changed the openslp code to use TCP n/w connection and my service registration worked fine with that. This may not be good solution though. Can anyone suggest better solution in this scenario to overcome "SLP_BUFFER_OVERFLOW" error?. Is there any config option available in OpenSLP to opt for the n/w connection?. Regards, Anusha. |
From: Wang, R. <Ren...@nu...> - 2013-03-11 11:28:46
|
If there are more than one DA addresses specified for the slp.net.DAAddresses option, does OpenSLP will try to find service from all the DAs from the list? Or it will use try to use one DA which has the same scope? |
From: John C. <joh...@gm...> - 2013-02-22 20:03:09
|
I can't give you a definitive list of changes to files between beta release and tip of default, but mercurial can. Use: $ hg diff -r 2.0.beta2:tip Beware: the diff is very large. A better approach might be to start with the logs: $ hg log -r 2.0.beta2:tip John > -----Original Message----- > From: Wang, Ren [mailto:Ren...@nu...] > Sent: Friday, February 22, 2013 12:41 PM > To: John Calcote; 'Jim Marshall' > Cc: ope...@li... > Subject: RE: [Openslp-users] error code -19 > > Hi John, > > Yes, we will do some debug and make a fix if possible. Will let you know. > > BTW, do you know what's been changed between the latest version and the > beta2 version? > > Regards, > > Ren > > -----Original Message----- > From: John Calcote [mailto:joh...@gm...] > Sent: Friday, February 22, 2013 11:39 AM > To: Wang, Ren; 'Jim Marshall' > Cc: ope...@li... > Subject: RE: [Openslp-users] error code -19 > > Ren, > > Since you're the only one that seems to be able to duplicate this problem, I'd > really appreciate it if you'd debug into it a bit and see if you can figure out > what's causing it. I have people asking me to do the 2.0 release soon, but I > don't want to do it until I'm pretty sure the change I made over Christmas > haven't caused major issues. This is the biggest issue I've heard of so far, but > I can't get it to happen on my systems. > > Thanks, > John > > > -----Original Message----- > > From: Wang, Ren [mailto:Ren...@nu...] > > Sent: Thursday, January 31, 2013 6:19 PM > > To: Jim Marshall > > Cc: ope...@li... > > Subject: Re: [Openslp-users] error code -19 > > > > Hi Jim, > > > > Thank you for the response. But, the slptool from the released package > > OpenSLP 2.0.0 Beta 2 works fine on the same computer. It only happens > > for using the latest source code. I think the latest source code might > introduced > > this issue. > > > > Ren > > ________________________________________ > > From: Jim Marshall [jim...@wb...] > > Sent: Thursday, January 31, 2013 4:51 PM > > To: Wang, Ren > > Cc: ope...@li... > > Subject: Re: [Openslp-users] error code -19 > > > > Wang, Ren wrote: > > We downloaded the latest OpenSLP code from sourcesafe today and > > compiled successfully. When tried to use slptool register, it always > > got > error - > > 19, but I could use slptool findsrvs to see the service registered. > > > > slp.h: > > > > SLP_NETWORK_TIMED_OUT = -19 > > > > So it is saying it can not communicate with the daemon. Make sure you > > have a rule in your firewall and that it is enabled (that has bitten > > me before) > for > > both UDP and TCP > > > > > > Regards, > > > > Ren > > > > > > > > > ---------------------------------------------------------------------------- > -- > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics Download AppDynamics Lite > > for free today: > > http://p.sf.net/sfu/appdyn_d2d_jan > > > > > > > > _______________________________________________ > > Openslp-users mailing list > > Ope...@li...<mailto:Openslp- > > us...@li...> > > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > > > > > -- > > Jim Marshall > > Sr. Software Engineer > > [WS]<http://ws-inc.com/> > |
From: Wang, R. <Ren...@nu...> - 2013-02-22 19:41:30
|
Hi John, Yes, we will do some debug and make a fix if possible. Will let you know. BTW, do you know what's been changed between the latest version and the beta2 version? Regards, Ren -----Original Message----- From: John Calcote [mailto:joh...@gm...] Sent: Friday, February 22, 2013 11:39 AM To: Wang, Ren; 'Jim Marshall' Cc: ope...@li... Subject: RE: [Openslp-users] error code -19 Ren, Since you're the only one that seems to be able to duplicate this problem, I'd really appreciate it if you'd debug into it a bit and see if you can figure out what's causing it. I have people asking me to do the 2.0 release soon, but I don't want to do it until I'm pretty sure the change I made over Christmas haven't caused major issues. This is the biggest issue I've heard of so far, but I can't get it to happen on my systems. Thanks, John > -----Original Message----- > From: Wang, Ren [mailto:Ren...@nu...] > Sent: Thursday, January 31, 2013 6:19 PM > To: Jim Marshall > Cc: ope...@li... > Subject: Re: [Openslp-users] error code -19 > > Hi Jim, > > Thank you for the response. But, the slptool from the released package > OpenSLP 2.0.0 Beta 2 works fine on the same computer. It only happens > for using the latest source code. I think the latest source code might introduced > this issue. > > Ren > ________________________________________ > From: Jim Marshall [jim...@wb...] > Sent: Thursday, January 31, 2013 4:51 PM > To: Wang, Ren > Cc: ope...@li... > Subject: Re: [Openslp-users] error code -19 > > Wang, Ren wrote: > We downloaded the latest OpenSLP code from sourcesafe today and > compiled successfully. When tried to use slptool register, it always > got error - > 19, but I could use slptool findsrvs to see the service registered. > > slp.h: > > SLP_NETWORK_TIMED_OUT = -19 > > So it is saying it can not communicate with the daemon. Make sure you > have a rule in your firewall and that it is enabled (that has bitten > me before) for > both UDP and TCP > > > Regards, > > Ren > > > > ---------------------------------------------------------------------------- -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite > for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > > > > _______________________________________________ > Openslp-users mailing list > Ope...@li...<mailto:Openslp- > us...@li...> > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > -- > Jim Marshall > Sr. Software Engineer > [WS]<http://ws-inc.com/> |
From: John C. <joh...@gm...> - 2013-02-22 16:38:58
|
Ren, Since you're the only one that seems to be able to duplicate this problem, I'd really appreciate it if you'd debug into it a bit and see if you can figure out what's causing it. I have people asking me to do the 2.0 release soon, but I don't want to do it until I'm pretty sure the change I made over Christmas haven't caused major issues. This is the biggest issue I've heard of so far, but I can't get it to happen on my systems. Thanks, John > -----Original Message----- > From: Wang, Ren [mailto:Ren...@nu...] > Sent: Thursday, January 31, 2013 6:19 PM > To: Jim Marshall > Cc: ope...@li... > Subject: Re: [Openslp-users] error code -19 > > Hi Jim, > > Thank you for the response. But, the slptool from the released package > OpenSLP 2.0.0 Beta 2 works fine on the same computer. It only happens for > using the latest source code. I think the latest source code might introduced > this issue. > > Ren > ________________________________________ > From: Jim Marshall [jim...@wb...] > Sent: Thursday, January 31, 2013 4:51 PM > To: Wang, Ren > Cc: ope...@li... > Subject: Re: [Openslp-users] error code -19 > > Wang, Ren wrote: > We downloaded the latest OpenSLP code from sourcesafe today and > compiled successfully. When tried to use slptool register, it always got error - > 19, but I could use slptool findsrvs to see the service registered. > > slp.h: > > SLP_NETWORK_TIMED_OUT = -19 > > So it is saying it can not communicate with the daemon. Make sure you have > a rule in your firewall and that it is enabled (that has bitten me before) for > both UDP and TCP > > > Regards, > > Ren > > > > ---------------------------------------------------------------------------- -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics Download AppDynamics Lite > for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > > > > _______________________________________________ > Openslp-users mailing list > Ope...@li...<mailto:Openslp- > us...@li...> > https://lists.sourceforge.net/lists/listinfo/openslp-users > > > > -- > Jim Marshall > Sr. Software Engineer > [WS]<http://ws-inc.com/> |
From: John C. <joh...@gm...> - 2013-02-05 17:00:54
|
Please see ./configure --help=short I believe there's an --enable-predicates option in there. John From: Wang, Ren [mailto:Ren...@nu...] Sent: Tuesday, February 05, 2013 9:20 AM To: ope...@li... Subject: [Openslp-users] ENABLE_PREDICATES In the OpenSLP source code, there is a preprocessor flag "ENABLE_PREDICATES". What is the purpose for this flag? Regards, Ren |
From: Wang, R. <Ren...@nu...> - 2013-02-05 16:19:56
|
In the OpenSLP source code, there is a preprocessor flag "ENABLE_PREDICATES". What is the purpose for this flag? Regards, Ren |
From: Wang, R. <Ren...@nu...> - 2013-02-01 01:18:58
|
Hi Jim, Thank you for the response. But, the slptool from the released package OpenSLP 2.0.0 Beta 2 works fine on the same computer. It only happens for using the latest source code. I think the latest source code might introduced this issue. Ren ________________________________________ From: Jim Marshall [jim...@wb...] Sent: Thursday, January 31, 2013 4:51 PM To: Wang, Ren Cc: ope...@li... Subject: Re: [Openslp-users] error code -19 Wang, Ren wrote: We downloaded the latest OpenSLP code from sourcesafe today and compiled successfully. When tried to use slptool register, it always got error -19, but I could use slptool findsrvs to see the service registered. slp.h: SLP_NETWORK_TIMED_OUT = -19 So it is saying it can not communicate with the daemon. Make sure you have a rule in your firewall and that it is enabled (that has bitten me before) for both UDP and TCP Regards, Ren ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Openslp-users mailing list Ope...@li...<mailto:Ope...@li...> https://lists.sourceforge.net/lists/listinfo/openslp-users -- Jim Marshall Sr. Software Engineer [WS]<http://ws-inc.com/> |
From: Jim M. <jim...@wb...> - 2013-01-31 22:51:40
|
Wang, Ren wrote: > > We downloaded the latest OpenSLP code from sourcesafe today and > compiled successfully. When tried to use slptool register, it always > got error -19, but I could use slptool findsrvs to see the service > registered. > slp.h: SLP_NETWORK_TIMED_OUT = -19 So it is saying it can not communicate with the daemon. Make sure you have a rule in your firewall and that it is enabled (that has bitten me before) for both UDP and TCP > Regards, > > Ren > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > > > _______________________________________________ > Openslp-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openslp-users -- mail Jim Marshall Sr. Software Engineer WS <http://ws-inc.com/> |
From: Wang, R. <Ren...@nu...> - 2013-01-31 20:52:22
|
We downloaded the latest OpenSLP code from sourcesafe today and compiled successfully. When tried to use slptool register, it always got error -19, but I could use slptool findsrvs to see the service registered. Regards, Ren |
From: Wang, R. <Ren...@nu...> - 2013-01-30 20:19:37
|
Yes, it is a 1.x configuration parameter, but not in the 2.x configuration. I wonder if 1.x support it, why not port to the 2.x since we are using 2.x now. Ren From: John Calcote [mailto:joh...@gm...] Sent: Wednesday, January 30, 2013 12:35 PM To: Wang, Ren Cc: 'OpenSLP List' Subject: RE: DABackup Sorry Ren – I was really just guessing what it did because it’s not in the code base on sourceforge - it’s neither a 1.x nor 2.x configuration parameter. Not sure where you’re seeing it. Could it be a suse or redhat custom change that never got submitted back to the upstream repo? --John From: Wang, Ren [mailto:Ren...@nu...]<mailto:[mailto:Ren...@nu...]> Sent: Wednesday, January 30, 2013 9:07 AM To: John Calcote Cc: OpenSLP List Subject: RE: DABackup Thanks for the answer. Maybe the comments in the slp.conf file confused me. It says: # Enables backup of registrations to /etc/slp.reg.d/slpd/DABackup. Is there a way to recover the service registration if the DA server restarted? Ren From: John Calcote [mailto:joh...@gm...] Sent: Wednesday, January 30, 2013 10:23 AM To: Wang, Ren Cc: OpenSLP List Subject: Re: DABackup isDABackup means is this DA a non-primary DA. Sent from my HTC One™ X+, an AT&T 4G LTE smartphone ----- Reply message ----- From: "Wang, Ren" <Ren...@nu...<mailto:Ren...@nu...>> To: "John Calcote" <joh...@gm...<mailto:joh...@gm...>> Cc: "ope...@li...<mailto:ope...@li...>" <ope...@li...<mailto:ope...@li...>> Subject: DABackup Date: Tue, Jan 29, 2013 1:53 PM Hi John, Does OpenSLP support service registration backup? I noticed there is a setting net.slp.isDABackup and tried to set it to true, but I can't see where the backup file created in the Windows environment. Regards, Ren . |