guadec_rlove_nm_2006
Upcoming SlideShare
Loading in...5
×
 

guadec_rlove_nm_2006

on

  • 550 views

 

Statistics

Views

Total Views
550
Views on SlideShare
550
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

guadec_rlove_nm_2006 guadec_rlove_nm_2006 Presentation Transcript

  • NetworkManager Managing Networks Since the Summer of Aught Four Robert Love Claude Elwood Shannon Senior Engineer Linux Desktop Group rml at novell dot com
  • A Perfect Cover
    • GNOME Users and Administrations
      • A better, more secure network experience
    • GNOME Developers
      • API to control network interfaces, online/offline signals
    • NetworkManager Hackers
      • Join in!
  • Feliz cumpleaños!
    • On 24 June , NetworkManager turned 2
    • Nearly 1000 commits
    • 2 maintainers
    • 50 commiters
    • 4 VPN modules
    • 7 supported distributions
    • 35,000 lines of C code in daemon
    • 14,000 lines of C in GNOME applet
    • 8,000 lines of C++ in KDE applet
    View slide
  • NetworkManager is All About Love
    • NetworkManager brings people together
    • Two maintainers, one heart and soul
    • GNOME and KDE support
      • interchangeable applets
      • shared daemon
    • Converging distribution network infrastructures
      • SUSE deeply integrates NetworkManager
      • Fedora and Ubuntu soon will
      • Gentoo, Slackware, others supported
    View slide
  • A Utopia for Networks
    • Make networking Just Work
    • Networking as an appliance
    • Determine best connectivity option and make it happen
    • Wired networks
      • carrier detect
    • Wireless networks
      • WEP, WPA Personal, WPA Enterprise
    • Rudimentary PPP support
      • ISDN, Modems, DSL
  • The User Client
    • The GNOME applet implements both UI and the user client
    • Stetic, beautiful, HIGtastic
    • Saves settings in Gconf, secrets in GNOME Keyring
    • Notifications via libnotify
  • Wireless Network Editors
    • Tools to view and edit wireless networks
  • VPN Support
    • Pluggable DBUS API for VPNs
      • Think ISVs
    • Current plugins: Cisco, PPTP, OpenVPN, and Nortel
    • Integrates into the NM stack
      • VPN Editor and Wizard in the UI
      • One-click connect to VPN
  • Design
    • DBUS and HAL-based
    • No persistent knowledge of hardware
      • NM receives all hardware information in real-time via HAL
      • Simultaneously handle multiple devices
      • Hotplug: Plug in wireless card and automatically setup & connect
      • No need to remember interface names or save configurations
  • Architecture
    • Two components: daemon and client
    • Daemon provides documented DBUS service
      • Manages hardware & makes basic policy decisions
      • Runs as root
      • Client communicates with daemon and provides its own DBUS service
        • Implements more complex policy
        • Provides per-user settings
        • List of trusted networks
        • Runs as user
  • Snag Control of DHCP and DNS
    • Wrapped dhclient with DBUS interface, dhcdbd
      • dhcdbdwhat?
      • DHClient DBus Daemon
      • DBUS-based control of DHCP client
      • signals in response to DHCP events
    • Wrapped bind in DBUS
      • Run as local caching name server
      • Better than glibc's resolver
      • Manage segmented name server setups, such as with VPNs
      • Optional (only RH ships, I think)
  • NetworkManager API
    • NetworkManager provides DBUS API for querying and controlling network interfaces
      • libnm wraps with Gobject
    • Interface for enumerating devices and wireless networks
    • Use to write new client (CLI?) or to augment other program
  • Online/Offline API
    • DBUS Interface for determining if system is on or offline
      • org.freedesktop.NetworkManager.state
    • DBUS Signal for real-time notification of change in connectivity status
      • org.freedesktop.NetworkManager.DeviceNowActive
      • org.freedesktop.orgNetworkManager.DeviceNoLongerActive
      • Evolution, Firefox, and Gaim
    • NetworkManagerDispatcher system for running scripts and programs in response to connectivity change
      • /etc/NetworkManager/dispatcher.d/*
  • NetworkManager TODO
    • FIX THE WIRELESS DRIVERS
    • Support multiple concurrent interfaces
      • Multiple routes
      • Connection sharing
    • NetworkManager Tile
      • See JimmyK's talk on Tuesday
    • Better PPP/Modem support
    • Add DBUS interface to wpa_supplicant
  • NetworkManager TODO, too
    • Active Power management?
      • See Pat's BOF on Thursday
    • Nobody daemon / Policy Kit
      • See DavidZ's talk on Wednesday
    • System-wide configuration
      • Store static configuration
      • System-wide trusted networks
    • Profiles
    • GNOME Wireless Editor
      • Under development
    • CLI client
  • NetworkManager and GNOME
    • nm-applet as part of GNOME Desktop release?
    • A daemon implementing the NetworkManager API as a dependency?
      • Do not need to require NetworkManager proper, just the API
        • As we do with HAL
    • Get more of the GNOME desktop using the NM API
  • Get Involved or Get Out
    • Website: http://gnome.org/projects/NetworkManager/
    • TODO: http://live.gnome.org/NetworkManagerToDo
    • CVS: Module NetworkManager in cvs.gnome.org
    • Mailing list: networkmanager-list at mail.gnome.org
    • Development branch is 0.7, stable branch is 0.6
    • Happy Hacking!
  • NetworkManager Managing Networks Since the Summer of Aught Four Robert Love Claude Elwood Shannon Senior Engineer Linux Desktop Group rml at novell dot com
    • Unpublished Work of Novell, Inc. All Rights Reserved.
    • This work is an unpublished work and contains confidential, proprietary, and trade secret information of Novell, Inc. Access to this work is restricted to Novell employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of Novell, Inc. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.
    • General Disclaimer
    • This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. Novell, Inc., makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. Further, Novell, Inc., reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All Novell marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.