| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok jsing@ bluhm@
|
|
|
|
|
|
|
|
|
| |
socket is writeable. This happens because netcat tries to write
more than the low water mark of the socket write buffer. With a
non-blocking socket you may get a short write, otherwise it blocks.
The latter could cause a total hang of the netcat process depending
on the upper protocol. So make the network connection non-blocking.
OK claudio@ millert@
|
| |
|
|
|
|
| |
ok tedu@
|
|
|
|
|
|
|
|
|
| |
socket becomes invalid between these calls (e.g. connection closed), write
will throw SIGPIPE. With this patch, SIGPIPE is ignored so we can
handle write's -1 return value (errno will be EPIPE). Ultimately, it leads
to program exit, too -- but with nicer error message. :)
with input by and ok djm
|
|
|
|
| |
ok djm
|
|
|
|
| |
ok djm
|
|
|
|
| |
ok djm
|
|
|
|
| |
ok sthen@
|
|
|
|
| |
would be the next stage of embiggening. restore 16k.
|
|
|
|
|
| |
if one pipe stalls out. from a diff by Arne Becker.
(buffer size left alone for now)
|
|
|
|
| |
POLLHUP too. OK deraadt@
|
|
|
|
|
|
| |
programs.
ok deraadt@ millert@
|
|
|
|
|
|
| |
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
|
|
|
|
|
| |
atomicio writing out 64k in one direction will cause traffic in the other
direction to stall until it's complete. discussion with deraadt
|
|
|
|
| |
from John-Mark Gurney
|
|
|
|
|
|
| |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
ok jsing@ krw@ millert@
|
|
|
|
|
| |
unless -V is passed (intent of the previous commit), and use SOL_SOCKET
instead of IPPROTO_IP to set the rtable in local_listen(). ok sthen@
|
|
|
|
| |
like for any other process as well. OK by many
|
|
|
|
|
|
|
| |
the paper trail appears to be:
reported in feebsd pr docs/185353 by rol robert-eckardt de
fix suggested by peter wemm
diff submitted to tech by allan jude
|
|
|
|
|
| |
same style as traceroute6 (change to int and use -1 as a flag, so rtable 0
can still be used as an explicit parameter).
|
|
|
|
| |
make sure telnet runs in rdomain 4 as expected. Same for nc.
|
|
|
|
| |
Also, switching to rdomain zero is a legit option so we should allow that.
|
| |
|
|
|
|
| |
ok djm
|
|
|
|
|
|
| |
connected socket to stdout. This is useful in proxy mode to establish
a connection for use by ssh in conjunction with its new ProxyUseFDPass
option; ok markus@
|
| |
|
|
|
|
| |
ok otto
|
|
|
|
|
|
| |
original netcat and GNU netcat; revert to old behaviour with the new -N flag
if needed. After much discussion with otto deraadt tedu and Martin Pelikan.
ok deraadt@
|
|
|
|
| |
reason. No code changed, just documenting it...
|
| |
|
|
|
|
|
|
|
| |
flag. Prompted by a question from dsp at 2f30 dot org, diff from Lazarom
Koromil with a few tweaks by me, many thanks.
ok mikeb@ nicm@ haesbaert@
|
|
|
|
|
|
| |
From Ricky Zhou with a few tweaks by me.
ok henning@ haesbaert@
|
| |
|
|
|
|
| |
no objection from mcbride@ krw@ markus@ deraadt@
|
|
|
|
| |
ok okan@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
the -uz combination.
This diff stems from a diff by brynet@ sent to tech@
help from jmc@ regarding wording.
|
|
|
|
| |
nicm@ ok.
|
|
|
|
|
|
|
| |
accept the same values as pf.conf. It accepts decimal, hexadecimal and
the dscp/tos keywords. The ping option was ripped of in SMALL.
ok mcbride@ sthen@
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
OK jmc@, nicm@, tedu@
|
|
|
|
|
|
| |
Separate commit requested by deraadt@.
OK nicm@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, using -U with -u was an error that was not documented
in the man page. Now it will use a unix socket in datagram mode.
Bidirectional unix datagram communication requires a socket at
both ends, so in client mode (without -l), a temporary socket is
created so that responses from the server can be received.
If -s is specified with -U and -u, it specifies the location of
the temporary socket to create.
This was mostly written way back in 2007. Since then, various
improvements implemented based on suggestions from guenther@,
tedu@, and nicm@. Man page help from nicm@ and jmc@.
Unix datagram support requires a small change to atomicio.c
in order to function correctly, this will be committed separately
shortly.
OK nicm@
|