summaryrefslogtreecommitdiff
path: root/usr.bin/nc/netcat.c
AgeCommit message (Expand)Author
2003-10-19check alloca; pointed out by nimadeus@pandora.beTheo de Raadt
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-07-25Kill dead code after errx(). From Andrey Matveev; ericj@ OKTodd C. Miller
2003-07-07protosTheo de Raadt
2003-07-07in the unix domain socket case, give an ENAMETOOLONG error instead ofAnil Madhavapeddy
2003-06-26more proto fixesTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2002-12-30use err vs. errx and display function; from Owl. ok fgsch@Kevin Steves
2002-12-30include function in error; from Owl. ok fgsch@Kevin Steves
2002-12-28fix calloc's. also check for errors; fixes PR/3043.Federico G. Schwindt
2002-12-13Recent modifications to netcat changed the behaviour to only exit when bothAaron Campbell
2002-11-13update usage; ok ericj@Markus Friedl
2002-07-04 correct handling of EOF on both tty input and network. for example,Vincent Labrecque
2002-07-01define SUN_LEN if it is not already for portability.Vincent Labrecque
2002-07-01use SUN_LEN to calculate AF_UNIX sockaddr's length. + some styleVincent Labrecque
2002-05-30Avoid spinning poll, and while we're at it more closely reproduce theHugh Graham
2002-05-29more snprintfTheo de Raadt
2002-03-10check that we got the port before trying to listenEric Jackson
2002-02-28add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@Markus Friedl
2002-02-19-Wall cleanup.Eric Jackson
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-17oops, add -U to usageEric Jackson
2002-02-17add support for connecting too and listening on AF_UNIX sockets.Eric Jackson
2002-02-17fix pr#2091. patch applied.Eric Jackson
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-10-28remove bogus error-check, resolve pr#2147Jakob Schlyter
2001-10-28fix getaddrinfo error handlingJakob Schlyter
2001-09-02KNF + ansiJakob Schlyter
2001-09-02update command summaryJakob Schlyter
2001-09-02remove unused variableJakob Schlyter
2001-09-02add very basic proxy support using socks5 client code from niklas@.Jakob Schlyter
2001-08-25use callocEric Jackson
2001-08-02fix diagnostic messagesEric Jackson
2001-06-27more magic stuff to define'sEric Jackson
2001-06-27Spit out errno message instead of just exitting. ericj@ ok.smart
2001-06-27Compile cleanly with -Wallsmart
2001-06-26remove some unused var's.Eric Jackson
2001-06-26allow -k for udp and tcpEric Jackson
2001-06-26be weary of atoi().Eric Jackson
2001-06-26dont set the source address to 127.0.0.1 if a local port is specifiedEric Jackson
2001-06-26rewrite telnet negotiationEric Jackson
2001-06-26rename variable, as not to conflictEric Jackson
2001-06-26type in usage: Surpress -> Suppressjasoni
2001-06-25Import completely re-written netcat w/ support for IPv6.Eric Jackson
2001-05-04GAPING_SECURITY_HOLE was removed so there is no -e option.Todd C. Miller
2001-01-16fix verbosity levels. pointed out by J.D. Carlson <jd@noc7.uchsc.edu>Eric Jackson
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
2000-09-26fix minor typoEric Jackson