moll / node-mitm

Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Super useful when testing code that hits remote servers.
Other
637 stars 48 forks source link

mitm #41

Closed roccomuso closed 5 years ago

roccomuso commented 7 years ago

isn't the MITM name misleading? we're analyzing packets, not doing any ARP poisoning.

moll commented 7 years ago

If you squint enough, there is a thing between the client and server that could intercept [network] packets. ARP poisoning is just one tactic to interject oneself between the client and server. Mitm.js's focus is on in-process use and thereby interjects itself through regular language features. ;)

moll commented 5 years ago

I'll close this as there's nothing particularly actionable here beyond philosophizing over semantics. :)