silc.git
15 years agoFixed silc_parse_userfqdn argument check silc.server.1.1.10
Pekka Riikonen [Sun, 22 Jun 2008 08:04:37 +0000 (11:04 +0300)]
Fixed silc_parse_userfqdn argument check

15 years agoMake sure client entry is not expired more than once
Pekka Riikonen [Sun, 22 Jun 2008 08:03:58 +0000 (11:03 +0300)]
Make sure client entry is not expired more than once

15 years agoClose socket if TCP connecting fails to avoid leaking sockets silc.server.1.1.9
Pekka Riikonen [Mon, 9 Jun 2008 05:26:01 +0000 (08:26 +0300)]
Close socket if TCP connecting fails to avoid leaking sockets

15 years agoAdd non-executing stack when compiling AES asm for GNU/ELF.
Pekka Riikonen [Mon, 9 Jun 2008 05:18:33 +0000 (08:18 +0300)]
Add non-executing stack when compiling AES asm for GNU/ELF.

Patch by Kp <kp@valhallalegends.com>bg

Signed-off-by: Pekka Riikonen <priikone@silcnet.org>
15 years agoFixed automatic reconnection to router and malloc failure handlings
Pekka Riikonen [Mon, 9 Jun 2008 05:11:20 +0000 (08:11 +0300)]
Fixed automatic reconnection to router and malloc failure handlings

If remote router disconnects while still being in Unkonwn state reconnect
to the router after disconnecting.  This should prevent the bugs where
server doesn't reconnect to router after being disconnected at the early
connection state.

Fixed various memory allocation failure handlings.

15 years agoFree sock user data before disconnecting remote peer
Pekka Riikonen [Fri, 6 Jun 2008 05:26:04 +0000 (08:26 +0300)]
Free sock user data before disconnecting remote peer

15 years agoMore disconnection crash fixes. silc.server.1.1.8
Pekka Riikonen [Thu, 5 Jun 2008 18:37:14 +0000 (21:37 +0300)]
More disconnection crash fixes.

Make sure the server conncection is always freed when the connection
is freed.

15 years agoHandle memory allocation failures when unformatting data silc.server.1.1.7
Pekka Riikonen [Sun, 25 May 2008 09:25:04 +0000 (12:25 +0300)]
Handle memory allocation failures when unformatting data

15 years agoAdd non-executing stack when compiling AES asm for GNU/ELF.
Pekka Riikonen [Sun, 25 May 2008 09:24:41 +0000 (12:24 +0300)]
Add non-executing stack when compiling AES asm for GNU/ELF.

Patch by Kp <kp@valhallalegends.com>

Signed-off-by: Pekka Riikonen <priikone@silcnet.org>
15 years agoFixed crash when packet stream creation fails.
Pekka Riikonen [Sun, 25 May 2008 09:23:17 +0000 (12:23 +0300)]
Fixed crash when packet stream creation fails.

15 years agoFixes to connection freeing crashes
Pekka Riikonen [Sun, 25 May 2008 09:22:33 +0000 (12:22 +0300)]
Fixes to connection freeing crashes

16 years agoCancel rekey timeout when closing connection. silc.server.1.1.6
Pekka Riikonen [Sun, 20 Apr 2008 19:53:47 +0000 (22:53 +0300)]
Cancel rekey timeout when closing connection.

16 years agoFixed KILL command related crash in silcd silc.server.1.1.5
Pekka Riikonen [Sun, 20 Apr 2008 15:54:53 +0000 (18:54 +0300)]
Fixed KILL command related crash in silcd

16 years agoFree connection data correctly when disconnecting the remote peer.
Pekka Riikonen [Thu, 17 Apr 2008 16:08:42 +0000 (19:08 +0300)]
Free connection data correctly when disconnecting the remote peer.

The silc_server_free_sock_user_data must be called if the
silc_server_disconnect_remote is called.

16 years agoFixed many 64-bit alignment issues from silcd. silc.server.1.1.4
Pekka Riikonen [Wed, 16 Apr 2008 12:53:18 +0000 (15:53 +0300)]
Fixed many 64-bit alignment issues from silcd.

16 years agoCheck for valid packet stream when counting number of connections in silcd. silc.server.1.1.3
Pekka Riikonen [Sat, 12 Apr 2008 10:51:42 +0000 (13:51 +0300)]
Check for valid packet stream when counting number of connections in silcd.

16 years agoSILC_IS_FD_STREAM and SILC_IS_SOCKET_STREAM now checks for NULL stream.
Pekka Riikonen [Sat, 12 Apr 2008 10:51:06 +0000 (13:51 +0300)]
SILC_IS_FD_STREAM and SILC_IS_SOCKET_STREAM now checks for NULL stream.

16 years agoFixed silc_skr_init to not fail if threads support are not compiled in.
Pekka Riikonen [Sat, 12 Apr 2008 10:50:39 +0000 (13:50 +0300)]
Fixed silc_skr_init to not fail if threads support are not compiled in.

16 years agoRemoved wrong SILC_LOG_ERROR and assert check from silc_idcache_add.
Pekka Riikonen [Sat, 12 Apr 2008 10:50:09 +0000 (13:50 +0300)]
Removed wrong SILC_LOG_ERROR and assert check from silc_idcache_add.

In some cases it is not fatal error to attempt to add entry that already
exists.  Removed the assert and changed the error to debug message.

16 years agoCompute packet sums using sha512sum.
Pekka Riikonen [Thu, 10 Apr 2008 15:04:11 +0000 (18:04 +0300)]
Compute packet sums using sha512sum.

16 years agoMark scheduler task unscheduled after silc_schedule_unset_listen_fd.
Pekka Riikonen [Thu, 10 Apr 2008 15:03:46 +0000 (18:03 +0300)]
Mark scheduler task unscheduled after silc_schedule_unset_listen_fd.

Affects epoll() version of schduler.  If it isn't marked unscheduled
next time fd's events are changed they expect the fd to be in epoll()
which they are not.  Setting unscheduled will add them again to epoll().

16 years agoFixed QoS data limit handling in socket stream when reading data.
Pekka Riikonen [Thu, 10 Apr 2008 15:01:35 +0000 (18:01 +0300)]
Fixed QoS data limit handling in socket stream when reading data.

16 years agoFixed packet stream destroy crashes when closing connections.
Pekka Riikonen [Thu, 10 Apr 2008 14:59:59 +0000 (17:59 +0300)]
Fixed packet stream destroy crashes when closing connections.

Take a reference of the packet stream and then destroy it.  The final
reference is freed in the timeout callback.  Any operation in the mean
time will detect the stream is destroyed and won't do anything.

16 years agoAccept 0600 and 0640 for server private key permissions.
Pekka Riikonen [Tue, 8 Apr 2008 05:01:19 +0000 (08:01 +0300)]
Accept 0600 and 0640 for server private key permissions.

16 years agoFixed busy-loop in WATCH command when adding public keys.
Pekka Riikonen [Tue, 8 Apr 2008 05:00:40 +0000 (08:00 +0300)]
Fixed busy-loop in WATCH command when adding public keys.

If the public key decoding failed the command ended up
decoding and failing the same public key for ever.

16 years agoFixed possible buffer overflow in PKCS#1 message decoding. silc.client.1.1.4 silc.server.1.1.2 silc.toolkit.1.1.7
Pekka Riikonen [Thu, 20 Mar 2008 06:35:48 +0000 (08:35 +0200)]
Fixed possible buffer overflow in PKCS#1 message decoding.

Vulnerability reported by Core Security Technologies.  Thanks.

16 years ago Fixed NEW_CLIENT packet processing crash when the packet doesn't silc.server.1.1.1
Pekka Riikonen [Thu, 13 Mar 2008 11:52:15 +0000 (11:52 +0000)]
Fixed NEW_CLIENT packet processing crash when the packet doesn't
include nickname.

16 years ago Fixed partial encryption in CTR mode. Does not affect interop silc.toolkit.1.1.6
Pekka Riikonen [Fri, 22 Feb 2008 14:29:58 +0000 (14:29 +0000)]
Fixed partial encryption in CTR mode.   Does not affect interop
in SILC.

16 years ago Fixed fingerprint generation. RedHat bug 372021.
Pekka Riikonen [Tue, 8 Jan 2008 07:48:42 +0000 (07:48 +0000)]
Fixed fingerprint generation.  RedHat bug 372021.

16 years ago Fixed unix signal delivery.
Pekka Riikonen [Sun, 30 Dec 2007 12:04:27 +0000 (12:04 +0000)]
Fixed unix signal delivery.

16 years ago updates.
Pekka Riikonen [Sat, 22 Dec 2007 07:15:09 +0000 (07:15 +0000)]
updates.

16 years ago updates.
Pekka Riikonen [Sun, 18 Nov 2007 15:52:45 +0000 (15:52 +0000)]
updates.

16 years agoSun Nov 18 16:43:04 CET 2007 Jochen Eisinger <coffee@silcnet.org>
Jochen Eisinger [Sun, 18 Nov 2007 15:44:17 +0000 (15:44 +0000)]
Sun Nov 18 16:43:04 CET 2007  Jochen Eisinger <coffee@silcnet.org>

* Add -avoid-version and -rpath flags when compiling the plugin.
  Affected file is apps/irssi/src/fe-common/silc/Makefile.in

16 years ago updates. silc.server.1.1
Pekka Riikonen [Sun, 18 Nov 2007 12:37:06 +0000 (12:37 +0000)]
updates.

16 years ago new keys.
Pekka Riikonen [Sun, 18 Nov 2007 09:50:18 +0000 (09:50 +0000)]
new keys.

16 years ago Added spec file.
Pekka Riikonen [Sun, 18 Nov 2007 09:48:43 +0000 (09:48 +0000)]
Added spec file.

16 years ago Remove channel keys and hamcs after LEAVE command.
Pekka Riikonen [Thu, 15 Nov 2007 16:32:32 +0000 (16:32 +0000)]
Remove channel keys and hamcs after LEAVE command.

16 years ago Reprocess JOIN command synchronously after resolving channel
Pekka Riikonen [Thu, 15 Nov 2007 16:09:26 +0000 (16:09 +0000)]
     Reprocess JOIN command synchronously after resolving channel
         user list.  In JOIN command reply check if the channel key is already
         saved.  If it is we have received new key from server while
         resolving user and must not save the old key.

16 years ago Added missing channel entry unreferencing calls.
Pekka Riikonen [Tue, 13 Nov 2007 16:36:05 +0000 (16:36 +0000)]
Added missing channel entry unreferencing calls.

16 years ago Free stream data always in eod of stream. Added some debugs too.
Pekka Riikonen [Sun, 11 Nov 2007 21:09:35 +0000 (21:09 +0000)]
Free stream data always in eod of stream.  Added some debugs too.

16 years ago updates. silc.server.1.1.beta.4
Pekka Riikonen [Sun, 11 Nov 2007 14:06:14 +0000 (14:06 +0000)]
updates.

16 years ago updates. silc.toolkit.1.1.5
Pekka Riikonen [Sun, 11 Nov 2007 12:19:46 +0000 (12:19 +0000)]
updates.

16 years ago Accept RESUME_CLIENT with and without source id in packet.
Pekka Riikonen [Sun, 11 Nov 2007 12:12:23 +0000 (12:12 +0000)]
Accept RESUME_CLIENT with and without source id in packet.

16 years ago Check for NULL public key from SKE.
Pekka Riikonen [Sun, 11 Nov 2007 11:30:04 +0000 (11:30 +0000)]
Check for NULL public key from SKE.

16 years ago updates.
Pekka Riikonen [Sun, 11 Nov 2007 11:26:01 +0000 (11:26 +0000)]
updates.

16 years ago Fixed client resuming.
Pekka Riikonen [Sun, 11 Nov 2007 11:25:44 +0000 (11:25 +0000)]
Fixed client resuming.
Fixed prefer_passphrase_auth flag.
Fixed disconnection of unauthenticated connection.
Fixed OPER an SILCOPER public key authenticationn.

16 years ago Fixed client entry updating in IDENTIFY and WHOWAS replies.
Pekka Riikonen [Sun, 11 Nov 2007 11:22:58 +0000 (11:22 +0000)]
Fixed client entry updating in IDENTIFY and WHOWAS replies.

16 years ago Fixed public key authentication. Mark public keys configured.
Pekka Riikonen [Sun, 11 Nov 2007 11:20:21 +0000 (11:20 +0000)]
Fixed public key authentication.  Mark public keys configured.

16 years ago Use correct public key in public key auth as responder.
Pekka Riikonen [Sun, 11 Nov 2007 11:19:40 +0000 (11:19 +0000)]
Use correct public key in public key auth as responder.

16 years ago Added debugs.
Pekka Riikonen [Sun, 11 Nov 2007 11:19:02 +0000 (11:19 +0000)]
Added debugs.

16 years ago variable name clash fix. silc.client.1.1.3
Pekka Riikonen [Tue, 6 Nov 2007 14:46:22 +0000 (14:46 +0000)]
variable name clash fix.

16 years ago updates.
Pekka Riikonen [Tue, 6 Nov 2007 14:42:47 +0000 (14:42 +0000)]
updates.

16 years ago Zero tail of CTR mode IV in IV Included mode.
Pekka Riikonen [Mon, 5 Nov 2007 21:12:55 +0000 (21:12 +0000)]
Zero tail of CTR mode IV in IV Included mode.

16 years ago Fixed CTR rekey. Rewrote IV Included CTR mode encryption/decryption silc.toolkit.1.1.4
Pekka Riikonen [Mon, 5 Nov 2007 20:34:55 +0000 (20:34 +0000)]
Fixed CTR rekey.  Rewrote IV Included CTR mode encryption/decryption
in packet engine.

16 years ago updates.
Pekka Riikonen [Mon, 5 Nov 2007 20:34:21 +0000 (20:34 +0000)]
updates.

16 years ago updates.
Pekka Riikonen [Sun, 4 Nov 2007 21:04:49 +0000 (21:04 +0000)]
updates.

16 years ago non-IPv6 compilation error fixes.
Pekka Riikonen [Sun, 4 Nov 2007 14:18:04 +0000 (14:18 +0000)]
non-IPv6 compilation error fixes.

16 years ago Removed module_path and module options.
Pekka Riikonen [Sun, 4 Nov 2007 14:17:24 +0000 (14:17 +0000)]
Removed module_path and module options.

16 years ago updates. silc.server.1.1.beta.2
Pekka Riikonen [Sun, 4 Nov 2007 09:20:37 +0000 (09:20 +0000)]
updates.

16 years ago SILC_DIST_VCARD changes.
Pekka Riikonen [Sun, 4 Nov 2007 09:20:20 +0000 (09:20 +0000)]
SILC_DIST_VCARD changes.

16 years ago Set correct ID for message payload encrypting.
Pekka Riikonen [Sat, 3 Nov 2007 22:14:53 +0000 (22:14 +0000)]
Set correct ID for message payload encrypting.

16 years ago New silcd configuration changes
Pekka Riikonen [Sat, 3 Nov 2007 21:27:30 +0000 (21:27 +0000)]
New silcd configuration changes

16 years ago updates.
Pekka Riikonen [Sat, 3 Nov 2007 21:27:02 +0000 (21:27 +0000)]
updates.

16 years ago Added debugs.
Pekka Riikonen [Sat, 3 Nov 2007 21:25:45 +0000 (21:25 +0000)]
Added debugs.

16 years ago Fixed channel private key freeing.
Pekka Riikonen [Sat, 3 Nov 2007 21:25:26 +0000 (21:25 +0000)]
Fixed channel private key freeing.

16 years ago Do not free packet engine before uninitializing scheduler.
Pekka Riikonen [Sat, 3 Nov 2007 21:24:13 +0000 (21:24 +0000)]
Do not free packet engine before uninitializing scheduler.
Do not disconnct already disconnected streams.

16 years ago 64-bit Windows fixes. Patch from Skywing.
Pekka Riikonen [Sun, 28 Oct 2007 15:21:00 +0000 (15:21 +0000)]
64-bit Windows fixes.  Patch from Skywing.

16 years ago SILC_LIBS -> SILC_LINK_LIBS.
Pekka Riikonen [Sat, 27 Oct 2007 09:12:10 +0000 (09:12 +0000)]
SILC_LIBS -> SILC_LINK_LIBS.

16 years ago Fixed yasm configuration.
Pekka Riikonen [Sat, 6 Oct 2007 17:03:38 +0000 (17:03 +0000)]
Fixed yasm configuration.

16 years ago bool -> SilcBool.
Pekka Riikonen [Thu, 20 Sep 2007 05:13:42 +0000 (05:13 +0000)]
bool -> SilcBool.

16 years ago Fixed yasm/nasm compilation on x86_64.
Pekka Riikonen [Sat, 15 Sep 2007 07:07:46 +0000 (07:07 +0000)]
Fixed yasm/nasm compilation on x86_64.

16 years ago updates.
Pekka Riikonen [Sun, 9 Sep 2007 15:32:28 +0000 (15:32 +0000)]
updates.

16 years ago Fixed possible buffer overflows. Patch by Jérémy Bobbio. silc.toolkit.1.1.3
Pekka Riikonen [Sun, 9 Sep 2007 15:04:15 +0000 (15:04 +0000)]
Fixed possible buffer overflows.  Patch by Jérémy Bobbio.

16 years ago updates.
Pekka Riikonen [Sun, 9 Sep 2007 15:00:06 +0000 (15:00 +0000)]
updates.

16 years ago mingw compilation fixes, patch by Daniel Atallah.
Pekka Riikonen [Sat, 1 Sep 2007 10:46:56 +0000 (10:46 +0000)]
mingw compilation fixes, patch by Daniel Atallah.

16 years ago Fixed JOIN notify timeout handling, fixes a crash.
Pekka Riikonen [Sat, 1 Sep 2007 08:52:01 +0000 (08:52 +0000)]
Fixed JOIN notify timeout handling, fixes a crash.

16 years ago Both UN and HN must be present in SILC public key.
Pekka Riikonen [Sat, 1 Sep 2007 08:51:43 +0000 (08:51 +0000)]
Both UN and HN must be present in SILC public key.

16 years ago Fixed format string.
Pekka Riikonen [Tue, 7 Aug 2007 18:15:35 +0000 (18:15 +0000)]
Fixed format string.

16 years ago Fixed alignment issues on 64-bit CPUs.
Pekka Riikonen [Tue, 7 Aug 2007 18:15:19 +0000 (18:15 +0000)]
Fixed alignment issues on 64-bit CPUs.

16 years ago udpates.
Pekka Riikonen [Sat, 4 Aug 2007 15:48:46 +0000 (15:48 +0000)]
udpates.

16 years ago Fixed USERS user mode handling (integer overflow).
Pekka Riikonen [Sat, 4 Aug 2007 15:48:02 +0000 (15:48 +0000)]
Fixed USERS user mode handling (integer overflow).

16 years ago updates.
Pekka Riikonen [Sat, 28 Jul 2007 16:22:03 +0000 (16:22 +0000)]
updates.

16 years ago updates.
Pekka Riikonen [Thu, 19 Jul 2007 18:24:13 +0000 (18:24 +0000)]
updates.

16 years ago Fixed compilation on IA64. Patch from Jérémy Bobbio
Pekka Riikonen [Thu, 19 Jul 2007 18:24:05 +0000 (18:24 +0000)]
Fixed compilation on IA64.  Patch from Jérémy Bobbio

16 years ago Check lengths correctly.
Pekka Riikonen [Thu, 19 Jul 2007 18:22:42 +0000 (18:22 +0000)]
Check lengths correctly.

16 years ago Added missing big-endian support.
Pekka Riikonen [Thu, 19 Jul 2007 18:21:55 +0000 (18:21 +0000)]
Added missing big-endian support.

16 years ago updates. silc.toolkit.1.1.2
Pekka Riikonen [Wed, 4 Jul 2007 05:20:40 +0000 (05:20 +0000)]
updates.

16 years ago updates. silc.client.1.1.2
Pekka Riikonen [Wed, 4 Jul 2007 05:11:49 +0000 (05:11 +0000)]
updates.

16 years ago Fixed NICK_CHANGE buffer overflow
Pekka Riikonen [Mon, 2 Jul 2007 13:34:01 +0000 (13:34 +0000)]
Fixed NICK_CHANGE buffer overflow

16 years ago Check for valid scheduler before trying to free it.
Pekka Riikonen [Mon, 2 Jul 2007 13:31:56 +0000 (13:31 +0000)]
Check for valid scheduler before trying to free it.

16 years ago updates. silc.trunk.merged.silc.1.1.branch.0
Pekka Riikonen [Sun, 1 Jul 2007 16:20:53 +0000 (16:20 +0000)]
updates.

16 years ago More Toolkit porint for SILC Server 1.1.
Pekka Riikonen [Sun, 1 Jul 2007 16:06:56 +0000 (16:06 +0000)]
More Toolkit porint for SILC Server 1.1.

16 years ago updates.
Pekka Riikonen [Sun, 1 Jul 2007 13:57:07 +0000 (13:57 +0000)]
updates.

16 years ago Fixed _LONG_PAD bitmask.
Pekka Riikonen [Sun, 1 Jul 2007 13:56:59 +0000 (13:56 +0000)]
Fixed _LONG_PAD bitmask.

16 years ago Better checks for malformed payload during parsing.
Pekka Riikonen [Sun, 1 Jul 2007 13:56:39 +0000 (13:56 +0000)]
Better checks for malformed payload during parsing.

16 years ago updates.
Pekka Riikonen [Sun, 1 Jul 2007 11:13:45 +0000 (11:13 +0000)]
updates.

16 years ago Added rekey with PFS support when using CTR encryption. The HASH
Pekka Riikonen [Sun, 1 Jul 2007 11:12:45 +0000 (11:12 +0000)]
Added rekey with PFS support when using CTR encryption.  The HASH
must be computed always.

16 years ago Allocate SKE correctly for rekey.
Pekka Riikonen [Sun, 1 Jul 2007 11:12:26 +0000 (11:12 +0000)]
Allocate SKE correctly for rekey.

16 years ago Added silc_idcache_move.
Pekka Riikonen [Sun, 1 Jul 2007 11:12:05 +0000 (11:12 +0000)]
Added silc_idcache_move.

16 years ago Handle also zero timeouts.
Pekka Riikonen [Sat, 30 Jun 2007 18:56:09 +0000 (18:56 +0000)]
Handle also zero timeouts.