-
Notifications
You must be signed in to change notification settings - Fork 696
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
How do I set corp proxy settings? #5
Comments
First, create a new directory to store the extra configuration.
Next, create a
Add the following information to the file (substituting where necessary) and save with
Reload the
Information from my blog: http://jacob.ludriks.com/photondockerwindows/ |
Thanks @jacobludriks |
Hello, exemple in my http-proxy.conf [service] compare to other proxy configuration file where you must convert @ to %40 to avoid that @ be interpreted as delimiteur : thks Linux photonos01 4.19.29-1.ph3-esx #1-photon SMP Tue Mar 19 13:44:35 UTC 2019 x86_64 GNU/Linux docker version Server: Proxy : eole-proxy |
If wrong regex is given, then while parsing regex we call cleanup_regex - parse_task_ignore_string() - compile_regex() - cleanup_regex() compiled = *compiled_expr; if (compiled) free(compiled); - we doesn't reset the *compiled_expr variable after freeing and it is extern variable - again cleanup_regex() gets called from stalld.c with already freed address(Non Null Address): https://git.kernel.org/pub/scm/utils/stalld/stalld.git/tree/src/stalld.c?h=v1.18.0#n1307 - when we `systemctl restart stalld`, we get coredump: which shows systemd[1]: Stopping Stall Monitor... systemd-coredump[780991]: Process 780670 (stalld) of user 0 dumped core. Stack trace of thread 780670: #0 0x00007f6becf1e041 raise (libc.so.6 + 0x3d041) #1 0x00007f6becf07536 abort (libc.so.6 + 0x26536) #2 0x00007f6becf5f5a8 n/a (libc.so.6 + 0x7e5a8) #3 0x00007f6becf66fea n/a (libc.so.6 + 0x85fea) #4 0x00007f6becf673dc n/a (libc.so.6 + 0x863dc) #5 0x000055666563ed7e n/a (/usr/bin/stalld (deleted) + 0x6d7e) systemd[1]: stalld.service: Main process exited, code=dumped, status=6/ABRT systemd[1]: stalld.service: Failed with result 'core-dump' - Resetting the extern variable to NULL after freeing the memory solves this issue. Change-Id: Ia75f4fea59476aea3b0aa267fdf0884f95f8b2e2 Signed-off-by: Ankit Jain <ankitja@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19931 Tested-by: gerrit-photon <photon-checkins@vmware.com> Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
If wrong regex is given, then while parsing regex we call cleanup_regex - parse_task_ignore_string() - compile_regex() - cleanup_regex() compiled = *compiled_expr; if (compiled) free(compiled); - we doesn't reset the *compiled_expr variable after freeing and it is extern variable - again cleanup_regex() gets called from stalld.c with already freed address(Non Null Address): - when we `systemctl restart stalld`, we get coredump: which shows systemd[1]: Stopping Stall Monitor... systemd-coredump[780991]: Process 780670 (stalld) of user 0 dumped core. Stack trace of thread 780670: #0 0x00007f6becf1e041 raise (libc.so.6 + 0x3d041) #1 0x00007f6becf07536 abort (libc.so.6 + 0x26536) #2 0x00007f6becf5f5a8 n/a (libc.so.6 + 0x7e5a8) #3 0x00007f6becf66fea n/a (libc.so.6 + 0x85fea) #4 0x00007f6becf673dc n/a (libc.so.6 + 0x863dc) #5 0x000055666563ed7e n/a (/usr/bin/stalld (deleted) + 0x6d7e) systemd[1]: stalld.service: Main process exited, code=dumped, status=6/ABRT systemd[1]: stalld.service: Failed with result 'core-dump' - Resetting the extern variable to NULL after freeing the memory solves this issue. Change-Id: Ia6bae7379970b5633194619d00c1d19adea120c2 Signed-off-by: Ankit Jain <ankitja@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19968 Tested-by: gerrit-photon <photon-checkins@vmware.com> Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
If wrong regex is given, then while parsing regex we call cleanup_regex - parse_task_ignore_string() - compile_regex() - cleanup_regex() compiled = *compiled_expr; if (compiled) free(compiled); - we doesn't reset the *compiled_expr variable after freeing and it is extern variable - again cleanup_regex() gets called from stalld.c with already freed address(Non Null Address): - when we `systemctl restart stalld`, we get coredump: which shows systemd[1]: Stopping Stall Monitor... systemd-coredump[780991]: Process 780670 (stalld) of user 0 dumped core. Stack trace of thread 780670: #0 0x00007f6becf1e041 raise (libc.so.6 + 0x3d041) #1 0x00007f6becf07536 abort (libc.so.6 + 0x26536) #2 0x00007f6becf5f5a8 n/a (libc.so.6 + 0x7e5a8) #3 0x00007f6becf66fea n/a (libc.so.6 + 0x85fea) #4 0x00007f6becf673dc n/a (libc.so.6 + 0x863dc) #5 0x000055666563ed7e n/a (/usr/bin/stalld (deleted) + 0x6d7e) systemd[1]: stalld.service: Main process exited, code=dumped, status=6/ABRT systemd[1]: stalld.service: Failed with result 'core-dump' - Resetting the extern variable to NULL after freeing the memory solves this issue. Change-Id: I18244692338599e0a0589c75a2714636bfd8a355 Signed-off-by: Ankit Jain <ankitja@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19967 Tested-by: gerrit-photon <photon-checkins@vmware.com> Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
If wrong regex is given, then while parsing regex we call cleanup_regex - parse_task_ignore_string() - compile_regex() - cleanup_regex() compiled = *compiled_expr; if (compiled) free(compiled); - we doesn't reset the *compiled_expr variable after freeing and it is extern variable - again cleanup_regex() gets called from stalld.c with already freed address(Non Null Address): - when we `systemctl restart stalld`, we get coredump: which shows systemd[1]: Stopping Stall Monitor... systemd-coredump[780991]: Process 780670 (stalld) of user 0 dumped core. Stack trace of thread 780670: #0 0x00007f6becf1e041 raise (libc.so.6 + 0x3d041) #1 0x00007f6becf07536 abort (libc.so.6 + 0x26536) #2 0x00007f6becf5f5a8 n/a (libc.so.6 + 0x7e5a8) #3 0x00007f6becf66fea n/a (libc.so.6 + 0x85fea) #4 0x00007f6becf673dc n/a (libc.so.6 + 0x863dc) #5 0x000055666563ed7e n/a (/usr/bin/stalld (deleted) + 0x6d7e) systemd[1]: stalld.service: Main process exited, code=dumped, status=6/ABRT systemd[1]: stalld.service: Failed with result 'core-dump' - Resetting the extern variable to NULL after freeing the memory solves this issue. Change-Id: I18244692338599e0a0589c75a2714636bfd8a355 Signed-off-by: Ankit Jain <ankitja@vmware.com> Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/19967 Tested-by: gerrit-photon <photon-checkins@vmware.com> Reviewed-by: Srivatsa S. Bhat <srivatsab@vmware.com>
Also can I set a corp CA cert?
Thanks!
The text was updated successfully, but these errors were encountered: