cURL / Mailing Lists / curl-library / Single Mail

curl-library

1. FTP cmd channel and data channel validation, 2. Cert chain for data channel

From: Mehmet Bozkurt <mehmet.bozkurt_at_xware.se>
Date: Tue, 14 Sep 2010 10:40:01 +0200

Hi!

1. Does libcurl perform any sort of check internally that, in case of FTP,
the command channel server ip-address
   and data channel server ip-address are the same? E.g. to prevent someone
else connecting on the data channel socket
   when in Active mode.
   If not, is it possible to perform this check in a client application,
perhaps through the
   means of CURLINFO_PRIMARY_IP?

2. Does CURLINFO_CERTINFO provide information about the certificate chain
for the 'last' successfully established SSL
   connection. Or is the certificate information stored once and remains the
same for all following SSL transfers?
   What I want to achieve is the possibility to retrieve the cert chain for
both command and data channels.

Best regards,
Mehmet.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-14