Opened 6 years ago

Closed 6 years ago

#7029 closed defect (fixed)

libtls: unable to connect to numeric hosts

Reported by: chainik Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: tls
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg: tls: server name not specified

The error is caused by no server name being specified, yet verification is enabled. With a numeric host it passes NULL as the server name to tls_connect_cbs(), which will cause the "server name not specified" failure.

https://github.com/FFmpeg/FFmpeg/blob/acdea9e7c56b74b05c56b4733acc855b959ba073/libavformat/tls_libtls.c#L121

We should probably disable at least name verification for numeric hosts.

Change History (1)

comment:1 by Carl Eugen Hoyos, 6 years ago

Keywords: tls added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.