The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,152 other subscribers

Archive for June 12th, 2017

QC overview

Posted by jpluimers on 2017/06/12

I wish I made WayBack copies when I drafted the below QC post last year sans [WayBack] links.

Edit 20171221: since QC is back up, I’ve archived the queries. I still have to archive the reports.

Some QC entries I forgot to archive:

Luckily I did archive most of the QC entries I posted about after november 2013.

About 11-thousand of 135-thousand entries are archived by now, in part of a script I tried to make early 2016 (but crashed after a few thousand entries):

https://web.archive.org/web//http://qc.embarcadero.com/wc/qcmain.aspx

About 5 thousand entries are here, but I’m not sure which ones are duplicate:

https://web.archive.org/web//http://qc.codegear.com/wc/

About 20 thousand entries are here, but I’m also not sure which ones are duplicate:

https://web.archive.org/web//http://qc.borland.com/wc/

–jeroen

Posted in Delphi, Development, QC, Software Development | Leave a Comment »

Reverse ssh tunnel between two linux boxes to allow RDP traffic over port 3389

Posted by jpluimers on 2017/06/12

You know the drill: site that limits incoming traffic and has painful VPN. Luckily this time outgoing ssh traffic on port 22 was allowed (because they do SFTP which is SSH File Transfer).

Since I’ve outside Linux boxes and could run a Linux VM there (all Tumbleweed based), this allowed me to do a reverse SSH tunnel. Those are always a bit confusing, but this set of drawings really helps: What’s ssh port forwarding and what’s the difference between ssh local and remote port forwarding – Unix & Linux Stack Exchange [WayBack].

Which brings me to a statement like this:

ssh -o "ExitOnForwardFailure yes" -R :3389:192.168.199.114:3389 -p 33322 93.184.216.34

That didn’t work: a remote machine could not RDP to port 3389, but a local telnet localhost 3389 would. The reason is that by default sshd binds a remote port to the local address only and not the wildcard addres.

So you have to open up the remote config a bit: at least /etc/sshd_config and most likely also your firewall.

Read the rest of this entry »

Posted in *nix, Communications Development, Development, Internet protocol suite, Linux, openSuSE, Power User, SSH, SuSE Linux, TCP, Tumbleweed | Leave a Comment »

munki/createOSXinstallPkg: Tools for packaging OS X installers – upgrade Mac OS X from InstallESD.dmg

Posted by jpluimers on 2017/06/12

You can use this package to install OS X on an empty partition, but perhaps more interestingly, you can also use it to upgrade existing OS X installations to a newer version of the OS X. There are many tools and workflows that support the installation of Apple packages; you can use these together with an OS X installation package to upgrade machines to the latest version of OS X.This is especially interesting when used with tools like Munki — you can automate the upgrade of a group of machines while still preserving user data, or offer an upgrade as a “Self-Service”-type option where a user can initiate an OS X upgrade themselves without needing to have administrative rights.

I will probably need this one day.

Source: munki/createOSXinstallPkg: Tools for packaging OS X installers

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »

 
%d bloggers like this: