ChangeLog 6.76 KB
Newer Older
1 2 3 4 5 6
2006-07-11  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* sofia-sip/stun_common.h: New defines for STUN attributes defined
	in RFC3489bis. Some old defines have been deprecated, but are still
	supported in the API.

7 8 9 10
2006-05-22  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* Makefile.am: Install the stunc tool.

11 12 13 14 15 16
2006-05-07  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* sofia-sip/stun.h: Added new NAT types stun_nattype_t. The
	naming is now compliant with the terms used by IETF BEHAVE 
	documents.

17 18
2006-05-06  Kai Vehmanen  <kai.vehmanen@nokia.com>

19
	* sofia-sip/stun.h (stun_nattype_str): Added a new function to the
20 21
	public API.
	
22
	* sofia-sip/stun.h (stun_nattype): Modified the function signature.
23

24
	* sofia-sip/stun.h (stun_state_t): Moved all request-specific states
25 26
	to private stun_req_state_t struct in stun.c.

27 28 29 30 31 32
2006-05-05  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* sofia-sip/stun.h, stun.c: Removed various deprecated functions
	that were already commented out from the code. Closed sf.net
	bug #1456403.

33 34
2006-03-27  Kai Vehmanen  <kai.vehmanen@nokia.com>

35 36 37 38
	* stun.h: Added stun_server_address().

	* stun.h: Added stun_dns_lookup*() interface.

39 40 41 42
	* stun.h: Renamed get_nattype to test_nattype and
	get_lifetime to test_lifetime. Removed deprecated
	wrappers.

43 44
	* stun.h: Deprecated stun_handle_release().

45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
2006-01-26  Martti Mela  <martti.mela@nokia.com>

	* STUN: initial keepalive dispatcher

	M ./libsofia-sip-ua/stun/stun.c -28 +149
	M ./libsofia-sip-ua/stun/stun.h +9
	M ./libsofia-sip-ua/stun/stun_tag.c +16
	M ./libsofia-sip-ua/stun/stun_tag.h +6
	M ./libsofia-sip-ua/stun/stunc.c +6

2006-02-09  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* stun_tag.h: Added STUN_DOMAIN() and STUN_REQUIRE_INTEGRITY(). 
	Deprecated STUN_INTEGRITY.

	* stun.c: Mark wait entries as deregistered after
	su_root_deregister().

2006-01-26  Martti Mela  <martti.mela@nokia.com>

	* STUN: initial keepalive dispatcher

	M ./libsofia-sip-ua/stun/stun.c -28 +149
	M ./libsofia-sip-ua/stun/stun.h +9
	M ./libsofia-sip-ua/stun/stun_tag.c +16
	M ./libsofia-sip-ua/stun/stun_tag.h +6
	M ./libsofia-sip-ua/stun/stunc.c +6

73 74 75 76 77
2006-01-19  Martti Mela  <martti.mela@nokia.com>

	* stun.c: assign_socket() now takes care of socket registering and
	binding operations

78 79 80 81 82
2006-01-17  Martti Mela  <martti.mela@nokia.com>

	* stun.c: tls callback now fails if connect() fails. Random
	cleanup.

Martti Mela's avatar
Martti Mela committed
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
2006-01-15  Martti Mela  <martti.mela@nokia.com>

	* stun.c: bug fixes in get NAT type.

	* stun.h: changed request_get_localinfo() to
	discovery_get_address()

	* stunc.c: debugging info cleanup

	* stun_common.c, stun_common.h: cleanup + SU_DEBUG is now
	determined from stun_internal.h

	* stun_internal.h: included stun_common.h

	* torture_stun.c: updated get_localinfo() to get_address()
	
Martti Mela's avatar
Martti Mela committed
99 100 101 102 103 104 105 106
2006-01-13  Martti Mela  <martti.mela@nokia.com>

	* stun.c: actions are now very separate from each other. Bug fixes.

	* stun.h: added some new error states

	* stunc.c: passing STUN_SOCKET() for each of the actions.

107 108 109 110 111 112 113 114
2006-01-11  Martti Mela  <martti.mela@nokia.com>

	* stun.c: Fixed bug in timing problem in get_lifetime. Added
	stun_message_length() and stun_handle_process_message() for
	glueing into TPORT.

	* stunc.c: Removed unnecessary su_root_break()s.
	
Pekka Pessi's avatar
Pekka Pessi committed
115 116 117 118 119 120 121 122 123
2006-01-10  Martti Mela  <martti.mela@nokia.com>

	* stun.c: First working version of get_lifetime functionality. All
	stun_requests are now destroyed automatically by their timers if
	the request's state is marked as "stun_dispose_me".

	* stun.h: Updated stun_lifetime() API, moved discovery type enums
	here from stun.c.

Martti Mela's avatar
Martti Mela committed
124 125 126 127 128 129 130 131 132 133 134 135
2006-01-05  Martti Mela  <martti.mela@nokia.com>

	* stun.c: Finished get_nattype functionality. Might
	work. Different stun actions are now kept in stun_discovery_t struct.

	* stun.h: Updated event to support nattype discovery; get_nattype
	definition, too.

	* stunc.c: Support for discovery events

	* torture_stun.c: stun_states_t -> stun_state_t

Martti Mela's avatar
Martti Mela committed
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
2006-01-04  Martti Mela  <martti.mela@nokia.com>

	* stun.c: Functionality changed to support transactions; initial
	support for NAT type discovery

	* stun.h: API changed to support transactions

	* stun_internal.h: API changed to support transactions

	* stun_tag.[ch]: added tag STUNTAG_ACTION for different actions
	(lifetime, NAT type, bind, keepalive)

	* stunc.c: enabled get_nattype

	* torture_stun.c: changed to support new API

	*stun_common.h: removed NAT type strings to stun.c.

Martti Mela's avatar
Martti Mela committed
154 155 156 157 158 159 160
2005-12-19  Martti Mela  <martti.mela@nokia.com>

	* stun.c: fixed TLS and bind timers.

	* stun_common.c: changed every SU_DEBUG to contain __func__.

2005-12-19  Martti Mela  <martti.mela@nokia.com>
Martti Mela's avatar
Martti Mela committed
161 162 163 164 165 166 167 168

	* stun.c: TLS connection works now.

	* stun.h: removed stun_socket_t references, replaced by
	stun_handle functionality.

	* stunc.c, torture_stun.c: modified in accordance to stun.h.
	
Martti Mela's avatar
Martti Mela committed
169
2005-12-16  Martti Mela  <martti.mela@nokia.com>
Martti Mela's avatar
Martti Mela committed
170 171 172 173 174 175 176 177 178

	* stun.h: changed stun_engine_t to stun_handle_t.

	* stun.c: STUN handle is now created independently of
	stun_connect_start(). Callback events have now string
	representation, too.

	* stunc.c, torture_stun.c: behave now in conformance to stun.h
	
179 180 181 182 183 184 185 186 187 188 189
2005-12-15  Martti Mela  <martti.mela@nokia.com>

	* STUN updated to work asynchronously.

	* stun.c: added timeout timer for connect() (defaults to 8 seconds).

	* stun_internal.h: added.

	* stun.h: Does not contain functions that are interal. Cleaned the API. Specified
	more states for stun_states_t.

190 191 192 193 194 195 196 197 198 199 200 201
2005-11-19  Kai Vehmanen  <kaiv@.devtag.AUTHORS>

	* stun.h (stun_set_uname_pwd): Changed from unsigned to signed 
	char pointers for passing username and password.

2005-11-18  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* stun.c: Print the error state code if discovery
	process fails.
	* stunc.c (stun_bind_test): The fd_set was not
	properly reseted between calls to select().

Pekka Pessi's avatar
Pekka Pessi committed
202 203 204 205 206 207
2005-10-27  Pekka Pessi  <Pekka.Pessi@nokia.com>

  * Always building stun tags.

    M ./libsofia-sip-ua/stun/Makefile.am -3 +3

208 209 210 211 212 213
2005-10-24  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* stun.c: Fixed stun_bind() behaviour when STUN 
	discovery fails. Added enum for tracking client
	state.

Pekka Pessi's avatar
Pekka Pessi committed
214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232
2005-10-18  Pekka Pessi  <Pekka.Pessi@nokia.com>

  * Checking that we have got valid server address as parameter.

    M ./libsofia-sip-ua/stun/stun.c -6 +14

  * Added stun_is_requested().

    M ./libsofia-sip-ua/stun/stun.c +22
    M ./libsofia-sip-ua/stun/stun.h +2

  * Added tagged call stun_engine_tcreate().

    M ./libsofia-sip-ua/stun/Makefile.am -10 +7
    M ./libsofia-sip-ua/stun/stun.c -7 +44
    M ./libsofia-sip-ua/stun/stun.h +7
    A ./libsofia-sip-ua/stun/stun_tag.c
    A ./libsofia-sip-ua/stun/stun_tag.h

233 234 235 236 237 238 239 240 241
2005-10-13  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* stun_common.h, stun.h: Updated inline docs to use
	the doxygen syntax.

	* stun_common.c: Fixed memory leaks.

	* stun.c (stun_engine_create): Add hostname resolving.

Pekka Pessi's avatar
Pekka Pessi committed
242 243 244
2005-07-18  Kai Vehmanen  <kai.vehmanen@nokia.com>

	* Initial import of the module to Sofia-SIP tree.