[PROXYPER] Multiple Proxies as service on windows based systems

Jay Sea jaysea at jayseateam.ath.cx
Fri Dec 5 06:35:00 EST 2003


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.distributed.net/pipermail/proxyper/attachments/20031205/0641acf9/attachment.htm


More information about the proxyper mailing list