summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* note when these first appeared; ok jmcjaredy2005-07-261-1/+3
|
* In _gethtent() ignore host.h_length if it is set to 0. Previouslymillert2005-07-241-10/+7
| | | | | | we only ignored it if host.h_addrtype was AF_UNSPEC. Set host.h_length to 0 in _gethtbyname2() since that function does not take a length argument. Problem found by jaredy@
* correct rval check for socket(). from alf schlichting. ok markus@marius2005-07-241-2/+2
|
* *hostent() fixes:jaredy2005-07-231-22/+13
| | | | | | | | | | | | - Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert
* - sync prototypes and header file excerptsjaredy2005-07-2213-102/+116
| | | | | | - typos/spelling, punctuation, rewording, macro, and layout fixes. help & ok jmc
* fix spelling mistake (in comment);jmc2005-07-181-2/+2
| | | | from ray lai;
* oops... .Dl does not like to be inundated with args, and my last commit justjmc2005-07-171-3/+4
| | | | exceeded the happy number - use a display instead.
* some improvements from alf schlichting:jmc2005-07-171-14/+11
| | | | | | | | | | - correct syntax for retrieving an http page. this example further corrected by ian darwin (thanks!) - the -v flag is relatively useless when port scanning, so remove it from the example, and reword the description appropriately - udp port scans always report ports as open (i.e. are useless) so remove example claiming it works, and add CAVEATS to note that -uz is relatively useless
* punctuation and minor rewording, ok jmcjaredy2005-07-172-6/+6
|
* kill errant full stop;jmc2005-07-071-2/+2
|
* got to be a pasto...jmc2005-07-071-4/+4
|
* Fix the unmapping of freed pages, leaving just 64k worth of cache pages.tdeval2005-07-071-58/+136
| | | | Prodded by art@ and fgsch@, ok deraadt@
* use "www" as the service name in the example instead of "http" since "www"dlg2005-07-051-5/+5
| | | | | | is what is used in /etc/services. ok jmc@ henning@ millert@
* whitespace;jmc2005-07-011-4/+4
|
* More robust example of numeric argument handling. The old examplemillert2005-07-011-11/+23
| | | | | code would dereference NULL for mixed letter and number args. OK deraadt@
* K&R -> ANSIespie2005-06-1922-120/+79
| | | | | APIWARN okay millert@, otto@
* Remove a check about whether sa->sa_len is equal to salen frommarcm2005-06-191-4/+1
| | | | | | | getnameinfo(3). POSIX doesn't require this and it breaks code that doesn't handle it. "I think this is safe" millert@
* no longer a need for the free(malloc(1)) hack, because the brk stuffderaadt2005-06-171-9/+5
| | | | | no longer needs initializing (we use mmap for malloc entirely now) noticed by kjell, ok dhartmei, tested by me
* remove netns stuff, ok millerthenning2005-06-175-459/+4
| | | | libc major bump by espie in a few
* bye bye whiteoutsmillert2005-06-152-9/+2
|
* remove references to ns(4);jmc2005-06-091-2/+1
|
* Make gethostbyaddr() prototype match POSIX. This means len is nowmillert2005-06-082-16/+15
| | | | unsigned but there is no ABI change. OK deraadt@
* RC4 is a trademark. Rest of text left intact.kjell2005-06-071-2/+2
|
* no need to insert spacing between list members;jmc2005-06-071-13/+1
|
* adding pointer protection to 'G' was too heavyweight. Since malloc guardtedu2005-06-072-7/+14
| | | | should be generally usable, split this out into option 'P'. ok deraadt
* Change email address for author, at his request.kjell2005-06-061-2/+2
|
* Change license to standard OpenBSD boilerplate, with permissionkjell2005-06-061-6/+15
| | | | from original author (David Mazieres)
* sort sections;jmc2005-06-051-5/+5
|
* s/-p1003.1-2003/-p1003.1-2004/gjmc2005-06-052-4/+4
|
* use the new fat random sysctl to get initial state. (fallback to looping).tedu2005-06-041-12/+14
| | | | stir after eating 400000 words. ok + input deraadt
* set jumbo flag on the listener, too. consolidate some common code.marius2005-05-281-28/+29
| | | | ok mcbride@
* Experimental support for opportunitic use of jumbograms where only some hostsmcbride2005-05-271-8/+22
| | | | | | | | | | | | | | on the local network support them. This adds a new socket option, SO_JUMBO, and a new route flag, RTF_JUMBO. If _both_ the socket option is set and the route for the host has RTF_JUMBO set, ip_output will fragment the packet to the largest possible size for the link, ignoring the card's MTU. The semantics of this feature will be evolving rapidly; talk to us if you intend to use it. ok deraadt@ marius@
* sync setkey prototype with realitymillert2005-05-261-2/+2
|
* Merge common functionality of __strsignal and strerror_r.otto2005-05-263-129/+50
| | | | ok jaredy@ miod@
* style nit from hshoexer@avsm2005-05-261-1/+2
|
* avoid spurious ld evil string func warning, spotted by david@;djm2005-05-251-3/+3
| | | | feedback & ok avsm@
* Switch atomicio to a simpler interface which returns size_t and usesavsm2005-05-244-55/+78
| | | | | | | 0 to signal errors. should be no functional change in nc apart from different error messages. "groovy", said deraadt@
* add a note describing latest guard featuretedu2005-05-241-1/+3
|
* handle sizeof(void *) allocations specially when using malloc guard.tedu2005-05-241-1/+31
| | | | they get a whole page and go right at the end of it. ok deraadt tdeval
* no need to byteswap for AES_ASM, from tom@markus2005-05-232-2/+18
|
* Teach the SOCKS5 code more of the protocol, so it can send domain namesdjm2005-05-201-56/+102
| | | | | | to the proxy instead of resolving them locally and sending IPv4 addresses. This improves privacy, e.g. when using nc with OpenSSH DynamicForward tunnels, and gives us better IPv6 support; ok beck@
* HTTP proxy doesn't need an address lookup - saves some time and avoids adjm2005-05-201-2/+4
| | | | spurious error if the lookup fails. from Ray; ok markus@
* cross reference proxy example to relevant ssh option;jmc2005-05-201-3/+11
| | | | originally from ray; help/ok djm@
* fix SOCKS5 code for case where data comes in the same packet as the response;djm2005-05-191-2/+2
| | | | ok dtucker@ markus@
* KNF, no binary change; ok jaredy@djm2005-05-191-44/+44
|
* Add tests for __strsignal(). Put here since the tests are very similarotto2005-05-132-1/+32
| | | | to the strerror() test.
* Update HISTORY fixing some facts, while it is not clear if theotto2005-05-111-2/+8
| | | | | environment stuff originates from AT&T or BSD. ok ok deraadt@ millert@ ian@
* major abi changes:espie2005-05-111-1/+1
| | | | | | | | | | | | | | | | | | * introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump
* import i386 AES asm code from openssl.org; ok and help with testing djm@markus2005-05-105-4/+3107
|
* kill strcpy; ok hshoexer@, prodded by david@djm2005-05-102-2/+2
|