1. 19 Oct, 2012 1 commit
  2. 16 Feb, 2012 1 commit
  3. 02 Dec, 2011 1 commit
  4. 22 Jun, 2010 1 commit
    • Jiří Klimeš's avatar
      core: MAC address spoofing/cloning (rh #447827) (bgo #553771) · 1b49f941
      Jiří Klimeš authored
      This commit implements MAC cloning feature in NetworkManager. To support that,
      'PermHwAddress' property is added into *.Device.Wired and *.Device.Wireless
      interfaces. The permanent MAC address is obtained when creating the device, and
      is used for 'locking' connections to the device. If a cloned MAC is specified
      in connection to be activated, the MAC is set to the interface in stage1. While
      disconecting, the permanent MAC is set back to the interface.
  5. 05 Oct, 2009 1 commit
  6. 10 Jun, 2008 1 commit
  7. 12 Mar, 2008 1 commit
    • Dan Williams's avatar
      2008-03-12 Dan Williams <dcbw@redhat.com> · f30cf17b
      Dan Williams authored
      	Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
      	convert the libnm-glib NMDevice8023Ethernet to cached properties
      	* introspection/nm-device-802-3-ethernet.xml
      		- New 'Carrier' property
      		- New 'PropertiesChanged' signal
      	* introspection/nm-device.xml
      		- Remove 'Carrier' property
      		- Remove 'CarrierChanged' signal
      	* src/nm-device-interface.c
      		- (nm_device_interface_init): remove 'carrier' property and
      			'carrier-changed' signal
      	* src/nm-device.c
      		- (nm_device_get_carrier, nm_device_set_carrier): remove
      		- (nm_device_activate_stage5_ip_config_commit): don't bother updating
      			the link here; wired device will handle that
      		- (handle_dhcp_lease_change): don't bother updating link here
      		- (get_property, nm_device_class_init): remove carrier property
      	* src/nm-device-802-11-wireless.c
      		- (real_update_link, nm_device_802_11_wireless_class_init): remove
      			real_update_link(); wireless devices don't use carrier at all
      		- (link_timeout_cb, supplicant_iface_state_cb_handler,
      		   supplicant_mgr_state_cb_handler): remove anything to do with carrier
      	* src/nm-device-802-3-ethernet.c
      		- (nm_device_802_3_ethernet_carrier_on,
      		   nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
      			instead of nm_device_set_carrier()
      		- (device_state_changed): update link from sysfs on activation;
      			replaces real_update_link()
      		- (real_update_link): remove, replaced by device_state_changed()
      		- (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
      		- (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
      		- (real_get_generic_capabilities, real_can_interrupt_activation): use
      			new get_carrier function
      		- (get_property): add 'carrier' property
      		- (nm_device_802_3_ethernet_class_init): add 'carrier' property and
      			hook into property-changed signal helper
      	* src/NetworkManagerPolicy.c
      		- (device_carrier_changed): will only ever be called with a wired device
      		- (device_added): only hook up to carrier-changed for wired devices
      	* libnm-glib/nm-device.c
      		- (constructor, nm_device_class_init): remove carrier-changed signal
      		- (device_carrier_changed_proxy): remove; unused
      		- (nm_device_get_carrier): remove; carrier a property of wired devices
      	* libnm-glib/nm-device-802-3-ethernet.c
      		- Convert to cached properties like AP and Wireless objects
      		- (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
      			instead of a 'char *', return value should not be freed
      		- (nm_device_802_3_ethernet_get_carrier): return current carrier status
      		- (constructor): hook into properties-changed helper
      		- (set_property, get_property): new functions
      		- (nm_device_802_3_ethernet_class_init): export GObject properties
      	* test/nm-tool.c
      		- (detail_device): strdup the wired hardware address too since it's
      			cached now
      	* libnm-glib/libnm-glib-test.c
      		- (dump_wired): strdup the wired hardware address too since it's
      			cached now
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3428 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
  8. 28 Feb, 2008 1 commit
  9. 27 Oct, 2007 1 commit
    • Dan Williams's avatar
      2007-10-26 Dan Williams <dcbw@redhat.com> · 792b14de
      Dan Williams authored
      	Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
      	* src/NetworkManagerAP.c
      		- Make 'rate' property a guint32 to better match with WEXT and
      			wpa_supplicant and to allow representation of higher bitrates
      	* src/nm-device-802-11-wireless.c
      		- Make 'bitrate' property a guint32 to match AP 'rate' property type
      	* src/nm-device-802-3-ethernet.c
      		- Make 'speed' property a guint32 to match other speed/rate types
      		- Make nm_device_802_3_ethernet_get_speed() static
      	* test/nm-tool.c
      		- Update for the changes above
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3030 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
  10. 07 May, 2007 1 commit
    • Tambet Ingo's avatar
      2007-05-07 Tambet Ingo <tambet@ximian.com> · ff0fd77b
      Tambet Ingo authored
      	* libnm-glib/Makefile.am: Link with libnm-util to gain access to
      	* libnm-glib/nm-device-802-11-wireless.c:
      	(nm_device_802_3_ethernet_activate): Remove.
      	* libnm-glib/nm-device-802-3-ethernet.c
      	(nm_device_802_3_ethernet_activate): Remove.
      	* libnm-glib/nm-device.c (nm_device_activate): Implement.
      	* src/nm-device-802-3-ethernet.c: Implement the new activation using
      	* src/nm-device-802-11-wireless.c: Store an activation AP once the
      	activation has started.
      	Implement the new activation using NMConnection.
      	* src/nm-activation-request.c: Store a generic connection object instead
      	of a wireless-specific AP.
      	* src/NetworkManagerPolicy.c (create_connection): Implement. Depending
      	on device type, create a device specific connection object suitable for
      	device activation.
      	* src/nm-device.c (nm_device_activate): Re-implement. Call the device
      	specific check to validate the connection and on success start the
      	* src/nm-device-interface.h: Add a activate virtual function to the
      	interface definition.
      	* src/nm-device-interface.c (nm_device_interface_activate): Implement.
      	(impl_device_activate): Implement.
      	* introspection/nm-device.xml: Add a generic device activation interface
      	that accepts an abstract NMConnection structure that has device-specific
      	information in it.
      	* introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
      	activation interface.
      	* introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
      	activation interface.
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2569 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
  11. 16 Feb, 2007 1 commit
    • Tambet Ingo's avatar
      2007-02-16 Tambet Ingo <tambet@ximian.com> · c4005138
      Tambet Ingo authored
      	* introspection/nm-ip4-config.xml: Implement.
      	* libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
      	* libnm-glib/nm-ip4-config.c:
      	* libnm-glib/nm-ip4-config.c: Implement.
      	* src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
      	securities. APs reference security.
      	* src/nm-device-802-11-wireless.c: Implement missing properties that need to
      	be exported over DBUS.
      	* src/nm-device-802-3-ethernet.c: Ditto.
      	* src/NetworkManagerAP.c:
      	* src/NetworkManagerAP.h:
      		- Convert to GObject, export over DBUS.
      	* src/nm-ip4-config.h:
      	* src/nm-ip4-config.h:
      		- Convert to GObject, export over DBUS.
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2322 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
  12. 12 Feb, 2007 2 commits
    • Tambet Ingo's avatar
      2007-02-12 Tambet Ingo <tambet@ximian.com> · 7eeefaea
      Tambet Ingo authored
      	* libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
      	* libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
      	* introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
      	* introspection/nm-device.xml: Remove 'UseDhcp' property.
      	* introspection/nm-access-point.xml: Remove 'Broadcast' property.
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2310 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
    • Tambet Ingo's avatar
      2007-02-12 Tambet Ingo <tambet@ximian.com> · 8a4c57f6
      Tambet Ingo authored
      	Totally break NetworkManager. Please use 0.6 branch until futher notice.
      	* src/:
      		- Remove old low-level dbus interface implementations and replace them
      		  with dbus-glib one.
      	* configure.in:
      		- Require dbus-glib >= 0.72.
      		- Plug in new sources to build.
      	* libnm-glib/:
      		- Implement GObject wrappers on top of DBUS glib auto-generated bindings
      		  to make it more convenient to use from GObject based programs.
      	* introspection/:
      		- Implement DBUS XML introspection files, used by both NM and libnm-glib.
      git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2309 4912f4e0-d625-0410-9fb7-b9a5a253dbdc