Markus Jung
a97208d2b3
savebuff: Handle empty passwords identical
...
setpass <password> did not check for an empty argument.
Use the same fallback password as OnLoad()
2014-11-05 20:26:42 +01:00
Alexey Sokolov
f7270e8b2e
Merge commit 'refs/pull/733/head' of github.com:znc/znc
2014-11-04 07:33:15 +00:00
J-P Nurmi
20c9b19328
Add CIRCNetwork::FindClient(const CString& sIdentifier)
2014-11-04 00:42:31 +01:00
J-P Nurmi
8d77faa260
Allow clients to specify an ID via PASS or USER
...
- PASS [user[@identifier][/network]:]password
- USER user[@identifier][/network] ...
NOTE: There's a slight ambiguosity with the '@' character, which happens
to be a valid character in usernames, but also acts as a marker for the
identifier. Therefore, '@' is considered as part of the username if it's
followed by non-word characters (as in an email address), otherwise as
a marker for an identifier.
This is only an enabler for #343 . The rest can be done with modules:
- managing client ID specific playback buffers
- filtering channels based on the client ID
The reason this should be part of ZNC core is that only global modules
have access to OnUnknownUserRaw(), which is needed to capture USER/PASS.
First of all, the aforementioned modules shouldn't be global. Furthermore,
it would be possible to have only one module that parsed and removed the
client ID so that ZNC core woulnd't choke.
2014-11-04 00:42:28 +01:00
Alexey Sokolov
c5b3c2e671
Merge pull request #735 from jpnurmi/modcommand
...
Convert most of the remaining modules to use CModCommand
2014-11-03 23:24:33 +00:00
J-P Nurmi
bca6e2e39d
stickychan: use CModCommand
2014-11-04 00:01:31 +01:00
J-P Nurmi
57b25ab277
simple_away: use CModCommand
2014-11-03 23:55:21 +01:00
J-P Nurmi
ac7cf938c6
savebuff: use CModCommand
2014-11-03 23:47:33 +01:00
J-P Nurmi
4b6a5042ad
listsockets: use CModCommand
2014-11-03 23:38:42 +01:00
J-P Nurmi
88c397a700
kickrejoin: use CModCommand
2014-11-03 23:29:19 +01:00
J-P Nurmi
44bab0a6be
keepnick: use CModCommand
2014-11-03 23:12:28 +01:00
J-P Nurmi
85524f4408
ctcpflood: use CModCommand
2014-11-03 23:08:47 +01:00
J-P Nurmi
2a03a6ab92
crypt: use CModCommand
2014-11-03 23:08:47 +01:00
J-P Nurmi
bf87ebb263
clientnotify: use CModCommand
2014-11-03 23:08:46 +01:00
J-P Nurmi
7bc1fa68e0
blockuser: use CModCommand
2014-11-03 23:08:46 +01:00
J-P Nurmi
5295fed83e
autovoice: use CModCommand
2014-11-03 23:08:46 +01:00
J-P Nurmi
f1eaa7d63e
autoreply: use CModCommand
2014-11-03 23:08:46 +01:00
J-P Nurmi
9e41fe869f
autoop: use CModCommand
2014-11-03 23:08:46 +01:00
J-P Nurmi
85e92f5669
autocycle: use CModCommand
2014-11-03 23:08:46 +01:00
J-P Nurmi
354a89e45b
adminlog: use CModCommand
2014-11-03 23:08:46 +01:00
Alexey Sokolov
7f4cdd6ad7
Merge pull request #734 from jpnurmi/gitignore
...
Update .gitignore
2014-11-03 21:19:11 +00:00
J-P Nurmi
b240438b1a
Update .gitignore
2014-11-03 19:06:34 +01:00
Alexey Sokolov
5365dc462c
Merge pull request #731 from jpnurmi/self-message
...
Add self-message support
2014-11-02 19:16:16 +00:00
Alexey Sokolov
50bf7176fe
Merge pull request #553 from wolfhechel/master
...
Read aliased commands before sending, allowing to alias module commands.
2014-11-02 19:08:40 +00:00
Alexey Sokolov
5b863ddec5
Merge pull request #730 from jpnurmi/buffextras
...
Resolve #723 : Allow buffextras as a network-level module
2014-11-02 18:52:44 +00:00
J-P Nurmi
382ce76ded
Add self-message support
...
https://github.com/ircv3/ircv3-specifications/blob/master/extensions/self-message-3.2.md
2014-11-02 16:59:17 +01:00
J-P Nurmi
8fdf51dfeb
Fix CNick::Parse()
...
If the mask started with ':', the following '!' was included to nick.
2014-11-01 13:17:32 +01:00
Pontus Carlsson
e7b0138a09
Process aliased commands before sending them ( #552 )
...
Which makes it possible to alias znc module commands.
2014-11-01 10:48:00 +01:00
J-P Nurmi
71bbefc068
Resolve #723 : Allow buffextras as a network-level module
2014-10-30 21:52:18 +01:00
Alexey Sokolov
5aa5e99a08
Merge pull request #727 from markusj/savebuff-on-autoclear-too
...
savebuff: do not skip channels with AutoClearChanBuffer==true
2014-10-29 20:51:48 +00:00
Alexey Sokolov
7b37f5aa5d
Merge pull request #726 from jpnurmi/leak
...
Fix #725 : CHTTPSock memory leak - missing deflateEnd() call
2014-10-29 06:50:00 +00:00
Alexey Sokolov
15283da006
Merge pull request #721 from markusj/modpy-can-have-args
...
modpython: Use has_args and args_help_text from module
2014-10-29 06:38:28 +00:00
J-P Nurmi
b822ea8e16
Fix #725 : CHTTPSock memory leak - missing deflateEnd() call
2014-10-29 00:19:40 +01:00
Alexey Sokolov
917924c51a
Merge commit 'refs/pull/722/head' of github.com:znc/znc
2014-10-28 07:30:09 +00:00
Alexey Sokolov
1a8f15d510
Support CZNC::GetUserMap() from modpython.
...
Thanks to lol768 for reporting it.
2014-10-28 07:22:50 +00:00
Markus Jung
4eaed93764
simple_away: apply auto-away on load if no user is connected
2014-10-28 02:42:31 +01:00
Markus Jung
79d8ae7432
modpython: set has_args and args_help_text from module
2014-10-28 01:23:31 +01:00
Alexey Sokolov
6109c7d317
Merge pull request #714 from jpnurmi/clientcmd
...
Make Detach, EnableChan and DisableChan accept multiple channels
2014-10-26 22:44:11 +00:00
Alexey Sokolov
8ff8af70e9
Merge pull request #715 from jpnurmi/log
...
log: add support for logging rules
2014-10-26 22:13:51 +00:00
J-P Nurmi
bbd393d84f
log: add support for logging rules
...
By default, everything is logged. The first matching rule wins.
Negation (!) and wildcards (*) are supported.
For example, disable logging for all channels, except #znc:
/msg *log setrules #znc !#*
Queries do not match either of the above rules, so they get logged.
2014-10-26 22:58:45 +01:00
J-P Nurmi
ba1b1da701
Make Detach, EnableChan and DisableChan accept multiple channels
...
These commands now take a comma/space separated list
2014-10-26 22:18:29 +01:00
Alexey Sokolov
19b4dbdaba
Merge pull request #717 from jpnurmi/ssl-ciphers
...
Resolve #621 : Config option for allowed SSL ciphers
2014-10-26 20:50:52 +00:00
Alexey Sokolov
6509e26b89
Fix modpython+shared_ptr
2014-10-26 20:32:46 +00:00
Markus Jung
629e156975
savebuff: do not skip channels with AutoClearChanBuffer==true
2014-10-26 17:05:29 +01:00
J-P Nurmi
3d57ccb738
Resolve #621 : Config option for allowed SSL ciphers
...
In the global section, for example:
SSLCiphers = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
https://www.openssl.org/docs/apps/ciphers.html
https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers
2014-10-26 14:59:36 +01:00
Alexey Sokolov
e337cb433d
Merge commit 'refs/pull/665/head' of github.com:znc/znc
2014-10-26 12:17:31 +00:00
Alexey Sokolov
4e79702142
Merge commit 'refs/pull/716/head' of github.com:znc/znc
2014-10-26 11:56:15 +00:00
Alexey Sokolov
4562f1c67b
Merge commit 'refs/pull/705/head' of github.com:znc/znc
2014-10-26 11:44:35 +00:00
J-P Nurmi
954f22ccc0
Disable insecure SSLv2 & SSLv3 protocols (ref #621 )
2014-10-26 11:58:33 +01:00
J-P Nurmi
9a8786377b
Update Csocket to aefa339
...
> Support ECDHE exchange if available in OpenSSL
> add openssl's fix for POODLE bug in server mode.
> Give Csocket consumers the ability to disable less desirable protocols
2014-10-26 11:53:18 +01:00