Belligero Productions

  • Increase font size
  • Default font size
  • Decrease font size

NetworkManager Automatic Web Authentication 0.2

E-mail Print PDF

Well, it's been a few weeks since my 0.1, and while I've been busy with other assignments, I've managed to get my 0.2 working.

Changes since 0.1:

  • Memory management is now proper (releases the DBus Connection)
  • dbusClient now requires more verbose naming
    • used to just pass "inside" and full name would become "org.freedesktop.nmautologin.inside", now full string has to be passed
    • sendSignal requires object name, interface name, message name, and message to be sent, rather than just message name and message.  the first two were built-in to the client
  • With the above, dbusClient has been split into its own extension, allowing others to make easier use of it withoutthe nmAutologin extension installed
    • Better compiler settings for output.  Verbose and silent, currently compiled with verbose output
  • Sent a message to the NetworkManager mailing list about the idea, and got replies
    • They do not want the information stored in NM itself
    • Will be using a daemon to be the in-between
  • The nmAutologin extension has pushed the dbusClient processing into a background thread
    • Now able to use Firefox/Minefield while it islistening for incoming signals
    • Pops up alert box when message received
    • Makes sure listener is stopped when last browser window closed
  • For simplicity's sake, this is being released x86 only.  It has not been tested on a 64-bit system
  • The code in the nmAutologin extension has been split up into multiple files, to make for better organization
    • startup.js
      • contains the startup() and shutdown() methods along with the code to start and run the DBus thread
    • process.js
      • contains the sendSignal() and handleMessage() methods
      • Will be used to hold the methods for processing a signal when received
    • settings.js
      • Contains connName, objName, interfaceName,and msgName strings
      • Open to hold any more settings that may be needed
Instructions for use:
  1. Download and extract the tarball
  2. Install both the nmautologin.xpi and dbusclient-x86.xpi files into Firefox
  3. Start firefox, and if from a terminal, enjoy the verbose output
  4. Run the dbus executable from the tarball in a terminal:
    1. To send a signal: ./dbus send "message"
  5. Try sending various messages to Firefox at given intervals

If you want to compile the packages themselves, simpoly follow the instructions in my 0.1 release post.  The only difference is that the dbusclient directory is the one to be compiled in Firefox source.  Its *.xpi can be grabbed from objdir/dist/xpi-stage and installed directly.

Now, my plans for 0.3:

  • Look into NetworkManager, find out exactly what indormation it sends, its naming schemes, etc.
  • Make a daemon to listen for these and pass them to Firefox, along with a URL
    • URL will likey be a generic one for testing purposes, until a proper storage system is implemented
  •  When Firefox receives these signals, open a new tab and go to the URL
  • If time permits (which it likely will not) get Firefox to automatically login to the page, if it has such a form
After this, I have 8 months of coop work, and shall not be in school.  If I don't get overwhelmed by other things I want to work on, I'm hoping to have a 0.9 before I come back in the fall, which will do pretty much everything needed.
Last Updated on Wednesday, 03 December 2008 14:35  
Comments (4)
NetworkManager Automatic Web
1 Friday, 21 August 2009 18:48
thank you for doing this study,it is very important for me.
cartier jewelry
2 Thursday, 22 July 2010 22:06
http://www.shinyawl.com
jordan shoes eleven
3 Thursday, 05 August 2010 20:06
Abundance is a life cheap nike jordan on sale style, a way of living your life. It isnt something jordan shoes eleven you buy now and then or pull down from the official nike jordan shoes cupboard, dust off and use once or twice, and then air jordans 1 return to the cupboard.Abundance is a philosophy; it appears in your air jordans six rings physiology, your value system, and carries its own jordan retro eights set of beliefs. You walk with it, sleep with it, bath with it, feel buy jordan elevens with it, and need to maintain and take care of it as well.Abundance doesnt always men orginialjordan retro elevens require money. Many people live with all that jordan retro elevens money can buy yet live empty inside. Abundance begins inside with some air jordan 13 main self-ingredients, like love, care, kindness and gentleness, thoughtfulness and jordan retro 14 compassion. Abundance is a state of being. It radiates air jordan 4 outward. It shines like the sun among the many moons in the nike jordans world.Being from the brightness of abundance doesnt allow the new air jordans darkness to appear or be in the path unless a choice to allow authentic nike air jordan shoes it to. The true state of abundance doesnt have men's air jordan on sale room for lies or games normally played. The jordan shoes clearance space is too full of abundance. This may be a challenge because we still need to jordan on sale free shipping shine for other to see. http://www.jordanshoes11.com/sitemap.html xy
evan001
4 Friday, 13 August 2010 02:27
Gecr-http://www.jordan9.com
NBA jerseys
Miami Dolphin
Minnesota Viking
New England Patriot
New orleans Saint
New York Giant
New York Jet

the Air Jordan Flint features flint grey, white, and french blue on an upper that is mixed with 3M, leather, and nubuck.

Oakland Raider
Philadelphia Eagle
Pittsburgh Steeler
San Diego Charger
Kansas City Chief
Jacksonville Jaguar
MLB Jerseys
NBA Olympic National Teams
Buffalo Bill
Chicago Bear
Cleveland Brown
Dallas Cowboy
Denver Bronco
Tampa Bay Buccaneer
Converse Women sneaker
Puma Women Sneaker
Supra Women Sneaker
Timberland Women Boot

If you are looking for something to supplement your Air Jordan 25th Anniversary Pack then maybe you should consider this newly minted pair of Jordan One6 One7′s.

Chanel Women sneaker
Ed Hardy Women Boot
Brand Women High Heel
Kobe 4 Shoe
Tracy McGrady shoes
Kobe Bryant shoes
Steve Nash shoes
Tony Parker shoes
Kevin Garnett shoes
James shoes
Armani bag
Jordan bag
Tiffany&Co earrings
Tiffany&Co finger rings
Tiffany&Co Bracelets
Tiffany&Co Necklaces
Tiffany&Co Keychains
Burberry Wallets
Chanel Wallets
Coach Wallets
D&G Wallets
LV Wallets
MEN Wallets
Tous Wallet
Ed Hardy Mens Wallets
UGG 5245 Ultra Tall boots
MOU Sheepskin House Boots
UGG 5815 Classic Tall boots
Ugg 5812 Classic Tall boots
UGG 5819 Cardy boots
UGG 5825 Classic Short boots
UGG 5831 Classic Short Paisley b
UGG 5854 Classic Mini boots
Armani watches
Breitliing Women Watches
Breitliing Men Watches
Cartier Watches
Ferrari Watches
Omega Watches
Armani Original Watches
Rolex watches Hat
Affliction Hat
A Hat
999 Baseball Hat
Sox Hat
Burberry Sunglass
Ray Ban AAA+ Sunglass
Chanel AAA+ Sunglass
Ed hardy Sunglass
Armani Sunglass
Versace Sunglass
Prada Sunglass
Police Sunglass
Okely Sunglass
LV Sunglass
Fendi Sunlgass
Dior Sunglass
D&G Sunglass
Chanel Sunglass
Coach Sunlgass
Chanel sandals
D&G sandals
Dior sandals
Fendi sandals
LV sandals
Prada sandals
Versace sandals
Burberry sandals

Add your comment

Your name:
Your email:
Your website:
Subject:
Comment:

User Login