| Age | Commit message (Collapse) | Author |
|
|
|
al - user to auto-login as
if - banner file to display, like /etc/issue
|
|
macro.
|
|
by Geoff C. Wing.
|
|
of passing an array with incomplete contents to login(1).
Fix provided by Jun-ichiro itojun Hagino in PR bin/9082.
|
|
|
|
|
|
* xref /usr/share/examples/ftpd/ftpd.conf
|
|
|
|
userglob[:groupglob][@host] [directive [class]]
* append ``(class: CLASSNAME, type: TYPE)'' to the syslogged login messages
|
|
|
|
|
|
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
|
|
this is a much cleaner solution for supporting multihomed virtual servers.
from Geoff C. Wing <gcw@pobox.com> in [bin/8137].
|
|
* 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
|
|
|
|
|
|
|
|
|
|
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
|
|
xxx: still needs a bit of work
|
|
|
|
passed to "login" is '\0'-terminated
|
|
|
|
toward AF_INET6 socket).
|
|
|
|
if the library transformation attached more than one element.
|
|
To be documented in the man page.
|
|
(sync with KAME)
|
|
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
|
|
This fixes PR bin/8977 by Thilo Manske.
|
|
|
|
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
|
|
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.
|
|
|
|
|
|
for the benefit of building a.out (cross) ld on ELF platforms.
Suggested by Minoura Makoto.
|
|
|
|
|
|
|
|
|
|
|
|
similar logic to inetd to identify such looping.
|
|
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
|
|
beyond the first 2G of disk can be cleaned.
|
|
untested.)
|
|
untested.)
|
|
|
|
|
|
symbol support -- updated by me for elf.h changes.
|