Hacker Newsnew | past | comments | ask | show | jobs | submit | epitactic's commentslogin

> sshd on your shared university server

Another attack scenario applies if the shared server hosts a web server:

If you have a shell and can bind a port, listening for HTTP requests. Example: nc -vvl 8080

Trick a victim into visiting your malicious port: http://example.com:8080/

The attacker gets the victim's cookies for http://example.com:80/ (and https://example.com:443/, if the "secure" flag is not set). And all other ports.

This attack succeeds because "Cookies do not provide isolation by port" (RFC6265 Section 8.5).

What is the fix? If only the cookie spec allowed binding to specific ports...

But an alternate fix could be requiring web browsers to only connect to privileged ports. 80 and 443, or any port <1024, thwarting the unprivileged user from exfiltrating cookies.

Unfortunately this ship has sailed and web browsers now have to support unprivileged ports forever. A more practical defense, in practice, is to consider this scenario out of scope, and/or implement application-level authentication. I am with you, and would have advocated privileged ports to defend against these attacks (with http and ssh and other services), but am not optimistic it will gain any traction. The world has moved on, and even multi-user shell servers are becoming increasingly rare (as much as I use them - still a proud Super Dimension Fortress member)


Well, that's a bug in the HTTP cookie spec. Regrettable, but as you note something that should have been foreseen. There's absolutely no excuse, as RFC6265 itself notes "cookies contain a number of security and privacy infelicities."

This bug is unrelated to port privileges


The first problem can be solved with curl-impersonate: https://github.com/lwthiker/curl-impersonate

"A special compilation of curl that makes it impersonate Chrome & Firefox", and it now can also impersonate Edge and Safari.

Previously discussed: https://news.ycombinator.com/item?id=30378562 _Show HN: Curl modified to impersonate Firefox and mimic its TLS handshake_ (21 days ago, 58 comments)


MySQL uses `backticks` for quoting identifiers, ANSI SQL and PostgreSQL use "double-quotes", SQL Server and MS Access use [square brackets].

SQLite supports all three: https://www.sqlite.org/lang_keywords.html


An interesting parallel, Facebook and Twitter also do not allow downvoting, which may also have similar negative effects as Spotify's lack of dislikes:

https://questioner.substack.com/p/our-violent-era

> So Twitter artificially removes all the negative feedback (the downvotes) and only shows the positive feedback (the upvotes), leading many of their users to the mistaken impression that their insane ideas are immensely popular.


This is why I've setup my homelab with a hypervisor, you don't have to choose and can run each of these operating systems, for specific purposes they are best suited for. This is what I do:

OpenIndiana: file server (ZFS)

OpenBSD: firewall, router, network services (DHCP, DNS, NAT)

DragonflyBSD: game server

FreeBSD: other general application services

I haven't found a personal use case for NetBSD yet, though I would like to (it is great for embedded systems).


Is OpenIndiana really better than FreeBSD or ZFS on Linux today? I’ve had a pretty great experience using ZFS with NixOS but I’m curious if I’m missing anything.


Yeah I think using ZFS on even Linux is fine now since they’re using the same code base at this point.(IME Ubuntu has the most painless experience as it ships with the kernel by default.)


Which hypervisor are you using for that? I used to run Xen for a similar purpose, but I ended up just running normal debian with a bunch of lxc containers instead after dealing with some Xen issues that were difficult to unravel.


ESXi (free version), it works well though if I had to do it again from scratch today, I'd probably go with KVM


Tried Proxmox?


Or SmartOS?


Why did you choose DragonflyBSD for the game server vs. another BSD?


Also, which games? curious what is easily hosted on BSD :)


Which games are you hosting on dragonfly, and is the performance actually better than freebsd?


"All of them" is an interesting answer.


> But what can we do to treat the cause, instead of just the symptoms?

By affecting the bottom line, increasing expenses and/or decreasing profits.

> If they stop working (or rather work less – it's a spectrum)

AdNauseam is an interesting attempt in this space - a browser plugin to automatically "click every ad to fight surveillance" (their words). By clicking everything, clicks become less valuable, at least in theory, but it has not really caught on.

> I feel the fix will be more along the lines of improving individual psychology and mental wellbeing, rather than entering the arms race of adversarial technology to block packet traffic (or whatever).

I agree with this. Ad blocking, ad clicking, packet blocking, is all thinking too small, always trying to catchup. It will always be behind and while useful for a niche subset of users, these kinds of technologies are more bandaids than a real solution to trigger fundamental changes to the advertising tracking industry.

What is a real, impactful solution? I don't know, but an area I have not seen explored much, considering by analogy:

Internet : Web :: Big Tech : ???

That is, the web layered on top of the Internet, as a disruptively transforming application, extracting and providing value.

Can another technology be created to build on the foundations provided by Big Tech, delivering value they provide, while avoiding their tracking/advertising downsides? I have little idea what this would look like in practice (how do you disrupt a billion dollar industry?), but if someone can crack this nut, it may change the world. Startup idea elevator pitch: disrupt Big Tech.


you have to poison the well. find a way to scramble enough of the data collected that they can trust none of it.


Navidrome [2] is another relatively new option for music streaming servers. Lightweight, written in Go, can handle very large music collections, and is compatible with Subsonic/Madsonic/Airsonic.

[2] https://github.com/navidrome/navidrome


The UI is pretty good by modern standards, the existing features work very well, it is very stable IMHO (at least with my 9300+ songs), it is very easy to install.

I have tried 'em all and I'm sticking with Navidrome!

Edit: I forgot, it's fast on a Raspberry Pi 3B, which some aren't.


Submission statement: starting in October of last year, YouTube conducted what has been called a "massive purge" of channels. The BitBurned directory is an index of such (former) channels, with links to where they can be found on "alt-tech" (in contrast to Big Tech) services, including: Bitchute, Parler, Gab, and Rumble.

Recent relevant articles of interest, showing this is an important topic:

https://news.ycombinator.com/item?id=27874527 Right or left, you should be worried about big tech censorship - eff.org - 2021-07-18 (309 comments)

https://news.ycombinator.com/item?id=27858032 Google Drive bans distribution of “misleading content” - support.google.com - 2021-07-16 (1531 comments)

https://news.ycombinator.com/item?id=27646686 YouTube takes down Xinjiang videos, forcing rights group to seek alternative - Reuters - 2021-06-26 (261 comments)

https://news.ycombinator.com/item?id=26215122 Online Speech Is Now an Existential Question for Tech - WSJ - 2021-02-21 (40 comments)

https://news.ycombinator.com/item?id=26045088 The war on disinformation is a war on dissent - humanevents.com - 2021-02-06 (437 comments)

https://news.ycombinator.com/item?id=25359003 YouTube to remove content that alleges widespread election fraud - blog.youtube - 2020-12-09 (3227 comments)

https://news.ycombinator.com/item?id=25097145 Conservatives flock to Parler, claiming censorship on Facebook and Twitter - npr.org - 2020-11-15 (876 comments)


Ah yes Qanon, real bastion of objectivity there.


List of channels, covering a variety of topics:

Amazing Polly

And We Know (Romans 8:28)

Blessed2Teach

Destroying the Illusion

Dollar Vigilante

Dr. Charlie Ward

Dustin Nemos

Free Your Mind

InTheMatrixxx

In Pursuit Of Truth (IPOT)

James Red Pills America

Storm Is Upon Us

JustInformed Talk

Know More News

Linda Paris

MouthyBuddha

Nemos News Network

Edge Of Wonder

Patriot News Channel

PrayingMedic

Sarah Westall

SGT Report

Spaceshot76

Stroppy

The Last American Vagabond

Titus Frost

TruReporting

Truth and Art TV

WokeSocieties

RedPill78

World Alternative Media

X22Report

Good Lion Films

Oliver Janich

Citizen of Gotham

L. Lin Wood

Sidney Powell

CodeMonkeyZ


Yeah, big bunch of Qanon channels, you must be so proud.


> It gets worse - gain of function research was banned under Obama until the ban was lifted in 2017 under Trump - https://www.thelancet.com/journals/laninf/article/PIIS1473-3...

The ban was actually lifted by the Obama administration, _11 days prior_ to Trump taking office.

Source: https://obamawhitehouse.archives.gov/blog/2017/01/09/recomme...

JANUARY 9, 2017 AT 9:06 Recommended Policy Guidance for Potential Pandemic Pathogen Care and Oversight

"Adoption of these recommendations will satisfy the requirements for lifting the current moratorium on certain life sciences research that could enhance a pathogen’s virulence and/or transmissibility to produce a potential pandemic pathogen (an enhanced PPP)."


I had the same question - it appears the We Are as Gods documentary is not out yet. According to IMDB, it will be released in March 2021 at the SXSW film festival (March 16-20).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: