igd2-for-linux:pandonghui1211s-igd2-for-linux.git
7 years agopupnp (libupnp) snapshot from SourceForge: git clone git://pupnp.git.sourceforge...
Open Source [Thu, 14 Oct 2010 10:03:17 +0000 (13:03 +0300)]
pupnp (libupnp) snapshot from SourceForge: git clone git://pupnp.git.sourceforge.net/gitroot/pupnp/pupnp git checkout -b branch-1.6.x-fixes aaacf65f41d4f9066a51dd1afe717bd4032840f5

7 years agoOpenWRT Makefile for wanipconnection.
Open Source [Thu, 14 Oct 2010 08:13:25 +0000 (11:13 +0300)]
OpenWRT Makefile for wanipconnection.

7 years agoDeveloper info added
Open Source [Wed, 13 Oct 2010 10:30:50 +0000 (13:30 +0300)]
Developer info added

7 years agoDo some fixes to no_deviceprotection branch
Jaakko Pasanen [Fri, 27 Nov 2009 12:23:26 +0000 (12:23 +0000)]
Do some fixes to no_deviceprotection branch

git-svn-id: http://us000253/svn/IGDv2@429 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAccesslevel.xml totally changed. Accesslevels changed to rolellists, which can be...
Jaakko Pasanen [Fri, 27 Nov 2009 12:01:45 +0000 (12:01 +0000)]
Accesslevel.xml totally changed. Accesslevels changed to rolellists, which can be used by GetRolesForAction. Previous implementation was not working properly. This also caused some changes to AuthorizeControlPOint()

git-svn-id: http://us000253/svn/IGDv2@428 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoTry to copy all the necessary WANIPConnection changes to no_deviceprotection-branch...
Jaakko Pasanen [Tue, 24 Nov 2009 11:25:33 +0000 (11:25 +0000)]
Try to copy all the necessary WANIPConnection changes to no_deviceprotection-branch. (pupnp might need update still)

git-svn-id: http://us000253/svn/IGDv2@427 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd license texts in IGD source files
Jaakko Pasanen [Fri, 24 Apr 2009 11:15:27 +0000 (11:15 +0000)]
Add license texts in IGD source files

git-svn-id: http://us000253/svn/IGDv2@170 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoNOW no_deviceprotection branch should be in such condition that it doesn't contain...
Jaakko Pasanen [Fri, 24 Apr 2009 09:28:24 +0000 (09:28 +0000)]
NOW no_deviceprotection branch should be in such condition that it doesn't contain any deviceprotection spesific.

git-svn-id: http://us000253/svn/IGDv2@167 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agono_deviceprotection branch should be in such condition that it doesn't contain any...
Jaakko Pasanen [Fri, 24 Apr 2009 09:21:01 +0000 (09:21 +0000)]
no_deviceprotection branch should be in such condition that it doesn't contain any deviceprotection spesific.

git-svn-id: http://us000253/svn/IGDv2@165 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAlmost functional GetUserLoginChallenge action. Still needs to get password correspon...
Jaakko Pasanen [Thu, 23 Apr 2009 11:05:27 +0000 (11:05 +0000)]
Almost functional GetUserLoginChallenge action. Still needs to get password corresponding the username

git-svn-id: http://us000253/svn/IGDv2@163 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoString termination fix for toUpperCase
Jaakko Pasanen [Thu, 23 Apr 2009 07:40:41 +0000 (07:40 +0000)]
String termination fix for toUpperCase

git-svn-id: http://us000253/svn/IGDv2@161 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd toUpperCase function for turning strings in uppercase
Jaakko Pasanen [Thu, 23 Apr 2009 07:05:19 +0000 (07:05 +0000)]
Add toUpperCase function for turning strings in uppercase

git-svn-id: http://us000253/svn/IGDv2@160 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agofix xml
Jaakko Pasanen [Fri, 17 Apr 2009 12:26:55 +0000 (12:26 +0000)]
fix xml

git-svn-id: http://us000253/svn/IGDv2@158 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange some action names
Jaakko Pasanen [Fri, 17 Apr 2009 10:59:43 +0000 (10:59 +0000)]
Change some action names

git-svn-id: http://us000253/svn/IGDv2@157 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd GetACLData and change some DeviceProtection action names
Jaakko Pasanen [Fri, 17 Apr 2009 10:51:43 +0000 (10:51 +0000)]
Add GetACLData and change some DeviceProtection action names

git-svn-id: http://us000253/svn/IGDv2@156 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd admin_password in config file
Jaakko Pasanen [Fri, 17 Apr 2009 07:13:13 +0000 (07:13 +0000)]
Add admin_password in config file

git-svn-id: http://us000253/svn/IGDv2@155 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoSome sort of accesslevel.xml parsing functions
Jaakko Pasanen [Thu, 16 Apr 2009 11:31:16 +0000 (11:31 +0000)]
Some sort of accesslevel.xml parsing functions

git-svn-id: http://us000253/svn/IGDv2@153 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd accesslevel.xml file and add new access_level_xml value in config file
Jaakko Pasanen [Wed, 15 Apr 2009 11:11:17 +0000 (11:11 +0000)]
Add accesslevel.xml file and add new access_level_xml value in config file

git-svn-id: http://us000253/svn/IGDv2@151 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoDP: GetSupportedProtocols done
Jaakko Pasanen [Wed, 15 Apr 2009 09:05:30 +0000 (09:05 +0000)]
DP: GetSupportedProtocols done

git-svn-id: http://us000253/svn/IGDv2@150 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd certificate_path in config file of IGD. Certificate and private key are stored...
Jaakko Pasanen [Wed, 15 Apr 2009 06:52:41 +0000 (06:52 +0000)]
Add certificate_path in config file of IGD. Certificate and private key are stored there.

git-svn-id: http://us000253/svn/IGDv2@149 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoCarry certificate folder information from api to pki.c.
Jaakko Pasanen [Tue, 14 Apr 2009 13:08:49 +0000 (13:08 +0000)]
Carry certificate folder information from api to pki.c.

git-svn-id: http://us000253/svn/IGDv2@148 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years ago-Add more error return values for wpsutil input creation -Notice possible year 2038...
Jaakko Pasanen [Tue, 14 Apr 2009 10:47:33 +0000 (10:47 +0000)]
-Add more error return values for wpsutil input creation -Notice possible year 2038 unix time bug with gnutls certificate creation and create local fix in pupnp so that certificates expiration date may not be after 31/12/2037 23:59:59

git-svn-id: http://us000253/svn/IGDv2@147 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRead PIN code from config file; add GetMACAddressStr function in util; read device...
Jaakko Pasanen [Wed, 8 Apr 2009 12:44:03 +0000 (12:44 +0000)]
Read PIN code from config file; add GetMACAddressStr function in util; read device input for WPS introduction from gatedesc.xml

git-svn-id: http://us000253/svn/IGDv2@145 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoFix and clean tls
Jaakko Pasanen [Tue, 7 Apr 2009 07:30:04 +0000 (07:30 +0000)]
Fix and clean tls

git-svn-id: http://us000253/svn/IGDv2@143 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChanged ALL instances of SC_ text in wpsutil to WPSU_ All seems to work still, but...
Jaakko Pasanen [Fri, 27 Mar 2009 11:41:57 +0000 (11:41 +0000)]
Changed ALL instances of SC_ text in wpsutil to WPSU_ All seems to work still, but this may have caused some undetected problems...

git-svn-id: http://us000253/svn/IGDv2@136 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoImprovements for SendSetupMessage
Jaakko Pasanen [Fri, 27 Mar 2009 11:18:20 +0000 (11:18 +0000)]
Improvements for SendSetupMessage

git-svn-id: http://us000253/svn/IGDv2@135 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRename some SC stuff to WPSU in wpsutil
Jaakko Pasanen [Fri, 27 Mar 2009 10:45:19 +0000 (10:45 +0000)]
Rename some SC stuff to WPSU in wpsutil

git-svn-id: http://us000253/svn/IGDv2@134 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoImprovements for wpsutil cleanup and some minor fixes
Jaakko Pasanen [Fri, 27 Mar 2009 07:34:38 +0000 (07:34 +0000)]
Improvements for wpsutil cleanup and some minor fixes

git-svn-id: http://us000253/svn/IGDv2@133 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange old als implementation for raw DeviceProtection one. DeviceProtection xml...
Jaakko Pasanen [Thu, 26 Mar 2009 08:41:53 +0000 (08:41 +0000)]
Change old als implementation for raw DeviceProtection one. DeviceProtection xml and other files still in draft state, so they aren't very usable...

git-svn-id: http://us000253/svn/IGDv2@132 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange applicationlevelsecurity to use wpsutil api functions for input creation....
Jaakko Pasanen [Wed, 25 Mar 2009 10:14:58 +0000 (10:14 +0000)]
Change applicationlevelsecurity to use wpsutil api functions for input creation. Add more svn:ignores for wpsutil

git-svn-id: http://us000253/svn/IGDv2@131 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoadd protocol check for portmap adding
Jaakko Pasanen [Mon, 23 Mar 2009 07:29:57 +0000 (07:29 +0000)]
add protocol check for portmap adding

git-svn-id: http://us000253/svn/IGDv2@130 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAction: GetListOfPortmappings, modified return xml to use elements instead of attributes.
Open Source [Thu, 19 Mar 2009 09:01:27 +0000 (09:01 +0000)]
Action: GetListOfPortmappings, modified return xml to use elements instead of attributes.

git-svn-id: http://us000253/svn/IGDv2@125 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoNamespacing done for wpsutil functions and structs
Jaakko Pasanen [Tue, 17 Mar 2009 09:08:12 +0000 (09:08 +0000)]
Namespacing done for wpsutil functions and structs

git-svn-id: http://us000253/svn/IGDv2@121 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd -lpthread back
Jaakko Pasanen [Mon, 16 Mar 2009 10:35:04 +0000 (10:35 +0000)]
Add -lpthread back

git-svn-id: http://us000253/svn/IGDv2@116 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoadd upnpd.init OpenWrt start script
Jaakko Pasanen [Thu, 12 Mar 2009 12:06:57 +0000 (12:06 +0000)]
add upnpd.init OpenWrt start script

git-svn-id: http://us000253/svn/IGDv2@114 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRemove -lpthread from Makefile Set control point authorization off in IGD
Jaakko Pasanen [Thu, 26 Feb 2009 11:06:31 +0000 (11:06 +0000)]
Remove -lpthread from Makefile Set control point authorization off in IGD

git-svn-id: http://us000253/svn/IGDv2@101 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded input sanitization to SetDomainName and SetSubnetMask -actions.
Open Source [Wed, 25 Feb 2009 10:01:38 +0000 (10:01 +0000)]
Added input sanitization to SetDomainName and SetSubnetMask -actions.

git-svn-id: http://us000253/svn/IGDv2@100 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoNew target 'dist' in Makefile, for building source packet
Jaakko Pasanen [Fri, 20 Feb 2009 09:38:07 +0000 (09:38 +0000)]
New target 'dist' in Makefile, for building source packet

git-svn-id: http://us000253/svn/IGDv2@98 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoMore libraries added. Building IGD packet with libupnp using gnutls, seems to require...
Jaakko Pasanen [Wed, 18 Feb 2009 13:09:17 +0000 (13:09 +0000)]
More libraries added. Building IGD packet with libupnp using gnutls, seems to require this?

git-svn-id: http://us000253/svn/IGDv2@97 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange device numbers, modify xml returned by GetListOfPortMappings and fix action...
Jaakko Pasanen [Wed, 4 Feb 2009 10:33:07 +0000 (10:33 +0000)]
Change device numbers, modify xml returned by GetListOfPortMappings and fix action name GetListOfPortMappings

git-svn-id: http://us000253/svn/IGDv2@92 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAddAnyPortmapping and AddPortmapping: removed internalPort == externalPort check...
Open Source [Tue, 27 Jan 2009 10:15:04 +0000 (10:15 +0000)]
AddAnyPortmapping and AddPortmapping: removed internalPort == externalPort check from both actions.

git-svn-id: http://us000253/svn/IGDv2@91 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoUpdate https server. Update doxyfile of IGDv2
Jaakko Pasanen [Fri, 23 Jan 2009 12:26:24 +0000 (12:26 +0000)]
Update https server. Update doxyfile of IGDv2

git-svn-id: http://us000253/svn/IGDv2@87 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoCorrect resolv.conf file location
Jaakko Pasanen [Fri, 16 Jan 2009 11:47:59 +0000 (11:47 +0000)]
Correct resolv.conf file location

git-svn-id: http://us000253/svn/IGDv2@84 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange PortMappingList to NewPortListing
Jaakko Pasanen [Fri, 16 Jan 2009 10:51:19 +0000 (10:51 +0000)]
Change PortMappingList to NewPortListing

git-svn-id: http://us000253/svn/IGDv2@83 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoComments
Jaakko Pasanen [Fri, 16 Jan 2009 09:04:03 +0000 (09:04 +0000)]
Comments

git-svn-id: http://us000253/svn/IGDv2@82 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoComments and reorganize code into service blocks in gatedevice.c
Jaakko Pasanen [Thu, 15 Jan 2009 14:01:08 +0000 (14:01 +0000)]
Comments and reorganize code into service blocks in gatedevice.c

git-svn-id: http://us000253/svn/IGDv2@81 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd and correct error codes of AddAnyPortMapping and AddPortMapping
Jaakko Pasanen [Thu, 15 Jan 2009 10:04:07 +0000 (10:04 +0000)]
Add and correct error codes of AddAnyPortMapping and AddPortMapping

git-svn-id: http://us000253/svn/IGDv2@80 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd authorization support for GetSpecificPortMappingEntry and GetGenericPortMappingEntry
Jaakko Pasanen [Wed, 14 Jan 2009 13:28:44 +0000 (13:28 +0000)]
Add authorization support for GetSpecificPortMappingEntry and GetGenericPortMappingEntry

git-svn-id: http://us000253/svn/IGDv2@79 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd InconsistentParameters 733 error code into DeletePortMappingRange and GetListOfPo...
Jaakko Pasanen [Wed, 14 Jan 2009 11:00:38 +0000 (11:00 +0000)]
Add InconsistentParameters 733 error code into DeletePortMappingRange and GetListOfPortmappings

git-svn-id: http://us000253/svn/IGDv2@78 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoSend ssdp:byebye messages before initial sspd:alive messages as defined in 2.3.23...
Jaakko Pasanen [Wed, 14 Jan 2009 08:16:13 +0000 (08:16 +0000)]
Send ssdp:byebye messages before initial sspd:alive messages as defined in 2.3.23 in WANIPConnection v1.8 service spesification .

git-svn-id: http://us000253/svn/IGDv2@77 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoComments
Jaakko Pasanen [Tue, 13 Jan 2009 11:25:31 +0000 (11:25 +0000)]
Comments

git-svn-id: http://us000253/svn/IGDv2@76 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoComments for code. Remove from pmlist_DeleteIndex portmap parameter, which propably...
Jaakko Pasanen [Tue, 13 Jan 2009 09:21:13 +0000 (09:21 +0000)]
Comments for code. Remove from pmlist_DeleteIndex portmap parameter, which propably was useless.

git-svn-id: http://us000253/svn/IGDv2@75 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoWANIPConnection 1.8 changes and commented current ALS-code out.
Jaakko Pasanen [Mon, 12 Jan 2009 13:59:54 +0000 (13:59 +0000)]
WANIPConnection 1.8 changes and commented current ALS-code out.

git-svn-id: http://us000253/svn/IGDv2@74 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRemoved openssl from Makefile
Jaakko Pasanen [Mon, 12 Jan 2009 07:30:26 +0000 (07:30 +0000)]
Removed openssl from Makefile

git-svn-id: http://us000253/svn/IGDv2@73 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRemoved ChangedPortmapping state variable and moderation for eventing. Added includes...
Jaakko Pasanen [Thu, 18 Dec 2008 11:44:31 +0000 (11:44 +0000)]
Removed ChangedPortmapping state variable and moderation for eventing. Added includes for stdio.h and string.h for couple of files (started to throw warnings while compiling)

git-svn-id: http://us000253/svn/IGDv2@67 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoFix tempIface variable declaration
Jaakko Pasanen [Thu, 11 Dec 2008 07:39:35 +0000 (07:39 +0000)]
Fix tempIface variable declaration

git-svn-id: http://us000253/svn/IGDv2@66 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded check for startup if avahi-autoipd has been used for internal interface IP...
Jaakko Pasanen [Wed, 10 Dec 2008 13:08:52 +0000 (13:08 +0000)]
Added check for startup if avahi-autoipd has been used for internal interface IP configuration

git-svn-id: http://us000253/svn/IGDv2@65 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoFix uci command syntax in SetAddressRange and SetSubnetMask
Jaakko Pasanen [Mon, 8 Dec 2008 06:28:43 +0000 (06:28 +0000)]
Fix uci command syntax in SetAddressRange and SetSubnetMask

git-svn-id: http://us000253/svn/IGDv2@64 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoEmpty row at the end of config file
Jaakko Pasanen [Fri, 5 Dec 2008 06:38:58 +0000 (06:38 +0000)]
Empty row at the end of config file

git-svn-id: http://us000253/svn/IGDv2@63 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdd declaration of CheckLanHostConfigFiles() into lanhostconfig.h
Jaakko Pasanen [Fri, 5 Dec 2008 06:11:56 +0000 (06:11 +0000)]
Add declaration of CheckLanHostConfigFiles() into lanhostconfig.h

git-svn-id: http://us000253/svn/IGDv2@62 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChanged WANIPConnection1 names to WANIPConnection2. Add basic stubs and statemachine...
Jaakko Pasanen [Thu, 4 Dec 2008 13:47:25 +0000 (13:47 +0000)]
Changed WANIPConnection1 names to WANIPConnection2. Add basic stubs and statemachine for ALS service.

git-svn-id: http://us000253/svn/IGDv2@61 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoMoved file checks from Init to Check function. Now services won't be restarted when...
Open Source [Wed, 3 Dec 2008 09:57:19 +0000 (09:57 +0000)]
Moved file checks from Init to Check function. Now services won't be restarted when dhcpserverconfigurable is set to true.

git-svn-id: http://us000253/svn/IGDv2@60 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoConfig.c: check for advertisementInterval was in the wrong place. Lanhostconfig.c...
Open Source [Tue, 2 Dec 2008 12:06:20 +0000 (12:06 +0000)]
Config.c: check for advertisementInterval was in the wrong place. Lanhostconfig.c: ParseAddressRange 2 error settings incomplete.

git-svn-id: http://us000253/svn/IGDv2@59 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded doxygen comments to lanhostconfig. Added Doxygen file for generating project...
Open Source [Tue, 2 Dec 2008 10:58:02 +0000 (10:58 +0000)]
Added doxygen comments to lanhostconfig. Added Doxygen file for generating project documents. Added lanhostconfig.txt: short description of lanhostconfig. Small modifications to lanhostconfig actions.

git-svn-id: http://us000253/svn/IGDv2@58 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange version numbers to 2
Jaakko Pasanen [Wed, 26 Nov 2008 14:03:13 +0000 (14:03 +0000)]
Change version numbers to 2

git-svn-id: http://us000253/svn/IGDv2@57 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAlive notification sending interval can be now set in config file
Jaakko Pasanen [Wed, 26 Nov 2008 12:21:21 +0000 (12:21 +0000)]
Alive notification sending interval can be now set in config file

git-svn-id: http://us000253/svn/IGDv2@56 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoMoved some defines to .h RunCommand: changed wait to waitpid. Added comments.
Open Source [Sat, 22 Nov 2008 13:23:17 +0000 (13:23 +0000)]
Moved some defines to .h RunCommand: changed wait to waitpid. Added comments.

git-svn-id: http://us000253/svn/IGDv2@55 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded case insensitive check to resolveBoolean.
Open Source [Sat, 22 Nov 2008 10:43:43 +0000 (10:43 +0000)]
Added case insensitive check to resolveBoolean.

git-svn-id: http://us000253/svn/IGDv2@54 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIn *ReserveAddress actions: fclose -> pclose. Removed some if-checks before free.
Open Source [Fri, 21 Nov 2008 11:21:06 +0000 (11:21 +0000)]
In *ReserveAddress actions: fclose -> pclose. Removed some if-checks before free.

git-svn-id: http://us000253/svn/IGDv2@53 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-45: Added IPRouters actions. Fixed a bug in SetReservedAddress.
Open Source [Wed, 19 Nov 2008 11:20:19 +0000 (11:20 +0000)]
IGDVB-45: Added IPRouters actions. Fixed a bug in SetReservedAddress.

git-svn-id: http://us000253/svn/IGDv2@52 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agogit-svn-id: http://us000253/svn/IGDv2@51 55a18753-f1c3-4722-b33a-e097f9cf6a53
Jaakko Pasanen [Tue, 18 Nov 2008 14:01:19 +0000 (14:01 +0000)]
git-svn-id: us000253/svn/IGDv2@51 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-23 Fixs for eventing
Jaakko Pasanen [Wed, 12 Nov 2008 12:08:04 +0000 (12:08 +0000)]
IGDVB-23 Fixs for eventing

git-svn-id: http://us000253/svn/IGDv2@50 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-38 Fix forcetermination and requestconnection actions to really work
Jaakko Pasanen [Fri, 7 Nov 2008 14:11:10 +0000 (14:11 +0000)]
IGDVB-38 Fix forcetermination and requestconnection actions to really work

git-svn-id: http://us000253/svn/IGDv2@49 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRemove optional actions from gateconnSCPD.xml
Jaakko Pasanen [Fri, 7 Nov 2008 10:01:20 +0000 (10:01 +0000)]
Remove optional actions from gateconnSCPD.xml

git-svn-id: http://us000253/svn/IGDv2@48 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoOut->out
Jaakko Pasanen [Thu, 6 Nov 2008 13:15:02 +0000 (13:15 +0000)]
Out->out

git-svn-id: http://us000253/svn/IGDv2@47 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoRemove optional action RequestTermination definition from xml
Jaakko Pasanen [Thu, 6 Nov 2008 12:13:08 +0000 (12:13 +0000)]
Remove optional action RequestTermination definition from xml

git-svn-id: http://us000253/svn/IGDv2@46 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-38 Tested and fixed code to work
Jaakko Pasanen [Wed, 5 Nov 2008 13:03:21 +0000 (13:03 +0000)]
IGDVB-38 Tested and fixed code to work

git-svn-id: http://us000253/svn/IGDv2@45 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoFixed a bug in ParseResult: sprintf -> vsprintf.
Open Source [Tue, 4 Nov 2008 09:11:41 +0000 (09:11 +0000)]
Fixed a bug in ParseResult: sprintf -> vsprintf.

git-svn-id: http://us000253/svn/IGDv2@44 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoCorrected bugs in Get* functions: - typo in GetDomainName uci command - proper handli...
Open Source [Mon, 3 Nov 2008 13:12:58 +0000 (13:12 +0000)]
Corrected bugs in Get* functions: - typo in GetDomainName uci command - proper handling of empty return values

git-svn-id: http://us000253/svn/IGDv2@43 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-38 RequestConnection action error code fixing
Jaakko Pasanen [Fri, 31 Oct 2008 06:49:49 +0000 (06:49 +0000)]
IGDVB-38 RequestConnection action error code fixing

git-svn-id: http://us000253/svn/IGDv2@42 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-38 Add ForceTermination action and more functionality for RequestConnection...
Jaakko Pasanen [Thu, 30 Oct 2008 13:27:03 +0000 (13:27 +0000)]
IGDVB-38 Add ForceTermination action and more functionality for RequestConnection action

git-svn-id: http://us000253/svn/IGDv2@41 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoUpdated all IPv4 related addresses to use IPv6 address length (16->46) using INET6_AD...
Open Source [Thu, 30 Oct 2008 11:17:01 +0000 (11:17 +0000)]
Updated all IPv4 related addresses to use IPv6 address length (16->46) using INET6_ADDRSTRLEN 46 constant. Defined in "arpa/inet.h" header file.

git-svn-id: http://us000253/svn/IGDv2@40 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-39: Removed glib from project.
Open Source [Thu, 30 Oct 2008 10:01:58 +0000 (10:01 +0000)]
IGDVB-39: Removed glib from project.

git-svn-id: http://us000253/svn/IGDv2@39 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoTried to refactor code of AddAnyPortmaaping and AddPortMapping, but not sure if it...
Jaakko Pasanen [Wed, 29 Oct 2008 13:02:22 +0000 (13:02 +0000)]
Tried to refactor code of AddAnyPortmaaping and AddPortMapping, but not sure if it is even messier.

git-svn-id: http://us000253/svn/IGDv2@38 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-23 ConnectionStatus state variable eventing
Jaakko Pasanen [Wed, 29 Oct 2008 08:06:00 +0000 (08:06 +0000)]
IGDVB-23 ConnectionStatus state variable eventing

git-svn-id: http://us000253/svn/IGDv2@37 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-13: Added almost all actions (only actions related to ip routers missing)....
Open Source [Tue, 28 Oct 2008 11:25:02 +0000 (11:25 +0000)]
IGDVB-13: Added almost all actions (only actions related to ip routers missing). Cleaned up the code.

git-svn-id: http://us000253/svn/IGDv2@36 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-23 Added SystemUpdateID and ChangedPortMappingID statevariable eventing
Jaakko Pasanen [Tue, 28 Oct 2008 06:40:21 +0000 (06:40 +0000)]
IGDVB-23 Added SystemUpdateID and ChangedPortMappingID statevariable eventing

git-svn-id: http://us000253/svn/IGDv2@35 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded functionalities in SetDomainName,GetDomainName procedures.
Open Source [Mon, 27 Oct 2008 13:48:47 +0000 (13:48 +0000)]
Added functionalities in SetDomainName,GetDomainName procedures.

git-svn-id: http://us000253/svn/IGDv2@34 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-37 Inserted check if IGD, WanDevice and WanConnectionDevice really have their...
Jaakko Pasanen [Fri, 24 Oct 2008 05:44:50 +0000 (05:44 +0000)]
IGDVB-37 Inserted check if IGD, WanDevice and WanConnectionDevice really have their UDN's. If not, exit.

git-svn-id: http://us000253/svn/IGDv2@33 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoChange <major> value form 2 to 1. (Certfication tool requirement)
Jaakko Pasanen [Wed, 22 Oct 2008 11:50:43 +0000 (11:50 +0000)]
Change <major> value form 2 to 1. (Certfication tool requirement)

git-svn-id: http://us000253/svn/IGDv2@32 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded the test of ControlPointIP_equals_InternalClientIP function
Open Source [Wed, 22 Oct 2008 10:43:16 +0000 (10:43 +0000)]
Added the test of ControlPointIP_equals_InternalClientIP function

git-svn-id: http://us000253/svn/IGDv2@31 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-37 All devices described in gateDesc.xml has unique UDN's.
Jaakko Pasanen [Tue, 21 Oct 2008 10:34:03 +0000 (10:34 +0000)]
IGDVB-37 All devices described in gateDesc.xml has unique UDN's.

git-svn-id: http://us000253/svn/IGDv2@30 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-12 Automatic event updating interval value moved to config file.
Jaakko Pasanen [Tue, 21 Oct 2008 05:39:32 +0000 (05:39 +0000)]
IGDVB-12 Automatic event updating interval value moved to config file.

git-svn-id: http://us000253/svn/IGDv2@29 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-13 Implemented GetDNSServers-action.
Open Source [Fri, 17 Oct 2008 12:40:16 +0000 (12:40 +0000)]
IGDVB-13 Implemented GetDNSServers-action.

git-svn-id: http://us000253/svn/IGDv2@28 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoAdded a new config parameter.
Open Source [Fri, 17 Oct 2008 11:43:15 +0000 (11:43 +0000)]
Added a new config parameter.

git-svn-id: http://us000253/svn/IGDv2@27 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-13 Added new service and all actions, but some of them aren't yet implemented...
Open Source [Fri, 17 Oct 2008 09:58:06 +0000 (09:58 +0000)]
IGDVB-13 Added new service and all actions, but some of them aren't yet implemented. Moved some common functions from gatedevice to util.

Rewrote parseConfigFile using glibs GKeyFile.

git-svn-id: http://us000253/svn/IGDv2@26 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-12 WANEthernetLinkConfig service and GetEthernetLinkStatus action implemented.
Jaakko Pasanen [Thu, 16 Oct 2008 12:52:05 +0000 (12:52 +0000)]
IGDVB-12 WANEthernetLinkConfig service and GetEthernetLinkStatus action implemented.

git-svn-id: http://us000253/svn/IGDv2@25 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-12 XML mods for WANEthernetLinkConfig service
Jaakko Pasanen [Wed, 15 Oct 2008 12:07:03 +0000 (12:07 +0000)]
IGDVB-12 XML mods for WANEthernetLinkConfig service

git-svn-id: http://us000253/svn/IGDv2@24 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-30 Updated libiptc support to use nf_nat.h instead of ip_nat.h. Compiling with...
Jaakko Pasanen [Tue, 14 Oct 2008 09:45:28 +0000 (09:45 +0000)]
IGDVB-30 Updated libiptc support to use nf_nat.h instead of ip_nat.h. Compiling with libiptc support requires that kernel headers of right kernel version are located in /usr/src

Compile with: make HAVE_LIBIPTC=1
Compile unit tests with: make test HAVE_LIBIPTC=1

git-svn-id: http://us000253/svn/IGDv2@23 55a18753-f1c3-4722-b33a-e097f9cf6a53

7 years agoIGDVB-20 Fixes for string handling in DeletePortMappingRange and unit tests for this...
Jaakko Pasanen [Fri, 10 Oct 2008 10:05:30 +0000 (10:05 +0000)]
IGDVB-20 Fixes for string handling in DeletePortMappingRange and unit tests for this action

git-svn-id: http://us000253/svn/IGDv2@22 55a18753-f1c3-4722-b33a-e097f9cf6a53