21. Juni 2020 in Administration, Gesellschaft, GNU/Linux, Technik.
… to have DNS top level domains for bargains (.bargain), the bible (.bible), black friday (.blackfriday) and marketing and social networking (.buzz), but it is not possible to have a TLD reserved for documentation and testing purposes. Instead, examples that use „example.com“ are in widespread circulation, a domain which is owned by IANA but points to a system controlled by Verizon, Inc.:
dig +short example.com
whois 18.104.22.168 | grep ^person
person: Derrick Sawyer
Search LinkedIn for Mr. Derrick Sawyer. 🙂
… to have browsers ship with DNS over HTTPS (DoH), pointing to Cloudflare, Inc. as provider, but there is no freely available DoH server. Instead, widespread examples combine Nginx, a freemium web proxy/server software controlled by F5, Inc., with a DNS resolver such as Unbound.
… to have all major DNS servers ship with an off-switch called „DNSSEC“, operated by Verisign, Inc., controlled by the government of the USA,but not one major DNS server software can serve DNS over HTTPS/TLS natively. Instead, again, constructs involving proxy software which will mess up access control are suggested by widespread documents.
DNS is messed up.
11. Mai 2020 in Sonstiges.
Ich bin recht viel Zuhause die Tage 🙂 Da komme ich ab und zu auch wieder zum Basteln.
Vor ein paar Jahren hatte ich eine historische Parkbank aufwändig restauriert, wobei ich vom Gestell etwa vierzig Prozent abschneiden musste, da es unrettbar korrodiert war. Das Holz hatte ich mit handelsüblichen Kiefer-Leisten, geschliffen und mit Wetterschutz-Farbe ersetzt. Dann stand das Ding erstmal nur herum, da saß ich vielleicht dreimal im Jahr drauf, wenn’s hochkommt … fand ich immer schade. Weiterlesen …
25. April 2020 in Sonstiges.
… im April. 😯
10. April 2020 in Administration, GNU/Linux.
Looking at a Linux filesystem, checking if a certain file or directory is accessible for reading, writing or executing by certain users or groups poses interesting challenges.
Let the basic and seemingly simple question be: „Given a user X and a file Y, can it be determined if X has access to Y, and if yes, how can it be determined?“ A simple answer was: „Let X try to access Y, and if it does not work, X does not have that kind of access.“ However, this may not be feasible: The users, files and directories in question may not exist yet. More generally, access by users to files and directories should be predictable; appropriate access restrictions should be placed in advance, not after exposing possibly sensitive information. Also, certain types of access, such as deleting a file or directory, can not be simulated in a safe manner.
Moreover, a test procedure that just involves „trying to access the file“ may be incomplete: Just because the way the test procedure has attempted access did not succeed, that does not mean that there is no procedure at all by which the user in question can access the file.
This article investigates Linux filesystems that implement the semantics of „classic UNIX permissions“ in an effort to find more exhaustive methods of determining access.
Seite 1 2 3 4 5 6 7 8 9 10 11 12
8. März 2020 in GNU/Linux.
With SSL-bumping enabled, with an unpatched version of Squid, the service can crash with this errormessage:
!Comm::MonitorsRead assertion in HttpStateData::maybeReadVirginBody()
This bug is fixed in Squid version 5, which was a sponsored effort by the developers of Squid. There is an effort of getting a bugfix into v4, which can be followed here.
There also is an unofficial backport of the v5 patch announced by and attached here. It apparently fixes the crash (all my reproducible test cases were resolved by this patch, and i am not aware of side-effects). Some Linux distributions apply this patch to their packaged versions of Squid version 4, but unfortunately is not included with Debian GNU/Linux 10 „buster“, which is the current stable release.
Until then, the following describes a simple way of creating a locally patched version of the squid package:
apt -y install build-essential devscripts quilt
apt-get -y build-dep squid
apt-get source squid
curl -k https://bugs.squid-cache.org/attachment.cgi?id=3739 -o /tmp/4846.diff
quilt import /tmp/4846.diff
debchange --local "~patch" --no-auto-nmu \
"Applied long term fix v4 take 2 for Squid bug 4864"
# Check debian/changelog
This renders Debian packages of squid that can be installed using dpkg. The packages will have their version appended with local suffix „~patch1“. Change the value for option --local of debchange to control the version suffix. During above procedure, check debian/changelog where indicated to see if the result meets your requirements.
7. Dezember 2019 in Administration, GNU/Linux.
- The following procedure is available starting with SAMBA version 4.9.
- The procedure can be performed on a host that is unrelated to the domain, but one domain controller must be reachable, must be used as a nameserver at the time of the backup and have open ports for DNS (53/tcp and /udp) SSH (22/tcp), LDAP (389/tcp), Kerberos (88/tcp and udp) and SMB (445/tcp).
1. On the machine that will be used to perform the backup, if not already present, install SAMBA.
apt -y install samba
2. Get the current smb.conf from the DC you want to query:
scp dc01.ad.example.com:/etc/samba/smb.conf ./smb.conf.dc01
3. Create a backup output directory:
4. Ensure that /etc/resolv.conf contains the IP address of dc01 as the nameserver.
5. Perform the backup:
samba-tool domain backup online \
4. Dezember 2019 in Multimedia, Sonstiges.
Ich habe alle Fotos aus meiner alten Galerie in PhotoShow gekippt.
→Zur neuen Galerie
8. März 2020 in GNU/Linux.
OpenSSL shipped with Debian 10 „Buster“ disables TLS protocol versions below 1.2. The web-browsers Chromium and Firefox ship with an embedded SSL implementation and are not affected (they will issue warnings about legacy websites), but it can cause problems with curl, Squid and other clients that are linked against the OpenSSL.
To re-enable TLS version 1.0 for OpenSSL, change /etc/ssl/openssl.cnf as follows :
# MinProtocol = TLSv1.2
MinProtocol = TLSv1.0
It might be preferable to not change the system-wide setting. Programs linked to OpenSSL respect the value of environemnt variable OPENSSL_CONF pointing to the location of a dedicated configfile (unless they are setuid or setgid executables):