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

18901.

Heathrow probe after 'security files found on USB stick'(bbc.com ↗)

1 points · by LinuxBender · 9y ago · discuss

18902.

Bug in Google's Bug Tracker(motherboard.vice.com ↗)

2 points · by LinuxBender · 9y ago · discuss

comment 9y ago · link · parent

... especially considering people eat fast food, which is slow-acting residual poison. I would be more concerned about fast food and candy from any source.

18904.

Humans Need Not Apply (2014)(youtube.com ↗)

1 points · by LinuxBender · 9y ago · discuss

comment 9y ago · link · parent

No problem. If you run into issues, it could be that your particular DNS server may put the result code in a different part of the packet. If that is so, simply use

  tcpdump -p -i interface -NNnn -s0 -c100 -SeX port 53
and look for the 8400 and 8500 hex codes and what the number in the far left column is. Then adjust iptables accordingly to look in that part of the packet.

Another way to do this is to modify the source code of the DNS server, but I found that to be too time consuming.

Disclaimer: I should also add that the above method of using iptables to drop anything we do not know about does violate some RFC's and instead follows the thing our Mom's taught us, "If you don't have anything nice to say...". That said, you would have to decide if bending some RFC's is ok. In a Corporate environment it can lead to confusion and time lost troubleshooting.

18906.

Proper method to disable polkit.service on CentOS 7? (systemd)(serverfault.com ↗)

2 points · by LinuxBender · 9y ago · discuss

18907.

Friendship with Professor okay?(academia.stackexchange.com ↗)

1 points · by LinuxBender · 9y ago · discuss

18908.

We can't both be right(n-gate.com ↗)

1 points · by LinuxBender · 9y ago · discuss

18909.

Watch_net: A Simple Bash Function to Watch Layer-3 Stats in Linux(tinyvpn.org ↗)

1 points · by LinuxBender · 9y ago · discuss

18910.

Cancer Patients Are Making Their Own DIY Immunotherapy Treatments(gizmodo.com ↗)

2 points · by LinuxBender · 9y ago · discuss

18911.

A Nearby Neutron Star Collision Could Cause Calamity on Earth(scientificamerican.com ↗)

2 points · by LinuxBender · 9y ago · discuss

18912.

Is it unethical to make a game AI that is secretly non-competitive?(gamedev.stackexchange.com ↗)

3 points · by LinuxBender · 9y ago · discuss

18913.

Why was AES CBC removed in TLS 1.3?(crypto.stackexchange.com ↗)

4 points · by LinuxBender · 9y ago · discuss

18914.

Saudi Arabia invests $1B in Richard Branson’s space plane and rocket(arstechnica.com ↗)

2 points · by LinuxBender · 9y ago · discuss

18915.

Millions in the middle class will feel it if GOP kills this tax break(money.cnn.com ↗)

1 points · by LinuxBender · 9y ago · discuss

18916.

WhatsApp and Facebook to face EU data taskforce(bbc.com ↗)

1 points · by LinuxBender · 9y ago · discuss

comment 9y ago · link · parent

Certainly!

  -A OUTPUT -p udp -m udp --sport 53 -m string --hex-string "|8500|" --algo kmp --from 30 --to 31 -j ACCEPT
  -A OUTPUT -p udp -m udp --sport 53 -m string --hex-string "|8400|" --algo kmp --from 30 --to 31 -j ACCEPT
  -A OUTPUT -p udp -m udp --sport 53 -j DROP
The above used in the filter table drops anything that does not match NOERROR recursive and NOERROR non-recursive responses.

  -A PREROUTING -i eth0 -p udp -m udp --dport 53 -m string --hex-string "|0000ff0001|" --algo bm --from 40 --to 65535 -j DROP
The above used in the raw table drops "ANY". It could probably be optimized to search through less of the packet.

  -A INPUT -i eth0 -p udp -m state --state NEW -m length --length 24:120 -m udp --dport 53 -j ACCEPT
Above is the inbound rule that blocks some overflow attempts.

18918.

Rsync over chroot sftp(serverfault.com ↗)

1 points · by LinuxBender · 9y ago · discuss

18919.

UnrealIRCd 4.0.15 released(unrealircd.org ↗)

3 points · by LinuxBender · 9y ago · discuss

comment 9y ago · link · parent

Agreed. I block ANY queries using iptables string filters. I also block anything other than NOERROR responses from myself. Their site doesn't work with any of my domains.

18921.

How to Install Alpine Linux on a Digital Ocean Droplet (2016)(github.com ↗)

1 points · by LinuxBender · 9y ago · discuss

18922.

Install Alpine on Amazon EC2(wiki.alpinelinux.org ↗)

3 points · by LinuxBender · 9y ago · discuss

18923.

Install Alpine Linux on Your Linode (2016)(linode.com ↗)

2 points · by LinuxBender · 9y ago · discuss

1
630631632
642