Code Monkey home page Code Monkey logo

mitmproxy's Introduction

DISCLAIMER

mitmproxy, a project by @cortesi, @maximilianhils, and @raumfresser.
Maintained by the core team with the help of fantastic contributors.
Code licensed MIT, website © Mitmproxy Project.

This repository contains only binaries and their compilation approach. The reason behind it is official rejection from MitmProxy maintainer to provide binaries, that can run in RHEL 7 and CentOS 7.

  • No copyright infringement intended.
  • No personal attack implied, this is the solution, not ad hominem argument

Why

Original build of MITMProxy is built on top of GLIBC with version, that is higher than GLIBC available in CentOS. So pre-compiled binaries, that can be downloaded from https://mitmproxy.org/downloads/ will not work in CentOS 7. Developer(s) officially refused to support older version of GLIBC (issue link).

What

One does not simply upgrade GLIBC in the system; so the most elegant solution would be to recompile MITMProxy from sources in the system, that it will be run in - CentOS 7.8 in our case.

CentOS 8 has GLIBC upgraded and this workaround will become irrelevant when we upgrade OS on our live hosts and therefore our local enviroments.

The idea is straightforward - the local VM with CentOS 7 is created, sources are downloaded, build instructions overriden, binaries compiled and downloaded from VM to host machine.

How

vagrant up

This will power on the virtual machine, create necessary folders locally, run provisioning, and retrieve compiled files from VM to the host if everything goes smoothly.

vagrant destroy

After the previous process succeeds in order to keep your local VMs clean from unnecessary instances.

mitmproxy's People

Contributors

haran avatar

Watchers

 avatar  avatar

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.