Hi,
Scenario in Windows.
I found today that, when you specify a configuration file different from the standard file name, you can't edit it through "Configuration>Edit stunnel.conf". Stunnel tries to edit stunnel.conf, and, if not found, creates a new one through notepad.
This doesn't affect to the reload function, where the configuration file specified is used for reload.
Also, this is not important, because in most cases is used the default file name, but maybe could be implemented the ability to change those menu options to display the current configuration file name used instead the standard.
Let's say we use a configuration file named xxx.conf. The menu may change to "Edit xxx.conf" and "Reload xxx.conf" instead "Edit stunnel.conf" and "Reload stunnel.conf".
This may be interesting for when we have several services installed and identify them better.
Regards.
On 2014-01-23 18:45, Javier wrote:
I found today that, when you specify a configuration file different from the standard file name, you can't edit it through "Configuration>Edit stunnel.conf". Stunnel tries to edit stunnel.conf, and, if not found, creates a new one through notepad.
Indeed. Thank you. I'll fix it.
Also, this is not important, because in most cases is used the default file name, but maybe could be implemented the ability to change those menu options to display the current configuration file name used instead the standard.
Hardcoded "stunnel.conf" is indeed confusing here. I won't update it with current configuration file path (which may be very long), but I'll replace it with "configuration" instead.
Mike
On Thu, 23 Jan 2014 21:33:34 +0100 Michal Trojnara Michal.Trojnara@mirt.net wrote:
Also, this is not important, because in most cases is used the default file name, but maybe could be implemented the ability to change those menu options to display the current configuration file name used instead the standard.
Hardcoded "stunnel.conf" is indeed confusing here. I won't update it with current configuration file path (which may be very long), but I'll replace it with "configuration" instead.
Hi,
I intended to mean the file name, not the file path which is truly longer ;-)
Maybe set just "configuration" in the menu, but the file name or file path in the title.
Anyway, or another, or no one, this is not very important, just for information purposes. "Look, you are using this stunnel instance with this conf file".
The important thing is to edit the correct file :-)
Regards.
On Fri, 24 Jan 2014 20:34:10 +0100 Michal Trojnara Michal.Trojnara@mirt.net wrote:
On 2014-01-24 00:32, Javier wrote:
The important thing is to edit the correct file :-)
Why don't you just merge all your configuration files into a single one?
Hi,
I do.
I was just testing and I found that problem. And as it is possible to have different services/instances running with different configuration files (I don't have, btw, but could be people out there that do), I sent it to the list.
Regards.
On 2014-01-24 20:52, Javier wrote:
I was just testing and I found that problem. And as it is possible to have different services/instances running with different configuration files (I don't have, btw, but could be people out there that do), I sent it to the list.
Thank you for reporting the issue.
I the near future I intend to only allow for a single concurrent instance on Windows.
Mike
I am also seeing this problem with only one .conf file, using the supplied .conf file which I edited for my use.
Running stunnel as a service, the entry in the service manager is:
"D:\Applications\stunnel\stunnel.exe" -service -install D:\Applications\stunnel\stunnel.conf
It runs correctly and the log entries are correct. All of the items on the menu in the systray work correctly except 'Edit stunnel.conf'. The file does not open. I just put a shortcut on the desktop to get around this.
Selecting 'Save peer certificate' saves the certs in the correct directory (so it obviously knows and can get to the path) .
On 2014-01-24 23:29, Steve Marvin wrote:
All of the items on the menu in the systray work correctly except 'Edit stunnel.conf'. The file does not open. I just put a shortcut on the desktop to get around this.
Spawning notepad.exe as a service (LocalSystem account) is not a good idea for local security... This is why I disabled it.
The target model is to have a separate server process running as a service, and a separate GUI process running as the currently logged-in user. Those processes will communicate over a named socket.
Mike
I see - I thought that was already the case (the separation of processes). Looking in the app directory makes it clear that i was mistaken.
Thanks for the response.
On Fri, 24 Jan 2014 23:38:25 +0100, Michal Trojnara wrote:
On 2014-01-24 23:29, Steve Marvin wrote:
All of the items on the menu in the systray work correctly except 'Edit stunnel.conf'. The file does not open. I just put a shortcut on the desktop to get around this.
Spawning notepad.exe as a service (LocalSystem account) is not a good idea for local security... This is why I disabled it.
The target model is to have a separate server process running as a service, and a separate GUI process running as the currently logged-in user. Those processes will communicate over a named socket.
Mike
stunnel-users mailing list stunnel-users@stunnel.org https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
I have known about this problem for years, but used stunnel.conf with individualized sections. The file name became a moot point then.
On Friday, January 24, 2014, Javier meresponde2001-stn@yahoo.es wrote:
On Fri, 24 Jan 2014 20:34:10 +0100 Michal Trojnara <Michal.Trojnara@mirt.net javascript:;> wrote:
On 2014-01-24 00:32, Javier wrote:
The important thing is to edit the correct file :-)
Why don't you just merge all your configuration files into a single one?
Hi,
I do.
I was just testing and I found that problem. And as it is possible to have different services/instances running with different configuration files (I don't have, btw, but could be people out there that do), I sent it to the list.
Regards. _______________________________________________ stunnel-users mailing list stunnel-users@stunnel.org javascript:; https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users