igd2-for-linux:deviceprotection.git
6 years agoFix for UPnP Certification tool test 2.1.12 (Verify MSearch Response For Invalid... pupnp_release-1.6.13
Jukka Kinnunen [Fri, 20 May 2011 08:11:39 +0000 (11:11 +0300)]
Fix for UPnP Certification tool test 2.1.12 (Verify MSearch Response For Invalid MSearch Fmt Http Version 1.0) from Marc Essayan.

7 years agotest script: command for manual PBC test
Jukka Kinnunen [Tue, 19 Apr 2011 07:20:02 +0000 (10:20 +0300)]
test script: command for manual PBC test

7 years agotest script: temporary modifications for pupnp-1.6.13 testing:
Jukka Kinnunen [Tue, 19 Apr 2011 07:04:25 +0000 (10:04 +0300)]
test script: temporary modifications for pupnp-1.6.13 testing:
-checkout sources from correct branch
-enable some traces

7 years agoMerge branch 'pupnp_release-1.6.13' of gitorious.org:igd2-for-linux/deviceprotection...
Jukka Kinnunen [Wed, 13 Apr 2011 05:58:42 +0000 (08:58 +0300)]
Merge branch 'pupnp_release-1.6.13' of gitorious.org:igd2-for-linux/deviceprotection into pupnp_release-1.6.13

7 years agoWrong licensing texts removed and GPL code eliminated.
Jukka Kinnunen [Fri, 1 Apr 2011 09:11:46 +0000 (12:11 +0300)]
Wrong licensing texts removed and GPL code eliminated.

7 years agoAdditional fix to get SSL connection working with libupnp-1.6.12
Jukka Kinnunen [Fri, 1 Apr 2011 07:53:37 +0000 (10:53 +0300)]
Additional fix to get SSL connection working with libupnp-1.6.12

7 years agoupnp with device protection patches, part III
Jukka Kinnunen [Fri, 1 Apr 2011 09:27:23 +0000 (12:27 +0300)]
upnp with device protection patches, part III

7 years agoupnp with device protection patches, part II
Jukka Kinnunen [Fri, 1 Apr 2011 08:59:57 +0000 (11:59 +0300)]
upnp with device protection patches, part II

7 years agoupnp with device protection patches
Kari Kallio [Fri, 11 Mar 2011 10:05:32 +0000 (12:05 +0200)]
upnp with device protection patches

7 years agoA newer release from libupnp 1.6.x branch. Release retrieved like this: git clone...
Jukka Kinnunen [Fri, 1 Apr 2011 08:12:37 +0000 (11:12 +0300)]
A newer release from libupnp 1.6.x branch. Release retrieved like this: git clone git://pupnp.git.sourceforge.net/gitroot/pupnp/pupnp cd pupnp git checkout release-1.6.13

7 years agoDo not use default HTTPS port 443, because it causes clashes with other services. master
Jukka Kinnunen [Wed, 13 Apr 2011 05:38:24 +0000 (08:38 +0300)]
Do not use default HTTPS port 443, because it causes clashes with other services.
Bug fix to http://code.google.com/p/deviceprotection/issues/detail?id=9

7 years agoBug fix to http://code.google.com/p/deviceprotection/issues/detail?id=7
Jukka Kinnunen [Tue, 12 Apr 2011 11:51:29 +0000 (14:51 +0300)]
Bug fix to code.google.com/p/deviceprotection/issues/detail?id=7

7 years agoWrong licensing texts removed and GPL code eliminated.
Jukka Kinnunen [Fri, 1 Apr 2011 09:11:46 +0000 (12:11 +0300)]
Wrong licensing texts removed and GPL code eliminated.

7 years agoAdditional fix to get SSL connection working with libupnp-1.6.12
Jukka Kinnunen [Fri, 1 Apr 2011 07:53:37 +0000 (10:53 +0300)]
Additional fix to get SSL connection working with libupnp-1.6.12

7 years agoupnp with device protection patches, part III
Jukka Kinnunen [Fri, 1 Apr 2011 09:27:23 +0000 (12:27 +0300)]
upnp with device protection patches, part III

7 years agoupnp with device protection patches, part II
Jukka Kinnunen [Fri, 1 Apr 2011 08:59:57 +0000 (11:59 +0300)]
upnp with device protection patches, part II

7 years agoupnp with device protection patches
Kari Kallio [Fri, 11 Mar 2011 10:05:32 +0000 (12:05 +0200)]
upnp with device protection patches

7 years agoA newer release from libupnp 1.6.x branch. Release retrieved like this: git clone...
Jukka Kinnunen [Fri, 1 Apr 2011 08:12:37 +0000 (11:12 +0300)]
A newer release from libupnp 1.6.x branch. Release retrieved like this: git clone git://pupnp.git.sourceforge.net/gitroot/pupnp/pupnp cd pupnp git checkout release-1.6.13

7 years agoMerge branch 'bugfixes'
Jukka Kinnunen [Fri, 25 Mar 2011 14:46:05 +0000 (16:46 +0200)]
Merge branch 'bugfixes'

7 years agoWrong licensing texts removed and GPL code eliminated. bugfixes
Jukka Kinnunen [Mon, 21 Mar 2011 13:34:08 +0000 (15:34 +0200)]
Wrong licensing texts removed and GPL code eliminated.

7 years agoMerge branches 'bugfixes' and 'master'
Jukka Kinnunen [Fri, 18 Mar 2011 08:34:50 +0000 (10:34 +0200)]
Merge branches 'bugfixes' and 'master'

7 years agoMerge branch 'master' of http://git.gitorious.org/~melanie/igd2-for-linux/melanies...
Jukka Kinnunen [Fri, 18 Mar 2011 08:21:59 +0000 (10:21 +0200)]
Merge branch 'master' of git.gitorious.org/~melanie/igd2-for-linux/melanies-deviceprotection into bugfixes

7 years agoAdd of a test concerning the "identifier" variable in several functions
Melanie Vilaine [Tue, 15 Mar 2011 09:32:38 +0000 (10:32 +0100)]
Add of a test concerning the "identifier" variable in several functions

Tests if the variable is NULL or not, because if a CP does not use a SSL connection, its identifier is NULL and should not have access to actions which require a SSL connection.

7 years agoMerge branch 'master' of http://git.gitorious.org/~melanie/igd2-for-linux/melanies...
Open Source [Mon, 14 Mar 2011 06:38:00 +0000 (08:38 +0200)]
Merge branch 'master' of git.gitorious.org/~melanie/igd2-for-linux/melanies-deviceprotection into bugfixes

7 years agoModifications in the "GetUserLoginChallenge()" function
Melanie Vilaine [Fri, 11 Mar 2011 14:53:16 +0000 (15:53 +0100)]
Modifications in the "GetUserLoginChallenge()" function

Add of this condition :
if a CP has a Public role, he can't get informations about an admin user according to the specifications.

7 years agoCorrections in the "GetRolesForActions()" function
Melanie Vilaine [Fri, 11 Mar 2011 14:39:25 +0000 (15:39 +0100)]
Corrections in the "GetRolesForActions()" function

The "ii" variable was not incremented, so the function was blocked in an infinite loop.
There was also a confusion between "ii" and "jj" variables.

7 years agomodifications in "gatedevice.c" :
Melanie Vilaine [Fri, 11 Mar 2011 13:09:48 +0000 (14:09 +0100)]
modifications in "gatedevice.c" :

Before this, if SSL was not used, a CP which has a Public Role was able to invoke all actions.
According to the specifications, a CP with a Public Role can do only actions which require Public Role when the SSL connection is not established.
This adds this constraint in the "AuthorizeControlPoint" function and delete the "CONTROL_POINT_HALF_AUTHORIZED" variable.

7 years agoFix from Marc Essayan: Otherwise the CP is not working with UPnP DM v2
Open Source [Thu, 10 Mar 2011 09:53:21 +0000 (11:53 +0200)]
Fix from Marc Essayan: Otherwise the CP is not working with UPnP DM v2

7 years agotest script: Do not ask sudo password twice, if the user does not want to enter it...
Open Source [Thu, 10 Mar 2011 09:44:48 +0000 (11:44 +0200)]
test script: Do not ask sudo password twice, if the user does not want to enter it, and exists with ctrl-c

7 years agoSimple README
Open Source [Thu, 10 Mar 2011 08:39:28 +0000 (10:39 +0200)]
Simple README

7 years agotest script: use the final Gitorious repo
Open Source [Wed, 9 Mar 2011 13:46:32 +0000 (15:46 +0200)]
test script: use the final Gitorious repo

7 years agotest script: no need to create pkgconfig file for libwpa_supplicant anymore.
Open Source [Wed, 9 Mar 2011 12:55:51 +0000 (14:55 +0200)]
test script: no need to create pkgconfig file for libwpa_supplicant anymore.

7 years agominor fixes to test script
Open Source [Wed, 9 Mar 2011 10:50:44 +0000 (12:50 +0200)]
minor fixes to test script

7 years agotest script: get sources from Gitorious. Use still a temporary test repo.
Open Source [Wed, 9 Mar 2011 10:16:22 +0000 (12:16 +0200)]
test script: get sources from Gitorious. Use still a temporary test repo.

7 years agotest script: fixes to required Ubuntu packages
Jukka Kinnunen [Tue, 8 Mar 2011 12:36:48 +0000 (14:36 +0200)]
test script: fixes to required Ubuntu packages

7 years agominor fixes to test script
Jukka Kinnunen [Tue, 8 Mar 2011 11:57:09 +0000 (13:57 +0200)]
minor fixes to test script

7 years agoA small fixes and improvements
Kari Kallio [Wed, 2 Mar 2011 12:50:51 +0000 (14:50 +0200)]
A small fixes and improvements

7 years agoSplit general functions to a separate file and improve command execution
Kari Kallio [Wed, 2 Mar 2011 06:38:35 +0000 (08:38 +0200)]
Split general functions to a separate file and improve command execution

7 years agoAdded test for exit values of commands
Kari Kallio [Thu, 24 Feb 2011 06:54:07 +0000 (08:54 +0200)]
Added test for exit values of commands

7 years agoImprove test scripts and add tests for PBC method
Kari Kallio [Wed, 23 Feb 2011 11:58:43 +0000 (13:58 +0200)]
Improve test scripts and add tests for PBC method

7 years agoSystem test scripts for device protection
Kari Kallio [Fri, 18 Feb 2011 09:58:18 +0000 (11:58 +0200)]
System test scripts for device protection

7 years agoFixes to hostap pkgconfig files
Open Source [Wed, 9 Mar 2011 11:55:59 +0000 (13:55 +0200)]
Fixes to hostap pkgconfig files

7 years agoSome updates to libupnp OpenWRT Makefile. -Verified against svn://svn.openwrt.org...
Jukka Kinnunen [Wed, 9 Mar 2011 07:53:31 +0000 (09:53 +0200)]
Some updates to libupnp OpenWRT Makefile. -Verified against svn://svn.openwrt.org/openwrt/packages/libs/libupnp/Makefile, r25880. -Run "bootstrap" script in configure phase. This creates configure file in build dir. -Use default OpenWRT build rules -Do not build samples, because there are some linking problems

7 years agoEmpty 'bin' dir required in build phase
Jukka Kinnunen [Tue, 8 Mar 2011 11:38:24 +0000 (13:38 +0200)]
Empty 'bin' dir required in build phase

7 years agoVersion numbers bumped snapshot_delivery_110211
Jukka Kinnunen [Fri, 11 Feb 2011 06:14:05 +0000 (08:14 +0200)]
Version numbers bumped

7 years agoVersion number bumped
Jukka Kinnunen [Fri, 5 Nov 2010 09:33:53 +0000 (11:33 +0200)]
Version number bumped

7 years agolibupnp (aka pupnp) OpenWRT Makefile added here. It is modified from https://dev...
Jukka Kinnunen [Thu, 4 Nov 2010 15:01:16 +0000 (17:01 +0200)]
libupnp (aka pupnp) OpenWRT Makefile added here. It is modified from https://dev.openwrt.org/browser/packages/libs/libupnp/Makefile rev. 19697.

7 years agoVersion number bumped down
Jukka Kinnunen [Wed, 20 Oct 2010 10:55:26 +0000 (13:55 +0300)]
Version number bumped down

7 years agoVersion number bumped. Use libwpa_supplicant instead of libwpsutil.
Jukka Kinnunen [Mon, 20 Sep 2010 11:37:40 +0000 (14:37 +0300)]
Version number bumped. Use libwpa_supplicant instead of libwpsutil.

7 years agoACL rules now in correct path in target
Jukka Kinnunen [Mon, 20 Sep 2010 11:27:41 +0000 (14:27 +0300)]
ACL rules now in correct path in target

7 years agounnecessary OpenWRT Makefiles removed
Jukka Kinnunen [Wed, 1 Sep 2010 11:57:12 +0000 (14:57 +0300)]
unnecessary OpenWRT Makefiles removed

7 years agoOpenWRT Makefiles added
Jukka Kinnunen [Fri, 27 Aug 2010 12:44:06 +0000 (15:44 +0300)]
OpenWRT Makefiles added

7 years agomissing file added
Jukka Kinnunen [Mon, 7 Mar 2011 14:28:03 +0000 (16:28 +0200)]
missing file added

7 years agoDeveloper email addresses added to file headers
Jukka Kinnunen [Mon, 7 Mar 2011 10:25:17 +0000 (12:25 +0200)]
Developer email addresses added to file headers

7 years agoPBC method not selected in the default config
Jukka Kinnunen [Thu, 17 Feb 2011 14:02:41 +0000 (16:02 +0200)]
PBC method not selected in the default config

7 years agoVersion numbers bumped
Jukka Kinnunen [Fri, 11 Feb 2011 06:14:05 +0000 (08:14 +0200)]
Version numbers bumped

7 years agoFix to UUID processing from Marc Essayan (marc.essayan@orange-ftpgroup.com). The...
Jukka Kinnunen [Fri, 28 Jan 2011 08:46:34 +0000 (10:46 +0200)]
Fix to UUID processing from Marc Essayan (marc.essayan@orange-ftpgroup.com). The binary UUID must be kept in network byte order.

7 years agoUse the same UUID type definition as is used in libgupnp changes.
Jukka Kinnunen [Fri, 28 Jan 2011 07:09:43 +0000 (09:09 +0200)]
Use the same UUID type definition as is used in libgupnp changes.

7 years agoBug fixes. Be prepared for NULL pointers and empty strings.
Jukka Kinnunen [Fri, 22 Oct 2010 07:02:26 +0000 (10:02 +0300)]
Bug fixes. Be prepared for NULL pointers and empty strings.

7 years agoVersion number bumped down
Jukka Kinnunen [Wed, 20 Oct 2010 10:37:38 +0000 (13:37 +0300)]
Version number bumped down

7 years agoSend SetupReady(false) when sending M3.
Open Source [Tue, 19 Oct 2010 11:52:31 +0000 (14:52 +0300)]
Send SetupReady(false) when sending M3.

7 years agoRefactoring, DP service does not include Device header file any more.
Jukka Kinnunen [Wed, 6 Oct 2010 12:35:04 +0000 (15:35 +0300)]
Refactoring, DP service does not include Device header file any more.

7 years agoDo not give NULL pointer to base64 encoding function, it leads to seg fault.
Jukka Kinnunen [Wed, 6 Oct 2010 06:04:16 +0000 (09:04 +0300)]
Do not give NULL pointer to base64 encoding function, it leads to seg fault.

7 years agoMinor refactoring. Should not have any effect on functionality.
Jukka Kinnunen [Tue, 5 Oct 2010 10:31:37 +0000 (13:31 +0300)]
Minor refactoring. Should not have any effect on functionality.

7 years agoSetupReady(FALSE) not sent anymore in PBC mode after M2D.
Jukka Kinnunen [Tue, 5 Oct 2010 09:10:50 +0000 (12:10 +0300)]
SetupReady(FALSE) not sent anymore in PBC mode after M2D.

7 years agoDifferent max duration for PIN and PBC modes. In PBC mode the max duration must be...
Jukka Kinnunen [Fri, 1 Oct 2010 10:28:06 +0000 (13:28 +0300)]
Different max duration for PIN and PBC modes. In PBC mode the max duration must be longer than PBC walk time.

7 years agoMemory leak fixed.
Jukka Kinnunen [Fri, 1 Oct 2010 09:20:01 +0000 (12:20 +0300)]
Memory leak fixed.

7 years agoThe first draft version of PBC implementation.
Jukka Kinnunen [Thu, 30 Sep 2010 14:19:19 +0000 (17:19 +0300)]
The first draft version of PBC implementation.

7 years agoOption "wps_config_methods" added to upnpd config file. WPS PBC can be enabled with it.
Jukka Kinnunen [Thu, 30 Sep 2010 07:04:01 +0000 (10:04 +0300)]
Option "wps_config_methods" added to upnpd config file. WPS PBC can be enabled with it.

7 years agoPush button emulated with USR2 signal.
Jukka Kinnunen [Wed, 29 Sep 2010 12:40:37 +0000 (15:40 +0300)]
Push button emulated with USR2 signal.

7 years agoMinor refactoring
Jukka Kinnunen [Wed, 29 Sep 2010 10:24:47 +0000 (13:24 +0300)]
Minor refactoring

7 years agoUser names may not be case-insensitive anymore.
Jukka Kinnunen [Wed, 29 Sep 2010 09:21:42 +0000 (12:21 +0300)]
User names may not be case-insensitive anymore.

7 years agoUser names may not be case-insensitive anymore.
Jukka Kinnunen [Wed, 29 Sep 2010 08:55:47 +0000 (11:55 +0300)]
User names may not be case-insensitive anymore.

7 years agoStore generated PIN into /tmp/upnpd.wps.pin
Jukka Kinnunen [Tue, 28 Sep 2010 12:06:10 +0000 (15:06 +0300)]
Store generated PIN into /tmp/upnpd.wps.pin

7 years agoPIN code is now optional in config file. If PIN is not defined, upnpd generates it...
Jukka Kinnunen [Tue, 28 Sep 2010 06:03:26 +0000 (09:03 +0300)]
PIN code is now optional in config file. If PIN is not defined, upnpd generates it on the fly. Admin password may now contain spaces.

7 years agoWPASUPP_SM_E_SUCCESSINFO status returned in M2D case
Jukka Kinnunen [Mon, 27 Sep 2010 13:10:18 +0000 (16:10 +0300)]
WPASUPP_SM_E_SUCCESSINFO status returned in M2D case

7 years agoFixes to SetUserLoginPassword and UserLogin input arg validation.
Jukka Kinnunen [Thu, 23 Sep 2010 09:37:16 +0000 (12:37 +0300)]
Fixes to SetUserLoginPassword and UserLogin input arg validation.

7 years agoA quick fix to enable passwords with space. the password can be set to env var like...
Jukka Kinnunen [Fri, 17 Sep 2010 09:07:20 +0000 (12:07 +0300)]
A quick fix to enable passwords with space. the password can be set to env var like this: IGD2_ADMIN_PW='admin password'.

7 years agoBug fix; Ongoing WPS introduction stopped, if SendSetupMessage contains invalid Proto...
Jukka Kinnunen [Thu, 16 Sep 2010 10:04:58 +0000 (13:04 +0300)]
Bug fix; Ongoing WPS introduction stopped, if SendSetupMessage contains invalid ProtocolType argument.

7 years agocompilation warnings eliminated
Jukka Kinnunen [Wed, 15 Sep 2010 12:22:31 +0000 (15:22 +0300)]
compilation warnings eliminated

7 years agountabify
Jukka Kinnunen [Wed, 15 Sep 2010 07:40:46 +0000 (10:40 +0300)]
untabify

7 years agoFix problems with several successive WPS introductions. wpa_supplicant library is...
Jukka Kinnunen [Wed, 15 Sep 2010 05:26:42 +0000 (08:26 +0300)]
Fix problems with several successive WPS introductions. wpa_supplicant library is now initialized totally after each WPS intro.

7 years agoWhen WPS introduction succeeds, update session roles into SIR.
Jukka Kinnunen [Tue, 14 Sep 2010 07:59:20 +0000 (10:59 +0300)]
When WPS introduction succeeds, update session roles into SIR.

7 years agoMinor fix to existing trace
Jukka Kinnunen [Fri, 10 Sep 2010 13:40:20 +0000 (16:40 +0300)]
Minor fix to existing trace

7 years agoGetACLData may not succeed, if CP id is not in ACL list.
Jukka Kinnunen [Fri, 10 Sep 2010 13:19:54 +0000 (16:19 +0300)]
GetACLData may not succeed, if CP id is not in ACL list.

7 years agoUserLogin may not succeed, if CP id is not in ACL list.
Jukka Kinnunen [Fri, 10 Sep 2010 13:09:31 +0000 (16:09 +0300)]
UserLogin may not succeed, if CP id is not in ACL list.

7 years agoGetRolesForAction may not succeed, if CP id is not in ACL list.
Jukka Kinnunen [Fri, 10 Sep 2010 12:58:44 +0000 (15:58 +0300)]
GetRolesForAction may not succeed, if CP id is not in ACL list.

7 years agoAdditional cleanup related to a03988811049d1fc8719989a8a83d72c4efa5b50. All uppercase...
Jukka Kinnunen [Fri, 10 Sep 2010 10:58:56 +0000 (13:58 +0300)]
Additional cleanup related to a03988811049d1fc8719989a8a83d72c4efa5b50. All uppercase conversion leftovers removed.

7 years agoCheck 'Salt' and 'Stored' lengths in SetUserLoginPassword handler.
Jukka Kinnunen [Fri, 10 Sep 2010 07:19:13 +0000 (10:19 +0300)]
Check 'Salt' and 'Stored' lengths in SetUserLoginPassword handler.

7 years agomore traces
Jukka Kinnunen [Thu, 9 Sep 2010 13:01:18 +0000 (16:01 +0300)]
more traces

7 years agoBug fix; no more seg fault when handling RemoveRolesForIdentity.
Jukka Kinnunen [Thu, 9 Sep 2010 10:46:21 +0000 (13:46 +0300)]
Bug fix; no more seg fault when handling RemoveRolesForIdentity.

7 years agountabify
Jukka Kinnunen [Sun, 5 Sep 2010 06:59:35 +0000 (09:59 +0300)]
untabify

7 years agoUsernames are case-sensitive now (see UPnP-GW-DeviceProtection-0 87d-service-WD-20100...
Jukka Kinnunen [Sun, 5 Sep 2010 06:58:36 +0000 (09:58 +0300)]
Usernames are case-sensitive now (see UPnP-GW-DeviceProtection-0 87d-service-WD-20100823.doc).

7 years agoWhen verifying authenticators in UserLogin, must verify binary blocks, can not verify...
Jukka Kinnunen [Sun, 5 Sep 2010 06:49:26 +0000 (09:49 +0300)]
When verifying authenticators in UserLogin, must verify binary blocks, can not verify base64 encoded strings.

7 years agoVersion number bumped; unnecessary directories removed from install target.
Jukka Kinnunen [Mon, 30 Aug 2010 10:34:40 +0000 (13:34 +0300)]
Version number bumped; unnecessary directories removed from install target.

7 years agoCrypting and hashing utilities moved to a separate module.
Jukka Kinnunen [Mon, 30 Aug 2010 10:01:41 +0000 (13:01 +0300)]
Crypting and hashing utilities moved to a separate module.

7 years agoFixes for OpenWRT build, because iptables is a newer one in the current OpenWRT snapshot.
Jukka Kinnunen [Fri, 27 Aug 2010 13:49:29 +0000 (16:49 +0300)]
Fixes for OpenWRT build, because iptables is a newer one in the current OpenWRT snapshot.

7 years agoLink to wpa_supplicant lib properly. Include exported header.
Jukka Kinnunen [Fri, 27 Aug 2010 05:22:51 +0000 (08:22 +0300)]
Link to wpa_supplicant lib properly. Include exported header.

7 years agoremove WPA_SUPP_IN_USE compilation flag and all code which uses wpsutil library.
Jukka Kinnunen [Thu, 26 Aug 2010 14:19:24 +0000 (17:19 +0300)]
remove WPA_SUPP_IN_USE compilation flag and all code which uses wpsutil library.

7 years agoCleanup
Jukka Kinnunen [Thu, 26 Aug 2010 12:52:28 +0000 (15:52 +0300)]
Cleanup