Live data from Hacker News

Httptap: View HTTP/HTTPS requests made by any Linux program

github.com

101–110 of 148 posts

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#101
Quite interesting! I've written a library that does something similar ("tap") for a Go application: https://github.com/henvic/httpretty https://asciinema.org/a/297429

I also thought about doing something like this for any program, but never really investigated how to do it. Nice to see someone out there created it :)

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#102
post #72
post #11

Earlier quoted context omitted.

To be honest: This sounds like just another of the many many other yoga/spiritual cults that currently exist all over the western world. EDIT: typos and slight wording changes

I believe I grew up in a cult myself, and one of the things I've concluded from that experience, and from leaving it, is that everywhere is a cult. Humans have a tendency towards cult-ish life, and if the cult is big enough we just refer to it as "society". People were as afraid (more or less) to leave the cult I was at, as people are around me now when they consider doing anything that is out of the norm. By no mean…

Isn't it funny how the very word "culture" is sort of related to "cult".

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#103

Why not use eBPF instead? Then you could see all http requests from all processes at once, including ones that are already running. Plus you wouldn't need to bother with TLS at all, just hook on e.g. write(2).

Using uprobes to hook the SSL library, would it be possible to filter content by inspecting and modifying eg the decrypted HTTP response ?

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#105
post #98
post #72

Earlier quoted context omitted.

I believe I grew up in a cult myself, and one of the things I've concluded from that experience, and from leaving it, is that everywhere is a cult. Humans have a tendency towards cult-ish life, and if the cult is big enough we just refer to it as "society". People were as afraid (more or less) to leave the cult I was at, as people are around me now when they consider doing anything that is out of the norm. By no mean…

A "cult" is a rather specific kind of organization. The typical hallmarks are non-mainstream spiritual beliefs, highly controlling and exploitative leadership, and rules against interacting with outsiders. Non-conformity generally results in outsized (sometimes violent) punishment and shame. Under this definition, for example, Catholic nuns are decidedly not a cult. They know what they are in for when the join, and m…

i think you just reaffirmed the parent's point. if a cult can only be "non-mainstream", i think you are just saying cults become societies once they're large/successful enough. i see plenty of examples of your other indicators in mainstream society.

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#106

Why not use eBPF instead? Then you could see all http requests from all processes at once, including ones that are already running. Plus you wouldn't need to bother with TLS at all, just hook on e.g. write(2).

Using uprobes to hook the SSL library, would it be possible to filter content by inspecting and modifying eg the decrypted HTTP response ?

absolutely

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#107

Why not use eBPF instead? Then you could see all http requests from all processes at once, including ones that are already running. Plus you wouldn't need to bother with TLS at all, just hook on e.g. write(2).

Unfortunately TLS happens inside the the application, not in the kernel, so using eBPF to hook syscalls to write won't help with TLS decryption.

But read and write syscalls are used by the application to do I/O on the sockets before/after the encryption, which can be intercepted. Or you can attach uprobes directly to the TLS library's own functions.

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#108
post #47
post #40

Earlier quoted context omitted.

I don't know if it's a standard but I believe a lot of tls libraries honor the SSLKEYLOGFILE env-var https://wiki.wireshark.org/TLS#:~:text=and%20curl%20when-,th...

That seems like an unnecessary vulnerability waiting to happen.

Can’t wait till they patch it away and we lose the ability to investigate our own https traffic.

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#109
post #19
post #11

Earlier quoted context omitted.

To be honest: This sounds like just another of the many many other yoga/spiritual cults that currently exist all over the western world. EDIT: typos and slight wording changes

There is absolutely nothing in their README to suggest that you are using the word "cult" properly.

Their video has a cultish vibe. Not necessarily of the dangerous variety, but there seemed to be a lot of shared jargon and groupthink under the umbrella of "freeing your mind."

Re: Httptap: View HTTP/HTTPS requests made by any Linux program

#110
post #11
post #4

The "How it was made" section of the README was not less interesting than the tool itself: > The way we have set things up is that we live and practice together on a bit over a hundred acres of land. In the mornings and evenings we chant and meditate together, and for about one week out of every month we run and participate in a meditation retreat. The rest of the time we work together on everything from caring for t…

To be honest: This sounds like just another of the many many other yoga/spiritual cults that currently exist all over the western world. EDIT: typos and slight wording changes

It’s a Buddhist monastery.
Post reply on HN