summaryrefslogtreecommitdiff
path: root/usr.bin/nc/netcat.c
AgeCommit message (Expand)Author
2006-02-01remove obsolete code; from Ray Lai in PR 4998; ok tedu@ beck@Otto Moerbeek
2006-01-25implement HTTP proxy authentication support, very useful in a ssh_configDamien Miller
2006-01-20Explicitly include limits.h if we are going to use its contents.Todd C. Miller
2005-10-25Make set_common_sockopts() a void since it doesn't return anything anyway.Darren Tucker
2005-10-25Add a -T option to nc to allow setting of IP type-of-service bits onDarren Tucker
2005-07-24correct rval check for socket(). from alf schlichting. ok markus@marius eriksen
2005-05-28set jumbo flag on the listener, too. consolidate some common code.marius eriksen
2005-05-27Experimental support for opportunitic use of jumbograms where only some hostsRyan Thomas McBride
2005-05-24Switch atomicio to a simpler interface which returns size_t and usesAnil Madhavapeddy
2005-04-10Initialize len before calling accept(2). from mpech@, ok millert@Otto Moerbeek
2005-02-08Some extra strict warning cleanup. From Xin Li <delphij at FreeBSDOtto Moerbeek
2004-12-10provide a valid sockaddr_storage structure to be used as second argument forHans-Joerg Hoexer
2004-10-17http proxy CONNECT support; ok beck@Damien Miller
2004-09-15remove return error variables.. set but never usedTheo de Raadt
2004-07-15add -D for sodebug; ok deraadt, jmcMarkus Friedl
2004-03-12add keeps to SYNOPSIS and sync usage();Jason McIntyre
2004-03-07Print error when connect() fails. ok markus@ deraadt@Ryan Thomas McBride
2004-03-03spaces, was reading code..Theo de Raadt
2004-03-03add -d to usage too, from carson hardingTed Unangst
2004-03-01resolve pr3694. add -d [etached] to ignore stdin. ok henning@ mcbride@Ted Unangst
2004-02-20- sort options and SYNOPSISJason McIntyre
2004-01-31rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIGHenning Brauer
2004-01-22-S enables tcp md5 signature option; ok deraadt@, mcbride@Markus Friedl
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