[PROXYPER] Multiple Proxies as service on windows based systems

Jan Coenen jan.coenen at wanadoo.nl
Sun Dec 28 06:25:50 EST 2003


I'm glad I could help. I see that the -hide command was the switch. -detach does also work and... sorry it wasn't hidden but hide but you found it anyways.

Good luck with your proxyper's.
  ----- Original Message ----- 
  From: Floppus 
  To: Personal Proxy Discussion 
  Sent: Thursday, December 11, 2003 7:38 AM
  Subject: Re: [PROXYPER] Multiple Proxies as service on windows based systems


  aha...!

  *Floppus cowlicks Jay Sea

  I already made a small app that would hide it as a workaround, but it wasn't forwareded, probably because of the included executable.
  Ofcourse I instantly checked the documentation included with the proxy, which doesn't mention this switch.
  (ok,after knowing the switch, it can be found when searching disitributed.net for it)

  I included the command line switch in the manual and attached it.

  Floppus



    ----- Original Message ----- 
    From: Jay Sea 
    To: Personal Proxy Discussion 
    Sent: Friday, December 05, 2003 12:35 PM
    Subject: Re: [PROXYPER] Multiple Proxies as service on windows based systems


    It's true that you can't run it as a service in two folders, but you can run in hidden. Just add it to the startup folder and add the "-hidden" command behind it. Now there are two proxyper processes.

      ----- Original Message ----- 
      From: Floppus 
      To: proxyper at lists.distributed.net 
      Sent: Friday, December 05, 2003 12:24 AM
      Subject: [PROXYPER] Multiple Proxies as service on windows based systems


      Hi,

      As shown in the attached picture, I have managed to manually register more than one proxy as a service.
      All proxies are fully functional, and can be started via the service manager.

      The only problem that I can't figure out is: I cannot start 2 proxies as service simultaneously.
      I can start one, or another, but never both.

      When attempting to start a second proxy, service control manager replies that the service had been started, but terminated (which is normal if the application shuts itself down after execution).

      Things I have eliminated sofar:
      - proxies are in different folders
      - proxy .exe's (proxyper.exe) have different names
      - the name for the Service is different
      - dependencies are correct (any of the services will start, just not 2 of them at the same time)
      - No LOG entry is written whatsoever
      - Ports on which the proxies listen are different
      - IP to flush from is different
      - IP to flush to is different


      I used a small VB-thingie to register the service:

      Private Declare Function CreateService _
      Lib "ADVAPI32.DLL" Alias "CreateServiceA" _
      (ByVal hSCManager As Long, ByVal lpServiceName As String, _
      ByVal lpDisplayName As String, ByVal dwDesiredAccess As Long, _
      ByVal dwServiceType As Long, ByVal dwStartType As Long, _
      ByVal dwErrorControl As Long, ByVal lpBinaryPathName As String, _
      ByVal lpLoadOrderGroup As String, ByVal lpdwTagId As String, _
      ByVal lpDependencies As String, ByVal lp As String, _
      ByVal lpPassword As String) As Long


      Thanks in advance!


--------------------------------------------------------------------------


      _______________________________________________
      proxyper mailing list
      proxyper at lists.distributed.net
      http://lists.distributed.net/mailman/listinfo/proxyper



----------------------------------------------------------------------------


    _______________________________________________
    proxyper mailing list
    proxyper at lists.distributed.net
    http://lists.distributed.net/mailman/listinfo/proxyper



------------------------------------------------------------------------------


  _______________________________________________
  proxyper mailing list
  proxyper at lists.distributed.net
  http://lists.distributed.net/mailman/listinfo/proxyper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.distributed.net/pipermail/proxyper/attachments/20031228/d096ada6/attachment.htm


More information about the proxyper mailing list