3 ms·
The writeup didn't mention it, but I'd guess probably that logic analyzer supports X authorization, which means that there's an alternative with different secur
by neilv 3y ago
The writeup didn't mention it, but I'd guess probably that logic analyzer supports X authorization, which means that there's an alternative with different security properties:
1. Make sure that X's `xauth` for is set up on your laptop/workstation.
2. Enable TCP listening of the X server (like the server used to do by default, back when people were doing remote X display like this). This is in lieu of running `socat`, so, when you configure the logic analyzer TCP/IP, you'd tell it the X server's normal TCP port instead of the `socat` one.
3. Set the `xauth` secret on the logic analyzer.
(Also, if the `ifconfig` in the blog post doesn't work for you, try `ip a`.)
A downside of this is that authorization secret would be accepted by the server an indefinite period of time after you're done using the logic analyzer.
A more secure alternative is to forget about X, and instead plug a compact PS/2 keyboard and pointing device into the logic analyzer. (IBM sold some compact keyboards with integrated TrackPoint and touchpad pointing devices, which take no more bench space than a laptop does.) I'd guess screenshots are a headache, though.
- tverbeure 3y ago> I'd guess probably that logic analyzer supports X authorization, ... Unfortunately, it doesn't. The screenshots in the blog posts are pretty much all there is. But even if it did, I wasn't even able to make my Linux laptop display an xclock on my desktop screen until I used the socat option. There's too many config files to get right. socat doesn't require any of that and it's only active when using the logic analyzer. > A more secure alternative is to forget about X, and instead plug a compact PS/2 keyboard and pointing device into the logic analyzer. Not enough room. Bulky test equipment like this lives on an equipment cart (I love it!) but it makes using a keyboard and mouse awkward. I'm not too worries about the security issues, TBH. In the unlikely case that attackers go through the trouble of entering my home network (why?), they're better at network ops than I am. The Linux machine that drives all this is for development only. All the stuff on there can be downloaded from my GitHub repos...
- neilv 3y agoMy bad. Looks from the manual like they assume `xhost +` for the analyzer's IP address. I like your approach best.
- ComputerGuru 3y ago> IBM sold some compact keyboards with integrated TrackPoint and touchpad pointing devices, which take no more bench space than a laptop does. It's not the greatest keyboard for typing, but the Logitech K400 is a decent modern alternative for such purposes. You'd need a USB-to-PS/2 adapter, though: https://www.amazon.com/Logitech-Wireless-Keyboard-Touchpad-PC-connected/dp/B014EUQOGK/ https://www.amazon.com/Logitech-Wireless-Keyboard-Touchpad-P...
- neilv 3y agoA bit more compact, the IBM SK-8845 can still be gotten on eBay with native PS/2 interfaces (or USB, in some variants): http://www.ibmfiles.com/pages/sk88xx.htm http://www.ibmfiles.com/pages/sk88xx.htm The SK-88*4*5 are actually a little easier/cheaper to get than the later SK-88*5*5, maybe because the earlier model doesn't have Win95 keys. (The SK-8855 was also noteworthy for Lenovo soliciting user input in its design, before they seemed to go all-in on a consumer Mac-like aesthetic. Now, SK-8855 and earlier TrackPoint keyboards sell used for more than they cost new, even if dirty, since Lenovo isn't making them like that anymore. Even though were only ever lightweight laptop-like keyboards, not veritable battleships like some historical earlier IBM mechanical keyboards.)