summaryrefslogtreecommitdiff
path: root/usr.bin/nc
AgeCommit message (Collapse)Author
2000-12-01-Wall cleanupEric Jackson
2000-09-26more cleanup and have nlog() deal with errno now as well.Eric Jackson
2000-09-26no need to reset h_errnoEric Jackson
do the cmdline correctly, deal with \n and \t fix up nlog() use arc4random instead of srandom()/random()
2000-09-26fix minor typoEric Jackson
2000-09-26no need to use goto..Eric Jackson
2000-09-26Implement a function for errorsEric Jackson
it pays attention to h_error so we now have no need to handle this ourselves.
2000-09-26some warnings should only be shown with -vEric Jackson
2000-09-26remove -e option, which wasnt on anywayEric Jackson
2000-09-26Alot of cleanups to netcatEric Jackson
use errx/warn instead of homegrown functions indent properly to make the code readable get rid of generic.h as its not used dont declare optarg register is depreciated get rid of undocumented options -a and -e throw out IP_OPTIONS code for now, its not on by default and doesnt work properly make usage more like other bsd commands
2000-07-25a quick fix, and then i run away screaming in terrorTheo de Raadt
2000-07-10Typo & style fix.Ian Darwin
2000-07-08Move option flags that don't require arguments to the first of the list inAaron Campbell
the SYNOPSIS section to be more consistent with our other man pages.
2000-07-07If the timeout is not set, don't send a zeroed timeout to select.Artur Grabowski
This solves the problem with nc hogging all cpu.
2000-07-06i feel dirty whenever i edit in hereTheo de Raadt
2000-07-06do not assume h_errs[] is clean, use %sTheo de Raadt
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-03-10Various cleanups and standardization.Aaron Campbell
2000-01-31massive indent passTheo de Raadt
2000-01-24first cut at indent.. more to comeTheo de Raadt
1999-08-16include unistd.hArtur Grabowski
1999-06-05buf oflow; and use inet_aton()Theo de Raadt
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1998-09-28kill extra .Pp and add some quotesTodd C. Miller
1998-09-27fix things for makewhatisTheo de Raadt
1998-09-27usr.bin/ man page cleanups, n-sAaron Campbell
1998-03-11SYNOPSIS header; fixes man -k ncTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-04-07paranoid about MAXHOSTNAMELENTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-09-05nc is *hobbit*'s netcat; let the sysadm have the same tools the crackersTheo de Raadt
have, so that he may learn what the network is about and protect it better.