summaryrefslogtreecommitdiff
path: root/usr.bin/nc/socks.c
AgeCommit message (Expand)Author
2019-11-04Fix an out of bound read/write when using a proxy.Todd C. Miller
2019-07-29Make proxy auth work with http 1.1 speaking webservers.Sebastian Benoit
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-01-10Revert back previous commit and stop including strings.hRicardo Mestre
2019-01-09Include strings.h for bzero in usr.bin/ncKinichiro Inoguchi
2018-03-27Clear password buffers in non-terminating casesTheo de Raadt
2016-06-27whitespaceTheo de Raadt
2015-12-10Specify SOCKS version in error messages. ok deraadt@mmcc
2015-12-10Map SOCKS error codes to error strings. With input from deraadt@mmcc
2015-03-26Fix error message in case of write failure.Tobias Stoeckmann
2012-03-08fix format strings for size_tMarc Espie
2011-02-12fix from pr 6207. a bit more of an explanation: we write the correctOkan Demirmen
2010-04-20Allocate the port number properly (don't allocate space then ignore it),Nicholas Marriott
2006-09-25Also accept "HTTP/1.1 200" as a success response.Ray Lai
2006-01-25implement HTTP proxy authentication support, very useful in a ssh_configDamien Miller
2005-05-24Switch atomicio to a simpler interface which returns size_t and usesAnil Madhavapeddy
2005-05-20Teach the SOCKS5 code more of the protocol, so it can send domain namesDamien Miller
2005-05-20HTTP proxy doesn't need an address lookup - saves some time and avoids aDamien Miller
2005-05-19fix SOCKS5 code for case where data comes in the same packet as the response;Damien Miller
2005-05-19KNF, no binary change; ok jaredy@Damien Miller
2005-02-08Some extra strict warning cleanup. From Xin Li <delphij at FreeBSDOtto Moerbeek
2004-10-17http proxy CONNECT support; ok beck@Damien Miller
2003-07-07protosTheo de Raadt
2003-06-03fix various 3/4 licenses according to "terms" fileTheo de Raadt
2002-12-30correct return code check; from Owl. ok fgsch@Kevin Steves
2002-02-28add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@Markus Friedl
2002-02-19-Wall cleanup.Eric Jackson
2001-10-28fix stupid typoJakob Schlyter
2001-10-28remove unused variableJakob Schlyter
2001-09-02add very basic proxy support using socks5 client code from niklas@.Jakob Schlyter