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

I would love to have a script that also reports it as spam.

In self hosted email setups this is very easy to do reporting to SpamCop and others. Someone else would have to chime in if they know of commercial solutions that allow custom scripting or custom reject messages. Most of my experience is around self hosted but that is a very big topic.

For the domains I have pointed at Fastmail, they do a decent job figuring out if something is spam. They also give the option to adjust the score/threshold at which something is spam and the threshold at which they just discard the email. This is off by default. Their web interface allows reporting the spam.

comment 2y ago · link · parent

Has anyone solved this problem?

Yes, many here use aliases a.k.a. canaries in this case on mail providers that support this or on their own mail servers they self host.

- One can change their email with each vendor to use a specific alias. Fastmail is an example of one of the mail providers that supports this. Create unique aliases for each vendor and put the vendor name in the comment field of the web interface but keep the alias generic and realistic enough that the vendor does not reject it or realize that it is a canary. Once you are confident you have done this for ever thing you interact with, create a rule to dump all emails from your previous email address into a folder, mark as read and maybe check it once a week or month, flagging the UCE as spam. Fastmail have several domains you can create aliases on, and/or you can also use your own domains.

When a company starts abusing one of your aliases, you now know who leaked or cross-marketed your email address. You can create a rule to move emails to that alias into a folder and mark as read. Or if its 100% garbage, a rule to move emails sent to that alias to Trash and set the retention policy on Trash to a month. Optionally contacting them and voicing your dissatisfaction and that you have voted with your wallet.

- Specific to your Unsubscribe request, mail providers like Fastmail also support making rules on email content, so one could add a rule saying if the Body contains "unsubscribe" to move it to Trash and mark as read.

- Another method which only a small set of people here use is to self host email which is a big topic in and of itself then create DISCARD rules in Postfix and/or block CIDR blocks of email campaign providers yes, this is heavy handed and can drop non UCE. On my self hosted mail servers I can REJECT an email and give the spammer a friendly message of my choice. So if the body contains "unsubscribe" I can REJECT the email, at the risk of that company deleting my account which saves me the time of deleting it.

comment 2y ago · link · parent

Or sell him a heavily discounted license for lower power usage and allocate him as a low power site on that freq. I know they won't give anything away. They would have to first create the concept, rules and laws around this type of allocation. Not holding my breath

What's interesting to me is they started fining him in 2004 and just now ramped things up. 20 years... That's wild. As someone that has operated outside of the FCC laws and had an FCC officer sitting next to me while I was doing it I am surprised it took them this long. They usually just ignore it if the person is not interfering with anything as they have bigger fish to fry. It would be interesting to me to see a non boiler-plate non-PR comment from them.

comment 2y ago · link · parent

I have seen this come from CF in the past to my silly little hobby sites. I just drop the IP or sometimes subnet in a file that on startup effectively does:

    ip -6 route add blackhole 2a06:98c0:3600::103
That method is faster processing and lower CPU than using a firewall and prevents a socket from being opened and wasting kernel memory and keeps it out of your firewall state table. For UDP I still use the raw table IPset in IPTables as a blackhole will not stop the traffic from getting to the application in that case, such as DNS servers.

When reporting this to Cloudflare make sure you have NTP set up on your web server so that your access logs can line up with proxy/app logs on their side to make it easier for them to correlate. A couple lines of the traffic from tcpdump using -vv to get packet details may also be useful to them.

    tcpdump -p -NNnnvv -s0 -c2 host 2a06:98c0:3600::103

comment 2y ago · link · parent

If it's TCP HTTPS and making established connections then it is not spoofed. Spoofed TCP connections will be SYN packets but a TCP handshake and TLS handshake will not complete. More likely someone abusing a proxy capability of Cloudflare which is why reporting it to them along with logs is very important. They process massive amounts of traffic so logs with accurate timestamps NTP correctly running on the web server are important to find the needle in the haystack.

comment 2y ago · link · parent

In my experience the most common tool is Nagios [0]. Core is free

- Most of the common checks one may want to do site up/down, certificate expiring, service up/down, etc... are built in and just have to be populated with the domain to check. Additional checks can be done if the NRPE agent is installed on the server. Wherever you run Nagios from would need to be able to send an email to your phone. There are newer and fancier tools than Nagios, but having been around a very long time it has a lot of capability built in and most bugs worked out. Nagios will also provide you with historical data.

I believe there is an iPhone Nagios app [1] that can log into your Nagios instance and give you alerts. An alternate option is to use SMTP to get the alerts. I do not know which would drain the battery less. It only has 2 stars so maybe it is awful, I don't know.

I don't know anything about iPhones but if your email client has the capability of setting up a rule to use a non-standard message alert tone based on subject or sender that is how I would get the noise. Some people set it up to send text messages but then you need a SMS provider for Nagios to send to. If not maybe there is a email client you can buy from them that does all this. You may have to shorten the interval at which your email client checks for messages. > > >This is probably where the focus should be rather than my long winded reply, an email client that has rule capabilities and different tones by subject or sender.< < <

- An even simpler setup would just be using curl to check a status page that either returns OK, overloaded, or just times out if the site is down and then email or text you if anything other than OK shows up in your defined curl timeout. This could be done in bash, python or whatever you want to drive curl or libcurl with. Also send alerts to a local logfile or syslog using logger so you have historical data.

- Another route to possibly go would be to look for a phone app that tries to reach a web page and makes a noise if it can't but then you may be losing sleep any time your phone has issues reaching the site and that may be entirely unrelated to your server and its network provider. Sleep is important too.

- Another option would be to use one of the paid monitoring sites that will also email you but most of them would be overpriced for just watching one server. I suppose that depends on your priorities. Research them before using, some have had serious security issues with customer info/data.

[0] - https://www.nagios.org/downloads/ Scroll down to the free Nagios Core

[1] - https://apps.apple.com/us/app/server-alarms-nagios-client/id...

comment 2y ago · link · parent

One more factor to consider in your project is whether or not the cloud or non-cloud providers are doing live kernel patching. Most cloud providers are incentivized to do live kernel patching to avoid interrupting their customers, thus not rebooting the hardware. Full reboots at the hardware layer is where most borderline hardware issues are detected during power-on-self-test. Some on-prem companies are doing live patching now to avoid having to swap hardware as often.

comment 2y ago · link · parent

Is it possible companies will plant honeypots using non-exisiting unique words to detect if LLM crawlers are bypassing their do-not-crawl policies?

I think that depends on how advanced the software used to detect plagiarism has become and how unique your data is. Big data LLM's combine massive data sets so your data would have to be unique enough to remain untainted. Perhaps a more generalized practice would be to play the cat and mouse arms race of trying to evolve protection against bots. Most fail at this game. Even if the big players were stopped by bot protection and legal agreements, nothing would stop them from buying your data from the unscrupulous scrapers that claim they obtained it legitimately.

comment 2y ago · link · parent

In the event of an apocalypse, how long until we could produce CPUs?

There are many books on rebuilding a civilization. I think this is too complicated of a question to answer in a meaningful way. If by apocalypse you mean a true reset of almost everything and only some humans survived but no information was in tact, probably several thousand years or more likely never.

People could draw on cave walls their memories of this civilization. CPU's have a complicated supply chain and there are a myriad of experts that specialize in specific parts of the motherboard, CPU, memory, etc... There is not a single person that has the all inclusive knowledge of engineering a CPU. This assumes we also have people that can refine all the minerals used to craft the parts, the energy requirements to do so and people remain that know how to do this. I assume an apocalypse means we lost many of the people that carry specialized knowledge so most of the R&D would have to be restarted from scratch, again assuming that only some humans survived and all data is gone, power is gone, libraries are gone, etc... This assumes this R&D is the priority of the survivors, which it would not be. Even if all this information was archived on the moon or satellites, nobody would know how to retrieve it and that is assuming any of the survivors even know of it. Current satellites would probably de-orbit in a few generations or sooner. Someone here more knowledgeable could comment on satellites not under active management by people or ground control automation systems.

I personally think their priority will just be survival, probably for quite a few generations. If we are being honest with ourselves, many people today would not survive on a scorched and tattered earth. Most would not even survive in the wild without an apocalypse. By the time a sub-set of the survivors pass hunting & gathering great filter, then agrarian and eventually industrial, all the tribal knowledge would have long since aged out. Maybe there could be campfire stories of the SeaPeaYou's, HighScrapers and falling Spams from the SkyNets. I know this sounds negative but I think this is the best case scenario.

My personal take-away from this thought exercise is to make the most of computers to augment life improvement and life enjoyment while I can and not depend on them.

comment 2y ago · link · parent

He should have run tor from a VPS node and then created a SSH socks tunnel to reach it. It's common to see SSH sessions and large packets flowing through it could easily be SFTP. Even if someone should suspect anything it's still plausible deniability.

2651.

ByteDance 'would rather' torpedo TikTok than sell it off(theregister.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2652.

TikTok ban could escalate US-China trade war, ex-White House CIO tells The Reg(theregister.com ↗)

3 points · by LinuxBender · 2y ago · discuss

2653.

IPs remain infected by USB worm years after its creators left it(arstechnica.com ↗)

1 points · by LinuxBender · 2y ago · discuss

2654.

Russia stands alone in vetoing UN resolution on nuclear weapons in space(arstechnica.com ↗)

4 points · by LinuxBender · 2y ago · discuss

comment 2y ago · link · parent

This is interesting. It appears they implemented some of the concepts in Firejail or Bubblewrap into their version of Node. I hope more people just use Bubblewrap [1] so that when bugs in the sandbox are fixed everyone gets the fixes.

[1] - https://wiki.archlinux.org/title/Bubblewrap/Examples

comment 2y ago · link · parent

I run checksec on everything all the time and on all my Alpine nodes all the processes come back like this not pasting the full output for brevity... I have never see anything built by Alpine missing these flags.

    COMMAND    PID RELRO             STACK CANARY           NX/PaX        PIE
    init       1 Full RELRO        Canary found           NX enabled    PIE enabled
    [snip...]
    crond 422838 Full RELRO        Canary found           NX enabled    PIE enabled

comment 2y ago · link · parent

Would gingivitis [1] or other periodontal diseases count?

[1] - https://pubmed.ncbi.nlm.nih.gov/9526927/

comment 2y ago · link · parent

For me personally it's less of an issue of trusting or distrusting software but rather the people operating it and those tuning and controlling algorithms. Once bitten by social media algorithms I would find it challenging to put faith in LLM big data operators not to start warming up the frogs or induce creeping normality once deployment has reached mass adoption in all manor of tools and interfaces. The allure of control and the side effects of greed can create overwhelming temptation for a myriad of organizations to weaponize a formerly benign software platform.

comment 2y ago · link · parent

Interesting. Testing this myself I have an uleFone running Android and when I pull up the text messaging interface there is a load of isakmp traffic to t-mobile and it continuously talks to Google AS15169 over HTTPS I assume for RCS. Every character I type creates a burst of isakmp vpn traffic. LTE over Wifi

I've not installed any keyboard apps, this is the bog standard uleFone. This happens even if I disable smart-reply and I always disable the Let others know when I am typing. I must be missing a setting somewhere. It's odd that if RCS uses Google over HTTPS then I dont know why it sends so many packets for each character I type to TMO over their VPN / isakmp especially since I have not sent a message. The isakmp packet rate is reduced slightly if I disable spell checking which allowed me to change more settings that were greyed out.

I guess my question is why would my phone mirror all my keypresses to both TMO over their VPN and to Google over RCS in bigger bursts vs keypress, all without my actually sending a message? It appears that to debug this I have to install Magisk to use my Squid SSL Bump proxy but I doubt that will help my with the isakmp traffic unless they bootstrap the preshared secret over HTTPS on a domain not using public key pinning which Google has on several subdomains.

comment 2y ago · link · parent

It would be up to Microsoft to say why they did it. It's probably buried somewhere in the sanction documents. [1] If Microsoft are complying with a sanction then perhaps they may have issues getting a refund, but could at least open a ticket to get an answer if they have not already. Maybe there is a corporate lawyer on here with experience in this matter?

[1] - https://ofac.treasury.gov/sanctions-programs-and-country-inf...

2661.

FTC Sending $5.6M in Refunds to Ring Customers over Security Failures(securityweek.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2662.

China's mega-telcos are spending billions on AI servers(theregister.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2663.

City council audit trail is an audit fail after disastrous Oracle ERP rollout(theregister.com ↗)

29 points · by LinuxBender · 2y ago · 17 comments

2664.

DARPA's latest toy is a 20-foot, 12-ton tank that drives itself(theregister.com ↗)

1 points · by LinuxBender · 2y ago · discuss

comment 2y ago · link · parent

One possible option I have seen is to reverse the flow. Give people a code and have them email you that code to a dedicated MX end-point using a dedicated inbound-only email domain that only processes codes, discards attachments, discarding anything else beyond a string+16 digit code and does not send bounces also block outbound connections from this thing. Invalidate and prune the code after an hour or less to keep the clutter out of Redis or your DB in the event of bot-flooding-signups. Format the code in a way that cell phone users can easily copy/paste into email or perhaps use javascript for that.

comment 2y ago · link · parent

"bollard" [1] - I always called them steel poles with concrete inside, buried in the ground. Someone here corrected me and I learned something. Adding to that I never associated them with the more artistic versions as I assumed those were weaker or just for looks.

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

2667.

Updating California's grid for EVs may cost up to $20B(arstechnica.com ↗)

18 points · by Bender · 2y ago · 71 comments

2668.

Nation-state hackers exploit Cisco firewall 0-days backdoor government networks(arstechnica.com ↗)

2 points · by LinuxBender · 2y ago · discuss

2669.

Deepfakes in the courtroom: US judicial panel debates new AI evidence rules(arstechnica.com ↗)

1 points · by LinuxBender · 2y ago · discuss

2670.

Reddit, AI spam bots explore new ways to show ads in your feed(arstechnica.com ↗)

3 points · by LinuxBender · 2y ago · discuss

1
888990
642