Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | more cleanup and have nlog() deal with errno now as well. | ericj | 2000-09-26 | 1 | -40/+24 | |
| | ||||||
* | no need to reset h_errno | ericj | 2000-09-26 | 1 | -31/+22 | |
| | | | | | | do the cmdline correctly, deal with \n and \t fix up nlog() use arc4random instead of srandom()/random() | |||||
* | fix minor typo | ericj | 2000-09-26 | 1 | -2/+2 | |
| | ||||||
* | no need to use goto.. | ericj | 2000-09-26 | 1 | -22/+22 | |
| | ||||||
* | Implement a function for errors | ericj | 2000-09-26 | 1 | -62/+79 | |
| | | | | | it pays attention to h_error so we now have no need to handle this ourselves. | |||||
* | some warnings should only be shown with -v | ericj | 2000-09-26 | 1 | -10/+11 | |
| | ||||||
* | Alot of cleanups to netcat | ericj | 2000-09-26 | 1 | -830/+571 | |
| | | | | | | | | | | | | 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 | |||||
* | a quick fix, and then i run away screaming in terror | deraadt | 2000-07-25 | 1 | -1/+2 | |
| | ||||||
* | If the timeout is not set, don't send a zeroed timeout to select. | art | 2000-07-07 | 1 | -2/+8 | |
| | | | | This solves the problem with nc hogging all cpu. | |||||
* | do not assume h_errs[] is clean, use %s | deraadt | 2000-07-06 | 1 | -1/+1 | |
| | ||||||
* | massive indent pass | deraadt | 2000-01-31 | 1 | -262/+195 | |
| | ||||||
* | first cut at indent.. more to come | deraadt | 2000-01-24 | 1 | -1126/+1175 | |
| | ||||||
* | include unistd.h | art | 1999-08-16 | 1 | -0/+3 | |
| | ||||||
* | buf oflow; and use inet_aton() | deraadt | 1999-06-05 | 1 | -5/+3 | |
| | ||||||
* | paranoid about MAXHOSTNAMELEN | deraadt | 1997-04-07 | 1 | -10/+12 | |
| | ||||||
* | getopt(3) returns -1 when out of args, not EOF, whee! | millert | 1997-01-15 | 1 | -1/+1 | |
| | ||||||
* | nc is *hobbit*'s netcat; let the sysadm have the same tools the crackers | deraadt | 1996-09-05 | 1 | -0/+1668 | |
have, so that he may learn what the network is about and protect it better. |