Simulate enterprise proxy

Wilhelm Berg's Avatar

Wilhelm Berg

11 Dec, 2014 07:04 PM

Hi Feodor,

for some of our tools we would like to simulate an enterprise proxy when running tests.

Do you have any suggestions how we could accomplish that on AppVeyor?

I got it working locally like this:
https://github.com/mapbox/mason/wiki/Windows:-Simulate-an-enterpris...

Now I'm trying to achieve the same on AppVeyor:
https://github.com/BergWerkGIS/proxy-tests/blob/9d2b77a64d41a4cdfd0...

But the output stops at powershell Set-NetFirewallProfile -DefaultOutboundAction Block:
https://ci.appveyor.com/project/BergWerkGIS/proxy-tests/build/1.0.1...

I suppose that locking down all outbound traffic except for privoxy.exe is responsible for that and that you need a special port to show progress in the console?
Right?

Regards,
willy

  1. Support Staff 1 Posted by Feodor Fitsner on 11 Dec, 2014 07:18 PM

    Feodor Fitsner's Avatar

    Yeah, that's probably the reason :)

    Build workers use outbound SignalR connection to AppVeyor service at https://ci.appveyor.com
    I guess you should leave 443 port opened for TCP. Alternatively, you could allow all outbound traffic to build agent executable, because running tests would spawn a new process anyway.

  2. 2 Posted by Wilhelm Berg on 11 Dec, 2014 08:18 PM

    Wilhelm Berg's Avatar

    I would prefer to not leave 443 open.

    Just to make sure, that our tools don't make any direct connections.

    What would be the path and filename of the build agent executable?

  3. Support Staff 3 Posted by Feodor Fitsner on 11 Dec, 2014 08:22 PM

    Feodor Fitsner's Avatar

    C:\Program Files\AppVeyor\BuildAgent\Appveyor.BuildAgent.Interactive.exe - interactive runner on new environment

    C:\Program Files\AppVeyor\BuildAgent\Appveyor.BuildAgent.Service.exe - service runner on Azure

  4. 4 Posted by Wilhelm Berg on 11 Dec, 2014 08:35 PM

    Wilhelm Berg's Avatar

    Thanks!
    Console updates even after -DefaultOutboundAction Block.

  5. Support Staff 5 Posted by Feodor Fitsner on 11 Dec, 2014 08:52 PM

    Feodor Fitsner's Avatar

    Nice! Great it worked for you!

    -Feodor

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac