marian
a30704254c
Silenced some compiler warnings (null printf string argument, unused function).
2023-05-30 09:55:45 +03:00
Ioana Stanciu
c56216f5a8
Updated copyright notices.
2023-05-23 17:01:06 +03:00
paulc
871aeae4c5
Added a helper class SocketRef and use it instead of all ad-hoc similar classes.
...
Fixed a memory leak in Jabber SSL listeners.
git-svn-id: http://voip.null.ro/svn/yate@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
paulc
d56cecb40e
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
marian
2ab24ed2e2
Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
...
git-svn-id: http://voip.null.ro/svn/yate@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +00:00
paulc
18e10bfd69
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian
4a0533fa36
Fixed conversion from boolean false to pointer.
...
git-svn-id: http://voip.null.ro/svn/yate@5598 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 07:10:00 +00:00
paulc
22dcf9f53e
Use Alarm() in places that could prevent normal operation.
...
This allows sending SNMP traps when parts of the service become non-operational.
git-svn-id: http://voip.null.ro/svn/yate@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
paulc
7c8b2d4c38
Added a shared static list of Atom strings and an YATOM macro.
...
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.
git-svn-id: http://voip.null.ro/svn/yate@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
andrei
f8944670c6
Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
...
git-svn-id: http://voip.null.ro/svn/yate@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
marian
bdcf1ed2ee
Added configurable parameter (defaults to disabled) used to offer only plain password authentication on c2s streams.
...
git-svn-id: http://voip.null.ro/svn/yate@5376 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-08 12:30:38 +00:00
paulc
7e77fd2cfb
Added possibility to track message progress through handlers.
...
git-svn-id: http://voip.null.ro/svn/yate@5107 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-12 23:47:01 +00:00
marian
c3e4169ce8
Changed component domain configuration parameter name to avoid conflict with optional connect address.
...
git-svn-id: http://voip.null.ro/svn/yate@4981 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 15:02:40 +00:00
marian
b10485e4d6
Added support for outgoing jabber component streams.
...
git-svn-id: http://voip.null.ro/svn/yate@4980 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 14:44:01 +00:00
marian
695de94a2b
The entity capabilities cache file is now configurable.
...
git-svn-id: http://voip.null.ro/svn/yate@4577 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 14:09:32 +00:00
marian
f920b56638
Don't return true when completing a command, let other modules handle the message.
...
git-svn-id: http://voip.null.ro/svn/yate@4515 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-20 15:04:37 +00:00
paulc
07132042d0
Added class for pseudo random number generation.
...
Replace library ::random() and ::rand() calls with shared Random method.
git-svn-id: http://voip.null.ro/svn/yate@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian
cad1425c82
Advertise session feature on c2s streams.
...
git-svn-id: http://voip.null.ro/svn/yate@4469 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 09:35:49 +00:00
marian
f56357c7db
Enqueue user.authfail when failed to authenticate an user or incoming s2s stream dialback fails.
...
git-svn-id: http://voip.null.ro/svn/yate@4467 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 08:54:06 +00:00
marian
d46bfaddf1
Always set the correct message stanza type in dispatched msg.execute/route messages.
...
git-svn-id: http://voip.null.ro/svn/yate@4295 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-14 09:00:22 +00:00
marian
bb1233de03
Advertise external components in the list of server items when requested. Match server target for stanzas received on component streams.
...
git-svn-id: http://voip.null.ro/svn/yate@4266 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-05 15:56:13 +00:00
marian
0bbe7c0ad4
Create yate cluster listener and connections. Send/receive yate messages on cluster streams.
...
git-svn-id: http://voip.null.ro/svn/yate@4127 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 12:40:40 +00:00
marian
53fe64bb93
Allow specifiying stream parameters in stream create command.
...
git-svn-id: http://voip.null.ro/svn/yate@4111 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-15 16:12:20 +00:00
marian
eeac9aad4f
Make sure the stream is locked while accessing its local and remote party jid or checking its id.
...
git-svn-id: http://voip.null.ro/svn/yate@4065 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:01:27 +00:00
marian
8528733d75
Fixed bug: avoid sending entity caps request on s2s incoming stream.
...
git-svn-id: http://voip.null.ro/svn/yate@4018 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 15:48:12 +00:00
marian
9a2aef0841
Removed sender and recipient resource check when sending presence error.
...
git-svn-id: http://voip.null.ro/svn/yate@3704 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-08 13:17:59 +00:00
marian
fdd96740a5
Roster item updates containing group names with reserved characters can now be refused or the unacceptable group can be ignored.
...
git-svn-id: http://voip.null.ro/svn/yate@3673 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 15:06:34 +00:00
marian
1b3ff2308f
Added jabber stream compression support.
...
git-svn-id: http://voip.null.ro/svn/yate@3436 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 11:11:50 +00:00
marian
c7b21329a0
The jabber server is now keeping features and capabilities for each serviced domain. Check if TLS is available before offerring it on incoming streams.
...
git-svn-id: http://voip.null.ro/svn/yate@3428 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 15:05:58 +00:00
marian
0549bfe554
Check TLS availability before using it on outgoing streams.
...
git-svn-id: http://voip.null.ro/svn/yate@3427 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 14:37:19 +00:00
paulc
81ecea7581
Got rid of some long standing conversion warning by providing the proper casts.
...
git-svn-id: http://voip.null.ro/svn/yate@3377 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 18:07:17 +00:00
marian
5a48e28e8d
Add message stanza id to msg.route.
...
git-svn-id: http://voip.null.ro/svn/yate@3258 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 08:37:48 +00:00
marian
52d07b557d
Fixed debug.
...
git-svn-id: http://voip.null.ro/svn/yate@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian
6f224d983a
Fixed bug: check if the resource is already used by an user when processing a bind request.
...
git-svn-id: http://voip.null.ro/svn/yate@3127 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:19:15 +00:00
marian
b480d411f0
Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
...
git-svn-id: http://voip.null.ro/svn/yate@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
marian
5b3d5ec79d
Optionally dump received 'iq' xml string in dispatched jabber.iq message.
...
git-svn-id: http://voip.null.ro/svn/yate@3104 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 09:51:02 +00:00
marian
8630c28ec1
Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
...
git-svn-id: http://voip.null.ro/svn/yate@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
marian
edd9b63274
Add destination instance when sending messages on non c2s streams.
...
git-svn-id: http://voip.null.ro/svn/yate@2988 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-16 14:45:58 +00:00
marian
2341d1447d
Handle directed chat with resource not found and groupchat/error without full jid target. Store only chat/normal message stanzas in offline messages.
...
git-svn-id: http://voip.null.ro/svn/yate@2987 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:51:28 +00:00
marian
f83008379a
Route presence stanzas with type error.
...
git-svn-id: http://voip.null.ro/svn/yate@2981 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-09 14:53:39 +00:00
marian
15812c43a6
Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
...
git-svn-id: http://voip.null.ro/svn/yate@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian
256f06d80d
Avoid adding empty name attribute to roster items. Fixed some comments.
...
git-svn-id: http://voip.null.ro/svn/yate@2967 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:35:55 +00:00
marian
f470999b27
Fixed offline messages delivering bug.
...
git-svn-id: http://voip.null.ro/svn/yate@2955 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-19 08:07:42 +00:00
marian
098ba03ebc
Added local/remote ip to stream detail status.
...
git-svn-id: http://voip.null.ro/svn/yate@2944 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:31:43 +00:00
marian
aa0b6ec97d
Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
...
git-svn-id: http://voip.null.ro/svn/yate@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
marian
25b2b8e357
Added resource to jid when sending user.unregister.
...
git-svn-id: http://voip.null.ro/svn/yate@2932 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 16:11:48 +00:00
marian
fc6ed47490
Removed incorrect roster check when routing iq stanzas.
...
git-svn-id: http://voip.null.ro/svn/yate@2931 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 14:21:17 +00:00
marian
1e454436f9
Add server items to serviced domains (allow s2s streams on behalf of them).
...
git-svn-id: http://voip.null.ro/svn/yate@2920 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:55:09 +00:00
marian
2b326634dc
The number of jabber server stanza workers is now configurable.
...
git-svn-id: http://voip.null.ro/svn/yate@2905 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 14:01:47 +00:00
paulc
5864092eea
Actually return the built iq message.
...
git-svn-id: http://voip.null.ro/svn/yate@2902 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-07 11:52:14 +00:00