达拉斯・卢

Dallas 是美国地名,因谐音选作英文名。侧重软件开发、互联网、软件使用经验。开始于2008年1月1日,旨在记录个人经验,分享和谐盛世。

Previously, I used an idle IP to set up port forwarding to hide my Forgejo server's IP, which worked excellently. However, when I recently set up my email service, I discovered that using iptables for port forwarding over the public network does not allow the application to correctly obtain the client's IP. This was not an issue for informal external applications. However, since my email service uses Greylist to filter spam, the sender's IP is an important parameter. Therefore, I need to obtain the actual client IP.

Cloudflare's email routing feature is quite useful. Additionally, I have been using SendGrid for sending emails and have been on the lookout for alternatives. Self-hosted email options include Mail-in-a-box, Docker-mailserver, MailCow, among others. However, sometimes I don't need an inbox, so I decided to try Postal as a replacement for SendGrid. This article documents the installation and usage of Postal.

A recent article, "Is the Chinese Internet Collapsing at an Accelerating Rate?", triggered attention. What's more interesting is that this article, which was first published on Media Platform of WeChat, was deleted by the platform. Some netizens lamented that “Chinese Internet” is really collapsing.

Using SvelteKit it is very easy to create web applications with SSR, but for SEO we need to add some metadata like JSON-LD to the page.This article will explain how to use JSON-LD in SvelteKit applications.

Just started the development of this site's program, I have considered the issue of page printing. Markdown to PDF has a variety of options, and the web page to PDF experience is very poor, a lot of unimportant content affects the printing results. Whether you print to paper or to PDF, the layout of the page itself is fully capable.

X user plantegg, while testing MySQL connection issues, used IP 127.1, which piqued the interest of some netizens. When I first learned of this, I also doubted the legitimacy of my computer networking course. Thus, I've compiled some obscure knowledge akin to the "four ways to write the character 'hui'." Dear readers, remember! These facts are worth remembering. They'll come in handy when you work as a network administrator and need to write rules. (Earnest face)

The recent backdoor incident on XZ has sparked a lot of discussion, and everyone is interested in the real identity of the attacker, Jia Tan. Some netizens found out that his commit message contained information about the timezone of the Eastern 8 regions, but he is not closed on holidays in China. Interestingly, he is off on holidays in Eastern Europe. The final conclusion is that he is in Eastern Europe, disguised as being from the East 8 region. This article describes some of the technical details of modifying Git commit times.

Find More...