Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-07-04 | correct handling of EOF on both tty input and network. for example, | Vincent Labrecque | |
this allows stuff like nc -l 10101 < /dev/null to have nc exit automatically when it gets EOF from the network. ok ericj@ | |||
2002-07-01 | define SUN_LEN if it is not already for portability. | Vincent Labrecque | |
millert made the same suggestion, so i guess it's ok ;) | |||
2002-07-01 | use SUN_LEN to calculate AF_UNIX sockaddr's length. + some style | Vincent Labrecque | |
ok ericj@ | |||
2002-05-30 | Avoid spinning poll, and while we're at it more closely reproduce the | Hugh Graham | |
original netcat's timeout behaviour. Theo says go. | |||
2002-05-29 | more snprintf | Theo de Raadt | |
2002-03-10 | check that we got the port before trying to listen | Eric Jackson | |
pr 2436; Alexander Yurchenko <grange@rt.mipt.ru> | |||
2002-02-28 | add support for SOCKS4 with option -X socks_version, default is 5; ok ericj@ | Markus Friedl | |
2002-02-19 | -Wall cleanup. | Eric Jackson | |
from Kevin Steves <stevesk@pobox.com> | |||
2002-02-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-17 | oops, add -U to usage | Eric Jackson | |
2002-02-17 | add support for connecting too and listening on AF_UNIX sockets. | Eric Jackson | |
connect support from dave@arbor.net.. rest by me | |||
2002-02-17 | fix pr#2091. patch applied. | Eric Jackson | |
patch from Brian J. Kifiak <bk@rt.fm> should be looked at closer.. | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-10-28 | remove bogus error-check, resolve pr#2147 | Jakob Schlyter | |
2001-10-28 | fix getaddrinfo error handling | Jakob Schlyter | |
2001-09-02 | KNF + ansi | Jakob Schlyter | |
2001-09-02 | update command summary | Jakob Schlyter | |
2001-09-02 | remove unused variable | Jakob Schlyter | |
2001-09-02 | add very basic proxy support using socks5 client code from niklas@. | Jakob Schlyter | |
ok ericj@. | |||
2001-08-25 | use calloc | Eric Jackson | |
2001-08-02 | fix diagnostic messages | Eric Jackson | |
from Dima Dorfman <dima@unixfreak.org> | |||
2001-06-27 | more magic stuff to define's | Eric Jackson | |
2001-06-27 | Spit out errno message instead of just exitting. ericj@ ok. | smart | |
2001-06-27 | Compile cleanly with -Wall | smart | |
2001-06-26 | remove some unused var's. | Eric Jackson | |
from jasoni@ | |||
2001-06-26 | allow -k for udp and tcp | Eric Jackson | |
2001-06-26 | be weary of atoi(). | Eric Jackson | |
suggested by theo.. also do range checking on ports | |||
2001-06-26 | dont set the source address to 127.0.0.1 if a local port is specified | Eric Jackson | |
but no source address reported by jakob@ | |||
2001-06-26 | rewrite telnet negotiation | Eric Jackson | |
2001-06-26 | rename variable, as not to conflict | Eric Jackson | |
2001-06-26 | type in usage: Surpress -> Suppress | jasoni | |
2001-06-25 | Import completely re-written netcat w/ support for IPv6. | Eric Jackson | |
very little usage has changed, man page soon to come for it as well. deraadt@ ok | |||
2001-05-04 | GAPING_SECURITY_HOLE was removed so there is no -e option. | Todd C. Miller | |
Removed from man page and usage; closes PR 1808 | |||
2001-01-16 | fix verbosity levels. pointed out by J.D. Carlson <jd@noc7.uchsc.edu> | Eric Jackson | |
2000-12-01 | -Wall cleanup | Eric Jackson | |
2000-09-26 | more cleanup and have nlog() deal with errno now as well. | Eric Jackson | |
2000-09-26 | no need to reset h_errno | Eric Jackson | |
do the cmdline correctly, deal with \n and \t fix up nlog() use arc4random instead of srandom()/random() | |||
2000-09-26 | fix minor typo | Eric Jackson | |
2000-09-26 | no need to use goto.. | Eric Jackson | |
2000-09-26 | Implement a function for errors | Eric Jackson | |
it pays attention to h_error so we now have no need to handle this ourselves. | |||
2000-09-26 | some warnings should only be shown with -v | Eric Jackson | |
2000-09-26 | Alot of cleanups to netcat | Eric 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-25 | a quick fix, and then i run away screaming in terror | Theo de Raadt | |
2000-07-07 | If 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-06 | do not assume h_errs[] is clean, use %s | Theo de Raadt | |
2000-01-31 | massive indent pass | Theo de Raadt | |
2000-01-24 | first cut at indent.. more to come | Theo de Raadt | |
1999-08-16 | include unistd.h | Artur Grabowski | |
1999-06-05 | buf oflow; and use inet_aton() | Theo de Raadt | |
1997-04-07 | paranoid about MAXHOSTNAMELEN | Theo de Raadt | |