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

That is correct. A decent method of side-stepping ISP DNS is to run Unbound DNS on your home router or a server in your home, if you can.

An example snippet from the configuration in Unbound DNS would look like this:

    forward-zone:
      name: "."
      forward-addr: 1.1.1.1         # CloudFlare
      forward-addr: 1.0.0.1         # CloudFlare
      forward-addr: 8.8.8.8         # Google
      forward-addr: 8.8.4.4         # Google
      forward-addr: 208.67.222.222  # OpenDNS
      forward-first: no
And you can view it's status with unbound-control:

    unbound-control dump_infra | grep 1\.1\.1
    1.1.1.1 . ttl 1745 ping 0 var 71 rtt 284 rto 284 tA 0 tAAAA 0 tother 0 ednsknown 1 edns 0 delay 0 lame dnssec 0 rec 0 A 0 other 0
This method of caching can also slightly improve the privacy of the people using your network. You get the bonus of a local low latency cache, and requests are distributed among multiple destinations, slightly reducing the marketing benefits of running those public DNS servers.

You can also enable TCP and TLS for recursive servers that support DoT (DNS over TLS). I prefer this over DoH, as everything in your home can benefit from it, not just your browser. Some of the servers mentioned above listen on TCP 853 for TLS. Just google "Unbound DNS TLS" There are some examples on Calomel as well. [1]

[1] - https://calomel.org/unbound_dns.html

comment 7y ago · link · parent

I am not talking about putting TheLounge or Convos on a VPS node. I am talking about IRC administrators putting that, or a fork of that in front of their IRC infrastructure, so that you and your friends will have chat history / session persistence.

The reference to VPS nodes was specifically for the case of WeeChat or Epic in a tmux or screen session as yet another alternate option. That is in no way related to TheLounge or Convos.

16833.

Facial recognition: Apple, Amazon, Google and the race for your face(cnet.com ↗)

2 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

I use a $12 pre-paid phone from Walmart. It has held up great for the past few years. It's probably time to get a new one. It looks like they discontinued mine and now there is a $30 version. [1] The only downside is the T9 texting, but I do not text a lot. The tiny battery in it lasts about a week without any charging.

[1] - https://www.walmart.com/ip/Verizon-Kyocera-Cadence-Prepaid-C...

comment 7y ago · link · parent

I agree with Mr. Trump in this specific case.

I work with developers that have the greatest of intentions, but they are human and bugs happen. Bugs provide a means for malicious people to do bad things that "should not be possible". Bugs can also be intentional given the right price and with software, they can target specific people or categories of people.

I appreciate the theory that computers will make less mistakes than humans overall. I also appreciate the reality that things will happen that should be impossible and the safety numbers could get destroyed in 30 seconds by an angst filled kid that found a script on github to take over cars. Shortly after the Sony hack, I was discussing this with a member of the Obama administration and the conclusion we came to was that self driving cars probably need regulation that is somewhere between current regulation and medical devices.

I am not in any way saying anyone here should not use self driving cars. I am just going to distance myself from them until things get a bit battle hardened.

comment 7y ago · link · parent

I too have worked for a bank and also had to take the mandatory 2 weeks off (contiguous) despite not having access to financial transactions. That took some getting used to. I missed being able to take off several Monday's in a row.

We certainly had to back everything up to write-once medium and store encrypted copies in Iron Mountain. Outside of financial institutions, I get dirty looks when I suggest backing up data this way. It also protects against bad automation.

16837.

Simple script to analyse your PostgreSQL database config, give tuning advice(github.com ↗)

276 points · by Bender · 7y ago · 49 comments

16838.

The internet is radicalizing white men. Big tech could be doing more(lite.cnn.io ↗)

3 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

Would this be caught or suggested in the postgres tuner script? [1]

[1] - https://github.com/jfcoz/postgresqltuner

16840.

Round 4: Hacker returns and puts 26Mil user records for sale on the Dark Web(zdnet.com ↗)

7 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

If they implemented one of the first two front-ends I linked, you would know what the message was and would not have to ask your friends to repeat The only people that opt-in are the IRC server infrastructure engineers. End users just connect to the web front end. The first two links turn your IRC servers into a Slack clone, except with more or less features. This is certainly non-trivial to set up and maintain and end users would not implement this. They are just consumers of it.

comment 7y ago · link · parent

Not sure I follow. The first to options I provided fix it for everyone.

comment 7y ago · link · parent

There are a few web clients that use redis to allow you to see history. I will be the first to admit, those clients don't scale as well as IRC itself does. [1] [2] And of course, someone would have to manage that infrastructure. It isn't for everyone.

Another option would be to rent a really cheap VM and run a tmux or screen session with weechat [3] or epic [4], but command line isn't for everyone either.

[1] - https://github.com/thelounge/thelounge

[2] - https://github.com/Nordaaker/convos

[3] - https://weechat.org/

[4] - http://www.epicsol.org/#getting_epic

comment 7y ago · link · parent

I am happy to see it go. For years I've had to block it in iptables using:

    iptables -t raw -I PREROUTING -i eth0 -p udp -m udp --dport 53 -m string --hex-string "|0000ff0001|" --algo bm --from 40 --to 65535 -j DROP
Most bots are poorly coded, so most of them don't try the individual records when ANY times out. ANY is also a decent generalized amplification attack vector. There are plenty of other ways to do amplification attacks, but this one is quite brain dead.

Thankyou to the folks at CloudFlare for submitting this.

16845.

Multi-Factor Auth Bypassed in Office 365 and G Suite IMAP Attacks(bleepingcomputer.com ↗)

1 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

Agreed. Plus when 4chan, a heavily moderated site gets blocked, people will just move to one of the less popular sites that may be less moderated. I used to run one of them and any time 4chan would change their rules, I would get a flood of new people.

comment 7y ago · link · parent

I don't, but my setup isn't complicated at all.

The front end caching nodes are just haproxy 1.9 (which has very simple caching now) which precluded my need for nginx. Those nodes have strongswan in transport mode using a simple pre-shared key. The backend is just a simple apache 2.4 server.

DNS is just NSD with multiple IP's in some of the A records. I don't do any GSLB or Anycast, nothing exciting there. The browser will use whichever IP answers which means the end users could end up on any nodes. I could get fancy and use GeoIP mapping to keep most requests on the same continent. Maybe I should set that up this weekend.

comment 7y ago · link · parent

Is this specific to Tor, or would it also affect CDN's? I am not a fan of commercial CDN's (for my own hobby sites) so I set up haproxy+strongswan VPN nodes in various VPS sites around the world, that cache and relay traffic to/from a few nodes in another VPS. For all intents and purposes, my websites are actually hidden, despite having public IP addresses and names. I've had front-end caching nodes in Germany before.

comment 7y ago · link · parent

I blame this on watching both HN and n-gate. [1] I have a reflex action of sharing my deepest darkest secrets.

[1] - http://n-gate.com/

16850.

Proof-of-concept code published for Windows 7 zero-day(zdnet.com ↗)

1 points · by LinuxBender · 7y ago · discuss

16851.

ASD reveals rules for keeping vulnerabilities secret(zdnet.com ↗)

4 points · by LinuxBender · 7y ago · discuss

16852.

Facebook debuts AI tool to tackle revenge porn(zdnet.com ↗)

4 points · by LinuxBender · 7y ago · 1 comment

16853.

'100 unique exploits and counting' for latest WinRAR security bug(zdnet.com ↗)

8 points · by LinuxBender · 7y ago · discuss

comment 7y ago · link · parent

Apologies, I often skip spell checking and my fingers have a different idea of how some things should be formed.

I shall tighten my Cilice [1] to position number 3 today.

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

j/k just trying to put an image of a monk in your mind. :-)

comment 7y ago · link · parent

The same thing happens with lightening strikes. People get hit by the sonic blast wave or distant lines of flux and are convinced they were hit by lightening. In reality, this isn't even remotely possible. The temperature of the contact point in lightening on a human is around 50,000 degrees Fahrenheit. It does spectacular things to the body. Yet, there are often headlines of a person describing being "hit by lightening".

comment 7y ago · link · parent

That's very impressive.

comment 7y ago · link · parent

Are those tamper proof? I recall some engineers testifying before congress about specifically making paper ballot systems that were designed to allow altering results. DieBold I think? I don't have a link handy, but it seems that is just as fallible.

Or do you mean hand written ballots? Does anyone still use those?

And yeah, the digital ones have been hacked at DefCon by children. (their parents taught them how to hack the devices, so I guess that is cheating)

Maybe throw in some Blockchain or did I use a BS Bingo term?

comment 7y ago · link · parent

In fact, the first machine I looked inside of was from the late 70's. It was certainly built to last. I think the company that made it was out of business which is why we were tinkering with it in the first place.

comment 7y ago · link · parent

Have there been any competitions to make an open source, highly scalable and verifiable anti-tampering voting system? Maybe even a competition to see how few resources can be allocated to facilitate millions of simultaneous voters? i.e. "did it in 50 lines of python!" like the javascript 1k competitions. [1]

[1] - https://js1k.com/

comment 7y ago · link · parent

I am not arguing, just providing alternate options. They are not for everyone.

FWIW, there are also shiny front-ends to NNTP. That would actually be a great way to have a threaded messaging system and attachments.

1
561562563
642