Block Archive.org in nginx
I just learned that Archive.org does not honor robots.txt, so I blocked them in nginx.conf as follows:
1 2 3 | if ($http_user_agent ~ (ia_archiver|archive\.org)) { return 403; } |
I just learned that Archive.org does not honor robots.txt, so I blocked them in nginx.conf as follows:
1 2 3 | if ($http_user_agent ~ (ia_archiver|archive\.org)) { return 403; } |
I just upgraded my router to ddwrt r39960 (Kong’s build), and found that xt_TPROXY.ko no longer works. Since kernel ABI is not stable, it’s not too much a surprise, andContinue reading
Section 5.1.4 in Debian 10’s Release Notes explained this, and suggested using haveged to populate system’s entropy. However, haveged does not work correctly on my N1 box, reporting:
1 | haveged[1234]: haveged: Couldn't initialize HAVEGE rng 5 |
FromContinue reading
All your data will be lost if you do something wrong. Don’t follow this post unless you’re ABSOLUTELY aware of what you’re doing. Well, this idea has come to meContinue reading
Since I can’t attach a USB-to-TTL to my N1 box right now, I can’t confirm this is the same issue as a topic found in U-boot’s mailing list ([U-Boot] ‘usbContinue reading
This results in a rather miserable TLS (HTTPS) handshake failure in my case.. tcpdump shows a suspicious SACK packet when capturing packets through ppp0:
1 2 3 | 00:00:02.112304 IP6 (hlim 63, next-header TCP (6) payload length: 32) 2001:db8::1.12323 > 2001:db8::2.443: Flags [.], cksum 0xabcd (correct), seq 23, ack 1, win 507, options [ nop,nop,sack 1 {5761:5772}], length 0 |
And packets for {1:5760} hadContinue reading
Transmission Web Control allows setting default language in /usr/share/transmission/web/tr-web-control/config.js:
1 2 3 4 5 6 | system.config = $.extend(system.config, { // ... // default language defaultLang: "en", // ... }); |
… but it won’t take effect in mobile pages. This seems to be a minor defect in it’s mobile homeContinue reading
Transmission Web Control is a gorgeous web UI for transmission-daemon. However, the default installation does not have an Apple Touch Icon. Meanwhile, the original control UI does come with anContinue reading
The first step would be somehow assign a static interface ID to the device. Although this should always be the case (even if your device enabled RFC4941 – Privacy ExtensionsContinue reading
From man interfaces:
1 2 3 4 5 6 7 8 9 10 11 | INET6 ADDRESS FAMILY This section documents the methods available in the inet6 address family. The auto Method [...] Options privext int Privacy extensions (RFC4941) (0=off, 1=assign, 2=prefer) |
So I put the following to /etc/interfaces.d/eth0:
1 2 | iface eth0 inet6 auto privext 2 |