A person with way too many hobbies, but I still continue to learn new things.

  • 1 Post
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle





  • Shdwdrgn@mander.xyztoPiracy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    You might as well be saying that it’s perfectly fine to host a discussion board about child porn if you’re not actually hosting the pictures. And you would be completely wrong about that too. Keep in mind that in the US and several other countries, the operators of torrent link sites have gone to jail even if their site didn’t actually host any content. So what makes you think that a discussion board talking about where to download illegal content would be exempt from the law? It’s a slippery slope because you can talk about the torrent clients and such, but the moment you cross over into actually sharing specific information on how to break the law (where and how to download copyrighted content) then you yourself are now an accessory to committing a crime. And if the host of the server knows about this content and doesn’t put a stop to it, then they are also accountable. In the case of reddit, they have a huge legal team and the admins of a channel might be able to skate away, but on lemmy every server host is on their own and directly responsible for the content their server provides. Sorry if you don’t like it, but your feelings don’t change the law.


  • Shdwdrgn@mander.xyztoPiracy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    It very much is a reason to shut them down. When you run a server you are free to allow all the illegal content you want – see how that plays out when the cops come and confiscate all your hardware. However if that was the reason behind those groups getting shut down then the admin had every right to kill them, and it should have come as no surprise to anyone when it happened.


  • Shdwdrgn@mander.xyztoPiracy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    That would apply to anyone who claims they are torrenting movies or tv shows, since you are literally hosting your portion of the files to every other torrent user. Why do you think on the reddit subs you weren’t even supposed to talk about the type of content you were trying to download?



  • Hmm ok. So Google just had something in between that presented as XMPP to pidgin? Google’s original chat was open so it was easy to connect to. I know that presented as XMPP because I still have the old account on my system (yeah I’m really bad about deleting stuff that no longer works). Then a few years ago Google decided to put their chat behind Oauth2 authentication, which required a specialized pidgin plugin and a bit of manual setup to get it to work. Those are the two versions of Google chat I’ve worked with. Before that I was using Yahoo chat, but we all know what a joke Verizon made of that.

    So during this time I would log in to the same account both from home and from work. I think you might be right though, that all new messages only appeared on the latest machine to log in. And that appears to still be the case using Openfire.

    After Google updated their chat, when I got in to work the new setup sent a copy of all the messages I hadn’t already seen on that client since the last time I signed in, so there was always a full history. Again this setup used an XMPP account in Pidgin, but it’s certainly possible that the plugin which worked with the Oauth2 authentication provided some new features to pull the history down? The odd thing was that some of my chat during the day would show up on my computer at home, but not all of the messages, and I never really understood what the difference was.

    Regardless, is there a newer XMPP client you might recommend which is somewhat similar to pidgin’s look&feel, but actually provides a history when connecting from multiple machines? It would certainly be nice if all messages from myself and the people I spoke to were shown on both machines while they are simultaneously signed in, but I can make do without that. However I really do need the history to show up when I sign in to the next machine, and I’m hoping at some point to also get a client set up on my phone (gotta join that 21st century at some point!).




  • Shdwdrgn@mander.xyztoSelfhosted@lemmy.worldWhy is DNS still hard to learn?
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    11 months ago

    What’s hard? Set up a server so you can create your own local domains and see what works and what breaks. There are a number of resources out there like the bind9 documents, and plenty of examples from places like stack exchange. Setting up basic domain records with NS and MX records is well documented, and even subdomains are straighforward. Once you have that much working then you can try adding more informational stuff like TXT and PTR records.

    Don’t forget to update your serial every time you make an update. The format isn’t important as long as it makes sense to you, but you are limited to a maximum of 10 digits. You can do a straightforward date stamp like 20230729xx (leaving the last two digits for daily changes), you could do a unix timestamp, or you might have your own idea. However if you go backwards in your numbering then you have to wait for the expire time to run out before other servers will pick up your new record.

    There’s a huge amount of things you can do with dns records. My own setup involves two ISP connections and a custom root zone down to signed dnssec records. I literally have everything in place to run the whole internet using free software.



  • Sounds like you might want to learn about firewalls before you get too much further along? I had no idea when I set up my first web server, and the machine got hacked within a week of putting it online. For your purposes you can probably set up some simple rules with iptables, but if you ever get serious about a dedicated firewall (which will need at least two network connections but more gives you better flexibility) then you might want to look at something like OPNsense.

    As for conflicting ports, the easiest solution is to move the internal server to a non-standard port that you can remember, but you should also consider putting each container on its own local IP address. Add something like dnsmasq to your pi, and you can add local names for each IP (plus it will handle dhcp for your network). Then in your browser you can type a local name like ‘pihole’ to access port 80 on that service, or ‘mydomain.com’ to get to the nginx container.

    And for pointing your domain name to the right IP… Do you have a static IP address? Unless you are paying extra for it, you almost certainly do not, in which case you need to look for a DDNS service which will track your current IP and update on the fly.


  • An interesting question, and something I never really thought about because I host my own mail server which has daily backups.

    Do you actually have an option to export folders from Thunderbird? I couldn’t find anything so maybe you’re using a plugin to perform that function?

    As for format, I think the .eml files are more universally recognized if you want to transfer your message to another client. I have avoided mbox for years because it packs everything into a single large file – handy if you want to copy it somewhere else, but a pain to work with if you’re trying to find a specific message and the more emails you have stored, the slower it gets. Another option which you didn’t mention, but maybe you have available (this is what I use on my mail server), is the maildir format. This stores every email as individual files in their named folders, and in plaintext format so you can open them up in a text editor or search through the files with command line tools. Since there is no compression it takes up a lot of space but I find it worth the storage.

    If you have mbox or maildir file backups, one option would be to spin up a local mailserver of your own that acts as a relay to your email provider (or even multiple providers or mailboxes). This option might also work to download a copy of all your folders without having to do a full backup from your client, but that probably depends on how the server is configured. The point, however, is that if you have a local mail server running with a full copy of all your emails, then you would now have the option to simply back up the server files as a whole. You can even do recursive backups from a daily script so the task is completely automated and then you don’t have to remember to perform the task on a regular basis.

    Anyway, just some things to think about.



  • OK cool, so I watched #15 and did a little reading on clustering under kvm, and it seems to be fairly similar to the way I’m doing things now. There are some differences in how the cluster is accessed, but basically it’s a set of VMs using shared storage and all machines run the same image for their functionality. I seem to recall some things like proxmox provide a tool to upgrade all machines identically… There’s probably other tools to do that but I don’t have a lot of machines so the only real issue has been in remembering to do full version updates.


  • I’m intrigued by what you said about proxmox. I’ve always run KVM and had multiple copies of my servers running behind a load balancer, but “clustering” sounds interesting. To me that word sounds like something that would allow high-availability to multiple VMs, possibly all running the same image so I don’t have to worry about tracking internal IP addresses and such… but I’m sure it’s not quite that simple. So could you give me a quick summary on what clustering really means in this case?