freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Pawel <pzlist AT mp.pl>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] force security by sql server
- Date: Mon, 28 Sep 2009 17:39:22 +0200
Frediano Ziglio wrote:
2009/9/18 Pawel <pzlist AT mp.pl>:It works !
Frediano Ziglio wrote:<CIACH>
I found the problem. Here you are the patch (already in CVS HEAD and
post 0.82 patch at freetds.sf.net):
Index: src/tds/login.c
===================================================================
RCS file: /cvs/freetds/freetds/src/tds/login.c,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- src/tds/login.c 25 Aug 2009 14:25:35 -0000 1.188
+++ src/tds/login.c 28 Sep 2009 14:07:04 -0000 1.189
@@ -976,6 +976,13 @@
assert(start_pos >= 21 && start_pos <= sizeof(buf));
assert(buf[start_pos-1] == 0xff);
+ /*
+ * fix a problem with mssql2k which doesn't like
+ * packet splitted during SSL handshake
+ */
+ if (tds->env.block_size < 4096)
+ tds_realloc_socket(tds, 4096);
+
/* do prelogin */
tds->out_flag = TDS8_PRELOGIN;
It seems that mssql2k doesn't like splitted packet :(
freddy77
Thanks a lot for fast fix
Pawel Z
-
[freetds] force security by sql server,
Pawel, 09/17/2009
-
Re: [freetds] force security by sql server,
Frediano Ziglio, 09/18/2009
-
Re: [freetds] force security by sql server,
Pawel, 09/18/2009
- Re: [freetds] force security by sql server, Frediano Ziglio, 09/22/2009
-
Re: [freetds] force security by sql server,
Frediano Ziglio, 09/28/2009
- Re: [freetds] force security by sql server, Pawel, 09/28/2009
-
Re: [freetds] force security by sql server,
Pawel, 09/18/2009
-
Re: [freetds] force security by sql server,
Frediano Ziglio, 09/18/2009
Archive powered by MHonArc 2.6.24.