Posts in 2020
Azure WALinuxAgent Backdoor
Last Update: in Azure
WALinuxAgent is is Microsoft Azure Linux Agent with root access (backdoor?). Remove it if you do not use it.
WALinuxAgent is Microsoft Azure Linux Agent with root access (backdoor?). It is pretty powerful to manage Linux on Azure. The source code is host at github Azure/WALinuxAgent . The Microsoft Azure Linux Agent (waagent) manages Linux provisioning and …
python-cas Flask Example
Last Update: in CAS
An example project to demo how to integrate python-cas into a Flask app.
python-cas is Python CAS (Central Authentication Server) client library support CAS 1.0/2.0/3.0. It was initially split from django-cas-ng to support any Python app to easily implement a CAS client. This post is an example project to demo how to …
django-cas-ng Example
Last Update: in CAS
An example project to demo how easy to integrate with django-cas-ng
django-cas-ng is Django CAS (Central Authentication Service) 1.0/2.0/3.0 client library to support SSO (Single Sign On) and SLO (Single Logout)! To demo how easy to integrate with django-cas-ng, here is an example project to show how to use …
A Comparison of Django CAS clients
Last Update: in CAS
A Comparison of Django CAS clients: django-cas-ng, django-cas-client and django-cas.
Here is a comparison of some exist Django CAS clients: django-cas-ng, django-cas-client and django-cas. Note: Data is fetched in real time and alway up to date. django-cas-ng django-cas-client django-cas Homepage License Stars NA Forks NA Watchers NA …
Sphinx-doc 101
Last Update: in Posts
An introduction to sphinx-doc, a documentation tool that makes it easy to create intelligent and beautiful documentation.
Sphinx is a documentation generator that makes it easy to create intelligent and beautiful documentation. Sphinx was originally created for the Python documentation, then it extend to support many other languages. It use reStructuredText format to …
Posts in 2019
NGINX Reverse Proxy
Last Update: in Posts
NGINX reverse proxy configuration troubleshooting notes.
The difference between a forward proxy server and a reverse proxy server A common question is what’s the difference between a proxy server and a reverse proxy server? An ordinary forward proxy is an intermediate server that sits between the …
core_name_format No such file or directory
Last Update: in Linux
Troubleshooting setting
kernel.core_name_format="core.%e.%p.%s.%t"
in/etc/sysctl.conf
caused error: sysctl: cannot stat /proc/sys/kernel/core_name_format: No such file or directoryWhat is core dump The default action of certain signals is to cause a process to terminate and produce a core dump file, a disk file containing an image of the process’s memory at the time of termination. This image can be used in a debugger …
tcp_tw_recycle No such file or directory
Last Update: in Linux
Troubleshooting setting
net.ipv4.tcp_tw_recycle = 0
in/etc/sysctl.conf
caused error: sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directoryWhat is net.ipv4.tcp_tw_recycle Per Linux kernel document networking/ip-sysctl.txt: tcp_tw_recycle - BOOLEAN Enable fast recycling TIME-WAIT sockets. Default value is 0. It should not be changed without advice/request of technical experts. This …
Huge improve TCP performance by BBR
Last Update: in Linux
BBR improve Linux server response time. Huge improve Linux network performance by change TCP congestion control to BBR (Bottleneck Bandwidth and RTT).
What is BBR BBR is Bottleneck Bandwidth and RTT. BBR congestion control computes the sending rate based on the delivery rate (throughput) estimated from ACKs. BBR (Bottleneck Bandwidth and Round-trip propagation time) is a congestion control …
Upgrade Debian Jessie to Buster, Bullseye without re-image
Last Update: in Raspberry Pi
Upgrade existing Debian Jessie to Buster, Bullseye without re-image on Raspberry Pi, there is no data loss during upgrade with in-place upgrade.
How to do in-place upgrade Debian without data loss I have a old Raspberry Pi 3 running for many years, it still running on jessie and everything goes well, except I want to install some software which does not exist on jessie. Since jessie, there …