summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2000-01-04Oops, fix previous.ad
2000-01-04Add two new capabilities to gettytab - idea from FreeBSD:ad
al - user to auto-login as if - banner file to display, like /etc/issue
1999-12-31Accept all kind of whitespaces when searching for the end of a nrofftron
macro.
1999-12-31Correct and improve nroff macro stripping. Partially fixes PR bin/9083tron
by Geoff C. Wing.
1999-12-31Abort if memory for execv(2) argument array cannot be allocated insteadtron
of passing an array with incomplete contents to login(1). Fix provided by Jun-ichiro itojun Hagino in PR bin/9082.
1999-12-31indentation fix.itojun
1999-12-27don't stutter when printing error messages.christos
1999-12-26* document all classtype defaultslukem
* xref /usr/share/examples/ftpd/ftpd.conf
1999-12-21crank versionlukem
1999-12-21* add support for optional groupglob in ftpuser entry. the syntax is now:lukem
userglob[:groupglob][@host] [directive [class]] * append ``(class: CLASSNAME, type: TYPE)'' to the syslogged login messages
1999-12-21trivial simplificationlukem
1999-12-20PR/9031: Scott Ellis: Ignore empty sysctl directive lines.christos
1999-12-19* add back support for `-h hostname'; it still may be useful to overridelukem
the name advertised to the client, even if ftpd can determine it from the ip address that ftpd is bound to. requested by mrg. * remove -4/-6; they were effectively no-ops since itojun's change in 1.75. * crank version
1999-12-18deprecate -h hostname in favour of automatic determination of local hostname.lukem
this is a much cleaner solution for supporting multihomed virtual servers. from Geoff C. Wing <gcw@pobox.com> in [bin/8137].
1999-12-18* move version to separate header filelukem
* use .Dv and .Tn in the man pages as appropriate * KNF a bit The following were inspired by similar changes in openbsd, but may have additional improvements by me: * add more check_login tests to the parser rules * nuke a few memory leaks in the parser rules * clear passwords before free()ing them, for safety * don't display \r\n in setproctitle() output * add support for -U, which enables managing /var/run/utmp entries for connections. solves [bin/2217] by Jason Downs <downsj@teeny.org> * fix oob handling for STAT command * use SIG_ERR instead of -1
1999-12-16install ftpusers(5) as ftpchroot(5). more cleanupslukem
1999-12-16crank versionlukem
1999-12-16cleanuplukem
1999-12-16do not touch __ss_len directly, they are not supposed to be touched.itojun
1999-12-16* add support for `-h hostname', which defines the hostname to advertiselukem
as (useful for virtual ftp servers in conjunction with inetd.conf(5)'s ability to bind to a specific address). if this option is used, add `hostname' to the syslog messages. * improve documentation of command-line options * don't allow class names of `all' or `none' in ftpusers
1999-12-16separate ftpd.conf(5) and ftpusers(5) out from ftpd(8).lukem
xxx: still needs a bit of work
1999-12-15make a debugging formatting statement work portablychristos
1999-12-15add one byte to the username character array and make sure the stringdrochner
passed to "login" is '\0'-terminated
1999-12-15Do what the people want. Support full sysctl names.christos
1999-12-13do not perform setsockopt(IP_TOS) on mapped connections (IPv4 connectionitojun
toward AF_INET6 socket).
1999-12-13indent properly a debugging statement and fix grammar.christos
1999-12-13For the benefit of ldd and debuggers, append more Needed_Entry elementschristos
if the library transformation attached more than one element.
1999-12-13Enable parsing and mapping of hardware dependent libraries in ld.so.confchristos
To be documented in the man page.
1999-12-13avoid use of s6_addr32, as it is non-standard.itojun
(sync with KAME)
1999-12-12* change format of /etc/ftpusers lines fromlukem
userglob [allow|deny] to userglob[@host] [allow|deny [classname]] where class is a userdefined classname. - if host is given it may either be a CIDR address (e.g, `1.2.3.0/24') or a hostglob (e.g, `*.foo.com'), and the remote host is matched against that. - if classname is given, use that to match entries in ftpd.conf (defaults to `guest' for `anonymous'/`ftp' logins, `chroot' for users found in /etc/ftpchroot, and `real' for everyone else. * implement new /etc/ftpd.conf directives: classtype classname type set type of classname to GUEST, CHROOT, or REAL motd classname file file to use instead of /etc/motd rateget classname rate set rateget throttle to rate rateput classname rate set rateput throttle to rate upload classname allow/deny uploads (STOU, STOR, APPE). if denied, also acts as `modify deny'. * implement new `SITE' commands: RATEGET as per /etc/ftpd.conf rateget, but cannot exceed that RATEPUT as per /etc/ftpd.conf rateput, but cannot exceed that * implement format_file(), which outputs a file to the user, parsing % escapes. use to print /etc/ftpwelcome, /etc/motd, and the `display' file. * implement strsuftoi() (from ftp(1)), which parses a number and optional suffix (for use with rateget, etc) * don't bother seteuid(0) ; bind(...) ; seteuid(pw->pw_uid), since we don't need reserved ports (at wasn't getting them anyway). * update & reorder copyrights * use strlcpy() as appropriate
1999-12-11Recognize manual page sections "l" and "n" used by the package system.tron
This fixes PR bin/8977 by Thilo Manske.
1999-12-09close pdata when it is kept opened till call to {,long_}passive().itojun
1999-12-08Use "addend" for R_68K_GOT32, R_68K_PC32, and R_68K_32 relocations.itohy
I'm not sure whether R_68K_GOT32 relocations appear in shared objects, though.... Example: lea %pc@(got+0x1234@GOTPC),%a0 | R_68K_GOT32 bsrl foo+0x5678 | R_68K_PC32 lea bar+0x9abc,%a1 | R_68K_32
1999-12-07* change ftpd_popen() to take char *argv[] instead of char *cmd.lukem
the string tokenisation must be performed by the caller (which is generally easy because it's almost always a static command). * change do_conversion() to return a char *argv[] instead of char *cmd. tokenisation of the command is done internally. * change retrieve() to take char *argv[] instead of char *cmd. (to take advantage of the above changes). fixes [bin/8173] * use fparseln() instead of fgetln() * store conversions in listed order (rather than reverse order) * use stringlists instead of handrolling code to manage an argv.
1999-12-05More CL* fallout.fredb
1999-11-29No need for <varargs.h> here.pk
1999-11-29Use <link_aout.h> instead of <link.h>itohy
for the benefit of building a.out (cross) ld on ELF platforms. Suggested by Minoura Makoto.
1999-11-28check return val of sl_init() and sl_add()lukem
1999-11-19Don't pass so many args to .Nd macro. It just overflows.enami
1999-11-18Spellingkristerw
1999-11-10Name consistencty nit: curmark -> _rtld_curmarkthorpej
1999-11-10Some slight cosmetic cleanup.thorpej
1999-11-09If the child cleaner dies repeatedly without doing anything, give up. Usesperseant
similar logic to inetd to identify such looping.
1999-11-09Since our gcc doesn't warn about NULL format strings anymore, we candrochner
fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
1999-11-09Make datobyte do its arithmetic explicitly in 64 bits, so that segmentsperseant
beyond the first 2G of disk can be cleaned.
1999-11-07Make this more likely to compile with ld.elf_so changes. (But this ismycroft
untested.)
1999-11-07Make this more likely to compile with ld.elf_so changes. (But this ismycroft
untested.)
1999-11-07More fallout.mycroft
1999-11-07Fix fallout from MD ld.elf_so changes.mycroft
1999-11-07Changes from msaitoh to fix local/global symbol confusion, and to fix weakmycroft
symbol support -- updated by me for elf.h changes.