Archive for category Uncategorized
SMB-over-QUIC File Sharing on older Windows
Posted by Eion Robb in Uncategorized on 2026-07-21
So something new that came out with Windows Server 2025 is the option for hosting Windows File Sharing shares (aka Samba or SMB) over a UDP protocol, QUIC. Funnily enough, this has been named SMB over QUIC. The benefits being that it uses a newer TLS 1.3 connection and is a lot easier to secure, and so works really well as an alternative for normal Windows File Sharing over the older TCP connections and having to mess around with VPNs or other things to be able to get a secure connection. Also pretty cool is that SMB-over-QUIC is available in Samba server on Linux as of version 4.23.0.
OK Yes, I know the rest of the world has moved on with web access for file shares, eg through Sharepoint or Nextcloud or something else, but humour me here!
So I got thinking, is this really the bog-standard SMB protocol over a QUIC connection, or is it all marketing? The idea that it took a while to come out on Samba made me think there was some magic voodoo going on here. I mean, sure I probably could have just looked at the Samba source code and figured it out, but I’m a coder! I don’t have time to read other peoples code!
I couldn’t easily test out the new Samba because my Linux machine didn’t have the quic.ko kernel module, but coincidentally I had an old Windows Server 2012 server that I was decommissioning and a terrible nagging thought that wouldn’t leave me alone. Yes, it was: "could I make this new fangled silliness work with a 14 year old server?" It was as if all the dark evils of the world possessed me for a brief moment, and the madness seemed to make sense.
So out I jumped out and slapped QUIC on top of my server with what was effectively a QUIC proxy: GOST, a Golang project that routes traffic between different protocols and it had support for QUIC. I redirected QUIC UDP port 443 to my TCP 445 Windows File Server then connected through from my Win11 client using net use Z: \\server.example.com\share /TRANSPORT:QUIC /SKIPCERTCHECK aaand it didn’t work. Darn. So, I fired up Wireshark and found that the Windows client would try to set up the TLS1.3 connection with a unique ALPN of "smb" but my GOST instance wasn’t configured with that. Tweaking the GOST config file still didn’t work, and it turned out to have a hard-coded ALPN of "h3, quic/v1" baked into the source.
I spun off a GitHub ticket, but didn’t let the thought go.
Instead, I vibed up a little wrapper utility that would provide the same, and it sorta kinda mostly worked!… but only on my Linux box. Turns out the C# libs for QUIC need OpenSSL but that’s only used on the Linux builds and there were lots of hoops to jump through to get that building on Windows. I could run the relay on my Linux box and point it at the old Windows Server, but: Blegh. No one really wants to have to run a whole extra server just to do a nasty hack, right? Just imagine the carbon-miles on that extra server hop!
But then the GOST devs changed up their code pretty quick, and spinning up a GOST server (with a free wildcard cert from LetsEncrypt) it worked! The net use works great!
The downside was that throughput was a lot slower. Likely because the protocol relaying was happening in software using CPU rather than any direct low-level kernel/service, but it did prove that yes, it was actually just the old SMB protocol running over QUIC and not some magic new protocol with a fancy marketing term. Huzzah!
(Yes, this is a terrible idea, no you shouldn’t use it in production. grim just negged me into writing a blog post after pointing out the last one was a million years ago or something.)
Building for iOS5 with XCode 8
Posted by Eion Robb in Uncategorized on 2016-11-18
Part of my day job is creating a mobile app, of which one of the platforms we deploy to is iOS. We still have some users out there on iPad 1’s and the latest version of iOS that’s available for them is 5.1.1, which the latest version of XCode (version 8.1 at time of writing) doesn’t support.
Up to and including XCode 8.0 we’ve been able to build for iOS5 without trouble just by changing the “Development Target” setting to 5.1.1, however XCode 8.1 complains with an error “ld: library not found for -lcrt1.3.1.o”. Turns out that the iOS10 SDK doesn’t ship with this file any more, effectively dropping support for iPad1’s.
Fortunately the solution is simple, to take a copy of crt1.3.1.o from an older copy of XCode and put it into the /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/ folder, and just like that it’s possible to build for iOS5 again.
Summer Status S’chwupdate
Posted by Eion Robb in Uncategorized on 2016-01-06
So I was allowed to have a few days break from my day-job over the xmas break, and in between making desserts and back-breaking work in the garden, I managed to do a few Pidgin related things 🙂
Facebook to shut down their XMPP service
Posted by Eion Robb in Uncategorized on 2014-05-14
So it’s been recently announced that Facebook are planning on turning off their XMPP gateway for Facebook Messaging. Their announcement says that it’ll be completely turned off for good as of April 2015, but that it’s just deprecated for now.
This is kind of a bittersweet announcement. The XMPP gateway was never really as feature-complete as any of the other messaging options provided by Facebook (by this, I mean the mobile Messenger client and the Firefox-powered Desktop Messenger), but it’s rise to prominence was the main reason I gave up on the old HTTP-based Facebook Plugin for Pidgin, which pretended to be a mobile browser.
So, now it looks like it might be time to dust the cobwebs off the old FB plugin and give it another crack. The other option is starting again, but reverse-engineering how the mobile Messenger clients work (might have something to do with MQTT?).
So that’s another big service dumping XMPP – we’ve already had MSN, AIM and Google deprecate their XMPP gateways. Who’s next? Does this make XMPP dead? What’s going to be the ‘next big thing’ in messengers? I guess that’s half the reason I like working with libpurple/Pidgin is that it’s an ever changing landscape with new things to learn from bigger companies.
OpenDyslexic font in MIUI
Posted by Eion Robb in Uncategorized on 2012-12-20
I’ve been using the OpenDyslexic font from Abelardo Gonzalez ever since I read about it on Slashdot. I wanted to try it out on my Android phone that’s running MIUI rom and the easiest way to do that is by creating a theme.
You can download the theme from: here, then you just need to extract the zip file and copy the mtz inside onto your device’s /sdcard/MIUI/theme/ folder
You can then set a custom font in your current theme to be OpenDyslexic. Easy 🙂
I’ve been trying to upload the theme to the official themes repository, but I don’t read/write Chinese so I’m only guessing that they keep rejecting it because it doesn’t include a lockscreen. But it’s just a font! I don’t understand 🙂
Edit 2013-06-25: Updated to latest version of OpenDyslexic from https://github.com/antijingoist/open-dyslexic
Back Up and Running
Posted by Eion Robb in Skype, Uncategorized on 2012-10-18
If you’ve been trying to access the site for the last few months, you’d probably been getting a lot of timeout issues and not being able to connect. Unfortunately several systems failed and I’ve been too unwell to repair/replace a lot of it. A lot of the parts that I did replace ended up being faulty and ended up soaking up more time than I had the energy/health for.
I’m happy to say that I’ve now spent a bit more time to copy files from old servers onto the new one and everything’s back up and running again 🙂 Hurrah! \o/
Apologies too to those people trying to download the Skype plugin from http://eion.robbmob.com/ and finding that they couldn’t access the files. I made a mirror of some of the files that I had from an accessible computer on the Google Code page, but not all of them (of particular note, the .exe installer for the Skype plugin). You should be able to download the plugin now, but flick me an email or leave a comment below if you don’t have any luck.
In other news, in the last few months the Steam plugin for Pidgin/Finch has been wrapped into an Adium plugin by Hermi Hg, and it’s even made the front page of AdiumXtras.com as the “xtra of the moment”, as well as getting a mention on Adium’s Twittermobile Big ups to him 🙂
I got hitched…
Posted by Eion Robb in Uncategorized on 2012-01-16
… so now I’m a free man! Yes, that doesn’t really make sense, but I’ve been working hard with my wife for the last couple of years to make everything for our wedding. So that means that now that it’s over I have a lot of spare time up my hands 🙂
I just have a couple of things to catch up on, a massively overgrown garden to tame and a month-long honeymoon coming up, but other than that I’m really to roll up my sleeves and get coding.
So, what do you want to see fixed/updated/changed next?
Completely dead…
Posted by Eion Robb in Uncategorized on 2011-09-13
… well, not me, but my server. Unfortunately all the earthquakes have meant occasional power cuts, which completely killed the battery and HDD on my server machine. I’m now running this site off another machine I have as a temporary measure until I move the site somewhere more permanent – probably Google Sites or something.
The backup I had also didn’t have my last blog post in it, so I had to recreate it from a Google cache backup.
Pidgin Summer of Code Ideas
Posted by Eion Robb in Uncategorized on 2010-03-28
Summer of Code is approaching, and there’s been a lot of comments from people on the Pidgin developer mailing list. Most of peoples submissions are from the list at http://developer.pidgin.im/wiki/FutureSOCProjects but I’ve been thinking about a few ideas of my own that I’d love to see in Pidgin.
- Better Windows 7 integration.
Windows 7 has new jumplists and preview panes and that file-transfer progress thing. Skype uses them all on Win7 and it looks pretty nifty. Would love to see that in there - SIP protocol plugin
With the new voice/video API in Pidgin, there’s been a few requests to have SIP (rather than SIMPLE, which is already in Pidgin). There’s a Sophia-SIP prpl at http://sofia-sip.sourceforge.net/ssip-gst.html which would be a great starting point - An over-the-net remote control for Pidgin/Finch
I started working on this one myself with a friend, starting with a web interface for Pidgin to use it with the iPhone, and working on a prpl that would let you remotely sign into, say, your home Pidgin and use it from work, while logging the conversations at home and without signing out of your home accounts. (I should really put the source code for that online sometime) - A plugins site a la adiumxtras.com or addons.mozilla.org
Some kind of plugin that can update other plugins would be handy too. I have a lot of users of various plugins of mine that are using old versions, just because they didn’t know a newer one existed. If there was an autoupdate as well as a single place with all the plugins, that would be super-duper
Anyway, that’s my ideas. Anyone have any others?
Its Finally Here! XMPP for Facebook
Posted by Eion Robb in Uncategorized on 2010-02-11
There’s just been a blog post by the Facebook developers to say that they’re finally allowing XMPP on Facebook. Here’s the details:
- Create a new XMPP account in your favourite XMPP client, eg Adium or Pidgin
- Use your Facebook username in the ‘username’ field. If you don’t have a username get one at http://facebook.com/username
- Use ‘chat.facebook.com’ (without the quotes) in the ‘domain’ field
- Enter in your password
- Uncheck the Require SSL/TLS settings
- Check the ‘Allow plaintext auth over unencrypted streams’
You should be good to go 🙂