Plethora of insects


CaT (cat@zip.com.au)
Tue, 17 Aug 1999 17:56:29 +1000


Hi. Just a quick report (not much time left):

cfingerd 1.4 in use. glibc 2.1, gcc 2.95

1. I can do finger @host from a site which doesn't appear in the trusted
   list. :/

Aug 17 17:33:04 fishies cfingerd[21427]: User listing from root@fishy.pip.com.au
Aug 17 17:33:10 fishies cfingerd[21432]: User listing from root@fishy.pip.com.au

2. userlist does not support UNIX98 PTY's. I have a patch for this but have
   no time to send it. tell me if you want it.

3. finger list sometimes becomes corrupt:

root@fishies:/etc/cfingerd>> finger @pipperii
[fishies.pip.com.au]
clam Clam */14 1:29 Aug 17 17:02 (prawn.pip.net.au)
root Fishy SysAdmin /2 4:22 Aug 17 09:57 (prawn:S.0)
root Fishy SysAdmin /8 9 Aug 17 13:48 (prawn:S.2)
root Fishy SysAdmin /9 1:49 Aug 17 13:48 (prawn:S.3)
root Fishy SysAdmin /11 Aug 17 13:48 (prawn:S.5)
root Fishy SysAdmin /12 Aug 17 15:47 (prawn:S.6)
root Fishy SysAdmin /13 1:06 Aug 17 16:07 (prawn:S.7)
root Fishy SysAdmin /10 1:16 Aug 17 13:48 (prawn:S.4)
root Fishy SysAdmin /16 6 Aug 17z?8z?8z?FDEH~ 17:06 (prawn:S.8)
root Fishy SysAdmin /0 5 Aug 17 12:52 (prawn:S.1)

config file below:

############################################################################
##
## Configurable Finger Daemon CONFIGURATION FILE version 1.31
## by Ken Hollis (khollis@bitgate.com)
##
############################################################################

## These are the files that are used in displaying specific finger-query
## information. These may be changed at the System Administrator's
## disgression only.
FILES display_files = {
        PLAN = ".plan",
        PROJECT = ".project",
        PGP_KEY = ".pgpkey",
        XFACE = ".xface",
        NO_FINGER = ".nofinger",
        USERLOG = ".fingerlog",
        LOGFILE = "/var/log/cfingerd.log",
        HEADER_DISPLAY = "/etc/cfingerd/top_finger.txt",
        FOOTER_DISPLAY = "/etc/cfingerd/bottom_finger.txt",
        NO_NAME_BANNER = "/etc/cfingerd/noname_banner.txt",
        NO_USER_BANNER = "/etc/cfingerd/nouser_banner.txt",
        REJECTED_BANNER = "/etc/cfingerd/rejected_banner.txt",
}

## These are the finger display options that are used for local, and remote
## hosts. The first option is for remote hosts, the second is for local.
##
## If "ALLOW_USER_OVERRIDE" is available, these are the only options that
## can be enabled/disabled.
CONFIG finger_display = {
        -HEADER_FILE = [false, FALSE],
        -FOOTER_FILE = [false, FALSE],
        +LOGIN_ID = [TRUE, TRUE],
        +REAL_NAME = [TRUE, TRUE],
        +DIRECTORY = [FALSE, TRUE],
        +SHELL = [FALSE, TRUE],
        +ROOM_NUMBER = [FALSE, TRUE],
        +WORK_NUMBER = [FALSE, TRUE],
        +HOME_NUMBER = [FALSE, TRUE],
        +OTHER = [FALSE, TRUE],
        +LAST_TIME_ON = [FALSE, TRUE],
        +IF_ONLINE = [FALSE, TRUE],
        +TIME_MAIL_READ = [true, TRUE],
        +DAY_MAIL_READ = [true, TRUE],
        +ORIGINATION = [FALSE, TRUE],
        +PLAN = [TRUE, TRUE],
        +PROJECT = [TRUE, TRUE],
        +PGP = [TRUE, TRUE],
        +XFACE = [TRUE, TRUE],
        -NO_NAME_BANNER = [false, TRUE],
        -REJECTED_BANNER = [false, TRUE],
        -SYSTEM_LIST = [FALSE, TRUE],
        -NO_USER = [false, TRUE]
}

## These are the internal configuration options that cfingerd uses to
## determine how to handle finger-queries. Note that each item that you
## want to enable or disable is used with a "+" to enable, and a "-" to
## disable. If you don't have the option listed, it is assumed to be
## enabled.
CONFIG internal_config = {
        +ALLOW_MULTIPLE_FINGER_DISPLAY,
        +ALLOW_SEARCHABLE_FINGER,
        +ALLOW_NO_IP_MATCH_FINGER,
        +ALLOW_USER_OVERRIDE,
        +ALLOW_USERLIST_ONLY,
        -ALLOW_FINGER_FORWARDING,
        -ALLOW_STRICT_FORMATTING,
        -ALLOW_VERBOSE_TIMESTAMPING,
        +ALLOW_NONIDENT_ACCESS,
        +ALLOW_FINGER_LOGGING,
        +ALLOW_LINE_PARSING,
        -ALLOW_USERLOG,
        -ALLOW_EXECUTION,
        +ALLOW_FAKEUSER_FINGER
}

## These are the sites that are queried for an entire listing when the
## user listing is requested. The sites listed below are fingered, and the
## entire listing is then sorted, and a final output is displayed.
##
## For the time being, if you want your site to display finger information
## in the userlisting, you *MUST* include the line below. This will soon
## (hopefully) change.
CONFIG system_list_sites = {
        localhost
}

## These are hosts that can finger your site and act as local-access hosts.
## In other words, these sites get the same displayed output that normal
## users on the localhost get. You can trust all sites by using a "*".
HOSTS trusted = {
        cow.pip.com.au
        dog.pip.com.au
        cat.pip.com.au
        pig.pip.com.au
        mouse.pip.com.au
        stork.pip.net.au
        horse.pip.com.au
}

## These are sites that are not allowed to finger your system, and they
## are displayed corresponding files. You can reject all systems using
## "*".
HOSTS rejected = {
}

## These are the forwarded hosts that are used when doing a finger-forward.
## This lets you forward a user to another system if the username could
## not be located on this system.
HOSTS finger_forward = {
}

## These are the strings that are displayed in the actual finger display.
## These strings get displayed in the correct positions based on what
## information you have allowed to be released.
CONFIG finger_strings = {
        USER_NAME = "Username: ",
        REAL_NAME = "In real life: ",
        DIRECTORY = "Home directory: ",
        SHELL = "Shell: ",
        ROOM_NUMBER = "Room: ",
        WORK_NUMBER = "Work phone: ",
        HOME_NUMBER = "Home phone: ",
        OTHER = "Other: ",
        PLAN = "Plan:",
        PROJECT = "Project:",
        PGPKEY = "PGP Public Key:",
        NO_PLAN = "This user has no plan.",
        NO_PROJECT = "This user has no project.",
        NO_PGP = "This user has no PGP public key.",
        WAIT = "Gathering system data...",
        XFACE = "XFace:",
        NO_XFACE = "This user has no xface file."
}

## These strings are displayed in syslogging.
CONFIG internal_strings = {
        NO_IP_HOST = "IP: Hostname not matched",
        RENICE_FATAL = "Fatal - Nice died: ",
        STDIN_EMPTY = "STDIN contains no data",
        TRUSTED_HOST = "<- Trusted",
        REJECTED_HOST = "<- Rejected",
        ROOT_FINGER = "Root",
        SERVICE_FINGER = "Service listing",
        USER_LIST = "User listing",
        FAKE_USER = "Fake user",
        WHOIS_USER = "Whois request"
}

## These are the strings that you can change for display when a signal
## is encountered. Only these strings and associated signals are displayed
## or detected. If you don't know what you're doing, don't change these
## signal text displays.
CONFIG signal_strings = {
        SIGHUP = "Hangup signal",
        SIGINT = "Keyboard interruption signal",
        SIGQUIT = "Keyboard quit signal",
        SIGILL = "Illegal instruction",
        SIGTRAP = "Trace/Breakpoint reached",
        SIGABRT = "Aborted",
        SIGFPE = "Floating Point Exception",
        SIGUSR1 = "User-defined",
        SIGSEGV = "Segmentation violation",
        SIGUSR2 = "User-defined",
        SIGPIPE = "Write to pipe w/o headers",
        SIGALRM = "Script or program timed out",
        SIGTERM = "Terminated",
        SIGCONT = "Continued from stopped job",
        SIGTSTP = "Stopped at TTY (Inetd-related?)",
        SIGTTIN = "TTY input from bgnd process (Inetd-related?)",
        SIGTTOU = "TTY output from bgnd process (Inetd-related?)",
        SIGIO = "I/O Error (on socket/non-socket)",
        SIGXCPU = "CPU Time limit exceeded",
        SIGXFSZ = "File size limit exceeded",
        SIGVTALRM = "Virtual timer alarm",
        SIGPROF = "Profiler",
        SIGWINCH = "VT/X Window size changed"
}

## These are the programs that are called when a finger or whois command
## needs to be called. These are local programs, so they can be whatever
## you want. (Remember, this is a daemon, not a client.)
FILES finger_programs = {
        FINGER = "/usr/bin/finger",
        WHOIS = "/usr/bin/whois"
}

## These are the users that don't exist on your system, but can be called
## on as scripts. Read over cfingerd.conf(5) for more details on these
## options.
#FILES finger_fakeusers = {
# "uptime", "System Uptime", FALSE, "/etc/cfingerd/scripts/uptime",
# "test", "Test Script", TRUE, "/etc/cfingerd/scripts/test",
# "trace", "Trace route", TRUE, "/etc/cfingerd/scripts/trace"
#}

## THIS PART OF THE CONFIGURATION FILE IS OPTIONAL! YOU DO NOT HAVE TO
## CHANGE ANYTHING BELOW THIS LINE UNLESS YOU WANT TO CHANGE THE FORMAT
## OF THE SERVICES LISTING. SEE DOCS FOR MORE DETAILS!

## This is the header that is displayed at the top of your services display.
CONFIG services_header = {
                   *** Services provided by this system ***

                     User: Service name: Searchable:
                   -------- -------------------- -----------
                   %-8s %-20s %-s
}

## These are the positions of the actual items in the header.
CONFIG services_positions = {
        USER = 1,
        SERVICE = 2,
        SEARCH = 3
}

-- 
CaT (cat@pip.com.au)                       URL: http://www.pip.com.au/dev/null



This archive was generated by hypermail 2.0b3 on Tue Aug 17 1999 - 09:57:52 CEST