wraith.git
3 years agoMerge branch 'cleanse-hash' v1.2.16
Bryan Drewery [Sat, 16 May 2009 14:13:16 +0000] 
Merge branch 'cleanse-hash'

* cleanse-hash:
  * Add some more OPENSSL_cleanse() calls

3 years ago* Add some more OPENSSL_cleanse() calls
Bryan Drewery [Fri, 15 May 2009 23:01:16 +0000] 
* Add some more OPENSSL_cleanse() calls

3 years ago* Fix WHO params
Bryan Drewery [Sat, 16 May 2009 01:10:42 +0000] 
* Fix WHO params

This fixes WHO not sending the extended format on networks
which support it, for all WHO queries.

The patch was an idea from a similar patch to Eggdrop 1.6.20
by thommey.

3 years ago* Fixup some possible crashes
Bryan Drewery [Sat, 16 May 2009 00:55:16 +0000] 
* Fixup some possible crashes

3 years agoMerge branch 'cache-005'
Bryan Drewery [Thu, 14 May 2009 20:43:31 +0000] 
Merge branch 'cache-005'

* cache-005:
  * Fix cached_005 not being initialized
  * Only replay cache if it exists
  * Send VERSION if the 005 was not cached for some reason
  * Update doc to reflect that segfault has been fixed from missing 005 on restart (fixes #378)
  * Write cache out to socksfile and finish replaying
  * Fix cache on got005 to use 005
  * Replay server cache on restart
  * Cache with a nick of '.' since it is ignored and to prevent double msgs
  * Don't cache double msgs
  * Cache 005 into DP_CACHE
  * Add DP_CACHE for caching server information for use after restart

Conflicts:

doc/UPDATES

3 years ago* Revert doc change
Bryan Drewery [Tue, 12 May 2009 16:19:34 +0000] 
* Revert doc change

3 years agoMerge branch 'link-wrong-hub'
Bryan Drewery [Mon, 11 May 2009 20:45:44 +0000] 
Merge branch 'link-wrong-hub'

* link-wrong-hub:
  * Only check expected nick if provided
  * Fix bots linking to the wrong hub not giving a good reason why they failed in the log. (fixes #369)

Conflicts:

doc/UPDATES

3 years ago* Fix 'HQ' user getting wiped in -t mode resulting in a crash. (fixes #298)
Bryan Drewery [Mon, 11 May 2009 16:17:14 +0000] 
* Fix 'HQ' user getting wiped in -t mode resulting in a crash. (fixes #298)

The user is no longer booted after the user transfer. Instead, if it did
not exist on the remote side, it is re-added. This resolves the segfault
from not having a user entry.

This may seem to be a security risk, however, adding user 'HQ' with minimal
flags will mitigate this a little because then the linking bot will still
have its flags wiped, but retain a user. This is of course assuming the binary
has not been tampered with.

3 years ago* Only check expected nick if provided
Bryan Drewery [Sun, 10 May 2009 16:42:04 +0000] 
* Only check expected nick if provided

3 years ago* Fix bots linking to the wrong hub not giving a good reason why they failed in the...
Bryan Drewery [Sun, 10 May 2009 05:08:19 +0000] 
* Fix bots linking to the wrong hub not giving a good reason why they failed in the log. (fixes #369)

3 years ago* Fix cached_005 not being initialized
Bryan Drewery [Mon, 11 May 2009 00:36:41 +0000] 
* Fix cached_005 not being initialized

3 years ago* Only replay cache if it exists
Bryan Drewery [Mon, 11 May 2009 00:31:45 +0000] 
* Only replay cache if it exists

3 years ago* Send VERSION if the 005 was not cached for some reason
Bryan Drewery [Mon, 11 May 2009 00:28:02 +0000] 
* Send VERSION if the 005 was not cached for some reason

This is mainly needed for the upgrade from earlier versions.

3 years ago* Update doc to reflect that segfault has been fixed from missing 005 on restart...
Bryan Drewery [Sun, 10 May 2009 22:41:13 +0000] 
* Update doc to reflect that segfault has been fixed from missing 005 on restart (fixes #378)

3 years ago* Write cache out to socksfile and finish replaying
Bryan Drewery [Sun, 10 May 2009 22:29:40 +0000] 
* Write cache out to socksfile and finish replaying

Caching should not take place while the replay is occuring.
replaying_cache should be checked before calling dprintf(DP_CACHE)

3 years ago* Fix cache on got005 to use 005
Bryan Drewery [Sun, 10 May 2009 22:14:57 +0000] 
* Fix cache on got005 to use 005

3 years ago* Replay server cache on restart
Bryan Drewery [Sun, 10 May 2009 21:47:34 +0000] 
* Replay server cache on restart

3 years ago* Cache with a nick of '.' since it is ignored and to prevent double msgs
Bryan Drewery [Sun, 10 May 2009 16:52:54 +0000] 
* Cache with a nick of '.' since it is ignored and to prevent double msgs

3 years ago* Don't cache double msgs
Bryan Drewery [Sun, 10 May 2009 16:52:44 +0000] 
* Don't cache double msgs

3 years ago* Cache 005 into DP_CACHE
Bryan Drewery [Sun, 10 May 2009 16:48:11 +0000] 
* Cache 005 into DP_CACHE

3 years ago* Add DP_CACHE for caching server information for use after restart
Bryan Drewery [Sun, 10 May 2009 16:47:39 +0000] 
* Add DP_CACHE for caching server information for use after restart

3 years ago* Fix 'cmd_rehash' problems on hubs
Bryan Drewery [Sun, 10 May 2009 01:28:08 +0000] 
* Fix 'cmd_rehash' problems on hubs

3 years agoMerge branch 'increase-sizeof-version' v1.2.16-rc2
Bryan Drewery [Fri, 8 May 2009 23:27:22 +0000] 
Merge branch 'increase-sizeof-version'

* increase-sizeof-version:
  * Increase the sizeof the version buffers due to git returning long version identifiers for nightly builds

3 years ago* Increase the sizeof the version buffers due to git returning long version identifie...
Bryan Drewery [Fri, 8 May 2009 15:36:18 +0000] 
* Increase the sizeof the version buffers due to git returning long version identifiers for nightly builds

3 years agoMerge branch 'cleanse'
Bryan Drewery [Fri, 8 May 2009 23:22:45 +0000] 
Merge branch 'cleanse'

* cleanse:
  * Fix compile error
  * Call OPENSSL_cleanse() on a settings_t copy

3 years agoMerge branch 'obfuscate-salts'
Bryan Drewery [Fri, 8 May 2009 23:22:34 +0000] 
Merge branch 'obfuscate-salts'

* obfuscate-salts:
  * Cleanup SALTS usage to try and prevent them from being saved in memory

3 years agoMerge branch 'fix-rehash'
Bryan Drewery [Fri, 8 May 2009 23:21:55 +0000] 
Merge branch 'fix-rehash'

* fix-rehash:
  * Fix crash after doing conf_add (fixes #434)

3 years ago* Fix compile error
Bryan Drewery [Thu, 7 May 2009 16:13:55 +0000] 
* Fix compile error

3 years ago* Call OPENSSL_cleanse() on a settings_t copy
Bryan Drewery [Thu, 7 May 2009 00:03:26 +0000] 
* Call OPENSSL_cleanse() on a settings_t copy

3 years ago* Added telnet 'tcl expect' script in scripts/telnet.exp.
Bryan Drewery [Thu, 7 May 2009 04:17:18 +0000] 
* Added telnet 'tcl expect' script in scripts/telnet.exp.

Can be used for easier hub management over telnet from shell.
See file for more information.

3 years ago* Cleanup SALTS usage to try and prevent them from being saved in memory
Bryan Drewery [Mon, 4 May 2009 15:45:49 +0000] 
* Cleanup SALTS usage to try and prevent them from being saved in memory

3 years ago* Fix crash after doing conf_add (fixes #434)
Bryan Drewery [Wed, 6 May 2009 23:58:59 +0000] 
* Fix crash after doing conf_add (fixes #434)

3 years ago* Fix 'make distrib' not working properly on FreeBSD cp(1)
Bryan Drewery [Sun, 3 May 2009 14:31:22 +0000] 
* Fix 'make distrib' not working properly on FreeBSD cp(1)

3 years ago* Fix up some 'make distrib' issues
Bryan Drewery [Sat, 2 May 2009 14:48:23 +0000] 
* Fix up some 'make distrib' issues

3 years ago* Update efnet server list v1.2.16-rc1
Bryan Drewery [Sat, 2 May 2009 05:56:24 +0000] 
* Update efnet server list

3 years ago* Add .*.swp to ignores
Bryan Drewery [Sat, 2 May 2009 05:26:07 +0000] 
* Add .*.swp to ignores

3 years ago* Update doc/UPDATES to reflect the 1.2.15.1 release.
Bryan Drewery [Fri, 1 May 2009 23:34:33 +0000] 
* Update doc/UPDATES to reflect the 1.2.15.1 release.

3 years ago* Ignore .l-*
Bryan Drewery [Tue, 28 Apr 2009 13:33:35 +0000] 
* Ignore .l-*

3 years ago* Write all logs to .l-botnick when compiled in DEBUG mode
Bryan Drewery [Tue, 28 Apr 2009 03:07:36 +0000] 
* Write all logs to .l-botnick when compiled in DEBUG mode

3 years ago* Fix warning on debug compile
Bryan Drewery [Mon, 27 Apr 2009 04:42:41 +0000] 
* Fix warning on debug compile

3 years ago* Update docs
Bryan Drewery [Mon, 27 Apr 2009 00:17:43 +0000] 
* Update docs

3 years ago* Fix a compile warning about time_t
Bryan Drewery [Sun, 26 Apr 2009 01:50:24 +0000] 
* Fix a compile warning about time_t

3 years ago* Fix cmd_slowjoin not counting bots correctly. (fixes #431)
Bryan Drewery [Sat, 25 Apr 2009 17:11:35 +0000] 
* Fix cmd_slowjoin not counting bots correctly. (fixes #431)

3 years ago* Disable call to detect_offense (+f) as it's unfinished and causes segfaults. (fixes...
Bryan Drewery [Sun, 12 Apr 2009 16:27:17 +0000] 
* Disable call to detect_offense (+f) as it's unfinished and causes segfaults. (fixes #429)

3 years ago* Correct date that wraith started
Bryan Drewery [Sun, 12 Apr 2009 03:04:31 +0000] 
* Correct date that wraith started

3 years ago* Use git-describe to determine the version number.
Bryan Drewery [Sat, 10 Jan 2009 02:15:56 +0000] 
* Use git-describe to determine the version number.

If based on a release, the tag will be used auto.
Otherwise, the last tagged release and the number of commits
since then will be used.

3 years ago* Add non-standard '^' modifier for '%s' to print the string in CAPS
Bryan Drewery [Wed, 19 Nov 2008 19:16:01 +0000] 
* Add non-standard '^' modifier for '%s' to print the string in CAPS

3 years ago* Fix strlcpy() param misordering
Bryan Drewery [Sun, 16 Nov 2008 04:47:44 +0000] 
* Fix strlcpy() param misordering

3 years ago* Fix one of the 1.2.16 fixes showing under 1.2.15
Bryan Drewery [Fri, 14 Nov 2008 22:24:37 +0000] 
* Fix one of the 1.2.16 fixes showing under 1.2.15

3 years ago* Show connection time in cmd_(net|bot)server now.
Zachery Hostens [Fri, 14 Nov 2008 00:40:15 +0000] 
* Show connection time in cmd_(net|bot)server now.

3 years ago* Cleanup some more jupenick issues
Bryan Drewery [Wed, 12 Nov 2008 01:02:06 +0000] 
* Cleanup some more jupenick issues

Clarify that 437 is a temporary jupe.
Only show the RESV notice once, the first time it is detected to be juped.

3 years ago* Cleanup some old references to .svn and replace with .git
Bryan Drewery [Mon, 10 Nov 2008 22:27:04 +0000] 
* Cleanup some old references to .svn and replace with .git

3 years ago* Use the buildts and git commit in versioning / upgrading
Bryan Drewery [Mon, 10 Nov 2008 22:05:27 +0000] 
* Use the buildts and git commit in versioning / upgrading

Now using buildts again for determining if a bot should be upgraded.
Buildts is the UTC timestamp of the last change committed to a branch.
Now also appending the branch to all versions displayed in the bot.
Also showing the short commit in place of the old svn revision.
Updates offer svn rev 9999 for older bots.

3 years ago* Update README
Bryan Drewery [Mon, 10 Nov 2008 19:57:24 +0000] 
* Update README

3 years ago* Ignore ... in root directory
Bryan Drewery [Mon, 10 Nov 2008 16:34:50 +0000] 
* Ignore ... in root directory

3 years ago* Add *.o to .gitignores
Bryan Drewery [Sat, 8 Nov 2008 16:46:45 +0000] 
* Add *.o to .gitignores

3 years ago* Add .gitignores based on svn:ignore
Bryan Drewery [Thu, 6 Nov 2008 17:01:40 +0000] 
* Add .gitignores based on svn:ignore

3 years ago* Port [3986] to 1.2.16 from trunk
Bryan Drewery [Wed, 29 Oct 2008 20:57:38 +0000] 
* Port [3986] to 1.2.16 from trunk
 * Fixed bot dying off when it can't create a temporary file. (fixes #412)

svn: 3987

3 years ago* Make getrev.sh touch src/main.c if the revision has updated to force a recompile...
Bryan Drewery [Wed, 29 Oct 2008 04:38:38 +0000] 
* Make getrev.sh touch src/main.c if the revision has updated to force a recompile with new REVISION

svn: 3982

3 years ago* Port [3979] to 1.2.16 from trunk
Bryan Drewery [Wed, 29 Oct 2008 04:31:03 +0000] 
* Port [3979] to 1.2.16 from trunk
 * Fix bot asking for help into a channel they are +d or +k in

svn: 3980

3 years ago* Port [3977] to 1.2.16 from trunk
Bryan Drewery [Tue, 28 Oct 2008 03:07:35 +0000] 
* Port [3977] to 1.2.16 from trunk
 * Fix a socket leak from timed out userfile transfers.

svn: 3978

3 years ago* More use of OPENSSL_cleanse
Bryan Drewery [Mon, 27 Oct 2008 22:15:51 +0000] 
* More use of OPENSSL_cleanse

svn: 3975

3 years ago* Port [3972] and [3973] to 1.2.16 from trunk
Bryan Drewery [Mon, 27 Oct 2008 21:16:02 +0000] 
* Port [3972] and [3973] to 1.2.16 from trunk
 * Cleanup new use of bsearch()

svn: 3974

3 years agosvn: 3969
Bryan Drewery [Mon, 27 Oct 2008 02:43:48 +0000] 
svn: 3969

3 years ago* ifdef out some DEBUG code
Bryan Drewery [Mon, 27 Oct 2008 02:33:13 +0000] 
* ifdef out some DEBUG code

svn: 3967

3 years ago* Port [3961] to 1.2.16 from trunk
Bryan Drewery [Sun, 26 Oct 2008 06:21:05 +0000] 
* Port [3961] to 1.2.16 from trunk
 * Make cmd_clearhosts more effecient on sharing/botlink

svn: 3962

3 years ago* Port [3959] to 1.2.16 from trunk
Bryan Drewery [Sun, 26 Oct 2008 03:13:14 +0000] 
* Port [3959] to 1.2.16 from trunk
 * Fix more bugs from jupenick changes

svn: 3960

3 years ago* Port [3957] to 1.2.16 from trunk
Bryan Drewery [Sun, 26 Oct 2008 01:45:08 +0000] 
* Port [3957] to 1.2.16 from trunk
 * Fix more jupenick bugs

svn: 3958

3 years ago* Port [3955] to 1.2.16 from trunkl
Bryan Drewery [Sat, 25 Oct 2008 15:36:21 +0000] 
* Port [3955] to 1.2.16 from trunkl
 * Fix ISON not working on some ircds.

svn: 3956

3 years ago* Fix misc help text
Bryan Drewery [Sat, 25 Oct 2008 14:32:26 +0000] 
* Fix misc help text

svn: 3954

3 years ago* Port [3951] to 1.2.16 from trunk
Bryan Drewery [Sat, 25 Oct 2008 05:36:54 +0000] 
* Port [3951] to 1.2.16 from trunk
 * Make setting -|+(userbans/userexempts/userinvites) actually make the bot respond
 * Make bot recheck bans/exempts/invites on -take
 * Make bot do a lot less irrelevant stuff when set +take and getting opped in a channel
 * Dont check bans/exempts/invites on channels where bot is alone

svn: 3952

3 years ago* Indenting
Bryan Drewery [Sat, 25 Oct 2008 03:49:13 +0000] 
* Indenting

svn: 3950

3 years ago* Port [3947] to 1.2.16 from trunk
Bryan Drewery [Fri, 24 Oct 2008 03:00:05 +0000] 
* Port [3947] to 1.2.16 from trunk
 * Fix a segfault on '.set -list X -'

svn: 3948

3 years ago* Port [3945] to 1.2.16 from trunk
Bryan Drewery [Thu, 23 Oct 2008 21:45:46 +0000] 
* Port [3945] to 1.2.16 from trunk
 * Fix restart making bot forget its jupenick settings

svn: 3946

3 years ago* Port [3943] to 1.2.16 from trunk
Bryan Drewery [Thu, 23 Oct 2008 20:26:36 +0000] 
* Port [3943] to 1.2.16 from trunk
 * Fix issues from new jupenick code (address #421)

svn: 3944

3 years ago* Port [3941] to 1.2.16 from trunk
Bryan Drewery [Thu, 23 Oct 2008 14:27:48 +0000] 
* Port [3941] to 1.2.16 from trunk
 * Cleanup a buffer overflow in .mmode
 * Make mass_mode use similar bursting as +take

svn: 3942

3 years ago* Port [3938] to 1.2.16 from trunk
Bryan Drewery [Mon, 20 Oct 2008 20:25:38 +0000] 
* Port [3938] to 1.2.16 from trunk
 * Optimize and fix some string parsing

svn: 3939

3 years ago* Port [3936] to 1.2.16 from trunk
Bryan Drewery [Sat, 18 Oct 2008 01:27:35 +0000] 
* Port [3936] to 1.2.16 from trunk
 * Fix /ctcp FINGER leaking shell username when using oidentd

svn: 3937

3 years ago* Port [3934] to 1.2.16
Bryan Drewery [Fri, 17 Oct 2008 16:22:42 +0000] 
* Port [3934] to 1.2.16
 * Update efnet server list and add new alias 'bs' for botset. (To get new defaults: 'set -YES servers -' and 'set -YES alias -')

svn: 3935

3 years ago* Fix a segfault in the settings handling code. (Could create very random looking...
Bryan Drewery [Fri, 17 Oct 2008 00:10:15 +0000] 
* Fix a segfault in the settings handling code. (Could create very random looking segfaults)

svn: 3932

3 years ago* Port [3930] to 1.2.16 from trunk
Bryan Drewery [Thu, 16 Oct 2008 18:53:00 +0000] 
* Port [3930] to 1.2.16 from trunk
 * Fix bug introduced in [3896]: using wrong size for constructing chaninfo output of flags

svn: 3931

3 years ago* Fix timezone issues in getts/getdate
Bryan Drewery [Thu, 16 Oct 2008 18:27:16 +0000] 
* Fix timezone issues in getts/getdate

svn: 3928

3 years ago* Port [3926] to 1.2.16 from trunk
Bryan Drewery [Thu, 16 Oct 2008 00:34:12 +0000] 
* Port [3926] to 1.2.16 from trunk
 * Remove references to old nick

svn: 3927

3 years ago* Port [3924] to 1.2.16 from trunk
Bryan Drewery [Wed, 15 Oct 2008 21:02:09 +0000] 
* Port [3924] to 1.2.16 from trunk
 * Bans are now only retrieved from server after being opped. (addresses #406)

svn: 3925

3 years ago* Port [3921] to 1.2.16 from trunk
Bryan Drewery [Wed, 15 Oct 2008 18:25:42 +0000] 
* Port [3921] to 1.2.16 from trunk
 * Fix more places where strings are possibly not properly null-terminated

svn: 3922

3 years ago* Port [3919] to 1.2.16 from trunk
Bryan Drewery [Wed, 15 Oct 2008 18:13:40 +0000] 
* Port [3919] to 1.2.16 from trunk
 * Fixed cmd_handle not properly bounds checking max handlen. (fixes #305)

svn: 3920

3 years ago* Port [3917] to 1.2.16 from trunk
Bryan Drewery [Wed, 15 Oct 2008 17:25:02 +0000] 
* Port [3917] to 1.2.16 from trunk
 * Add some sanity checks in for where remote cmds come from (.(bot|net)*)

svn: 3918

3 years ago* Fix spacing error from jupenick change
Bryan Drewery [Wed, 15 Oct 2008 17:19:24 +0000] 
* Fix spacing error from jupenick change

svn: 3916

3 years ago* Port [3913] to 1.2.16 from trunk
Bryan Drewery [Wed, 15 Oct 2008 16:34:11 +0000] 
* Port [3913] to 1.2.16 from trunk
 * Fixed bots getting confused about their hub/uplink after userfile transfer fails (fixes #61)

svn: 3914

3 years ago* Port [3911] to 1.2.16 from trunk
Bryan Drewery [Wed, 15 Oct 2008 15:22:25 +0000] 
* Port [3911] to 1.2.16 from trunk
 * Fix a rare segfault when timing out userfile connections

svn: 3912

3 years ago* Update UPDATES to reflect that the buffer overflow fixes in #261 made it into 1...
Bryan Drewery [Tue, 14 Oct 2008 19:52:47 +0000] 
* Update UPDATES to reflect that the buffer overflow fixes in #261 made it into 1.2.16

svn: 3910

3 years ago* Port [3907] to 1.2.16 from trunk
Bryan Drewery [Tue, 14 Oct 2008 19:41:06 +0000] 
* Port [3907] to 1.2.16 from trunk
 * Fixed bug where salts were not written to binary when first generating them

svn: 3908

3 years ago* Port [3904] to 1.2.16 from trunk
Bryan Drewery [Tue, 14 Oct 2008 18:25:48 +0000] 
* Port [3904] to 1.2.16 from trunk
 * Add 'link_cleartext' to allow disabling ability for bots to link in without encryption

svn: 3905

3 years ago* Fix nick not being dislayed right when in use on connect for some servers
Bryan Drewery [Mon, 13 Oct 2008 13:34:34 +0000] 
* Fix nick not being dislayed right when in use on connect for some servers

svn: 3902

3 years ago* Port [3899] to 1.2.16 from trunk
Bryan Drewery [Sat, 11 Oct 2008 23:17:46 +0000] 
* Port [3899] to 1.2.16 from trunk
 * Cleanup 64-bit warnings/errors

svn: 3900

3 years ago* Add 'z' support to simple_sprintf
Bryan Drewery [Sat, 11 Oct 2008 23:07:02 +0000] 
* Add 'z' support to simple_sprintf

svn: 3898

3 years ago* Cleanup more bounds checking via: strlcat, strlcpy, snprintf
Bryan Drewery [Fri, 10 Oct 2008 14:43:35 +0000] 
* Cleanup more bounds checking via: strlcat, strlcpy, snprintf
* Remove some redundant time code

svn: 3895

3 years ago* Implement %u %lu %ld %x %X %lx %lX in simple_snprintf
Bryan Drewery [Fri, 10 Oct 2008 03:16:24 +0000] 
* Implement %u %lu %ld %x %X %lx %lX in simple_snprintf

svn: 3893

3 years ago* Check size of some types, size_t, ptrdiff_t, time_t
Bryan Drewery [Fri, 10 Oct 2008 03:13:08 +0000] 
* Check size of some types, size_t, ptrdiff_t, time_t

svn: 3891

3 years ago* Update logo
Bryan Drewery [Fri, 10 Oct 2008 02:10:17 +0000] 
* Update logo
* Update LICENSE
* Update cmd_about
* Update CREDITS

svn: 3889