Hacker GitHub

← All repos

Lerc/userserv

View on GitHub ↗ ★ 5 C

A static http server that serves with the permissions of individual Linux users

6 mentions on Hacker News by 2 people: 0 stories, 6 comments · first 2014-06-30 · latest 2025-05-26

Mentions per year 6 mentions · busiest year 2015 (2)
20082026
  1. Arrgh, now I get to live with the shame of someone looking at my code. Be wary of the https://github.com/Lerc/userserv component, because that's the bit that is only really proof-of-concept level and runs as root. It's the bit that allows…
    comment by Lerc · 2025-05-26
  2. https://github.com/Lerc/userserv/blob/master/authenticationt... This looks like something right out of a CTF. I'm pretty sure you can overflow that buffer and smash the stack. It's also vulnerable to a path traversal attack. What happens…
    comment by muricula · 2018-03-13 · in Writing a Microservice in Rust
  3. There's a version of some vintage at https://github.com/Lerc/userserv (it's terrible, don't judge me) It has node bits there but they aren't necessary for the basic static serving. If it gets a WebSocket connection it punts it on to node.
    comment by Lerc · 2018-03-08 · in Writing a Microservice in Rust
  4. …I needed to write a server designed specifically for the task at hand. In the end I wrote userserv https://github.com/Lerc/userserv for the one must have feature I needed. I needed logins and responses delivered from a process with the UID…
  5. …the output of "ls -al urlpath" was vastly easier to deal with. In the longer term I wrote a server https://github.com/Lerc/userserv It might be worth me revisiting userserv to switch to the SpockFS protocol. Currently I use a websocket…
  6. …the system evolved into https://github.com/Lerc/notanos Which uses it's own custom server https://github.com/Lerc/userserv which uses your unix login and statically serves files that your logged-in user is allowed to see.