Kevin Easton
99c5ec9872
Change arcfour example module to use ARC4CHAT instead of SCHAT as the DCC type
...
The SCHAT type is already used by some other clients for SSL CHAT. This example module doesn't work
yet anyway, so no-one can actually be using it.
2018-03-14 16:58:10 +11:00
Kevin Easton
5ae42802ec
Fix crash when unloading the arcfour module
...
Remove the empty Arcfour_Cleanup() function so that the default module cleanup can happen.
Define MODULE_NAME and use that when registering the module callbacks so that the default
module cleanup will remove them correctly.
2018-02-20 23:00:00 +11:00
Kevin Easton
61a926a766
Introduce a struct dcc_ops to contain all functions pointers for a custom DCC type
...
Modules now must pass a pointer to a struct dcc_ops when calling add_dcc_bind() instead of
a list of function pointers.
2018-02-08 22:39:49 +11:00
Kevin Easton
d15a738ee9
Don't limit dcc_schat_input to DCC_CHAT type (which is never true)
2018-01-06 21:20:48 +11:00
Kevin Easton
2c94010d65
Update arcfour example module to use exported dcc_chat_socketread() callback
...
This allows it to actually connect OK, but it's still nonfunctional at the moment.
2017-12-20 18:10:02 +11:00
Kevin Easton
642ab8829d
Fix up some type mismatch errors in the arcfour module
2015-09-07 17:12:04 +10:00
Kevin Easton
a05b1160c3
Change build to pass through CPPFLAGS if provided, and to use the DEFS value set by configure.
...
The DEFS Makefile variable has been renamed to CPPFLAGS, and is now set based on the CPPFLAGS,
INCLUDES and DEFS values provided by configure.
Reported by cpet, this allows the FreeBSD port to drop a patch.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@519 13b04d17-f746-0410-82c6-800466cd88b0
2014-11-01 14:37:41 +00:00
Kevin Easton
742887059d
arcfour: Zero the full size of the 'in' array.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@379 13b04d17-f746-0410-82c6-800466cd88b0
2013-10-06 13:18:22 +00:00
Tim Cava
b786c75e7a
Include string.h in arcfour's MD5 implementation, since it uses memset().
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@290 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-15 04:23:40 +00:00
Tim Cava
76528c6f38
arcfour:start_dcc_chat() The third argument to accept() should be a
...
socklen_t.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@266 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-13 21:53:24 +00:00
Tim Cava
ee35df3a41
Don't seed arcfour with uninitialized stack values when urandom can't be
...
opened, but fail instead. Fixes using uninitialized value warnings from
Coverity.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@263 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-09 07:06:43 +00:00
Tim Cava
e39eddbc04
Oops. Remove init_schat()'s forward declaration.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@262 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-09 06:54:57 +00:00
Tim Cava
ba8b5a67cb
Kill unused initialization code in arcfour.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@261 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-09 06:39:50 +00:00
Tim Cava
0e099fe064
Kill unused code in dcc_sdcc() and eliminate an unused pointer value
...
warning from Coverity.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@260 13b04d17-f746-0410-82c6-800466cd88b0
2013-07-08 04:42:46 +00:00
Kevin Easton
29a3747534
Fix sequence point issue in arcfour (S[x] = --x; is undefined).
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@228 13b04d17-f746-0410-82c6-800466cd88b0
2013-02-16 13:32:00 +00:00
Kevin Easton
69fd6e12c7
Change command used to install help files so that it ignores VCS directories.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@208 13b04d17-f746-0410-82c6-800466cd88b0
2012-06-17 23:22:55 +00:00
Kevin Easton
7ee26d4ed3
Change the install* targets in the Makefiles to honour DESTDIR. This
...
makes packaging the client for .deb and .rpm easier.
Reported separately by nyet and VICODAN.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@164 13b04d17-f746-0410-82c6-800466cd88b0
2012-05-08 14:34:25 +00:00
Kevin Easton
2f92982eac
Build script fix to allow plugins to build on x86-64.
...
$(SHLIB_CFLAGS) is required on the compile line, not just the link line.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@99 13b04d17-f746-0410-82c6-800466cd88b0
2010-09-09 01:08:14 +00:00
Kevin Easton
28febcfea9
Initial import of the ircii-pana-1.1-final source tree.
...
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
2008-02-25 09:25:32 +00:00