Belligero

Because I can...

 
  • Increase font size
  • Default font size
  • Decrease font size
Open Source

mnAutoLogin now on SourceForge

E-mail Print PDF

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 ( Tuesday, 06 January 2009 10:08 )
 

NetworkManager Automatic Web Authentication 0.1 (0.3) release

E-mail Print PDF

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

E-mail Print PDF

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

  1. Download and extract the tarball 
  2. From the release director, install into Firefox the nmAutoLogin-x86.xpi file
  3. Run the nmAutoLogin.py file from the release directory
    • python nmAutoLogin.py
    • if the permissions held true...
      • double-click and run
      • ./nmAutoLogin.py
  4. Make sure Firefox is open and the extension installed
  5. connect (or reconnect) to a wireless network with NetworkManager
  6. 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

E-mail Print PDF
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 ( Tuesday, 02 December 2008 13:13 )
 

Python is Some Sort of Wonder Drug

E-mail Print PDF

Do I know python?  No, no I do not.  Do I like coding in it?  You bet your britches I do!

Bet your britches...?  Does anybody say that anymore?  Well, I guess they do, since I just said it, but really, when did you last hear it said?  Does anybody even wear britches anymore, and if they do, why would they want to bet them in th first place?  Just to get another pair to wear over top their first pair?  That would just be weird, and likely, uncomfortable.  Now, once I figure out why I'm talking about wearing two pairs of britches at a time, I should be set.

Anyways, enough about britches, and on to the point of this post: Python is like somesort of wonder drug after drudging my way around through C all semester.  Messing around with it earlier in the semester (trying to learn DBus through a language you don't know is NOT a good way to do it), I was able to get a few things done, rather quickly.  With this in mind, I set out to use it again, in the hopes of learning it, and using it to very quickly build up what I need done.

I have not been let down.

Last Updated ( Wednesday, 03 December 2008 14:32 ) Read more...
 
  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  Next 
  •  End 
  • »


Page 1 of 5

User Login

RSS Feed

Global