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 3y ago · link · parent

That is perfect. I will look for the ceramic non painted ones.

comment 3y ago · link · parent

I've been asking Dr. Sinclair for quite some time when this would be available to test on humans but I never get a reply.

comment 3y ago · link · parent

When I mouse over "Servers by Country" there is a big section that says "Private". What does that mean in this context? Private RFC1918 address space? If so, how did they get the stats? Or are stats optionally anonymized?

comment 3y ago · link · parent

I may try one of those. My local grocery store has a few of them. Are they hard to clean?

comment 3y ago · link · parent

I've already been receiving case randomization from them for some time. Perhaps my poor little DNS servers are being used as a test case? Or do they pass along randomization from Tor exit nodes when those nodes are using Google's open resolvers?

It must be Tor. The UDP TTL of those requests is usually 200+ whereas the lower case requests are below 128 UDP TTL. Not DNS TTL

comment 3y ago · link · parent

they produce soot

As my bathroom walls can attest to. It took a long time to clean that up. I don't use candles for scent any more. Now I just keep them as one of many sources of emergency light and heat.

comment 3y ago · link · parent

Look up information about the site [1] the IP [2] then contact their hosting provider, their network provider, their domain provider and provide them a reason why the site is a financial risk to them. Just know and accept that the phishing site will just move to another compromised host in seconds. It is an endless game of whack-a-mole.

If the site is infringing on your companies brand, intellectual property, etc... then there are other paths your legal team could take but finding the people running the site may prove challenging. Most of these are just running atop of compromised blogs.

[1] - https://www.robtex.com/

[2] - https://bgp.he.net/

comment 3y ago · link · parent

It depends on the type. ARB's are fairly cheap. Alpha 2 receptor agonists are a bit more. When I was on those I paid cash and almost always received a coupon on the spot for some reason but my total price out of pocket was $28 for the agonist and about $12 for the ARB. Some people are on more then 2 types. Happy to be off those things.

comment 3y ago · link · parent

In my opinion corporations that lobby/bribe to harm people should be handled differently than the internet censorship issue. In those cases I believe that such entities and all related parties should be considered a domestic terrorist and anyone that lobbied for them or any politician that took said bribes should be branded as aiding and abetting a domestic terrorist. There are already laws on the books for handling such people. If the offending company is international then it is no longer just domestic.

Why domestic terrorist? Easy, they are intentionally harming people for profit. The mortality impact is very slow but there is a myriad of scientific data to prove the harm. Just type-2 diabetes alone may bankrupt most first world countries [1].

[1] - https://www.cdc.gov/media/releases/2017/p0718-diabetes-repor... (2017) [this has only gotten worse]

comment 3y ago · link · parent

I should have stayed logged into Vultr. I believe they like all the others have bandwidth charts that show usage per VM and per account. Not all of them pool the allotted bandwidth. The same systems that build those graphs are the ones controlling bw over-usage. Their graphs should line up with network interface statistics and iptables counters minus their internal management traffic.

In my opinion if they are doing something shady with the bandwidth graphs that should be brought to the attention of the internet ASAP and I would expect their behavior to improve unless their goal is to file chapter 11. This should apply to all VPS providers. Have you seen evidence of Vultr or any other VPS providers fudging the bandwidth graphs?

If you suspect this is happening the easiest thing to do is create a daily cron job that grabs all the interface statistics and iptables counters to a text file daily and then rsync those to a centralized system. Or if you prefer having your own graphs some people use Munin [1] or any of the alternative options [2].

[1] - https://munin-monitoring.org/

[2] - https://alternativeto.net/software/munin/

comment 3y ago · link · parent

I don't have an answer to which VPS providers still have the feature to disable a VM at a certain bw usage. The only thing I can add is that this behavior can be accomplished on any node running Linux by using one of the bandwidth related modules such as quota. [1] One advantage of using IPTables to do this is that one can enforce it on any or multiple ports [2] but exclude your management ports such as SSHD. The next matching rule could be a tcp-reset only responding to your automation so that it knows to take that node out of any pools one has defined.

[1] - https://ipset.netfilter.org/iptables-extensions.man.html#lbB...

[2] - https://ipset.netfilter.org/iptables-extensions.man.html#lbB...

comment 3y ago · link · parent

Related ongoing discussion [1]

[1] - https://news.ycombinator.com/item?id=34414366

comment 3y ago · link · parent

They should still have some time to edit the description. If that time is exceeded they could email dang and ask to edit. The filter only happens on submission but not on edit.

comment 3y ago · link · parent

This may be the case but I would rather not spend tax money playing whack-a-mole with businesses thus artificially creating new revenue models for lawyers. I would rather just put a technical solution in place that empowers good parents to have some control over their own devices and let them decide when their small children are somewhat psychologically armed to handle the internet. RTA headers do not require integration with any third party sites and does not add tracking or additional identification.

Sunak and others have been pushing for rules that would require sites to use third party identification sites. This is a non-starter for me personally. It is very obvious to me someones pockets are getting lined by people interested in adding more tracking to the internet. I see this as the UK trying to extend its CCTV system to the rest of the world but perhaps I am a bit skeptical after watching the behavior of governments for many decades. It is also a bit curious that US politicians have also been pushing for this at the same time. These recent events really smell like a startup trying to get funded by multiple governments. Investors love government contracts because they are usually multi-year and get written into policy.

In terms of disciplining parents that neglect their children there is already a system in place for this. The first time should be an infraction that requires the parent to do an online training course. Perhaps under extreme circumstances a misdemeanor and at some point social services step in just like in any other repeat neglect case. In reality this should not affect most parents. There should not be any jail involved unless the parents are intentionally putting the children in harms way such as encouraging the kids to pose nude for strangers and inviting said strangers over.

comment 3y ago · link · parent

That may be a bit harsh but is not far from what I have been suggesting [1][2] The liability for protecting kids must be on the parents and there are simple technical ways to solve this. In my opinion laws should just require websites to add RTA headers and the most popular ways small children access content must be required to once again read these headers and integrate with parental controls. I say once again because some browsers used to implement this ages ago. If browser devs are opposed to this then it could be done by writing an add-on.

[1] - https://news.ycombinator.com/item?id=34260167#34262400

[2] - https://news.ycombinator.com/item?id=34352923

7936.

The Chevrolet Corvette gets all-wheel drive hybrid power for 2024(arstechnica.com ↗)

1 points · by LinuxBender · 3y ago · discuss

7937.

Microsoft and community release scripts to help mitigate Defender mess(theregister.com ↗)

2 points · by LinuxBender · 3y ago · discuss

comment 3y ago · link · parent

There is a lot of this. I am not a lawyer but unless you have a bug bounty program with specific terms and they signed up for it agreed to your terms you do not owe anyone anything. Never reward threatening and abusive people with gifts as that marks you as an easy target. Same with communication, do not reply to them. Rewarding them will only encourage more of it, no different than ransomware.

Create rules to put their emails into a folder that gets archived and never deleted in case you need it as evidence later should they escalate their malevolent behavior. If it escalates into extortion and fraud causing financial harm then federal agents will need the emails fully intact.

All of that said there no harm in fixing things that people bring up.

comment 3y ago · link · parent

Previous discussion [1]

[1] - https://news.ycombinator.com/item?id=34395111

comment 3y ago · link · parent

I think it's just to appease some folks as many are losing their jobs. Power here in Wyoming is cheap, 11 cents/KWH and there is just about every form of power generation except geothermal and I think they are looking into that. Drilling into Yellowstone should make for some fun conversations but I am looking forward to that option. Mini-Nuclear reactors are being built Bill Gates had a couple small set-backs but it's going to happen eventually.

Wyoming provides power to quite a few states [1] and has the highest potential for wind power [2][3]. Wind power has been growing very fast. The grid I am on also has a massive solar farm but I do not have stats on how much it produces. Probably not much right now as it has been snowing all day.

I think they can probably get away with saying that since about the only demand for EV's would be in Jackson Hole. Most of the state is rural and most ranches and farms need powerful trucks that can haul large loads long distances. Equivalent EV trucks do not yet exist to replace Ford F450/550/650 and Chevy 5500/6500 and even then the battery weight will push some medium sized ranches over their weight station limits in all fifty states.

[1] - https://www.eia.gov/state/?sid=WY

[2] - https://en.wikipedia.org/wiki/Wind_power_in_Wyoming

[3] - https://cityrenewables.org/state/wyoming/

comment 3y ago · link · parent

It looks nice. Certainly more colorful than iftop and has more history.

comment 3y ago · link · parent

There was a time I found some organizations to be paranoid about enabling it because it was mentioned in either CIS or NIST hardening but it ignores the fact that the same information can be gathered with other tools so I suppose it depends on if you have to follow a standard that still says sysrq is a risk and if your SOC1/SOC2 documentation refers to those standards as part of your audits. But in reality if that were a risk then there are a myriad of other things that would have to be disabled as well and some of those things require recompiling the kernel to disable. I am referring to the attack vector of root applications sending magic sysrq codes into /proc/sysrq-trigger

From a physical access attack vector sysrq specifically involves the Evil Maid attacks. Disk encryption, signed UEFI installations, BIOS/Firmware passwords and disabling booting from USB ports can reduce this risk a little if that is a concern. It depends on how one manages their systems and what remote management cards they have either built into the motherboard or added to the system. If disks are not encrypted then people can just power off the system and boot up on a USB drive or just steal the disks.

comment 3y ago · link · parent

What you are probably looking for is the magic SysRq key [1] If you enable sysrq then you can send key-sequences directly to the kernel to do things like emergency file system sync, emergency dismount of filesystems, reboot, panic and so on. Not all keyboards have a SysRq key so you may have to map something as that key.

    grep sysr /etc/sysctl.conf
    kernel.sysrq = 1
One can also re-map cntrl+alt+del to do anything if the system is not entirely hung and that configuration incantation varies by what init system your machine is using.

Another thing to research is tuning options like vm.min_free_kbytes, vm.swappiness, vm.lowmem_reserve_ratio, vm.user_reserve_kbytes, vm.admin_reserve_kbytes, vm.overcommit_ratio and vm.overcommit_memory in /etc/sysctl.conf to swap early, and reserve more memory for the kernel based on how much installed RAM you have available. Just setting vm.overcommit_ratio to 0 can solve some hung systems for a number of people at the expense of some applications not launching when memory is low. Another thing to research if you do not have enough RAM is zswap, especially useful to reduce writes to SSD's. To see if your kernel has zswap support:

    modprobe configs && zcat /proc/config.gz | grep -i zswap|grep -v ^#
[1] - https://www.kernel.org/doc/html/v4.15/admin-guide/sysrq.html

comment 3y ago · link · parent

That does prevent forcing a particular religion on people but it does not in any way prevent the mix of religion and government. As just one example, court rooms still have people swear on Christian bibles. I believe it has recently become optional. There are also many government buildings that fund the creation and installation of religious statues and bible verses on plaques in their halls using taxpayer funds. There are many laws derived from Christian ethics and values.

There are also unwritten concepts that are effectively enforced such as prison review boards giving credence to someone that has become a Born Again Christian when considering parole. That is not written anywhere to my knowledge.

But you are right, they can not force someone to be Christian.

comment 3y ago · link · parent

Is there a certification for web services that respect users' privacy?

Not that anyone is legally held to, AFAIK. There are plenty of logos that people can copy/paste to their website as a matter of marketing privacy intent or goals.

comment 3y ago · link · parent

They have been since WWII. In the recent years the CIA has been quite busy in silicon valley. [1] Prior to that many projects funded by DARPA were tested and refined by the general public. The internet was one of the projects.

[1] - https://mattermark.com/q-tel-cias-vc-arm-busy-years/

comment 3y ago · link · parent

It may be also worth noting that the "Separation of Church and State" people often quote is from a poem that a politician was reciting. To my knowledge that concept has never been codified in law.

7948.

NSA asks Congress to let it get on with that warrantless data harvesting, again(theregister.com ↗)

307 points · by Bender · 3y ago · 143 comments

comment 3y ago · link · parent

I don't know if many still use it but AWStats [1][2] is one of the oldest self hosted solutions. I used it ages ago. It uses access logs vs. other platforms depending on javascript being embedded in pages. It's had some vulnerabilities in the past so it should be protected by authentication. It depends on Perl and a web server that supports CGI scripts. Stats processing is done in cron against the access logs so there is no added load based on page visits. It could even be run on a separate machine/node that logs are aggregated to.

Part of the installation is configuring which log format your servers use. If using a non standard format one can map the related fields.

If configuring AWStats to perform reverse DNS lookups I would suggest also installing Unbound DNS specifically on that machine and setting the following in /etc/unbound/unbound.conf to minimize load on your upstream servers perhaps even higher:

    cache-min-ttl: 86400
    cache-max-ttl: 1209600
    serve-expired: yes
    serve-expired-ttl: 259200
    serve-expired-reply-ttl: 30
    serve-expired-ttl-reset: yes
    val-bogus-ttl: 600
    cache-max-negative-ttl: 86400
    serve-expired-client-timeout: 1800
The above is specifically for machines dedicated to looking up a very large number of PTR records, not for a home router. Some DNS providers rate limit mass-lookups of IP addresses. PTR records are slow to change so a high TTL override on a log processing box is generally fine unless you care about short lived PTR records AWS, Azure, etc..

[1] - https://awstats.sourceforge.io/

[2] - https://github.com/eldy/AWStats

comment 3y ago · link · parent

I just pick something that makes sense at the time with a different name and email address on each site. In this case I had been lurking on HN for a few years and finally wanted to comment on something and it seemed like there were a few other Linux tinkerers here. Oh and I appreciate the character "Bender" [1]

[1] - https://www.youtube.com/watch?v=ln4rfYh7ng0

1
264265266
642