techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.7K
active users

#wipe

0 posts0 participants0 posts today

Next #swad improvement: Make sure to #wipe #passwords from RAM directly after used. That's more of a #security precaution, because there *should* be no way how an attacker can access a running process' memory, but you never know which bugs surface 🙈.

Unexpectedly, that posed #portability issues. #C11 has #memset_s ... a pretty weird function, but suitable for wiping. It's there on #FreeBSD and on #OpenBSD. Not on #NetBSD though. But NetBSD offers the much saner #C23 function #memset_explicit. Looking at #Linux, there's neither. But there is the (non-standard!) #explicit_bzero 🤯 .. and with glibc, it requires _DEFAULT_SOURCE to be defined as soon as you compile with a C standard version given to the compiler. This function exists on some other systems as well, but there's confusion whether it should be declared in string.h or strings.h. 🤪

Here's the full set of compile-tests I'm now doing, only to find the best way to really erase memory:
github.com/Zirias/swad/blob/ma

And if none of these functions is found, swad uses the "hacky" way that most likely works as well: Access the normal memset function via a volatile pointer.

Simple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.
GitHubswad/src/bin/swad/swad.mk at master · Zirias/swadSimple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.
Continued thread

3/2

The one issue I was able to figure out with this #lenovo #T430s was printing on #windoz11

With my #HP #laserjet using #jetdirect cards with an local #IP address have worked fine over the years (and the cheap toner cartridges make it all the better)

But when installing 11, adding and using printers over the #network is nothing but frustration. The #printer would not add/configured, or if it did get added then test prints would sit in the print queue and fail. I could ping the printer, but there was no visible communication with it.

Searching at length, I fumbled across this post

Windows 11 22H2: network printing switched to RPC over TCP
ghacks.net/2022/11/02/windows-

So Microsoft changed the default print related communications for endpoints in #Windows 11 version #22H2 Endpoints now use #RPC over #TCP instead of over Named Pipes.

If you are in this situation, there are some registry edits that can be made manually via #powershell or via #grouppolicy that are documented in that linked article.

I made the edits on the #T430s and am now able to print to my #4050TN Now, for some reason my #ThinkPadP1 is still having issues with printing after the #registry tweaks, with test jobs still sticking in the queue. More #troubleshooting is needed, or I may just #wipe & #reinstall

#vintagecomputing
#vintagecomputing #vintagecomputint #vintagecomputer #vintagecomputers #vintagecomputalk
#vintagehardware
#computerHistory
#retro
#retrocomputing #retroComputers
#WallOfRetro
#retroTech #retroTechnology
#nerdsOfVintage #happyNerding
#computer #tech
#nerds #nerd
#Lenovo #thinkpad #laptop #laptop_computer

gHacks Technology News · Windows 11 22H2: network printing switched to RPC over TCP - gHacks Tech NewsMicrosoft changed the default print related communication for client server communications in Windows 11 version 22H2 to improve security.