Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid remote buffer overrun on hostbuf[]. From: Joost Pol <joost@pine.nl>OPENBSD_2_9 | millert | 2002-06-26 | 1 | -34/+23 |
| | | | | | | | | correct bad practice in the code - it uses two changing variables to manage buffer (buf and buflen). we eliminate buflen and use fixed point (ep) as the ending pointer. From: itojun this fix is critical. | ||||
* | avoid buffer overrun on too-long reply for NIS hostname lookup. | itojun | 2000-07-30 | 1 | -7/+9 |
| | |||||
* | _THREAD_PRIVATE_* macros changed | d | 2000-01-06 | 1 | -2/+2 |
| | |||||
* | always enable IPv6 address in /etc/hosts (via _gethtent()). | itojun | 2000-01-03 | 1 | -3/+2 |
| | | | | | clarify RES_USE_INET6. the use of this bit is not meaningful on openbsd (as we don't have mapped addr support in kernel). | ||||
* | prevent bogus reverse query for 1.0.0.0.in-addr.arpa. | itojun | 1999-12-11 | 1 | -7/+5 |
| | | | | this occurs by mixing up ::1 as IPv6 auto-tunnel address like ::10.1.1.1. | ||||
* | fix gethostbyname2(foo, AF_INET6). | itojun | 1999-12-11 | 1 | -1/+9 |
| | | | | | on /etc/hosts lookup, file static variable "hosts" was damaged and prevented lookup of IPv6 hostnames. | ||||
* | sizeof("string") includes 0 byte; aazubel@tatu.cnba.uba.ar | deraadt | 1999-09-03 | 1 | -2/+2 |
| | |||||
* | Ignore SIGs in the answer section for now as we don't use them (yet). | jakob | 1999-07-03 | 1 | -1/+6 |
| | | | | OK'd by deraadt. | ||||
* | Be consistent about the relaxation of invalid host name checking. | niklas | 1999-06-04 | 1 | -1/+9 |
| | | | | | This allows CNAMEs to PTRs with names including slashes, something not really RFC-compliant but still in general use. | ||||
* | Revertion of last change, which was due to emacs' stupid idea | niklas | 1999-05-30 | 1 | -9/+1 |
| | | | | | of keeping the "*Shell Command Output*" buffer's wd from its creation instead of using the last command's wd!!!! | ||||
* | Some extra error checking, documentation and style wrt connections | niklas | 1999-05-30 | 1 | -1/+9 |
| | |||||
* | Do not provide gethostby.*_r for now, as configure scripts find | niklas | 1999-04-28 | 1 | -4/+4 |
| | | | | | the functions using nm(1), but then no prototypes exist and things break. d@ will contemplate over the issue and resolve it for real later :-) | ||||
* | Add thread-safety to libc, so that libc_r will build (on i386 at least). | d | 1998-11-20 | 1 | -8/+76 |
| | | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO | ||||
* | Use fgetln(3) instead of fgets(3) so we can easily recognize lines | millert | 1998-03-16 | 1 | -6/+12 |
| | | | | that are too long and ignore them instead of corrupting later entries. | ||||
* | for YP lookups, avoid names longer than MAXHOSTNAMELEN | deraadt | 1998-01-20 | 1 | -1/+3 |
| | |||||
* | Add gethostent(), as some LEGACY code wants it. If you write new | weingart | 1998-01-11 | 1 | -1/+7 |
| | | | | | code, PLEASE don't use this. Currently only iterates through the local /etc/hosts file. | ||||
* | do not call abort() | deraadt | 1997-11-08 | 1 | -6/+2 |
| | |||||
* | Clean up some -Wall flowers. | millert | 1997-07-09 | 1 | -5/+5 |
| | |||||
* | oops | deraadt | 1997-04-29 | 1 | -9/+9 |
| | |||||
* | careful buffer handling | deraadt | 1997-04-29 | 1 | -9/+9 |
| | |||||
* | handle hex-like hostnames | deraadt | 1997-04-27 | 1 | -2/+3 |
| | |||||
* | correct the paranoia check | deraadt | 1997-04-15 | 1 | -7/+10 |
| | |||||
* | with this here commit i label myself not the swiftest | deraadt | 1997-04-14 | 1 | -8/+6 |
| | |||||
* | repair _hokchar | deraadt | 1997-04-13 | 1 | -6/+8 |
| | |||||
* | hokchar -> _hokchar, and make it non-static. Use it in getnetnamadr.c as | downsj | 1997-04-03 | 1 | -5/+5 |
| | | | | well. | ||||
* | another lookup[] loop accident | deraadt | 1997-04-03 | 1 | -2/+4 |
| | |||||
* | if dns lookup fails, still honour _res.lookups[] | deraadt | 1997-04-03 | 1 | -2/+2 |
| | |||||
* | ensure host_addr[] remains nicely aligned; pr#145, grr@shandakor.tharsis.com | deraadt | 1997-04-03 | 1 | -2/+6 |
| | |||||
* | spelling error | deraadt | 1997-04-02 | 1 | -2/+2 |
| | |||||
* | Integrate BIND 4.9.5 resolver and associated routines. | downsj | 1997-03-13 | 1 | -206/+569 |
| | | | | Includes the DNS aware getnetby*() routines and IPv6 support. | ||||
* | careful about MAXADDRS, abrown@eecs.harvard.edu | deraadt | 1997-01-30 | 1 | -1/+3 |
| | |||||
* | bzzzt | deraadt | 1996-09-28 | 1 | -11/+14 |
| | |||||
* | more INADDRSZ pedantry | deraadt | 1996-09-27 | 1 | -14/+11 |
| | |||||
* | use INADDRSZ, more careful length checking | deraadt | 1996-09-27 | 1 | -7/+8 |
| | |||||
* | be safer about spoofed hostnames; thanks to bitblt and oliver for help with ↵ | deraadt | 1996-09-26 | 1 | -14/+50 |
| | | | | these ideas | ||||
* | Add a couple of syscalls; bring more prototypes into scope | tholo | 1996-09-15 | 1 | -1/+2 |
| | |||||
* | Fix RCS ids | tholo | 1996-08-19 | 1 | -8/+1 |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | truncate h_name and h_aliases[] to MAXHOSTNAMELEN | deraadt | 1996-08-05 | 1 | -1/+11 |
| | |||||
* | yp_prot.h lies -> use yp.h (from yp.x) instead, change lots of structure | deraadt | 1996-04-24 | 1 | -1/+1 |
| | | | | | | | | | accesses to match. change xdr_domainname() and some other functions to take "char **" instead of "char *", as rpcgen intended -- helps programs linking against rpcgen output of yp.x. yp_all() should not free it's return value. split xdryp.c and yplib.c into ~20 files so binaries like "csh" need not link in functions like yp_maplist(). NIS+'s YP emulation code lacks YPPROC_ORDER... attempt to deal nicely. | ||||
* | Pull in prototypes | tholo | 1996-03-25 | 1 | -8/+7 |
| | | | | Do the right thing in presense of __STDC__ | ||||
* | netbsd: bind 4.9.3 | dm | 1996-02-19 | 1 | -2/+0 |
| | |||||
* | gethostbyname("#.#.#.#") should fail; not return an incompletely and | deraadt | 1995-11-20 | 1 | -0/+2 |
| | | | | | | incorrectly initialized hostent. in particular, h_name is supposed to be `an official name', and gethostbyname() wasn't even trying to meet that requirement. | ||||
* | initial import of NetBSD tree | deraadt | 1995-10-18 | 1 | -0/+654 |