Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | do not refuse valid IPv6 addresses in -X connect (HTTP CONNECT proxy) | djm | 2022-06-08 | 1 | -2/+2 |
| | | | | support. Identified by Wilmer van der Gaast, ok millert@ | ||||
* | Fix an out of bound read/write when using a proxy. | millert | 2019-11-04 | 1 | -3/+3 |
| | | | | From Lucas AT sexy DOT is. OK job@ kn@ | ||||
* | Make proxy auth work with http 1.1 speaking webservers. | benno | 2019-07-29 | 1 | -2/+3 |
| | | | | | Diff from Alexander Koeppe format_c -AT- online -DOT- de, thanks. ok deraadt@ | ||||
* | snprintf/vsnprintf return < 0 on error, rather than -1. | deraadt | 2019-07-03 | 1 | -3/+3 |
| | |||||
* | Revert back previous commit and stop including strings.h | mestre | 2019-01-10 | 1 | -3/+2 |
| | | | | | | | Use memset(3) instead of bzero(3) since POSIX recommends using the former and because it's also more portable (conforms to ANSI C standard) OK tedu@ tb@ | ||||
* | Include strings.h for bzero in usr.bin/nc | inoguchi | 2019-01-09 | 1 | -1/+2 |
| | | | | | | bzero is defined in strings.h. ok deraadt@ | ||||
* | Clear password buffers in non-terminating cases | deraadt | 2018-03-27 | 1 | -8/+11 |
| | | | | ok tobias | ||||
* | whitespace | deraadt | 2016-06-27 | 1 | -2/+2 |
| | |||||
* | Specify SOCKS version in error messages. ok deraadt@ | mmcc | 2015-12-10 | 1 | -3/+3 |
| | |||||
* | Map SOCKS error codes to error strings. With input from deraadt@ | mmcc | 2015-12-10 | 1 | -5/+61 |
| | |||||
* | Fix error message in case of write failure. | tobias | 2015-03-26 | 1 | -3/+3 |
| | | | | ok djm | ||||
* | fix format strings for size_t | espie | 2012-03-08 | 1 | -3/+3 |
| | | | | ok okan@ | ||||
* | fix from pr 6207. a bit more of an explanation: we write the correct | okan | 2011-02-12 | 1 | -4/+18 |
| | | | | | | | | | | number of bits when connecting via a SOCKS 5 proxy over ipv6, but we also need to read the same number depending on the received address type. this issue is not noticeable with ssh's SOCKS 5 support since it always set the address type as ipv4. this fixes connections via SOCKS 5 proxies which set their address type as ipv6 when using ipv6. after review with, and ok, nicm@ | ||||
* | Allocate the port number properly (don't allocate space then ignore it), | nicm | 2010-04-20 | 1 | -9/+9 |
| | | | | | | and use %zu for size_t. ok djm | ||||
* | Also accept "HTTP/1.1 200" as a success response. | ray | 2006-09-25 | 1 | -2/+3 |
| | | | | OK djm@. | ||||
* | implement HTTP proxy authentication support, very useful in a ssh_config | djm | 2006-01-25 | 1 | -17/+72 |
| | | | | ProxyCommand; ok beck@ | ||||
* | Switch atomicio to a simpler interface which returns size_t and uses | avsm | 2005-05-24 | 1 | -34/+20 |
| | | | | | | | 0 to signal errors. should be no functional change in nc apart from different error messages. "groovy", said deraadt@ | ||||
* | Teach the SOCKS5 code more of the protocol, so it can send domain names | djm | 2005-05-20 | 1 | -56/+102 |
| | | | | | | to the proxy instead of resolving them locally and sending IPv4 addresses. This improves privacy, e.g. when using nc with OpenSSH DynamicForward tunnels, and gives us better IPv6 support; ok beck@ | ||||
* | HTTP proxy doesn't need an address lookup - saves some time and avoids a | djm | 2005-05-20 | 1 | -2/+4 |
| | | | | spurious error if the lookup fails. from Ray; ok markus@ | ||||
* | fix SOCKS5 code for case where data comes in the same packet as the response; | djm | 2005-05-19 | 1 | -2/+2 |
| | | | | ok dtucker@ markus@ | ||||
* | KNF, no binary change; ok jaredy@ | djm | 2005-05-19 | 1 | -44/+44 |
| | |||||
* | Some extra strict warning cleanup. From Xin Li <delphij at FreeBSD | otto | 2005-02-08 | 1 | -7/+8 |
| | | | | dot ORG> with a twist from myself. No binary change. ok djm@ | ||||
* | http proxy CONNECT support; ok beck@ | djm | 2004-10-17 | 1 | -10/+76 |
| | |||||
* | protos | deraadt | 2003-07-07 | 1 | -4/+7 |
| | |||||
* | fix various 3/4 licenses according to "terms" file | deraadt | 2003-06-03 | 1 | -6/+1 |
| | |||||
* | correct return code check; from Owl. ok fgsch@ | stevesk | 2002-12-30 | 1 | -2/+2 |
| | |||||
* | add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@ | markus | 2002-02-28 | 1 | -40/+66 |
| | |||||
* | -Wall cleanup. | ericj | 2002-02-19 | 1 | -1/+3 |
| | | | | from Kevin Steves <stevesk@pobox.com> | ||||
* | fix stupid typo | jakob | 2001-10-28 | 1 | -1/+1 |
| | |||||
* | remove unused variable | jakob | 2001-10-28 | 1 | -2/+1 |
| | |||||
* | add very basic proxy support using socks5 client code from niklas@. | jakob | 2001-09-02 | 1 | -0/+144 |
ok ericj@. |