aboutsummaryrefslogtreecommitdiff
path: root/libexec
Commit message (Collapse)AuthorAgeFilesLines
* Add revnetgroup.Bill Paul1995-10-261-1/+1
| | | | Notes: svn path=/head/; revision=11817
* Import the first cut of my (finally finished) revnetgroup program. ThisBill Paul1995-10-266-0/+951
| | | | | | | | | | | | | | | | program parses the /etc/netgroup file into netgroup.byuser and netgroup.byhost format for NIS. I used hash tables to store the initial netgroup data in memory and to construct the 'reverse' netgroup output. It seems just as fast as the SunOS revnetgroup, which is surprising considering this is my first attempt at using hash tables in a real application. :) Note that I canibalized a large chunk of getnetgrent.c to save myself from having to write my own netgroup parsing functions. Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=11814
* Run-time linker speedups - Round OneNate Williams1995-10-251-3/+170
| | | | | | | | | | | | | | | | | | | | | | | Implemented symbol memorizing to reduce the number of calls to lookup(), making relocation go faster. While relocating a given shared object, the dynamic linker maintains a memorizing vector that is directly indexed by the symbol number in the relocation entry. The first time a given symbol is looked up, the memorizing vector is filled in with a pointer to the symbol table entry, and a pointer to the so_map of the shared object in which the symbol was defined. On subsequent uses of the same symbol, that information is retrieved directly from the memorizing vector, without calling lookup() again. A symbol that is referenced in a relocation entry is typically referenced in many relocation entries, so this memorizing reduces the number of calls to lookup() dramatically. The overall improvement in the speed of dynamic linking is also dramatic -- as much as a factor of three for programs that use many shared libaries. Submitted by: jdp@polstra.com "John Polstra" Notes: svn path=/head/; revision=11781
* Remove LD_NOSTD_PATH unsetenv, isn't exist anymoreAndrey A. Chernov1995-10-241-1/+0
| | | | Notes: svn path=/head/; revision=11767
* Remove LD_NOSTD_PATH implementation, it isn't works andAndrey A. Chernov1995-10-241-4/+2
| | | | | | | | can cause some problems. Suggested-by: davidg Notes: svn path=/head/; revision=11766
* if uid != euid or gid != egid unsetenv("LD_NOSTD_PATH") tooAndrey A. Chernov1995-10-211-1/+2
| | | | Notes: svn path=/head/; revision=11617
* Fix original patch error with ! before strncmpAndrey A. Chernov1995-10-201-4/+10
| | | | | | | Zap only needed LD_* variables Notes: svn path=/head/; revision=11597
* Don't allow LD_* env. variables to be trickedAndrey A. Chernov1995-10-201-0/+22
| | | | | | | Submitted by: Sam Hartman <hartmans@mit.edu> Notes: svn path=/head/; revision=11591
* Added a -D option to set the TCP_NODELAY socket option. This improvesDavid Greenman1995-10-152-5/+17
| | | | | | | responsiveness at the expense of some additional network traffic. Notes: svn path=/head/; revision=11486
* Kerberos can now deal with multi-homed clients.Justin T. Gibbs1995-10-051-1/+1
| | | | | | | | | | | | | | | | | Kerberos obtains a network address for the local host from the routing tables and uses it consistently for all Kerberos transactions. This ensures that packets only leave the *authenticated* interface. Clients who open and use their own sockets for encrypted or authenticated correspondance to kerberos services should bind their sockets to the same address as that used by kerberos. krb_get_local_addr() and krb_bind_local_addr() allow clients to obtain the local address or bind a socket to the local address used by Kerberos respectively. Reviewed by: Mark Murray <markm>, Garrett Wollman <wollman> Obtained from: concept by Dieter Dworkin Muller <dworkin@village.org> Notes: svn path=/head/; revision=11233
* This is a FreeBSD manpage, not a NetBSD manpage. :)Nate Williams1995-10-053-6/+6
| | | | Notes: svn path=/head/; revision=11198
* Build secure telnetd if available and allowedAndrey A. Chernov1995-09-291-0/+2
| | | | Notes: svn path=/head/; revision=11068
* Fix SRCS (.c's were .o's) so that `make depend' works.Bruce Evans1995-09-281-2/+2
| | | | Notes: svn path=/head/; revision=11050
* Make the error message more readable when 'ld.so' cannot locate a neededNate Williams1995-09-271-13/+11
| | | | | | | | | | | | | | | | | shared library. Formerly, the message looked like this: ld.so: run: libjdp1.so.1.0: Undefined error: 0 The new message looks like this: ld.so: run: Can't find shared library "libjdp1.so.1.0" (Where "run" is the name of the program being executed.) Submitted by: jdp@polstra.com (John Polstra) Notes: svn path=/head/; revision=11041
* Fixup the "ld.so failed" message for the case when ld.so finds undefinedNate Williams1995-09-271-5/+5
| | | | | | | | | | | | | | symbols. An easy example to see this is to develop an X program which links against Xt, but doesn't add -lX11 to the link line. It will link fine, but cause run-time errors by ld.so because of missing symbols used by Xt defined in X11. This patch makes the errors more readable. Submitted by: jdp@polstra.com (John Polstra) Notes: svn path=/head/; revision=11040
* Fixed bug introduced with the change of startslave()...two argumentsDavid Greenman1995-09-111-3/+3
| | | | | | | | | were chopped off of the function call and garbage was passed instead. The solution involves making some variable globals as well as fixing the call to have all the arguments. Notes: svn path=/head/; revision=10678
* Move erase cleanup outside linemode conditionalPaul Traina1995-09-061-1/+1
| | | | Notes: svn path=/head/; revision=10571
* Properly set the erase character for the login prompt.Paul Traina1995-09-051-1/+5
| | | | | | | Submitted by: John Capo <jc@irbs.com> & Peter Wemm Notes: svn path=/head/; revision=10561
* Delay starting login process until option negotiation is complete toPaul Traina1995-09-051-22/+7
| | | | | | | | | avoid race condition on connections with larger round-trip-times. Submitted by: John Capo & Peter Wemm Notes: svn path=/head/; revision=10560
* Fix ${.CURDIR} misspellingAndrey A. Chernov1995-08-291-2/+2
| | | | Notes: svn path=/head/; revision=10415
* Check for expired passwords before allowing access to the system.Mike Pritchard1995-08-285-5/+19
| | | | Notes: svn path=/head/; revision=10401
* Import Paul Kranenburg's man page for ld.so (aka. rtld).Joerg Wunsch1995-08-264-2/+435
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=10335
* Upgrade to 2.9Andrey A. Chernov1995-08-215-68/+236
| | | | Notes: svn path=/head/; revision=10154
* Change `install' to `${INSTALL}' so that default install flags can beBruce Evans1995-08-061-1/+1
| | | | | | | | | | specified in the top level Makefiles. Previously I missed dozens of Makefiles that skip the install after using `cmp -s' to decide that the install isn't necessary. Notes: svn path=/head/; revision=9970
* Only build telnetd if secure telnetd is not going to be built.Mark Murray1995-08-061-1/+5
| | | | | | | Reviewed by: rgrimes Notes: svn path=/head/; revision=9962
* Use data ports in the range 40000..44999 by default to enhance FTP usabilityPaul Traina1995-08-053-8/+46
| | | | | | | | | | in a firewall environment. Original idea by Mark Tracy (?). Reviewed by: wollman Submitted by: pst Notes: svn path=/head/; revision=9933
* Fix some typos in a comment BUAD -> BAUD.Andreas Schulz1995-08-051-3/+3
| | | | Notes: svn path=/head/; revision=9931
* Back this change out. It's just not worth arguing over and any further emailsJordan K. Hubbard1995-08-032-35/+4
| | | | | | | | | I get on this topic will go straight to /dev/null. This is absolutely the last word on this topic you'll see from me. Too much time has already been wasted. Notes: svn path=/head/; revision=9875
* Change default banner fro 4.4 BSD to FreeBSD.Paul Richards1995-08-021-1/+1
| | | | | | | | | Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=9860
* Use the same DECODE_BAUD trick like in new telnetd to obtainAndrey A. Chernov1995-08-021-0/+17
| | | | | | | | termios speed. Obtained from: Pre-Lite2 telnet Notes: svn path=/head/; revision=9857
* A useful aid.. Add support for:Jordan K. Hubbard1995-08-012-4/+35
| | | | | | | | | | | %r: current release %m: machine architecture type (i386 for now) %s: OS name (FreeBSD) from uname() in banner string. Notes: svn path=/head/; revision=9839
* rexecd was not calling "setlogin()" when it should have. This was causingPeter Wemm1995-07-291-0/+2
| | | | | | | | | getlogin() to return wrong answers (eg: "root"). Reviewed by: davidg Obtained from: James Jegers, for NetBSD, slightly reworked by me. Notes: svn path=/head/; revision=9765
* Uncomment 'CFLAGS+=ETC_ETHERS' -- we have support for this as of 2.0.5.Bill Paul1995-07-251-2/+2
| | | | Notes: svn path=/head/; revision=9720
* Change hardcoded 15 (which means 38400) to B115200 which is 17Andrey A. Chernov1995-07-231-2/+1
| | | | Notes: svn path=/head/; revision=9651
* Change ld.so to correctly load dependant libraries for dlopen and unload themDoug Rabson1995-06-271-66/+234
| | | | | | | | | | | | | | | | | | | | on dlclose. Also correctly call constructors and destructors for libraries linked with /usr/lib/c++rt0.o. Change interpretation of dlopen manpage to call _init() rather than init() for dlopened objects. Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to call destructors when an object is unloaded. Change interface between crt0 and ld.so to allow crt0 to call a function on exit to call destructors for shared libraries explicitly. These changes are backwards compatible. Old binaries will work with the new ld.so and new binaries will work with the old ld.so. A version number has been introduced in the crt0-ld.so interface to allow for future changes. Reviewed by: GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us> Notes: svn path=/head/; revision=9335
* The final negotiation of DO_BINARY in the LINEMODE portion of the telnetd codeDavid Greenman1995-06-171-19/+28
| | | | | | | | | | | | | causes some clients that do not support linemode to mis-interpret the return key (i.e. double returns). The fix is to only do the state check for binary options if linemode will be used. Closes PR#505. Submitted by: Charles Henrich Notes: svn path=/head/; revision=9253
* Remove trailing whitespace.Rodney W. Grimes1995-05-3039-142/+142
| | | | Notes: svn path=/head/; revision=8870
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-6/+6
| | | | Notes: svn path=/head/; revision=8858
* Make last change a little more robust by checking for failure of getcwd().David Greenman1995-05-221-1/+4
| | | | Notes: svn path=/head/; revision=8697
* Set "HOME" so that tilde expands correctly. It previously was always root'sDavid Greenman1995-05-221-0/+7
| | | | | | | directory /root. Notes: svn path=/head/; revision=8696
* Speed up ftpd and make it more efficient:Garrett Wollman1995-05-031-7/+62
| | | | | | | | | | | | | | | | - set TCP_NOPUSH to keep from sending short packets at each write(2) boundary - set SO_SNDBUF to 64k so we have a reasonable amount of buffer space - for a regular file in binary mode which is not being restarted and is . smaller than 16 Meg, use mmap(2) and write(2) the whole file in one big gulp In the most common circumstances, this should dramatically reduce the system-call load from ftpd, since the call to write() will not return until the entire file has been written, rather than writing just a few K at a time in a loop. Notes: svn path=/head/; revision=8240
* Fix bug:Andrey A. Chernov1995-04-261-2/+9
| | | | | | | | | When hostname len > 8, name replaced with dot notation when -u flag not specified (default case). Use _PATH_* for utmp/wtmp. Notes: svn path=/head/; revision=8093
* Sync. up bits with Paul K. Cascade support plus some cosmetic changes.Nate Williams1995-04-211-13/+60
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=7971
* Extensive updates to this package.Jordan K. Hubbard1995-04-188-33/+98
| | | | | | | Submitted by: Gene Stark <gene@starkhome.cs.sunysb.edu> Notes: svn path=/head/; revision=7914
* Fix two more references to /etc/motd that I overlooked. PR #29Gary Palmer1995-04-151-2/+2
| | | | Notes: svn path=/head/; revision=7842
* Close PR #29. The file should be /etc/ftpmotd, not /etc/motd.Gary Palmer1995-04-151-1/+1
| | | | Notes: svn path=/head/; revision=7841
* Add some useful sendmail optionsAndrey A. Chernov1995-04-121-1/+2
| | | | Notes: svn path=/head/; revision=7777
* Upgrade.Andrey A. Chernov1995-04-123-218/+398
| | | | | | | Close security holes reported. Notes: svn path=/head/; revision=7768
* The servers bootpd & bootpgw live in /usr/libexec not /etc. Correct theGary Palmer1995-04-121-3/+3
| | | | | | | references in the man page. Notes: svn path=/head/; revision=7766
* Fix truncating hostname using MAXHOSTNAMELENAndrey A. Chernov1995-03-241-1/+2
| | | | | | | Submitted by: Jan Conard <charly@fachschaften.tu-muenchen.de> Notes: svn path=/head/; revision=7317