History log of /openssh-portable/regress/netcat.c (Results 1 - 25 of 34)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# afbd9ec9 16-Oct-2020 Damien Miller

fix netcat build problem


Revision tags: V_8_4_P1
# 837ffa96 29-May-2020 Darren Tucker

Omit ToS setting if we don't have IPV6_TCLASS too.

Fixes tests on old BSDs.


Revision tags: V_8_3_P1, V_8_2_P1, V_8_1_P1, V_8_0_P1, V_7_9_P1, V_7_8_P1, V_7_7_P1, V_7_6_P1, V_7_5_P1, V_7_4_P1, V_7_3_P1, V_7_2_P2, V_7_2_P1, V_7_1_P2
# 0b0d2193 03-Sep-2015 sobrado

partial sync of regress/netcat.c with upstream

synchronize synopsis and usage.


Revision tags: V_7_1_P1, V_7_0_P1
# 0f04c846 26-Jul-2015 chl

partial sync of regress/netcat.c with upstream

remove unused variable

ok tedu@


Revision tags: V_6_9_P1
# d6a81050 26-Mar-2015 tobias

partial sync of regress/netcat.c with upstream

The code in socks.c writes multiple times in a row to a socket. If the socket becomes invalid between these calls (e.g. connection closed), wri

partial sync of regress/netcat.c with upstream

The code in socks.c writes multiple times in a row to a socket. If the 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

show more ...


# bf3893dd 26-Mar-2015 tobias

partial sync of regress/netcat.c with upstream

Check for short writes in fdpass(). Clean up while at it.

ok djm


Revision tags: V_6_8_P1
# e18435fe 14-Feb-2015 jca

partial sync of regress/netcat.c with upstream

Support for nc -T on IPv6 addresses.

ok sthen@


# 90a0b434 30-Apr-2020 Damien Miller

fix reversed test


# 7f23f421 30-Apr-2020 Darren Tucker

Include sys/byteorder.h for htons and friends.

These are usually in netinet/in.h but on HP-UX they are not defined if
_XOPEN_SOURCE_EXTENDED is set. Only needed for netcat in the regres

Include sys/byteorder.h for htons and friends.

These are usually in netinet/in.h but on HP-UX they are not defined if
_XOPEN_SOURCE_EXTENDED is set. Only needed for netcat in the regression
tests.

show more ...


# d500b59a 31-Oct-2019 Darren Tucker

Check if IP_TOS is defined before using.


# aee49b2a 07-Feb-2018 Darren Tucker

Set SO_REUSEADDR in regression test netcat.

Sometimes multiplex tests fail on Solaris with "netcat: local_listen:
Address already in use" which is likely due to previous invocations

Set SO_REUSEADDR in regression test netcat.

Sometimes multiplex tests fail on Solaris with "netcat: local_listen:
Address already in use" which is likely due to previous invocations
leaving the port in TIME_WAIT. Set SO_REUSEADDR (in addition to
SO_REUSEPORT which is alread set on platforms that support it). ok djm@

show more ...


# 8aaec705 13-Jul-2016 Damien Miller

fix missing include for systems with err.h


# 6310ef27 13-Jul-2016 Darren Tucker

Move err.h replacements into compat lib.

Move implementations of err.h replacement functions into their own file
in the libopenbsd-compat so we can use them in kexfuzz.c too. ok djm@


# 673a1c16 15-Apr-2015 Damien Miller

remove dependency on arpa/telnet.h


# a05adf95 04-Mar-2015 Damien Miller

netcat needs poll.h portability goop


# 2fab9b0f 03-Mar-2015 Damien Miller

avoid warning


# e47536ba 28-Feb-2015 Damien Miller

portability fixes for regress/netcat.c

Mostly avoiding "err(1, NULL)"


# 1ad3a77c 26-Feb-2015 Damien Miller

make regress/netcat.c fd passing (more) portable


# 13af3424 24-Feb-2015 Tim Rice

Original portability patch from djm@ for platforms missing err.h.
Fix name space clash on Solaris 10. Still more to do for Solaris 10
to deal with msghdr structure differences. ok djm@


# 69ff64f6 27-Jan-2015 Damien Miller

compile on systems without TCP_MD5SIG (e.g. OSX)


# c3321102 14-Jan-2015 Damien Miller

some systems lack SO_REUSEPORT


# 293cac52 22-Dec-2014 Damien Miller

include and use OpenBSD netcat in regress/


# aee49b2a 07-Feb-2018 Darren Tucker

Set SO_REUSEADDR in regression test netcat.

Sometimes multiplex tests fail on Solaris with "netcat: local_listen:
Address already in use" which is likely due to previous invocations

Set SO_REUSEADDR in regression test netcat.

Sometimes multiplex tests fail on Solaris with "netcat: local_listen:
Address already in use" which is likely due to previous invocations
leaving the port in TIME_WAIT. Set SO_REUSEADDR (in addition to
SO_REUSEPORT which is alread set on platforms that support it). ok djm@

show more ...


# 8aaec705 13-Jul-2016 Damien Miller

fix missing include for systems with err.h


# 6310ef27 13-Jul-2016 Darren Tucker

Move err.h replacements into compat lib.

Move implementations of err.h replacement functions into their own file
in the libopenbsd-compat so we can use them in kexfuzz.c too. ok djm@


12