Open inspired opened 8 years ago
Same for custom CA certs (some do SSL inspection)
@inspired Can you share those changes with me. random[@]itforesight.net
@omegaleon I believe I just added this near the top of the file. Sorry, I don't have access to the file as it is in a customer environment
os.environ["HTTP_PROXY"] = "proxy.ip:8080"
os.environ["HTTPS_PROXY"] = "proxy.ip:443"
Hi guys, I'm struggling to get the proxy working and my python knowledge is not very good. Where did you configure the os.environ proxy in the duo.py? Cheers,
Right beneath the imports near the top of the duo.py file :-)
Hi guys, I'm struggling to get the proxy working and my python knowledge is not very good. Where did you configure the os.environ proxy? Cheers,
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bawood/TA-DUOSecurity2FA/issues/2#issuecomment-271349253, or mute the thread https://github.com/notifications/unsubscribe-auth/AADLJNGBI3eGuJrw-XSefdGmH7xOe2bPks5rQm79gaJpZM4KoPdo .
No joy :(. Do I need to restart splunk for it to apply?
You may need to delete the .pyc (sic) file and restart Splunk.
No joy :(. Do I need to restart splunk for it to apply?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bawood/TA-DUOSecurity2FA/issues/2#issuecomment-271365180, or mute the thread https://github.com/notifications/unsubscribe-auth/AADLJPJTa3BVomvENmbRR2_-HUGFRgAaks5rQn05gaJpZM4KoPdo .
I can't see a duo.pyc in the app folder. Where would that be? if it is duo.pyc?
bin/duo.pyc alongside bin/duo.py.
It's a compiled version of the Python file. If you can't find it restart Splunk and see if that works for you.
I don't have more info unfortunately. I was never able to get this working successfully because my client also needed SSL decryption and we weren't able to get that to work.
I can't see a duo.pyc in the app folder. Where would that be? if it is duo.pyc?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bawood/TA-DUOSecurity2FA/issues/2#issuecomment-271367589, or mute the thread https://github.com/notifications/unsubscribe-auth/AADLJEirNWKHLb-R1vTw4mhmP1bv4gzVks5rQn9MgaJpZM4KoPdo .
It would be great if the app had proxy support configurable via the Input Setup page.
As of now I've had to hard code the proxy settings in duo.py for the Python requests lib as well as hard code it for duo_client.Admin