|
Open Source
|
Written by Jason
|
|
Wednesday, 25 March 2009 21:03 |
|
Haven't been doing much on good ol' nmAutoLogin recently, but I plan to get back on that when my laptop gets back from repairs. The next major step is dropping the C, for reasons I will explain later, and replacing it with Python. In the meantime, I just thought I'd go and mention a small freeware app I've thrown together. It's an instant messenger client and server written entirely in Java, with a nice little description page that can be found over here. It's freeware, but not open source, mostly because releasing it as open source would be more of a hassle than its worth, especially since I don't see it becoming overly popular, with such things as AIM, MSN, and Pidgin flying around. Now, for a quick rundown of noteable features: |
|
Read more...
|
|
|
mnAutoLogin now on SourceForge |
|
|
|
|
Written by Jason
|
|
Tuesday, 06 January 2009 09:57 |
|
With the new year, comes a new home for my nmAutoLogin project. The project home can be found at its project page on SourceForge, although I don't have any releases for it yet. The actual releasing of the project proper is very much still "in development", and the files are sitting in SVN to download. I still need to move the required Firefox extension to the project page as well, and make a downloadable package of it all, but it's coming together. I made an extension page on Mozilla Addons, but since I haven't finished the description yet, it can't be accessed yet, but hopefully this will be done soon. Now, on a different note, WebSense at my new job seems to think that Seneca's Open Source Planet is a Phishing/scam website, and blocks it. |
|
Last Updated on Tuesday, 06 January 2009 10:08 |
|
NetworkManager Automatic Web Authentication 0.1 (0.3) release |
|
|
|
|
Written by Jason
|
|
Thursday, 04 December 2008 14:58 |
|
Some of this is just going to be a repeat from my pre-release post, but since this is the full release, I feel I should put it all here anyway. Before I get too far into this, I will state this: this is a dual-numbered release. It is numbered 0.3 for my OSD600 course, but since this is the first release that is actually close to the original idea (0.1 and 0.2 were just working on DBus in XPCOM), it is officially numbered 0.1. For those who are new to this blog, or just the idea of the NetworkManaher Automatic Web Authentication I've been working on (which I'm calling "nmAutoLogin" inside itself) , the idea is that several networks, such as colleges, workplaces, café hotspots, trains, airplanes, etc. require you to navigate to a webpage and login to there before you can access the internet, even outside of the browser. Having to do this manually can be a bit of a chore, or just an annoyance. Would it not be nice if you could just have NetworkManager in Linux connect to a wireless network, then automatically have a browser like Firefox open this page and log in to it? That's what the idea here is: When NetworkManager connects to a wifi network that needs such a login to take place, a daemon will pick up on this connection, open Firefox if it's not open, navigate to the page, and log the user in, using Firefox's Password Manager to hold the username & password for this website. The reasoning for using Firefox rather than one of several web browsing libraries available out there is relatively sound: - Firefox has a Password Manager: Why would we want to store passwords in yet another place, when we can keep them centralized?
- Firefox is a GUI: If something goes wrong (wrong password, unable to connect, etc) the user should be able to see this, and be able to react to it
- Javascript Popup Windows: Some of these network websites will pop up a little window that runs some javascript over time to make sure the user is active, and that if they disocnnect, it will log them out. Why should we try to integrate a full Javascript engine into something else, when we already have a browser that can do it all?
The main problem with trying to get this to work, is that there is no way to control Firefox from outside of Firefox. The solution for this was to write an extension that includes an XPCOM component allowing it to listen to signals sent out on DBus, and then have the usual Javascript in an extension that would pick up on this, and react accordingly. At present, most of the code for this release is actually in this extension, even if the DBus work is more extensive in the Daemon. The basic structure of how this entire thing works: |
|
Read more...
|
|
|
NetworkManager Automatic Web Authentication: 0.3 pre-release |
|
|
|
|
Written by Jason
|
|
Wednesday, 03 December 2008 12:35 |
|
Well, it's about that time of year when assignments are due, and we're all looking forward to a few weeks off between semesters. I still have other assignments I need to work on today, so I'm not going to make a full post like I would like right now, but I just want to say that the NetworkManager Automatic Web Authentication 0.3 release for OSD600 is done, and this is my nearly-official announcement of it. Main thing is, I'm hoping some people will test it out, and I'll be making a longer post later. So, without further ado, instructions: WARNING: 32-BIT X86 LINUX ONLY
- Download and extract the tarball
- From the release director, install into Firefox the nmAutoLogin-x86.xpi file
- Run the nmAutoLogin.py file from the release directory
- python nmAutoLogin.py
- if the permissions held true...
- double-click and run
- ./nmAutoLogin.py
- Make sure Firefox is open and the extension installed
- connect (or reconnect) to a wireless network with NetworkManager
- Watch as a window opens and submit itself
Any suggestions, idea, glitches, bugs, errors, comments, etc. are helpful and requested. The easiest way to do this is to just add a comment to this post. |
|
The Forgotten Labs: Part 1: Modifying the Browser Lab |
|
|
|
|
Written by Jason
|
|
Tuesday, 02 December 2008 13:12 |
|
I did this one awhile ago, but for one reason or another, forgot to post the patch... So, with no further ado, I put it up in my usual pastebin. Not much to say, other than that I cannot really remember what I originally would have said about this. |
|
Last Updated on Tuesday, 02 December 2008 13:13 |
|
|
|
|
|
|
Page 1 of 6 |
|