| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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 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@
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
OK jmc@, nicm@, tedu@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
|
|
| |
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.
Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.
Written by claudio@, criticized^Wcritiqued by me
|
|
|
|
|
|
| |
Zeleny.
ok djm
|
|
|
|
|
|
| |
and use %zu for size_t.
ok djm
|
|
|
|
|
|
| |
Pointed out by obsd at happyjack.org, fix based on a diff from kili@.
ok deraadt
|
|
|
|
| |
OK gilles, rainer, millert, deraadt.
|
|
|
|
| |
Again -V can be used to specify the domain.
|
|
|
|
|
|
| |
written with help by jmc@
ok jmc@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
sleep takes an unsigned integer.
OK moritz@, jaredy@, and dhill@
|
| |
|
|
|
|
| |
ProxyCommand; ok beck@
|
| |
|
|
|
|
| |
Makes netcat -Wall clean. ok djm@
|
|
|
|
| |
connections. Man page corrections jmc@, code corrections and ok djm@
|
| |
|
|
|
|
| |
ok mcbride@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on the local network support them.
This adds a new socket option, SO_JUMBO, and a new route flag,
RTF_JUMBO. If _both_ the socket option is set and the route for the host
has RTF_JUMBO set, ip_output will fragment the packet to the largest
possible size for the link, ignoring the card's MTU.
The semantics of this feature will be evolving rapidly; talk to us
if you intend to use it.
ok deraadt@ marius@
|