News for hackers. Stuff that matters.
Re:Mitmproxy 8 by armitron on Sunday March 20, 2022 @12:02PM (#30743791)
Nice idea but terrible implementation. Mitmproxy solves a lot of annoying problems, but, Python holds it back to such an extent that it's hard to make the case for deploying it in production due to massive inefficiencies.

Can't wait for someone to do it in Go.

Re:Mitmproxy 8 by develatio on Sunday March 20, 2022 @12:06PM (#30743830)
I thought mitmproxy was designed to make it easier to debug stuff in a local environment. Why would you want to deploy it to production? How would you use it?
Re:Mitmproxy 8 by retrobox on Sunday March 20, 2022 @12:15PM (#30743927)
I’m also curious about the use case. For debugging things locally, it is ideal for my needs.
Re:Mitmproxy 8 by armitron on Sunday March 20, 2022 @12:16PM (#30743939)
Many different applications: Red/blue teaming, metric collection, policy-based decision making.
Re:Mitmproxy 8 by marginalia_nu on Sunday March 20, 2022 @12:24PM (#30744014)
Seems like a bit of a foot-gun to do these things by effectively undermining your own security.
Re:Mitmproxy 8 by Cyphase on Monday March 21, 2022 @01:42AM (#30750701)
Red teaming at least is all about undermining ~your security. ;)
Re:Mitmproxy 8 by throwaway1777 on Sunday March 20, 2022 @12:11PM (#30743875)
Maybe they write malware?
Re:Mitmproxy 8 by stgn on Sunday March 20, 2022 @12:18PM (#30743954)
One of the things I like about mitmproxy is how easy it is to develop and use addons. You just pass a script file to it. How would you achieve such painless extensibility if it were written in Go?
Re:Mitmproxy 8 by Beltalowda on Sunday March 20, 2022 @12:41PM (#30744190)
Exactly this.

It's very hard to do with Go; also see Hugo, where Go is in many ways "holding it back" compared to something like Jekyll, which you can customize and hack with great ease.

I love Go, but this kind of things is not where it shines.

Re:Mitmproxy 8 by creeble on Sunday March 20, 2022 @12:16PM (#30743932)
Not sure I understand "MITM" and "in production".
Re:Mitmproxy 8 by armitron on Sunday March 20, 2022 @12:17PM (#30743948)
Every single major corporation does "MITM in production".
Re:Mitmproxy 8 by Beltalowda on Sunday March 20, 2022 @12:43PM (#30744211)
mitmproxy is explicitly intended as an interactive MITM for debugging: "your swiss-army knife for debugging, testing, privacy measurements, and penetration testing".

What you're talking about here was never a goal. And being in Python means it's much easier to extend, which is also greatly useful.

Re:Mitmproxy 8 by creeble on Sunday March 20, 2022 @12:28PM (#30744049)
Well, okay, got me. But you don't need to do what mitmproxy does in that case.
Re:Mitmproxy 8 by oarsinsync on Sunday March 20, 2022 @05:43PM (#30746979)
This isn't a replacement for a Bluecoat, this is a developer/debugger application.
Re:Mitmproxy 8 by dstotijn on Monday March 21, 2022 @03:01AM (#30751063)
FWIW: I'm building something in Go (https://github.com/dstotijn/hetty). But it's pretty early stage and not even near the featureset that mitmproxy or Burp Suite has. Also I wouldn't dare say it's more efficient (yet!). But Go has been great so far to build it.

As mentioned elsewhere: (dev friendly) extensibility/add-ons with Go will be an interesting challenge. Haven't looked into it yet.

Re:Mitmproxy 8 by SixDouble5321 on Tuesday March 22, 2022 @06:07AM (#30764408)
This banana is delicious but makes for a terrible automobile. I wish someone would make a banana that could get me to work on time.

In other news I know of a MitM proxy that works as advertised, has a decent UI, and is reasonably tasty.

Re:Mitmproxy 8 by fork-while-fork on Sunday March 20, 2022 @12:43PM (#30744212)
Check out bettercap