[freetds] packet type 0x12

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Thu Jan 26 08:03:20 EST 2006


> 
> > 
> > > The next few packets appear random in content.
> > >
> > 
> > Probably crypted.
> > 
> 
> Thanks. Using the server code, how should I respond to the 
> client's 0x12
> request to say 'no 0x12 thanks, just use 0x10'? Currently I send an
> error packet but the client (query analyser 2000) then falls back to
> 4.2, which I don't want.
> 

Still from 

http://cvs.sourceforge.net/viewcvs.py/*checkout*/freetds/freetds/doc/tds
_ssl.html?rev=1.5

0x02, no certificate, no encryption required just do normal jobs

So a reply like

0000 04 01 00 25 00 00 01 00-00 00 15 00 06 01 00 1b ...%.... ........
0010 00 01 02 00 1c 00 01 03-00 1d 00 00 ff 08 00 02 ........ ........
0020 f8 00 00 02 00                                  .....

will do the job

freddy77


More information about the FreeTDS mailing list