Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: External auto w/o 'OS' desanitation (like DATIS) #633

Open
dogjutsu opened this issue Nov 21, 2022 · 4 comments
Open

Feature Request: External auto w/o 'OS' desanitation (like DATIS) #633

dogjutsu opened this issue Nov 21, 2022 · 4 comments

Comments

@dogjutsu
Copy link

This is probably a bit niche, but DCS server-as-a-service hosts (fox3) are generally cool with providing SRS, however are (understandably) not willing to disable 'os' sanitization, which means we can't use DCS-STTS or the like.

I'm not sure the terminology, but it would be awesome if the normal SRS Server install also provided a .lua interface into a .dll that can be hooked to provide the same functionality as DCS-SR-ExternalAudio.exe for DCS-STTS or the like. I'm pretty sure this is possible, because DATIS apparently does this (and thus Fox3 for example allows the use of DATIS for text-to-speech via SRS).

This would open up the awesome scripting text-to-speech possibilities for the crowd that use DCS-servers-as-a-service.

@destotelhorus
Copy link

Just some general thoughts as workaround:

If something is requested for a purely commercial use (hosting DCS servers for money) then it would be really cool to provide a bounty for it for ciribob so that he can have a more awesome christmas even. (just my two cents).

The second is a suggestion for fixing this problem shortterm: You could - and after getting some insight into how to breaking out of EDs sanitization and how easy it is even with simple MIZ files - and should put the entire DCS process into something like sandboxie and then you're a lot better off in general, imho.

@ciribob
Copy link
Owner

ciribob commented Dec 26, 2022

@dogjutsu as far as I know DATIS also requires OS sanitisation to be disabled unless its hooking through the GameGUI environment and not the Mission one

I'm going to leave this open but this isnt something i'm going to work on any time soon (if at all) as if you have a dedicated server you should have full control over your own environment. Many server-side tools require OS sanitisation disabled

@dogjutsu
Copy link
Author

@dogjutsu as far as I know DATIS also requires OS sanitisation to be disabled unless its hooking through the GameGUI environment and not the Mission one

I'm going to leave this open but this isnt something i'm going to work on any time soon (if at all) as if you have a dedicated server you should have full control over your own environment. Many server-side tools require OS sanitisation disabled

Appreciate the reply. And fully appreciate if this isn't a high priority.

Just to advocate for folks in my wing's situation: there are enough folks that want 'dedicated' DCS that don't want to or can't run their own server that Fox3 (full time hosted DCS servers), Ready Room (on-demand cloud-based DCS servers), and quite possibly others provide DCS-servers-as-a-service. I just did a quick count on the server browser and there were well over 150 DCS servers hosted by Fox3 alone.

The two DCS-server-as-a-service providers I have used (Fox3 being one) do not allow DCS de-sanitization -- which I can forgive them for.

DATIS does work without OS de-sanitization, as we have it on our Fox3 instance -- it is getting hooked outside of the mission environment, which is something they do allow, and works fine -- our server instance just gets set up to do it and it works.

At any rate, it looks like DCS-gRPC is working on integrating a way to support SRS text-to-speech, etc that will work without OS sanitation and in a way that at least Fox3 will allow, so there will probably be a way forward for us in the not too distant future.

Appreciate you having taken a look at this.

@ciribob
Copy link
Owner

ciribob commented Jan 3, 2023

Thats a very odd decision from them - as if you're loading DATIS in the GameGUI environment - that ultimately subverts LUA sanitisation completely anyway as you can run any arbitrary DLL or function at the same level as DCS is running at.

I'd ask them again about allowing the mission environment to be unsanitized - and use DATIS as an example as it offers no protection if GameGUI is loading and running arbitrary DLLs and LUAs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants