Page 1 of 1

ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 2:34 pm
by premierhosting
UPS lookups, i2-services license code lookups both not working. Not sure what else. Maybe a security setting for ASL 3.0? Any other ideas?

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 3:00 pm
by premierhosting
It's one of these:
;disable_functions = , dl , exec , fsockopen , passthru , pcntl_exec , pfsockopen , popen , posix_kill , posix_mkfifo , posix_setuid , proc_close , proc_open , proc_terminate , shell_exec , system , posix_setpgid , posix_setsid , proc_get_status , proc_nice , show_source , escapeshellcmd

It would be great if the ASL 3.0 upgrade would honor the settings made in 2.x. Any way to go back and figure out how it *was* set up?

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 3:08 pm
by mikeshinn
UPS lookups, i2-services license code lookups both not working. Not sure what else. Maybe a security setting for ASL 3.0? Any other ideas?
3.0 added two new functions:

pfsockopen
fsockopen

Which will set to "no". Set them to "yes" and see if that resolves the issue for you. Otherwise, no there isnt anything else in ASL that will stop outgoing calls.
It would be great if the ASL 3.0 upgrade would honor the settings made in 2.x. Any way to go back and figure out how it *was* set up?
ASL added two new functions, which default to "no", otherwise it will honor all your old PHP settings.

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 3:10 pm
by premierhosting
Had to manually update php.ini after doing ASL config change. Config save yielded a blank modal page. Not sure what's up. Anyways, thanks, perfect!

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 3:19 pm
by mikeshinn
Er, so is ASL munging your php config?

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 3:23 pm
by premierhosting
Well, it changed my php.ini at upgrade to 3.0, but didn't change it back when I changed the config.

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 3:37 pm
by mikeshinn
Well, it changed my php.ini at upgrade to 3.0, but didn't change it back when I changed the config.
So if I understand you correctly, you changed PHP settings in ASL and ASL did not change php.ini? Did you do this via the GUI or the command line?

If the former, did you click the Update button, and what was the output from the ASL Scan window?

If you did from the command line, did you run "asl -s -f" and what was the output from that command?

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 5:49 pm
by premierhosting
I used the web based ASL to change the settings. The php.ini did not get changed, so I did it manually. I also ran asl -s -f after changing settings via web interface and it still didn't modify php.ini. Output of asl -s -f, that window is long gone.

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 7:05 pm
by mikeshinn
I used the web based ASL to change the settings. The php.ini did not get changed, so I did it manually. I also ran asl -s -f after changing settings via web interface and it still didn't modify php.ini. Output of asl -s -f, that window is long gone.
Hmmm, I cant reproduce this. Would you mind opening a case for us? That way you specific circumstances can be investigated. Might be something unique to your configuration, or my test environments.

Re: ASL 3 possibly stopping outgoing calls?

Posted: Wed Jul 20, 2011 7:43 pm
by spaceout
Regarding fsockopen...it must be enabled or it appears to break Horde logins.