iDevice GnuTLS issue with iOS 4.2 - libimobiledevice

Jeffrey Walton noloader at
Wed Nov 24 06:50:04 CET 2010

On Tue, Nov 23, 2010 at 4:44 AM, Nikos Mavrogiannopoulos
<nmav at> wrote:
> On Tue, Nov 23, 2010 at 10:29 AM, Jeffrey Walton <noloader at> wrote:
>>> I'd suggest that you use the priority_set_direct() function. Check the examples
>>> in the gnutls documentation for details. Does gnutls-cli work on the server you
>>> are connecting? What is the output of gnutls-cli-debug?
>> An FYI.... I have not been able to get the examples* to work. I've
>> tried connecting to my Windows 2003/IIS 6 machine, and Simon's host at
>> Usually, gnutls_handshake() fails with one of the following (I do a
>> lot of knob turning on failures). In all cases,
>> gnutls_error_is_fatal() is true.
> Which client example did you try?
First example - anonymous client authentication at [1]. I attached my
test code for convenience.

Here are the results on three different servers: GNUTLS_E_FATAL_ALERT_RECEIVED
my tests server (Windows 2003/IIS 6): GNUTLS_E_UNEXPECTED_PACKET_LENGTH

I suspect is Server 2008 (nmap -O -v returns "No OS matches for host").

> Could it be a windows issue (examples are written for posix)?
Working on Ubuntu.

> You can check with wireshark the conversation to check if
> there is some communication issue.
OK. I'll get it fired up soon.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnutls-test.c
Type: text/x-csrc
Size: 6453 bytes
Desc: not available
URL: </pipermail/attachments/20101124/2eeb6958/attachment.c>

More information about the Gnutls-devel mailing list