1*2aef6930SMark MurrayRequest: after building the programs, please run the `tcpdchk' wrapper 2*2aef6930SMark Murrayconfiguration checker. See the `tcpdchk.8' manual page (`nroff -man' 3*2aef6930SMark Murrayformat) for instructions. `tcpdchk' automatically identifies the most 4*2aef6930SMark Murraycommon configuration problems, and will save you and me a lot of time. 5*2aef6930SMark Murray 6*2aef6930SMark MurrayChanges per release 7.6 (Mar 1997) 7*2aef6930SMark Murray================================== 8*2aef6930SMark Murray 9*2aef6930SMark Murray- Improved the anti source-routing protection. The code in version 10*2aef6930SMark Murray7.5 was not as strong as it could be, because I tried to be compatible 11*2aef6930SMark Murraywith Linux. That was a mistake. Sorry for the inconvenience. 12*2aef6930SMark Murray 13*2aef6930SMark Murray- The program no longer terminates case of a source-routed connection, 14*2aef6930SMark Murraymaking the IP-spoofing code more usable for long-running daemons. 15*2aef6930SMark Murray 16*2aef6930SMark Murray- When syslogging DNS hostname problems, always stop after a limited 17*2aef6930SMark Murraynumber of characters. 18*2aef6930SMark Murray 19*2aef6930SMark MurrayChanges per release 7.5 (Feb 1997) 20*2aef6930SMark Murray================================== 21*2aef6930SMark Murray 22*2aef6930SMark Murray- Optionally refuse source-routed TCP connections requests altogether. 23*2aef6930SMark MurrayCredits to Niels Provos of Universitaet Hamburg. File: fix_options.c. 24*2aef6930SMark Murray 25*2aef6930SMark Murray- Support for IRIX 6 (Lael Tucker). 26*2aef6930SMark Murray 27*2aef6930SMark Murray- Support for Amdahl UTS 2.1.5 (Richard E. Richmond). 28*2aef6930SMark Murray 29*2aef6930SMark Murray- Support for SINIX 5.42 (Klaus Nielsen). 30*2aef6930SMark Murray 31*2aef6930SMark Murray- SCO 5 now has vsyslog() (Bill Golden). 32*2aef6930SMark Murray 33*2aef6930SMark Murray- Hints and tips for dealing with IRIX inetd (Niko Makila, Aaron 34*2aef6930SMark MurrayM Lee). 35*2aef6930SMark Murray 36*2aef6930SMark Murray- Support for BSD/OS (Paul Borman). 37*2aef6930SMark Murray 38*2aef6930SMark Murray- Support for Tandem (Emad Qawas). 39*2aef6930SMark Murray 40*2aef6930SMark Murray- Support for ISC (Frederick B. Cohen). 41*2aef6930SMark Murray 42*2aef6930SMark Murray- Workaround for UNICOS - it would choke on a setjmp() expression 43*2aef6930SMark Murray(Bruce Kelly). File: hosts_access.c, tcpdchk.c. 44*2aef6930SMark Murray 45*2aef6930SMark Murray- Increased the level of buffer overflow paranoia when printing 46*2aef6930SMark Murrayunwanted IP options. File: fix_options.c. 47*2aef6930SMark Murray 48*2aef6930SMark MurrayChanges per release 7.4 (Mar 1996) 49*2aef6930SMark Murray================================== 50*2aef6930SMark Murray 51*2aef6930SMark Murray- IRIX 5.3 (and possibly, earlier releases, too) library routines call 52*2aef6930SMark Murraythe non-reentrant strtok() routine. The result is that hosts may slip 53*2aef6930SMark Murraythrough allow/deny filters. Workaround is to not rely on the vendor's 54*2aef6930SMark Murraystrtok() routine (#ifdef LIBC_CALLS_STRTOK). Credits to Th. Eifert 55*2aef6930SMark Murray(Aachen University) for spotting this one. This fix supersedes the 56*2aef6930SMark Murrayearlier workaround for a similar problem in FreeBSD 2.0. 57*2aef6930SMark Murray 58*2aef6930SMark MurrayChanges per release 7.3 (Feb 1996) 59*2aef6930SMark Murray================================== 60*2aef6930SMark Murray 61*2aef6930SMark Murray- More tests added to tcpdchk and tcpdmatch: make sure that the 62*2aef6930SMark MurrayREAL_DAEMON_DIR actually is a directory and not a regular file; 63*2aef6930SMark Murraydetect if tcpd recursively calls itself. 64*2aef6930SMark Murray 65*2aef6930SMark Murray- Edwin Kremer found an amusing fencepost error in the xgets() 66*2aef6930SMark Murrayroutine: lines longer than BUFLEN characters would be garbled. 67*2aef6930SMark Murray 68*2aef6930SMark Murray- The access control routines now refuse to execute "dangerous" actions 69*2aef6930SMark Murraysuch as `twist' when they are called from within a resident process. 70*2aef6930SMark MurrayThis prevents you from shooting yourself into the foot with critical 71*2aef6930SMark Murraysystems programs such as, e.g., portmap or rpcbind. 72*2aef6930SMark Murray 73*2aef6930SMark Murray- Support for Unicos 8.x (Bruce Kelly). The program now closes the 74*2aef6930SMark Murraysyslog client socket before running the real daemon: Cray UNICOS 75*2aef6930SMark Murrayrefuses to checkpoint processes with open network ports. 76*2aef6930SMark Murray 77*2aef6930SMark Murray- Support for MachTen UNIX (Albert M.C Tam). 78*2aef6930SMark Murray 79*2aef6930SMark Murray- Support for Interactive UNIX R3.2 V4.0 (Bobby D. Wright). 80*2aef6930SMark Murray 81*2aef6930SMark Murray- Support for SCO 3.2v5.0.0 OpenServer 5 (bob@odt.handy.com) 82*2aef6930SMark Murray 83*2aef6930SMark Murray- Support for Unixware 1.x and Unixware 2.x. The old Unixware Makefile 84*2aef6930SMark Murrayrule was broken. Sorry about that. 85*2aef6930SMark Murray 86*2aef6930SMark Murray- Some FreeBSD 2.0 libc routines call strtok() and severely mess up the 87*2aef6930SMark Murrayallow/deny rule processing. This is very bad. Workaround: call our own 88*2aef6930SMark Murraystrtok() clone (#ifdef USE_STRSEP). 89*2aef6930SMark Murray 90*2aef6930SMark Murray- The programs now log a warning when they detect that a non-existent 91*2aef6930SMark Murraybanner directory is specified. 92*2aef6930SMark Murray 93*2aef6930SMark Murray- The hosts_access.3 manual page used obsolete names for the RQ_* 94*2aef6930SMark Murrayconstants. 95*2aef6930SMark Murray 96*2aef6930SMark MurrayChanges per release 7.2 (Jan 1995) 97*2aef6930SMark Murray================================== 98*2aef6930SMark Murray 99*2aef6930SMark Murray- Added a note to the README and manpages on using the IDENT service to 100*2aef6930SMark Murraydetect sequence number spoofing and other host impersonation attacks. 101*2aef6930SMark Murray 102*2aef6930SMark Murray- Portability: ConvexOS puts RPC version numbers before the daemon path 103*2aef6930SMark Murrayname (Jukka Ukkonen). 104*2aef6930SMark Murray 105*2aef6930SMark Murray- Portability: the AIX compiler disliked the strchr() declaration 106*2aef6930SMark Murrayin socket.c. I should have removed it when I included <string.h>. 107*2aef6930SMark Murray 108*2aef6930SMark Murray- Backwards compatibility: some people relied on the old leading dot or 109*2aef6930SMark Murraytrailing dot magic in daemon process names. 110*2aef6930SMark Murray 111*2aef6930SMark Murray- Backwards compatibility: hostname lookup remains enabled when 112*2aef6930SMark Murray-DPARANOID is turned off. In order to disable hostname lookups you 113*2aef6930SMark Murraymust turn off -DALWAYS_HOSTNAME. 114*2aef6930SMark Murray 115*2aef6930SMark Murray- Eliminated false complaints from the tcpdmatch/tcpdchk configuration 116*2aef6930SMark Murraychecking programs about process names not in inetd.conf or about KNOWN 117*2aef6930SMark Murrayusername patterns. 118*2aef6930SMark Murray 119*2aef6930SMark MurrayChanges per release 7.1 (Jan 1995) 120*2aef6930SMark Murray================================== 121*2aef6930SMark Murray 122*2aef6930SMark Murray- Portability: HP-UX permits you to break inetd.conf entries with 123*2aef6930SMark Murraybackslash-newline. 124*2aef6930SMark Murray 125*2aef6930SMark Murray- Portability: EP/IX has no putenv() and some inetd.conf entries are 126*2aef6930SMark Murrayspread out over two lines. 127*2aef6930SMark Murray 128*2aef6930SMark Murray- Portability: SCO with NIS support has no *netgrent() routines. 129*2aef6930SMark Murray 130*2aef6930SMark MurrayChanges per release 7.0 (Jan 1995) 131*2aef6930SMark Murray================================== 132*2aef6930SMark Murray 133*2aef6930SMark Murray- Added a last-minute workaround for a Solaris 2.4 gethostbyname() 134*2aef6930SMark Murrayfoulup with multi-homed hosts in DNS through NIS mode. 135*2aef6930SMark Murray 136*2aef6930SMark Murray- Added a last-minute defense against TLI weirdness: address lookups 137*2aef6930SMark Murrayapparently succeed but the result netbuf is empty (ticlts transport). 138*2aef6930SMark Murray 139*2aef6930SMark Murray- Dropped several new solutions that were in need of a problem. Beta 140*2aef6930SMark Murraytesters may recognize what new features were kicked out during the last 141*2aef6930SMark Murrayweeks before release 7.0 came out. Such is life. 142*2aef6930SMark Murray 143*2aef6930SMark Murray- Got rid of out the environment replacement routines, at least for 144*2aef6930SMark Murraymost architectures. One should not have to replace working system 145*2aef6930SMark Murraysoftware when all that is needed is a 4.4BSD setenv() emulator. 146*2aef6930SMark Murray 147*2aef6930SMark Murray- By popular request I have added an option to send banner messages to 148*2aef6930SMark Murrayclients. There is a Banners.Makefile that gives some aid for sites that 149*2aef6930SMark Murrayare going to use this feature. John C. Wingenbach did some pioneering 150*2aef6930SMark Murraywork here. I used to think that banners are frivolous. Now that I had 151*2aef6930SMark Murraya personal need for them I know that banners can be useful. 152*2aef6930SMark Murray 153*2aef6930SMark Murray- At last: an extensible functional interface to the pattern matching 154*2aef6930SMark Murrayengine. request_init() and request_set() accept a variable-length 155*2aef6930SMark Murrayname-value argument list. The result can be passed to hosts_access(). 156*2aef6930SMark Murray 157*2aef6930SMark Murray- When PARANOID mode is disabled (compile time), the wrapper does no 158*2aef6930SMark Murrayhostname lookup or hostname double checks unless required by %letter 159*2aef6930SMark Murrayexpansions, or by access control rules that match host names. This is 160*2aef6930SMark Murrayuseful for sites that don't care about internet hostnames anyway. 161*2aef6930SMark MurrayInspired by the authors of the firewalls and internet security book. 162*2aef6930SMark Murray 163*2aef6930SMark Murray- When PARANOID mode is disabled (compile time), hosts with a name/name 164*2aef6930SMark Murrayor name/address conflict can be matched with the PARANOID host wildcard 165*2aef6930SMark Murraypattern, so that you can take some intelligent action instead of just 166*2aef6930SMark Murraydropping clients. Like showing a banner that explains the problem. 167*2aef6930SMark Murray 168*2aef6930SMark Murray- New percent escapes: %A expands to the server address; %H expands to 169*2aef6930SMark Murraythe corresponding hostname (or address if no name is available); %n and 170*2aef6930SMark Murray%N expand to the client and server hostname (or "unknown"); %s expands 171*2aef6930SMark Murrayto everything we know about the server endpoint (the opposite of the %c 172*2aef6930SMark Murraysequence for client information). 173*2aef6930SMark Murray 174*2aef6930SMark Murray- Symmetry: server and client host information is now treated on equal 175*2aef6930SMark Murrayfooting, so that we can reuse a lot of code. 176*2aef6930SMark Murray 177*2aef6930SMark Murray- Lazy evaluation of host names, host addresses, usernames, and so on, 178*2aef6930SMark Murrayto avoid doing unnecessary work. 179*2aef6930SMark Murray 180*2aef6930SMark Murray- Dropping #ifdefs for some archaic systems made the code simpler. 181*2aef6930SMark Murray 182*2aef6930SMark Murray- Dropping the FAIL pattern made the pattern matcher much simpler. Run 183*2aef6930SMark Murraythe "tcpdchk" program to scan your access control files for any uses of 184*2aef6930SMark Murraythis obscure language feature. 185*2aef6930SMark Murray 186*2aef6930SMark Murray- Moving host-specific pattern matching from string_match() to the 187*2aef6930SMark Murrayhost_match() routine made the code more accurate. Run the "tcpdchk" 188*2aef6930SMark Murrayprogram to scan your access control files for any dependencies on 189*2aef6930SMark Murrayundocumented or obscure language features that are gone. 190*2aef6930SMark Murray 191*2aef6930SMark Murray- daemon@host patterns trigger on clients that connect to a specific 192*2aef6930SMark Murrayinternet address. This can be useful for service providers that offer 193*2aef6930SMark Murraymultiple ftp or www archives on different internet addresses, all 194*2aef6930SMark Murraybelonging to one and the same host (www.foo.com, ftp.bar.com, you get 195*2aef6930SMark Murraythe idea). Inspired by a discussion with Rop Gonggrijp, Cor Bosman, 196*2aef6930SMark Murrayand Casper Dik, and earlier discussions with Adrian van Bloois. 197*2aef6930SMark Murray 198*2aef6930SMark Murray- The new "tcpdchk" program critcizes all your access control rules and 199*2aef6930SMark Murrayinetd.conf entries. Great for spotting obscure bugs in my own hosts.xxx 200*2aef6930SMark Murrayfiles. This program also detects hosts with name/address conflicts and 201*2aef6930SMark Murraywith other DNS-related problems. See the "tcpdchk.8" manual page. 202*2aef6930SMark Murray 203*2aef6930SMark Murray- The "tcpdmatch" program replaces the poor old "try" command. The new 204*2aef6930SMark Murrayprogram looks in your inetd.conf file and therefore produces much more 205*2aef6930SMark Murrayaccurate predictions. In addition, it detects hosts with name/address 206*2aef6930SMark Murrayconflicts and with other DNS-related problems. See the "tcpdmatch.8" 207*2aef6930SMark Murraymanual page. The inetd.conf lookup was suggested by Everett F Batey. 208*2aef6930SMark Murray 209*2aef6930SMark Murray- In the access control tables, the `=' between option name and value 210*2aef6930SMark Murrayis no longer required. 211*2aef6930SMark Murray 212*2aef6930SMark Murray- Added 60-second timeout to the safe_finger command, to cover another 213*2aef6930SMark Murraypotential problem. Suggested by Peter Wemm. 214*2aef6930SMark Murray 215*2aef6930SMark Murray- Andrew Maffei provided code that works with WIN-TCP on NCR System V.4 216*2aef6930SMark MurrayUNIX. It reportedly works with versions 02.02.01 and 02.03.00. The code 217*2aef6930SMark Murraypops off all streams modules above the device driver, pushes the timod 218*2aef6930SMark Murraymodule to get at the peer address, and then restores the streams stack 219*2aef6930SMark Murrayto the initial state. 220*2aef6930SMark Murray 221*2aef6930SMark MurrayChanges per release 6.3 (Mar 1994) 222*2aef6930SMark Murray================================== 223*2aef6930SMark Murray 224*2aef6930SMark Murray- Keepalives option, to get rid of stuck daemons when people turn off 225*2aef6930SMark Murraytheir PC while still connected. Files: options.c, hosts_options.5. 226*2aef6930SMark Murray 227*2aef6930SMark Murray- Nice option, to calm down network daemons that take away too much CPU 228*2aef6930SMark Murraytime. Files: options.c, hosts_options.5. 229*2aef6930SMark Murray 230*2aef6930SMark Murray- Ultrix perversion: the environ global pointer may be null. The 231*2aef6930SMark Murrayenvironment replacement routines now check for this. File: environ.c. 232*2aef6930SMark Murray 233*2aef6930SMark Murray- Fixed a few places that still assumed the socket is on standard 234*2aef6930SMark Murrayinput. Fixed some error messages that did not provide access control 235*2aef6930SMark Murrayfile name and line number. File: options.c. 236*2aef6930SMark Murray 237*2aef6930SMark Murray- Just when I was going to release 6.2 I received code for Dynix/PTX. 238*2aef6930SMark MurrayThat code is specific to PTX 2.x, so I'll keep around my generic 239*2aef6930SMark MurrayPTX code just in case. The difference is in the handling of UDP 240*2aef6930SMark Murrayservices. Files: tli_sequent.[hc]. 241*2aef6930SMark Murray 242*2aef6930SMark MurrayChanges per release 6.2 (Feb 1994) 243*2aef6930SMark Murray================================== 244*2aef6930SMark Murray 245*2aef6930SMark Murray- Resurrected my year-old code to reduce DNS load by appending a dot to 246*2aef6930SMark Murraythe gethostbyname() argument. This feature is still experimental and it 247*2aef6930SMark Murraymay go away if it causes more problems than it solves. File: socket.c. 248*2aef6930SMark Murray 249*2aef6930SMark Murray- Auxiliary code for the Pyramid, BSD universe. Karl Vogel figured out 250*2aef6930SMark Murraywhat was missing: yp_get_default_domain() and vfprintf(). Files: 251*2aef6930SMark Murrayworkarounds.c, vfprintf.c. 252*2aef6930SMark Murray 253*2aef6930SMark Murray- Improved support for Dynix/PTX. The wrapper should now be able to 254*2aef6930SMark Murraydeal with all TLI over IP services. File: ptx.c. 255*2aef6930SMark Murray 256*2aef6930SMark Murray- The try command now uses the hostname that gethostbyaddr() would 257*2aef6930SMark Murrayreturn, instead of the hostname returned by gethostbyname(). This can 258*2aef6930SMark Murraybe significant on systems with NIS that have short host names in the 259*2aef6930SMark Murrayhosts map. For example, gethostbyname("wzv.win.tue.nl") returns 260*2aef6930SMark Murray"wzv.win.tue.nl"; gethostbyaddr(131.155.210.17) returns "wzv", and 261*2aef6930SMark Murraythat is what we should test with. File: try.c. 262*2aef6930SMark Murray 263*2aef6930SMark MurrayChanges per release 6.1 (Dec 1993) 264*2aef6930SMark Murray================================== 265*2aef6930SMark Murray 266*2aef6930SMark Murray- Re-implemented all environment access routines. Most systems have 267*2aef6930SMark Murrayputenv() but no setenv(), some systems have setenv() but no putenv(), 268*2aef6930SMark Murrayand there are even systems that have neither setenv() nor putenv(). The 269*2aef6930SMark Murraybenefit of all this is that more systems can now be treated in the same 270*2aef6930SMark Murrayway. File: environ.c. 271*2aef6930SMark Murray 272*2aef6930SMark Murray- Workaround for a weird problem with DG/UX when the wrapper is run as 273*2aef6930SMark Murraynobody (i.e. fingerd). For some reason the ioctl(fd, I_FIND, "sockmod") 274*2aef6930SMark Murraycall fails even with socket-based applications. The "fix" is to always 275*2aef6930SMark Murrayassume sockets when the ioctl(fd, I_FIND, "timod") call fails. File: 276*2aef6930SMark Murrayfromhost.c. Thanks to Paul de Vries (vries@dutentb.et.tudelft.nl) for 277*2aef6930SMark Murrayhelping me to figure out this one. 278*2aef6930SMark Murray 279*2aef6930SMark Murray- Implemented a workaround for Dynix/PTX and other systems with TLI 280*2aef6930SMark Murraythat lack some essential support routines. Thanks to Bugs Brouillard 281*2aef6930SMark Murray(brouill@hsuseq.humboldt.edu) for the hospitality to try things out. 282*2aef6930SMark MurrayThe trick is to temporarily switch to the socket API to identify the 283*2aef6930SMark Murrayclient, and to switch back to TLI when done. It still does not work 284*2aef6930SMark Murrayright for basic network services such as telnet. File: fromhost.c. 285*2aef6930SMark Murray 286*2aef6930SMark Murray- Easy-to-build procedures for SCO UNIX, ConvexOS with UltraNet, EP/IX, 287*2aef6930SMark MurrayDynix 3.2, Dynix/PTX. File: Makefile. 288*2aef6930SMark Murray 289*2aef6930SMark Murray- Variable rfc931 timeout. Files: rfc931.c, options.c, log_tcp.h, try.c. 290*2aef6930SMark Murray 291*2aef6930SMark Murray- Further simplification of the rfc931 code. File: rfc931.c. 292*2aef6930SMark Murray 293*2aef6930SMark Murray- The fromhost() interface stinks: I cannot change that, but at least 294*2aef6930SMark Murraythe from_sock() and from_tli() functions now accept a file descriptor 295*2aef6930SMark Murrayargument. 296*2aef6930SMark Murray 297*2aef6930SMark Murray- Fixed a buglet: fromhost() would pass a garbage file descriptor to 298*2aef6930SMark Murraythe isastream() call. 299*2aef6930SMark Murray 300*2aef6930SMark Murray- On some systems the finger client program lives in /usr/bsd. File: 301*2aef6930SMark Murraysafe_finger.c. 302*2aef6930SMark Murray 303*2aef6930SMark MurrayChanges per release 6.0 (Sept 1993) 304*2aef6930SMark Murray=================================== 305*2aef6930SMark Murray 306*2aef6930SMark Murray- Easy build procedures for common platforms (sun, ultrix, aix, hpux 307*2aef6930SMark Murrayand others). 308*2aef6930SMark Murray 309*2aef6930SMark Murray- TLI support, System V.4 style (Solaris, DG/UX). 310*2aef6930SMark Murray 311*2aef6930SMark Murray- Username lookup integrated with the access control language. 312*2aef6930SMark MurraySelective username lookups are now the default (was: no username 313*2aef6930SMark Murraylookups). 314*2aef6930SMark Murray 315*2aef6930SMark Murray- A safer finger command for booby traps. This one solves a host of 316*2aef6930SMark Murraypossible problems with automatic reverse fingers. Thanks, Borja Marcos 317*2aef6930SMark Murray(borjam@we.lc.ehu.es) for some inspiring discussions. 318*2aef6930SMark Murray 319*2aef6930SMark Murray- KNOWN pattern that matches hosts whose name and address are known. 320*2aef6930SMark Murray 321*2aef6930SMark Murray- Cleanup of diagnostics. Errors in access-control files are now shown 322*2aef6930SMark Murraywith file name and line number. 323*2aef6930SMark Murray 324*2aef6930SMark Murray- With AIX 3.2, hostnames longer than 32 would be truncated. This 325*2aef6930SMark Murraycaused hostname verification failures, so that service would be refused 326*2aef6930SMark Murraywhen paranoid mode was enabled. Found by: Adrian van Bloois 327*2aef6930SMark Murray(A.vanBloois@info.nic.surfnet.nl). 328*2aef6930SMark Murray 329*2aef6930SMark Murray- With some IRIX versions, remote username lookups failed because the 330*2aef6930SMark Murrayfgets() library function does not handle partial read()s from sockets. 331*2aef6930SMark MurrayFound by: Daniel O'Callaghan (danny@austin.unimelb.edu.au). 332*2aef6930SMark Murray 333*2aef6930SMark Murray- Added a DISCLAIMER document to help you satisfy legal departments. 334*2aef6930SMark Murray 335*2aef6930SMark MurrayThe extension language module has undergone major revisions and 336*2aef6930SMark Murrayextensions. Thanks, John P. Rouillard (rouilj@ra.cs.umb.edu) for 337*2aef6930SMark Murraydiscussions, experiments, and for being a good guinea pig. The 338*2aef6930SMark Murrayextensions are documented in hosts_options.5, and are enabled by 339*2aef6930SMark Murrayediting the Makefile STYLE macro definition. 340*2aef6930SMark Murray 341*2aef6930SMark Murray- (Extension language) The ":" separator may now occur within options 342*2aef6930SMark Murrayas long as it is protected with a backslash. A warning is issued when 343*2aef6930SMark Murraya rule ends on ":". 344*2aef6930SMark Murray 345*2aef6930SMark Murray- (Extension language) Better verification mode. When the `try' command 346*2aef6930SMark Murrayis run, each option function now explains what it would do. 347*2aef6930SMark Murray 348*2aef6930SMark Murray- (Extension language) New "allow" and "deny" keywords so you can now 349*2aef6930SMark Murrayhave all rules within a single file. See "nroff -man hosts_options.5" 350*2aef6930SMark Murrayfor examples. 351*2aef6930SMark Murray 352*2aef6930SMark Murray- (Extension language) "linger" keyword to set the socket linger time 353*2aef6930SMark Murray(SO_LINGER). From: Marc Boucher <marc@cam.org>. 354*2aef6930SMark Murray 355*2aef6930SMark Murray- (Extension language) "severity" keyword to turn the logging noise up 356*2aef6930SMark Murrayor down. Many sites wanted a means to shut up the program; other sites 357*2aef6930SMark Murraywanted to emphasize specific events. Adapted from code contributed 358*2aef6930SMark Murrayby Dave Mitchell <D.Mitchell@dcs.shef.ac.uk>. 359*2aef6930SMark Murray 360*2aef6930SMark MurrayChanges per release 5.1 (Mar 1993) 361*2aef6930SMark Murray================================== 362*2aef6930SMark Murray 363*2aef6930SMark Murray- The additional protection against source-routing attacks from hosts 364*2aef6930SMark Murraythat pretend to have someone elses network address has become optional 365*2aef6930SMark Murraybecause it causes kernel panics with SunOS <= 4.1.3. 366*2aef6930SMark Murray 367*2aef6930SMark MurrayChanges per release 5.0 (Mar 1993) 368*2aef6930SMark Murray================================== 369*2aef6930SMark Murray 370*2aef6930SMark Murray- Additional protection against source-routing attacks from hosts that 371*2aef6930SMark Murraypretend to have someone elses network address. For example, the address 372*2aef6930SMark Murrayof a trusted host within your own network. 373*2aef6930SMark Murray 374*2aef6930SMark Murray- The access control language has been extended with a simple but 375*2aef6930SMark Murraypowerful operator that greatly simplifies the design of rule sets (ALL: 376*2aef6930SMark Murray.foo.edu EXCEPT dialup.foo.edu). Blank lines are permitted, and long 377*2aef6930SMark Murraylines can be continued with backslash-newline. 378*2aef6930SMark Murray 379*2aef6930SMark Murray- All configurable stuff, including path names, has been moved into the 380*2aef6930SMark MurrayMakefile so that you no longer have to hack source code to just 381*2aef6930SMark Murrayconfigure the programs. 382*2aef6930SMark Murray 383*2aef6930SMark Murray- Ported to Solaris 2. TLI-based applications not yet supported. 384*2aef6930SMark MurraySeveral workarounds for System V bugs. 385*2aef6930SMark Murray 386*2aef6930SMark Murray- A small loophole in the netgroup lookup code was closed, and the 387*2aef6930SMark Murrayremote username lookup code was made more portable. 388*2aef6930SMark Murray 389*2aef6930SMark Murray- Still more documentation. The README file now provides tutorial 390*2aef6930SMark Murraysections with introductions to client, server, inetd and syslogd. 391*2aef6930SMark Murray 392*2aef6930SMark MurrayChanges per release 4.3 (Aug 1992) 393*2aef6930SMark Murray================================== 394*2aef6930SMark Murray 395*2aef6930SMark Murray- Some sites reported that connections would be rejected because 396*2aef6930SMark Murraylocalhost != localhost.domain. The host name checking code now 397*2aef6930SMark Murrayspecial-cases localhost (problem reported by several sites). 398*2aef6930SMark Murray 399*2aef6930SMark Murray- The programs now report an error if an existing access control file 400*2aef6930SMark Murraycannot be opened (e.g. due to lack of privileges). Until now, the 401*2aef6930SMark Murrayprograms would just pretend that the access control file does not exist 402*2aef6930SMark Murray(reported by Darren Reed, avalon@coombs.anu.edu.au). 403*2aef6930SMark Murray 404*2aef6930SMark Murray- The timeout period for remote userid lookups was upped to 30 seconds, 405*2aef6930SMark Murrayin order to cope with slow hosts or networks. If this is too long for 406*2aef6930SMark Murrayyou, adjust the TIMEOUT definition in file rfc931.c (problem reported 407*2aef6930SMark Murrayby several sites). 408*2aef6930SMark Murray 409*2aef6930SMark Murray- On hosts with more than one IP network interface, remote userid 410*2aef6930SMark Murraylookups could use the IP address of the "wrong" local interface. The 411*2aef6930SMark Murrayproblem and its solution were discussed on the rfc931-users mailing 412*2aef6930SMark Murraylist. Scott Schwartz (schwartz@cs.psu.edu) folded the fix into the 413*2aef6930SMark Murrayrfc931.c module. 414*2aef6930SMark Murray 415*2aef6930SMark Murray- The result of % expansion (in shell commands) is now checked for 416*2aef6930SMark Murraystuff that may confuse the shell; it is replaced by underscores 417*2aef6930SMark Murray(problem reported by Icarus Sparry, I.Sparry@gdr.bath.ac.uk). 418*2aef6930SMark Murray 419*2aef6930SMark Murray- A portability problem was fixed that caused compile-time problems 420*2aef6930SMark Murrayon a CRAY (problem reported by Michael Barnett, mikeb@rmit.edu.au). 421*2aef6930SMark Murray 422*2aef6930SMark MurrayChanges per release 4.0 (Jun 1992) 423*2aef6930SMark Murray================================== 424*2aef6930SMark Murray 425*2aef6930SMark Murray1 - network daemons no longer have to live within a common directory 426*2aef6930SMark Murray2 - the access control code now uses both the host address and name 427*2aef6930SMark Murray3 - an access control pattern that supports netmasks 428*2aef6930SMark Murray4 - additional protection against forged host names 429*2aef6930SMark Murray5 - a pattern that matches hosts whose name or address lookup fails 430*2aef6930SMark Murray6 - an operator that prevents hosts or services from being matched 431*2aef6930SMark Murray7 - optional remote username lookup with the RFC 931 protocol 432*2aef6930SMark Murray8 - an optional umask to prevent the creation of world-writable files 433*2aef6930SMark Murray9 - hooks for access control language extensions 434*2aef6930SMark Murray10 - last but not least, thoroughly revised documentation. 435*2aef6930SMark Murray 436*2aef6930SMark MurrayChanges per release 3.0 (Oct 1991) 437*2aef6930SMark Murray================================== 438*2aef6930SMark Murray 439*2aef6930SMark MurrayEnhancements over the previous release are: support for datagram (UDP 440*2aef6930SMark Murrayand RPC) services, and execution of shell commands when a (remote host, 441*2aef6930SMark Murrayrequested service) pair matches a pattern in the access control tables. 442*2aef6930SMark Murray 443*2aef6930SMark MurrayChanges per release 2.0 (May 1991) 444*2aef6930SMark Murray================================== 445*2aef6930SMark Murray 446*2aef6930SMark MurrayEnhancements over the previous release are: protection against rlogin 447*2aef6930SMark Murrayand rsh attacks through compromised domain name servers, optional 448*2aef6930SMark Murraynetgroup support for systems with NIS (formerly YP), and an extension 449*2aef6930SMark Murrayof the wild card patterns supported by the access control files. 450*2aef6930SMark Murray 451*2aef6930SMark MurrayRelease 1.0 (Jan 1991) 452