Lance Stout
daa73a3f3c
Merge branch 'master' into develop
2012-06-09 11:43:06 -07:00
Lance Stout
6997261c6b
Bump version for 1.1.3
2012-06-09 11:32:03 -07:00
Lance Stout
0b51afe87a
Add extra check for the cert in the expiration handler.
2012-06-09 11:05:18 -07:00
Lance Stout
6cfb5cb14c
Add extra check for the cert in the expiration handler.
2012-06-09 11:01:45 -07:00
Lance Stout
8567d6034f
Use False for use_tls for components.
...
A log message is shown for those who try to set it to True.
Fixes issue #171
2012-06-09 11:01:35 -07:00
Lance Stout
e06368f8cd
Default use_tls to False for components.
...
Issue #171
2012-06-09 11:01:21 -07:00
Lance Stout
4b37a4706f
Fix SSL handshake handling when not using legacy SSL.
...
Fixes issue #172
2012-06-09 11:01:11 -07:00
Lance Stout
7b1564947d
Ensure that all SSL cert error handling is overridable using event handlers.
...
Relevant events:
ssl_invalid_cert
ssl_invalid_chain
ssl_expired_cert
2012-06-09 11:00:55 -07:00
Lance Stout
2b298766c9
Use False for use_tls for components.
...
A log message is shown for those who try to set it to True.
Fixes issue #171
2012-06-09 10:48:16 -07:00
Lance Stout
10664d723b
Default use_tls to False for components.
...
Issue #171
2012-06-09 10:43:57 -07:00
Lance Stout
c012208a8f
Merge pull request #170 from SeyZ/develop
...
Added the xep_0065 plugin in the setup.py
2012-06-09 10:37:49 -07:00
Lance Stout
0953896d2d
Fix SSL handshake handling when not using legacy SSL.
...
Fixes issue #172
2012-06-09 10:32:25 -07:00
Sandro Munda
cf9e89d0ae
Added the xep_0065 plugin in the setup.py
2012-06-09 18:45:58 +02:00
Lance Stout
48dd01b0bb
Ensure that all SSL cert error handling is overridable using event handlers.
...
Relevant events:
ssl_invalid_cert
ssl_invalid_chain
ssl_expired_cert
2012-06-08 09:31:44 -07:00
Lance Stout
7247efe055
Merge pull request #169 from SeyZ/develop
...
xep_0065 plugin (Socks5 Bytestreams)
2012-06-07 10:40:22 -07:00
Sandro Munda
8def3758e4
Added the get_socket(sid) method to the xep_0065 plugin to retrieve
...
the socket of the Proxy thread.
2012-06-07 19:36:25 +02:00
Sandro Munda
1851ab6f5f
Added the SID in the socks_recv xmpp event in the xep_0065 plugin.
2012-06-07 19:24:23 +02:00
Sandro Munda
289b052338
Renamed Query to Socks5 in the xep_0065.
...
Renamed the 'q' plugin_attrib of the Socks5 stanza to 'socks'.
2012-06-07 19:14:37 +02:00
Sandro Munda
26147f5ae0
Added a top level field to the xep_0065 class:
...
name = 'xep_0065'
2012-06-07 19:08:20 +02:00
Sandro Munda
ae01f1071a
Fixed the callback names of the xep_0065:
...
In-Band bytestreams -> Socks5 bytestreams
2012-06-07 19:04:24 +02:00
Sandro Munda
dcdf5dcd09
Added the Socksipy module in the thirdparty of SleekXMPP.
...
Updated the LICENSE file with the license of the Socksipy
module (New-BSD).
2012-06-07 19:02:09 +02:00
Sandro Munda
c59a6d0f51
Sent a socks_closed when the socket is closed in the xep_0065 plugin.
2012-06-07 18:38:57 +02:00
Sandro Munda
2cd936318d
Improved the close of the proxy thread (and the socket) in the xep_0065 plugin.
2012-06-07 18:38:57 +02:00
Sandro Munda
2f38857681
Changed the description of the xep_0065 plugin
2012-06-07 18:38:56 +02:00
Sandro Munda
39505ae1ff
The xep_0065 plugin supports now multiple stream (multiple connected
...
sockets).
To send data over a stream, we need to pass the SID in order to
retrieve the good proxy thread (and so, the good socket).
2012-06-07 18:38:56 +02:00
Sandro Munda
44ee0633f2
Renamed the _handle_on_recv to the on_recv method.
...
Renamed requester_thread and target_thread to proxy. The send method is now simpler.
2012-06-07 18:38:56 +02:00
Sandro Munda
b52d2768b0
Added some comments to the get_network_address method
2012-06-07 18:38:56 +02:00
Sandro Munda
cf24b870b1
Registered stanza plugin in the stanza module
2012-06-07 18:38:56 +02:00
Sandro Munda
69cffce7dc
Used the namespace in all stanzas
2012-06-07 18:38:56 +02:00
Sandro Munda
a14979375b
Added a partial support of the XEP 0065 - Socks5 Bytestreams
2012-06-07 18:38:56 +02:00
Sandro Munda
40ef4a16b1
Updated the .gitignore to add .ropeproject/ folder
2012-06-07 18:38:56 +02:00
Lance Stout
f5652a667b
Add 'presence' event, raised for all incoming presence stanzas.
2012-06-06 16:10:25 -07:00
Lance Stout
3b2c865a58
Bump version to 1.1.2
2012-06-06 12:26:15 -07:00
Lance Stout
db0e683d01
Don't request registration forms unless the register event is handled.
...
Some servers end the stream if registration can not be completed
in-band, which means always requesting the form can prevent regular
login.
2012-06-06 12:23:40 -07:00
Lance Stout
e29a9e0394
Bump version for 1.1.1 minor release.
2012-06-04 11:56:53 -07:00
Lance Stout
edf65f4f52
Include the default, unnamed group in self.client_roster.groups()
2012-06-04 11:54:25 -07:00
Lance Stout
98677fd602
Don't add cert expiration timer if no certs are being used.
2012-06-04 11:53:58 -07:00
Lance Stout
61a4f76c8d
Update version and README for 1.1
2012-06-01 14:13:17 -07:00
Lance Stout
856a826eea
Fix syntax error in line continuation.
2012-06-01 14:09:14 -07:00
Lance Stout
387ef513d6
Check that the session is still alive before sending data.
...
Fixes issue #168
2012-06-01 13:50:38 -07:00
Lance Stout
2858dbf57f
Update development version number to prepare for 1.1 release.
2012-05-31 22:07:36 -07:00
Lance Stout
350a2b8bbc
Preemptively mark threads as exited if calling disconnect().
2012-05-31 22:04:45 -07:00
Lance Stout
c9093c9972
Handle not being able to connect using IPv6 if the host does not support it.
2012-05-27 16:33:21 -07:00
Lance Stout
d1ad31696e
Fix X-FACEBOOK-PLATFORM mechanism to work with Python3.
2012-05-25 11:04:46 -07:00
Lance Stout
f49311ef9e
Add better certificate handling.
...
Certificate host names are now matched (using DNS, SRV, XMPPAddr, and
Common Name), along with expiration check.
Scheduled event to reset the stream once the server's cert expires.
Handle invalid cert trust chains gracefully now.
2012-05-22 03:56:06 -07:00
Lance Stout
678e529efc
Remove unused xmlstream test client.
...
It's in the repo history if we need it later.
2012-05-17 22:27:03 -07:00
Lance Stout
6ddb430fef
Spell thirdparty correctly.
2012-05-16 12:00:00 -07:00
Lance Stout
74d1f88146
Prune unused conn_test code.
2012-05-16 11:57:55 -07:00
Lance Stout
7842c55da3
Add auth_success event.
...
The auth_success event is triggered upon successful SASL negotiation.
2012-05-15 14:26:25 -07:00
Lance Stout
f5beac2afa
Use SASLPrepFailure as the exception name instead of UnicodeError.
2012-05-14 23:12:54 -07:00