aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/net
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.2.7_cvscvs2svn1998-07-2434-37/+37
| | | | | | | 'RELENG_2_2_7_RELEASE'. This commit was manufactured to restore the state of the 2.2.7-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: doc fixes, casts, cosmetic.Jordan K. Hubbard1998-07-191-1/+1
| | | | Notes: svn path=/stable/2.2/; revision=37751
* MFC: Spelling corrections from PR 6868.Joseph Koshy1998-06-062-3/+3
| | | | Notes: svn path=/stable/2.2/; revision=36693
* Merge 4.9.7-t1b changes from current.Peter Wemm1998-05-023-251/+753
| | | | Notes: svn path=/stable/2.2/; revision=35625
* MFC: more miscellaneous cleanups and the new mktmp() functions from OpenBSDJordan K. Hubbard1998-03-041-3/+3
| | | | Notes: svn path=/stable/2.2/; revision=34024
* MFC: handle long dns names.Warner Losh1998-01-071-5/+8
| | | | Notes: svn path=/stable/2.2/; revision=32300
* MFC: rev 1.11, check for MAXHOSTNAMELENJoerg Wunsch1997-08-171-1/+3
| | | | Notes: svn path=/stable/2.2/; revision=28307
* YAMFC: Update dns and and other files shipped with bind-4.9.6Peter Wemm1997-06-2826-317/+674
| | | | Notes: svn path=/stable/2.2/; revision=27024
* YAMFC part IIIJulian Elischer1997-06-241-3/+7
| | | | | | | | | | Submitted by: john Birrell (a long time ago) probably a bit more to do as well Part of the pthreads upgrade (from not really working to mostly working) :) Notes: svn path=/stable/2.2/; revision=26866
* Merge MAXHOSTNAMELEN check and other changes from -currentAndrey A. Chernov1997-06-191-3/+10
| | | | Notes: svn path=/stable/2.2/; revision=26732
* Fix what Guido stomped in rev 1.14 - we should be calling _res_close() fromJordan K. Hubbard1997-03-111-2/+2
| | | | | | | within this file, not res_close(). Notes: svn path=/stable/2.2/; revision=23645
* From current: overflow in FD_SET was possible.Guido van Rooij1997-03-101-1/+6
| | | | Notes: svn path=/stable/2.2/; revision=23618
* YAMFC:Mike Pritchard1997-02-283-9/+17
| | | | | | | | | | | | | | | | | | | | Commit all of the -current changes that apply to 2.2. These fall into several categories: - Cosmetic/mdoc changes. They don't really afect the output at all, but having them in 2.2 will make it easier to diff the man pages later when looking for real changes. - Update some man pages to reflect the current 2.2 header files. - Sort xrefs. - A few typo fixes. - And a few changes that actualy added text to the man page that should be reflected in 2.2. - Add some missing MLINKS. Requested by: bde Notes: svn path=/stable/2.2/; revision=23174
* YAMFC(1.12: buffer overflow)Warner Losh1997-02-261-1/+2
| | | | Notes: svn path=/stable/2.2/; revision=23129
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1997-02-223-0/+431
| | | | Notes: svn path=/stable/2.2/; revision=23025
* backport 1.11 (possible security hole in rcmd.c)Warner Losh1997-02-091-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=22470
* Bring in __dns_getanswer() wrapper from -current.Bill Paul1997-01-141-1/+23
| | | | Notes: svn path=/stable/2.2/; revision=21670
* YAMFC: various minor man page cleanupsMike Pritchard1997-01-022-3/+4
| | | | Notes: svn path=/stable/2.2/; revision=21220
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_2'.cvs2svn1997-01-021-0/+321
| | | | Notes: svn path=/stable/2.2/; revision=21191
* Bring in YP buffer size/NUL termination fixes from -current.Bill Paul1996-12-314-15/+17
| | | | Notes: svn path=/stable/2.2/; revision=21133
* Provide weak references to functions that will replace certain names inPeter Wemm1996-12-302-1/+63
| | | | | | | | | | | | | | | | | the 4.9.4-P1 resolver that we have in libc as of 2.2 and current 3.0. When 4.9.5-P1 is imported, certain well known functions will "go away" and be replaced by functions under new names.. which just happen to be what these weak references point to. The result should be that while 2.2 and 3.0 keep using libc.so.3.0, they should be binary compatable even though they have a different version of the resolver in their libc's. Of course, if the new resolver makes it into 2.2-RELEASE (which it probably should if it's stable), then this is irrelevant. :-) Notes: svn path=/stable/2.2/; revision=21054
* Merge from current: remember to NUL terminate local result buffer.Bill Paul1996-12-241-2/+3
| | | | Notes: svn path=/stable/2.2/; revision=20901
* YAMFC:Mike Pritchard1996-12-221-1/+2
| | | | | | | | | | | | - Correct various man page xrefs - Fix some spelling errors - Add misssing documentation bits in some man pages - mount_std.8 now documents mount_{devfs,fdesc,kernfs,procfs} - New man pages for moused(8), devfs(5), fdesc(5), kernfs(5), procfs(5) were tagged onto the 2.2 branch. Notes: svn path=/stable/2.2/; revision=20819
* Merge rev 1.3: fix the fix.Joerg Wunsch1996-12-131-1/+2
| | | | Notes: svn path=/stable/2.2/; revision=20399
* Merge the fix from rev 1.2: uninitialized local variable use.Joerg Wunsch1996-12-121-1/+1
| | | | Notes: svn path=/stable/2.2/; revision=20376
* YAMFCJoerg Wunsch1996-12-102-10/+10
| | | | Notes: svn path=/stable/2.2/; revision=20294
* Doc updates and cleanups made with the bind-4.9.4 update some time ago.Peter Wemm1996-11-014-24/+102
| | | | | | | I thought I had committed these, but it seems not. Notes: svn path=/head/; revision=19302
* Add an "officially undocumented" tweak for squid so that it can see thePeter Wemm1996-11-011-2/+7
| | | | | | | | | TTL of DNS records that it looks up for it's resolver cache. Obtained from: Endre Balint Nagy <bne@CareNet.hu>, via squid-1.1.x source. Notes: svn path=/head/; revision=19301
* Bring back ns_* routines; we need them for ifconfig and route.Jordan K. Hubbard1996-10-161-2/+1
| | | | Notes: svn path=/head/; revision=18966
* Fix an error in the description of "h_errno". Add "const" to a fewJohn Polstra1996-10-081-4/+4
| | | | | | | declarations to make them agree with the actual prototypes in <netdb.h>. Notes: svn path=/head/; revision=18824
* Skip results that have unexpected lengthsPaul Traina1996-10-011-7/+6
| | | | Notes: svn path=/head/; revision=18608
* Sigh, back out the last bright idea I had here about compiling the res_*Peter Wemm1996-08-309-2/+3633
| | | | | | | | | | | routines from contrib/bind directly. There were too many problems, including having to add -DUSE_OPTIONS_H to the entire libc source in order for the contrib code to pick up it's options, and so on. Instead, I've merged the changes, libc is now self contained again. Notes: svn path=/head/; revision=17957
* back out last two changes, this caused the mandoc pages to be replaced byPeter Wemm1996-08-303-504/+529
| | | | | | | man pages. I'll fold in the real changes in a seperate commit. Notes: svn path=/head/; revision=17955
* oops, brain-lapse caused undefined symbolPeter Wemm1996-08-301-3/+3
| | | | Notes: svn path=/head/; revision=17922
* The last commit failed part-way through, re-add the generatedPeter Wemm1996-08-293-0/+698
| | | | | | | resolver man pages. Notes: svn path=/head/; revision=17917
* Revert change to build the reolver man pages on the fly, install thePeter Wemm1996-08-291-13/+10
| | | | | | | machine-generated versions Notes: svn path=/head/; revision=17916
* Merge in bind-4.9.4-P1 resolver...Peter Wemm1996-08-2923-3930/+860
| | | | Notes: svn path=/head/; revision=17903
* Update some more man pages to use the .Fx macro.Mike Pritchard1996-08-211-2/+3
| | | | Notes: svn path=/head/; revision=17763
* Submitted by: John Birrell <cimaxp1!jb@werple.net.au>Julian Elischer1996-08-201-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here are the diffs for libc_r to get it one step closer to P1003.1c These make most of the thread/mutex/condvar structures opaque to the user. There are three functions which have been renamed with _np suffixes because they are extensions to P1003.1c (I did them for JAVA, which needs to suspend/resume threads and also start threads suspended). I've created a new header (pthread_np.h) for the non-POSIX stuff. The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented doesn't work. I think its best to delete it. I don't think libc_r needs tags anyway, 'cause most of the source is in libc which does have tags. also: Here's the first batch of man pages for the thread functions. The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was inherited from /usr/src/lib/libc/Makefile that should only be done with libc. also: I should have sent this diff with the pthread(3) man page. It allows people to type make -DWANT_LIBC_R world to get libc_r built with the rest of the world. I put this in the pthread(3) man page. The default is still not to build libc_r. also: The diff attached adds a pthread(3) man page to /usr/src/share/man/man3. The idea is that without libc_r installed, this man page will give people enough info to know that they have to build libc_r. Notes: svn path=/head/; revision=17706
* clear sockaddr_in's on stack before usePeter Wemm1996-08-121-26/+28
| | | | | | | | | | | | set sin_len close one ftp port bounce attack have rresvport() use bindresvport() rather than duplicate the code, rresvport() is a superset of bindresvport(). Obtained from: OpenBSD / Jason Downs / Theo de Raadt, minor tweaks by me. Notes: svn path=/head/; revision=17543
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-1218-35/+62
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17141
* Add RCS Id and fix date.Garrett Wollman1996-06-171-2/+3
| | | | Notes: svn path=/head/; revision=16457
* Cross-reference addr2ascii(3).Garrett Wollman1996-06-171-3/+10
| | | | Notes: svn path=/head/; revision=16456
* Correct date and add $Id$ to reflect previous modification.Garrett Wollman1996-06-171-2/+3
| | | | Notes: svn path=/head/; revision=16454
* Cross-reference addr2ascii(3) and inlcude a note about how thoseGarrett Wollman1996-06-171-2/+16
| | | | | | | functions are preferred but are not widely available as yet. Notes: svn path=/head/; revision=16453
* It would help if I actually added the source code for these routines.Garrett Wollman1996-06-133-0/+377
| | | | Notes: svn path=/head/; revision=16353
* Add an independent implementation of addr2ascii(3) and ascii2addr(3)Garrett Wollman1996-06-131-2/+5
| | | | | | | following the API of the INRIA IPv6 implementation. Notes: svn path=/head/; revision=16352
* Improve NIS performace of getservbyname() and getservbyport(). Both theseBill Paul1996-06-013-7/+123
| | | | | | | | | | | | | | | | | | | | | | | | | functions are implimented as wrappers around getservent(), which means it's up to getservent() to do all the work. The NIS support in getservent() only allows it to scan through the services.byname map one entry at a time until it finds the requested service name/port. This can be painfully slow due to the overhead involved (lots and lots of successive RPCs). To fix this, we allow getservbyname() and getservbyport() to signal getservent() that if NIS is turned on (there's a '+' in /etc/services), the usual yp_first()/yp_next() linear search should be abandoned and yp_match() used instead. This causes getservent() to immediately locate the requested entry instead of wasting time groping through the whole map. The downside is that this trick is accomplished by exporting a couple of pointers from getservent.c which getservbyname.c and getservbyport.c can preset in order to tell getservent() what to do. If all three functions were in the same source module, then the extra cruft could be delcared static to avoid poluting the global symbol space. Maybe they should be combined anyway. For now I've settled on prepending lots of underscores. Notes: svn path=/head/; revision=16050
* Use the setsockopt for IP_PORTRANGE to cause rresvport() to allocate aPeter Wemm1996-05-311-12/+24
| | | | | | | | | | | | privileged port within a single bind(), rather than looping through attempts to bind over and over again over progressively lower ports. This should speed up rlogin/rsh etc, and will probably cure some of the strange rlogin hangs that have been reported in the past where rresvport() managed to bind() to a port address that it shouldn't have. Notes: svn path=/head/; revision=16034
* Do not install the now unsupported netns and netisoMike Pritchard1996-04-082-4/+7
| | | | | | | | related man pages. Comment out cross references to those man pages from other man pages. Notes: svn path=/head/; revision=15136