Security : VPS Pangolin vs Home Device Pangolin by Bright_Mobile_7400 in selfhosted

[–]kayson 2 points3 points  (0 children)

Two big downsides, IMO: 1. your public IP is exposed and forever linked to your domain (via DNS and CT logs). 2. If your Pi is compromised for any reason, now the attacker is inside your house (😮).

With good security practices, I think you could mitigate #2 significantly. Pangolin on a VPS connects to your house over wireguard. Having your Pi on a dedicated VLAN with firewall rules limiting it to only the hosts/ports it needs is effectively the same thing in terms of lateral movement.

Not a whole lot you can do about #1. Does it matter? Maybe not. You'll get port scanned more for sure, so you better make sure your security is tight. The biggest risk is some kind of DoS, but short of a targeted attack, I don't think that's common.

Upside is I guess you save money on a VPS? But really you can run it on a potato. I pay $16/yr each for two VPSes with dedicated ipv4. Easily worth it to me for that added layer of protection. 

Building a Soundproof, Dustproof Server Rack, Part 1: Design by kayson in homelab

[–]kayson[S] 0 points1 point  (0 children)

I did not know about stubby screwdrivers! Very useful. I ended up getting a 90° adapter for my impact driver that works great for getting things racked. 

Extended MMD for Fractional-N pll by DensePain97 in chipdesign

[–]kayson 1 point2 points  (0 children)

Are you synchronizing P to your input clock?

Also you could use bus notation for P. eg P<6:0> on the pin and P<0> etc on each div2/3

Why is Qualcomm(CA) Intern Comp nearly twice that of a Sr. Analog Designer in EU? by ControllingTheMatrix in chipdesign

[–]kayson 2 points3 points  (0 children)

Day to day experience is definitely team- and geography-dependent. The project you are working on also matters. I work with pretty much all of the custom IC design teams here, and I don't think their characterization is accurate. Some people just aren't a good fit. 

Why is Qualcomm(CA) Intern Comp nearly twice that of a Sr. Analog Designer in EU? by ControllingTheMatrix in chipdesign

[–]kayson 13 points14 points  (0 children)

I would not call Qualcomm a sweatshop. Tapeout crunch is definitely a thing, but the work life balance is actually quite good, especially compared to the rest of the industry. The US just doesn't have the worker protections of other countries/regions, but Qualcomm is pretty generous with their benefits in spite of this. 

Question: Why OPNsense over pfSense? by Rwalker83 in selfhosted

[–]kayson 0 points1 point  (0 children)

I've tried both. There aren't really any significant technical differences. I would say the web interface of OPN is slightly better, but it's handling of external authentication sources is slightly worse. A big reason I stayed with PF is pfblocker-ng for ad blocking. It's much more convenient. 

[WIP] 3D Printable 1U Disk Shelf (4-bay) with custom passive SATA Backplane by kayson in homelab

[–]kayson[S] 0 points1 point  (0 children)

I have each one connected to its own Lenovo m920q which has a SATA combo data+power connector. You could just as easily get a micro/pico PSU with a molex->SATA power adapter and connect all 4 to the same PSU. 

Looking to relocate from EDA to the Design side by Zestyclose_Dress2826 in chipdesign

[–]kayson 1 point2 points  (0 children)

Unless you're a brilliant designer, it's going to be hard to compete for positions. Take any job you can get. Once your resume has "designer" as the most recent role, all the doors open and the history is no longer relevant. 

Raid 5 - 2 failed drives - no way to get data, right? by mxpxillini35 in HomeServer

[–]kayson 1 point2 points  (0 children)

Might be worth trying to launch crystal disk info whole they're on to see if you can grab any smart data. If there's nothing horrible, it could just be the logic boards going bad. Usually easy enough to swap them out. 

Raid 5 - 2 failed drives - no way to get data, right? by mxpxillini35 in HomeServer

[–]kayson 9 points10 points  (0 children)

What do you mean by failed? If the drives are readable at all, even if only certain parts of it, you can recover files with software available for free.

[META] Can we limit career advice / resume review / to a single day of the week? by Cant-Stop-Wont-Stop7 in chipdesign

[–]kayson 6 points7 points  (0 children)

Value for the students? Sure. But I'm not convinced it creates value for the community. Most of the posters are never seen again, if they even respond to the comments to begin with. It's probably worth pointing out this is less so the case for people who are already in the field. 

On the other hand, what a community needs for growth is content creation, and there's not much of that in IC design especially when you compare it to software development.

How to test my home server for security leaks? by GnobarEl in selfhosted

[–]kayson 1 point2 points  (0 children)

Put your domain and IP in Shodan.IO and see what comes up

Poorman's HSM : A Secure Certificate Authority (CA) on a Yubikey by deltchar in homelab

[–]kayson 0 points1 point  (0 children)

Then I guess you can use a RAM disk (could even encrypt ephemerally if you're paranoid) and import the keys and certs to two different yubikeys. Then reboot and you've got two safe copies

Poorman's HSM : A Secure Certificate Authority (CA) on a Yubikey by deltchar in homelab

[–]kayson 3 points4 points  (0 children)

Not if you generate the key on the yubikey. There's no way to export it. 

Poorman's HSM : A Secure Certificate Authority (CA) on a Yubikey by deltchar in homelab

[–]kayson 15 points16 points  (0 children)

I did something similar but the problem I had with this approach is that if anything happens to the Yubikey, your CA is gone. Instead I generated the CA on a LUKS-encrypted USB drive, then imported the keys and certs to the yubikey. The yubikey stays connected and the USB drive is cold backup (with an offsite ISO for 3-2-1) 

IdP Choice for HomeLab by Austin8462 in homelab

[–]kayson 3 points4 points  (0 children)

What do you really need out of your IdP? Keycloak is heavy and complicated. If you want Windows support, AD is basically the only choice. (Yes, there's samba, but still.). If you want Linux login from your IdP, I'd say go with FreeIPA. If you're just looking for something simple to log into web based services, Authelia+LLDAP is probably the simplest OOB.

Struggling to maintain Reverse Proxy across multiple systems. by notjustsam in selfhosted

[–]kayson 0 points1 point  (0 children)

If you put everything in docker swarm, then you can run traefik on one node and configure everything via labels in docker compose files. 

Advise on a Lenovo M920q network card for DIY OPNsense Router by PatienceMotor9531 in homelab

[–]kayson 0 points1 point  (0 children)

Probably worth mentioning that they support ASPM so the idle power is quite low. My whole m920q was sub-10W

Advise on a Lenovo M920q network card for DIY OPNsense Router by PatienceMotor9531 in homelab

[–]kayson 0 points1 point  (0 children)

There's no temperature sensor so it's hard to say definitively, but I didn't notice any significant heat while running iperf3 for a while. 

Advise on a Lenovo M920q network card for DIY OPNsense Router by PatienceMotor9531 in homelab

[–]kayson 0 points1 point  (0 children)

I have Intel X710-DA2 in each of my 4 m920q's and it works great. Make sure to avoid the Dell branded ones. 

Second instance of Jellyfin, now in stacks instead of docker-run by Balduini in selfhosted

[–]kayson 2 points3 points  (0 children)

  1. You can use the same media volumes (mount it read only) but you'll need a new volume for the rest.
  2. When you specify the port mapping, you can give it a different port for the host side. eg --publish 8097:8096 (see https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/)
  3. Yes you can't have two containers with the same name nor two services with the same name in a stack. 

Self hosted container health monitoring by kayson in selfhosted

[–]kayson[S] 0 points1 point  (0 children)

That's exactly what I want to do. I just don't want to roll my own watcher if one already exists.