Better HN
topnewbestaskshowjobs
Log inSign up

LinuxBender

57,650 karma · joined Jun 16, 2015 (11y ago) · 19,241 submissions

I am not for everyone. To ignore me in uBlock Origin, add to "My filters":

   news.ycombinator.com##tr.athing.comtr:has(a.hnuser):has-text(/\bLinuxBender\b/)
For HN usage questions see https://github.com/minimaxir/hacker-news-undocumented for HN tips (not my repo)

    (\_/)
    (='.'=)
    (")_(")
Submissions

comment 7y ago · link · parent

They become enslaved, then there is a great war, then everyone starts over and learns everything.

I could be confusing this with Dune. [1]

[1] - https://en.wikipedia.org/wiki/Dune_(novel)

comment 7y ago · link · parent

The 1.3 snapshots have echo canceling and normalization.

comment 7y ago · link · parent

I stand corrected. [1] I will see if I can find a way to replace a voice stream. Perhaps I am thinking of a forum thread about PFS.

[1] - https://security.stackexchange.com/questions/58568/is-mumble...

16774.

Fart bullying case: Engineer contests A$1.8m court ruling(bbc.com ↗)

2 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

That also makes the server requirements very simple. I have a tiny VM that can handle a lot of users.

[edit] removed e2e, the clients are not using pfs yet.

comment 7y ago · link · parent

They update the the 1.3.x branch every couple months. It is quite stable. My semi-public server has been running on 1.3.x latest without issue.

16777.

Mumble – Open source, low latency, high quality voice chat software(wiki.mumble.info ↗)

620 points · by Bender · 7y ago · 214 comments

16778.

Ops School Curriculum (2012)(opsschool.org ↗)

103 points · by LinuxBender · 7y ago · 23 comments

comment 7y ago · link · parent

I would not be surprised by this. FOIA requests do not have to be answered. Even if you get an answer, they can say, "Declined due to classification" or they can give answers so vague it may as well be a car commercial.

The FOIA requests I submitted whilst in the military a couple decades ago made it all the way to the vice president and came back down the chain as several boxes of paperwork that amounted to "The chief medical officer of the DoD can determine the appropriate usage of your DNA". In fairness, Al Gore did take on my request outside of the FOIA process, but he didn't have to.

comment 7y ago · link · parent

5-HTP is created by your body, from L-Tryptophan, which is an amino acid. Your body converts many micro-nutrients into various amino acids and hormones. Some vendors pre-convert these things so they are in a safer form to use. 5-HTP is much safer to consume than L-Tryptophan.

comment 7y ago · link · parent

I've been running this for a couple days now. In summary, about 85% of the bots give up in 5 to 30 seconds. The remainder of them will remain stuck anywhere from 700 to 9000 seconds. It is at least interesting to see how bots have evolved.

comment 7y ago · link · parent

> And can one prevent ddos using iptables?

No, but you can minimize the impact or effectiveness of the attack. This is a long topic however. Probably better suited to a blog post or a youtube video.

16783.

Contra Costa elections detects attempted hacking into internet system(mercurynews.com ↗)

2 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

If it opens a socket, it gets hardening. It's just a best practice I follow. Code can change. Subtle changes can lead to gaps, so I wrap that rascal regardless.

comment 7y ago · link · parent

AWS have services to back up your data. Anything that a human or automation can touch can be obliterated instantly. This includes your live, staging and disaster recovery sites.

Important data must be backed up where humans and automation can't remove it. A vaulting policy / data retention policy is also useful.

16786.

Oracle spaffed $30bn on buybacks the past 9 months, analysts warn it can't last(theregister.co.uk ↗)

2 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

My pleasure!

comment 7y ago · link · parent

Yes be super careful with Labrea on VPS providers and dedicated server providers. They tend to get upset if you are trying to pick up IP's. In most cases it won't even work on KVM hosts.

I've used Labrea on unused address space to make ARIN/RIPE happy back in the day and that was harmless, as entire /16's and /17's were unused. They used to nag about nothing in the /16's being pingable, so Labrea made it all 100% pingable

comment 7y ago · link · parent

The thought crossed my mind, but I am lazy and the proper change would be to write a configure script that checks for the availability of the various hardening options.

There are decent examples in the Tor source code.

comment 7y ago · link · parent

That would be easy to do with an iptables DNAT rule. You can take a large set of ports and forward them to this daemon.

    iptables -t nat -I PREROUTING -m tcp -p tcp --dport 1:79 -j DNAT --to-destination x.x.x.x:2222

    iptables -t nat -I PREROUTING -m tcp -p tcp --dport 81:442 -j DNAT --to-destination x.x.x.x:2222
...etc

Just remember to open those same ports in the INPUT rules. If you get DDoS, then also create NOTRACK target rules in the raw table to avoid hitting the conntrack table.

comment 7y ago · link · parent

I could see a few ways to use this. For me, what makes sense for my public sftp servers is to put this on a higher port, then use ipset lists to dynamically add bots to a DNAT rule and send them to this instead of the proper sshd.

i.e. you get 2 chances to authenticate correctly, then I put you in this hamster wheel for a day. Hamster wheels and intermittent fasting are all the rage these days.

comment 7y ago · link · parent

I like this! It's tiny, simple, yet effective.

    2019-03-22T19:54:06.303Z ACCEPT host=::ffff:196.52.43.xx port=50327 fd=4 n=1/4096                                        
    2019-03-22T19:54:38.838Z CLOSE host=::ffff:196.52.43.xx port=50327 fd=4 time=32.535 bytes=199

    2019-03-22T19:57:12.008Z ACCEPT host=::ffff:141.98.81.xx port=53646 fd=4 n=1/4096                                        
    2019-03-22T19:57:21.118Z CLOSE host=::ffff:141.98.81.xx port=53646 fd=4 time=9.110 bytes=30
The 141 bot never stays longer than 5 seconds. I'm guessing they are using 'expect' and waiting 5 seconds for a particular string.

The only thing missing is setting some glibc hardening options

    RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH FORTIFY Fortified Fortifiable  FILE
    Partial RELRO   No canary found   NX enabled    No PIE          No RPATH   No RUNPATH   No 0  8 ./endlessh
I modified one line in the Makefile

    CFLAGS  = -std=c99 -Wall -Wextra -Wno-missing-field-initializers -D_FORTIFY_SOURCE=2 -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -ftrapv -s -g -Wl,-z,relro,-z,now -Wl,-z,noexecstack -pipe -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection --param ssp-buffer-size=4 -fPIE -pie -m64 -mtune=generic
It's better now

    RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH FORTIFY Fortified Fortifiable  FILE
    Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   Yes 3  4 ./endlessh

comment 7y ago · link · parent

Good point.

Send .02 BTC to avoid locking your heart

comment 7y ago · link · parent

Does this mean we will eventually see peoples hearts being ransomware / crypto-locked?

Send 100 BTC to avoid shut-down of your heart

16795.

Those Midwestern Floods Are Expected to Get Much, Much Worse(wired.com ↗)

1 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

In the mean time, just have an office near each port that contains short-range drivers that can hop into the driverless trucks for the last couple miles.

comment 7y ago · link · parent

Instead of adding overhead, could you instead rate limit random activity, to smooth out the noise floor, but keep a constant noise floor?

I do this on VPN links, using a bi-directional rate limited rsync and QoS. SSH takes priority over the rsync, so there is no added latency. Rsync just fills in the silence on the VPN. Some people call this padding.

comment 7y ago · link · parent

I would want the features of links2 or eLinks [1] and the ability to whitelist or blacklist javascript per domain in a text file (.rc file). I would also want it to support reading proxy .pac files.

Most important, I would want a large community of active developers supporting it.

[1] - https://en.wikipedia.org/wiki/ELinks

16799.

Facebook staff 'flagged Cambridge Analytica fears earlier than thought'(bbc.com ↗)

2 points · by LinuxBender · 7y ago · discuss

16800.

Hackers Take Down Safari, VMWare and Oracle at Pwn2Own(threatpost.com ↗)

1 points · by LinuxBender · 7y ago · discuss

1
559560561
642