Being able to proxy via SOCKS5 on browser sometimes wasn’t enough, one needs a system-wide proxy. The best and simplest solution is of course VPN, but VPN is not as fast compare to SOCKS proxy like ShadowSocks under Linux. What can we do? In this article, I am going to briefly introduce System-wide SOCKS5 proxy …
Category archives: Techie Stuff
Zabbix22 – Systemd enablement fix
When I was installing my zabbix server (version 2.2 branch) from RPM package, I encountered the following error when I was trying to enable the service.
Using pingjs
Pingjs is a JavaScript library. It cleverly use the JavaScript’s native Image object to find the responsive time. Its example use has been provided by the author. The first “ping” to your target server is always incorrect. It counts the DNS resolve time in, hence I implemented this API to an endless loop of ping, …
Make a secret copy of sent email in Postfix
I have a business need. I need to send automatically generated email from a specific business address to my customers. Postfix does not help you to save it to “Sent” mailbox. Although I have mail logs telling me that emails have been sent to the correct email addresses but I really don’t know what is …
Continue reading “Make a secret copy of sent email in Postfix”
IPSec over GRE setup tutorial
I have done some searching on the internet and found little about this specific topic, hence this post.
Port range forwarding using iptables
Ranged port forwarding has its uses. I want to port forward port number 1025 to 50000 from Machine A to Machine B’s 1025 to 50000. Here is how I did it with iptables.
OpenSSH hang after SSH2_MSG_SERVICE_ACCEPT
One of my servers back in China has a really sloooow connection to some of the famous DNS servers, like Google’s or OpenDNS. I happen to come across a performance issue related to DNS issue when I was logging into that server.
Sending email with Python
This is a note from learning Python’s email and smtplib modules. Most of emails nowadays consists of 3 parts: plain text content, HTML content and attachments. Python’s smtplib library indeed saved us a lot of work.
Fix SQLite3 dependency issue for dnf
Recently when I did a dnf update I saw broken package for sqlite on my Fedora 23. Then I attempt to re-install that by removing it. rpm -e –nodeps sqlite Then shit hit the fan.
Enabling gpg-agent
When I was following this tutorial to setup GnuPG for mutt account profiles on my personal laptop, I hit gpg-agent is not available in this session error when I was trying to decrypt my profile. Also, I have to type my password for every time when I try decryption. This is annoying.