summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Document the libpam dependency on libopiekris2000-04-181-0/+1
| | | | Reminded by: bde
* Change our ELF binary branding to something more acceptable to the Binutilsobrien2000-04-182-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maintainers. After we established our branding method of writing upto 8 characters of the OS name into the ELF header in the padding; the Binutils maintainers and/or SCO (as USL) decided that instead the ELF header should grow two new fields -- EI_OSABI and EI_ABIVERSION. Each of these are an 8-bit unsigned integer. SCO has assigned official values for the EI_OSABI field. In addition to this, the Binutils maintainers and NetBSD decided that a better ELF branding method was to include ABI information in a ".note" ELF section. With this set of changes, we will now create ELF binaries branded using both "official" methods. Due to the complexity of adding a section to a binary, binaries branded with ``brandelf'' will only brand using the EI_OSABI method. Also due to the complexity of pulling a section out of an ELF file vs. poking around in the ELF header, our image activator only looks at the EI_OSABI header field. Note that a new kernel can still properly load old binaries except for Linux static binaries branded in our old method. * * For a short period of time, ``ld'' will also brand ELF binaries * using our old method. This is so people can still use kernel.old * with a new world. This support will be removed before 5.0-RELEASE, * and may not last anywhere upto the actual release. My expiration * time for this is about 6mo. *
* Connect pam_opie to the build.kris2000-04-172-0/+2
|
* Add pam_opie, a PAM module using the OPIE one-time-password scheme.kris2000-04-172-0/+150
| | | | Submitted by: Jim Bloom <bloom@acm.org>
* Remove unneeded #includejlemon2000-04-161-1/+0
|
* Don't try to compile in INET6 support when NOINET6 is defined.steve2000-04-153-3/+12
|
* Apply TCP_EXPIRE_CONNECTED (86400 seconds) timeout only to establishedru2000-04-141-16/+10
| | | | | | | | | | | | | | connections, after SYN packets were seen from both ends. Before this, it would get applied right after the first SYN packet was seen (either from client or server). With broken TCP connection attempts, when the remote end does not respond with SYNACK nor with RST, this resulted in having a useless (ie, no actual TCP connection associated with it) TCP link with 86400 seconds TTL, wasting system memory. With high rate of such broken connection attempts (for example, remote end simply blocks these connection attempts with ipfw(8) without sending RST back), this could result in a denial-of-service. PR: bin/17963
* A complete reformatting of manual page.ru2000-04-131-724/+686
|
* Make partially specified permanent links without `dst_addr'ru2000-04-121-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | but with `dst_port' work for outgoing packets. This case was not handled properly when I first fixed this in revision 1.17. This change is also required for the upcoming improved PPTP support patches -- that is how I found the problem. Before this change: # natd -v -a aliasIP \ -redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT Out [TCP] [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to [TCP] aliasIP:localPORT -> remoteIP:remotePORT After this change: # natd -v -a aliasIP \ -redirect_port tcp localIP:localPORT publicIP:publicPORT 0:remotePORT Out [TCP] [TCP] localIP:localPORT -> remoteIP:remotePORT aliased to [TCP] publicIP:publicPORT -> remoteIP:remotePORT
* Add comment after localesache2000-04-1212-24/+48
| | | | | | Use .Li for type Suggested-by: sheldonh
* Fix typo, reported by George Cox.asmodai2000-04-121-8/+8
| | | | | | Fix hard sentence breaks. Submitted by: George Cox <gjvc@sophos.com>
* Do proper byte swapping in 64bit routines.sheldonh2000-04-121-14/+23
| | | | | | PR: 17681 Submitted by: "David E. Cross" <crossd@cs.rpi.edu> Obtained from: NetBSD
* Better wording according to multibyte(3)ache2000-04-1112-24/+96
| | | | | Better man formatting Add reference to multibyte(3)
* Add a missing THREAD_UNLOCK() found missing by Valentin Nechayevphk2000-04-102-8/+2
| | | | | | | <netch@segfault.kiev.ua> Remove allocation failure check from 'A' option, the 'X' option does this as a standalone check now.
* Document EWOULDBLOCK as a possible errno return value.archie2000-04-091-0/+7
|
* Break out sendudp and readudp from net.c. This is for PXE, so itps2000-04-084-215/+276
| | | | can use its own UDP interface.
* - Add support for FTP EPRT (RFC 2428) command.ru2000-04-061-63/+169
| | | | | | | | | - Minor optimizations. - Minor spelling fixes. PR: 14305 Submitted by: ume Rewritten by: ru
* - Remove unused includes.ru2000-04-051-24/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Minor spelling fixes. - Make IcmpAliasOut2() really work. Before this change: # natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P natd[87923]: Aliasing to A.A.A.A, mtu 1500 bytes In [UDP] [UDP] X.X.X.X:49562 -> P.P.P.P:50000 aliased to [UDP] X.X.X.X:49562 -> 192.168.1.1:50000 Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to [ICMP] A.A.A.A -> X.X.X.X 3(3) # tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)" tcpdump: listening on PUB_IFACE X.X.X.X.49562 > P.P.P.P.50000: udp 3 A.A.A.A > X.X.X.X: icmp: A.A.A.A udp port 50000 unreachable After this change: # natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P natd[89360]: Aliasing to A.A.A.A, mtu 1500 bytes In [UDP] [UDP] X.X.X.X:49563 -> P.P.P.P:50000 aliased to [UDP] X.X.X.X:49563 -> 192.168.1.1:50000 Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to [ICMP] P.P.P.P -> X.X.X.X 3(3) # tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)" tcpdump: listening on PUB_IFACE X.X.X.X.49563 > P.P.P.P.50000: udp 3 P.P.P.P > X.X.X.X: icmp: P.P.P.P udp port 50000 unreachable
* - Moved NULL definition into private include file.ru2000-04-052-7/+6
| | | | - Minor spelling fixes.
* Minor spelling fixes.ru2000-04-052-5/+7
|
* Correct Charles Mott's email addressbrian2000-04-021-1/+1
| | | | Requested by: Charles Mott <cmott@scientech.com>
* Replace the prefix for yylval to less confusing one.shin2000-04-021-1/+1
| | | | (Sorry, this should be committed with previous commit to Makefile.)
* Replace the prefix for yylval to less confusing one.shin2000-04-011-2/+2
| | | | Suggested by: bruce
* Allow PacketAliasSetTarget() to be passed the following:brian2000-03-312-13/+22
| | | | | | | | | | INADDR_NONE: Incoming packets go to the alias address (the default) INADDR_ANY: Incoming packets are not NAT'd (direct access to the internal network from outside) anything else: Incoming packets go to the specified address Change a few inaddr::s_addr == 0 to inaddr::s_addr == INADDR_ANY while I'm there.
* Change the return value of kvm_read/kvm_write to be -1 on error, tonectar2000-03-311-6/+6
| | | | | | | | match the documented interface. Previously it returned 0 on error. PR: bin/10511
* When an incoming packet is received that is not specificallybrian2000-03-311-1/+1
| | | | | | | redirected and when no target address has been specified, NAT the destination address to the alias address rather than allowing people direct access to your internal network from outside.
* Changes for PC-98.kato2000-03-299-0/+322
|
* Fix a memory leak.kris2000-03-291-5/+8
| | | | | PR: 17360 Submitted by: Andrew J. Korty <ajk@iu.edu>
* Actually, ${LIBY}/-ly aren't needed either. This should finish unbreakinggreen2000-03-291-2/+0
| | | | the world build.
* Back out valid argument domain change - sneak to this function by error.ache2000-03-281-4/+2
| | | | | Reword test condition better. Previous variant was true for negative characters too.
* Remove libl related dependencies, because it is not necessary, and even more,shin2000-03-281-2/+2
| | | | | | it cause building world failure. Specified by: Nickolay Dudorov <nnd@mail.nsk.ru>
* Describe valid argument domain for 8-bit wide locales to prevent common errorache2000-03-2815-0/+30
| | | | calling ctype functions with signed char as an argument.
* Fixed missing libraries in DPADD.bde2000-03-271-3/+3
| | | | | Fixed some style bugs (some usual ones for DPADD and LDADD, and misformatting of $FreeBSD$).
* Fixed missing DPADD.bde2000-03-271-1/+2
| | | | Fixed style bug for LDADD (don't use += for variables defined only once).
* MFS: Add a "magic" comment to help fixincludes realize it doesn't need toobrien2000-03-271-0/+2
| | | | | | modify this file when building GCC 2.96 [by hand or via the port]. Submitted by: Zack Weinberg <zack@wolery.cumb.org>
* -Wall, which caught a real bug where buflen wasn't being set properly.obrien2000-03-273-16/+16
|
* Decrement the timeout being passed to poll() if poll was interrupted forjlemon2000-03-261-5/+22
| | | | | | | some reason. This will prevent an infinite loop if (say) a sigalarm is being scheduled at a more frequent interval than the poll timeout. PR: 2191, 8847, 10553
* Spelling, fprintf -> err, remove unneeded variable declarationcharnier2000-03-261-8/+3
|
* lowercase error messagecharnier2000-03-261-1/+1
|
* Fix some spelling errors.mpp2000-03-241-6/+6
|
* Return IPv4 native address for IPv4 mapped IPv6 address, even ifume2000-03-231-8/+23
| | | | | | A RR is not found. Reviewed by: shin
* Fixed missing #include of <sys/types.h> in synopsis.bde2000-03-231-2/+3
| | | | | Fixed spelling error in prototype for inet_option_space(). Fixed syntax error in prototype for inet6_option_alloc().
* Fixed missing #include of <sys/types.h> in synopsis.bde2000-03-231-0/+1
|
* Fixed wrong arg type in synopsis.bde2000-03-231-1/+1
|
* Add a man page for aio_waitcomplete(). Update the aio_cancel() man page tojasone2000-03-213-19/+179
| | | | | | reflect the fact that aio_cancel() works now. Submitted by: Christopher Sedore <cmsedore@maxwell.syr.edu>
* Make _FindLinkIn() static and only define GetDestPort whenbrian2000-03-191-2/+4
| | | | NO_FW_PUNCH isn't defined.
* Explicitly include sys/cdefs.h to get the definition of __strong_reference(),jasone2000-03-183-0/+3
| | | | rather than getting lucky due to header dependencies.
* Back out that last commit, it may be insecure (pointed out by Warnerbsd2000-03-161-1/+1
| | | | Losh).
* Slight adjustment to __ivaliduser() - don't ignore the last line inbsd2000-03-161-1/+1
| | | | the .rhosts file just because there is no ending linefeed.
* Take care to avoid having "strong" and "weak" symbols of the same name injasone2000-03-1610-12/+14
| | | | libc_r.
OpenPOWER on IntegriCloud