Giter VIP home page Giter VIP logo

Comments (4)

Eugeny avatar Eugeny commented on May 25, 2024

Could you try downloading the response body as-is (browser devtools -> reload page -> network tab -> find the document request (first) -> copy as curl -> run it and save into file) and feed it to file to see if it gets recognized as some other compression format maybe?

Also please compare the headers returned through Warpgate and when accessing the page directly

from warpgate.

TheBugiMan avatar TheBugiMan commented on May 25, 2024

I'm remote from my lab today but I have been able to gather some information.

I've attempted a few different file typing/identifying methods to see if it is 'compressed' or another file type, but everything is returning it a generic binary data, so I don't believe it is a mistyped file/return.

Comparing the headers at the browser you can see that there is a difference in the content-type. Warpgate returns text/html; charset=utf-8 whereas a NGINX reverse proxy I have set up only returns text/html;. Interestingly, this appears to be added by Warpgate as when capturing the same connection attempt behind Warpgate, the response from the device/server does not contain the utf-8 charset.

NGINX browser headers
image

Warpgate browser headers
image

Response from device
image

Of course this doesn't make too much sense why this would be causing some issues, because the webpage itself includes the meta charset of utf-8 unless there is some weird browser or Warpgate interaction (stepping well out of my comfort zone here). But that said, I have this issue on Windows and Mac under Firefox and Chrome (this testing/output from Windows Firefox). I can't recall if I have tested under MacOS Safari but I can confirm same behavior on IOS Safari.

from warpgate.

Eugeny avatar Eugeny commented on May 25, 2024

Is there a chance you could run tcpdump on the server side to capture the traffic directly between Warpgate and Fortigate?

from warpgate.

TheBugiMan avatar TheBugiMan commented on May 25, 2024

The "Response from device" above is a packet capture (loaded into wireshark) captured on the FortiGate, is that sufficient? I came provide that.

I could try and capture on my Docker host but would be trickier as Docker and FortiGate are both VMs on the same physical host, and presumably show the same being direct without anything between them.

from warpgate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.