From owner-cvs-libexec Sun Feb 9 04:24:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA14407 for cvs-libexec-outgoing; Sun, 9 Feb 1997 04:24:40 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id EAA14235; Sun, 9 Feb 1997 04:20:54 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA19130; Sun, 9 Feb 1997 13:20:52 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id MAA12837; Sun, 9 Feb 1997 12:56:59 +0100 (MET) Message-ID: Date: Sun, 9 Feb 1997 12:56:59 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: imp@freefall.freebsd.org (Warner Losh) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-libexec@freefall.freebsd.org Subject: Re: cvs commit: src/libexec/rshd rshd.c References: <199702090416.UAA24278@freefall.freebsd.org> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199702090416.UAA24278@freefall.freebsd.org>; from Warner Losh on Feb 8, 1997 20:16:34 -0800 Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Warner Losh wrote: > imp 97/02/08 20:16:33 > > Modified: libexec/rshd rshd.c > Log: > Some patches for source routed packets from OpenBSD. > Rev 1.13 deraadt: > do not warn about valid options; invalid options correctly quit > Rev 1.12 deraadt: > need not clear options since bad ones cause exit; > provos@ws1.physnet.uni-hamburg.de > Rev 1.11 deraadt: > IPOPT_LSRR/IPOPT_SSRR must exit() due to tcp sequencing; pointed > out by provos@wserver.physnet.uni-hamburg.de. also another 1-char > buffer overflow. Uh-oh. Why don't we simply leave all this dreaded work to rsh(1) (or ssh(1)), and simply call it from here? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-cvs-libexec Sun Feb 9 08:12:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA22322 for cvs-libexec-outgoing; Sun, 9 Feb 1997 08:12:19 -0800 (PST) Received: (from davidn@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA22315; Sun, 9 Feb 1997 08:12:17 -0800 (PST) Date: Sun, 9 Feb 1997 08:12:17 -0800 (PST) From: David Nugent Message-Id: <199702091612.IAA22315@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/getty chat.c main.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 97/02/09 08:12:16 Modified: libexec/getty chat.c main.c Log: Tidy-up modem-chat handling: ensure tty modes are restored to 'sane' standard (not raw) settings before abort/exiting; move responsibility of setting raw mode for chat-handling out of chat.c to avoid doing redundant tc{s,g}etattr()s; move DE pause prior setting standard mode before issue/login prompt to avoid echoing modem connect strings. Fixed up comment styles in a couple of places. Revision Changes Path 1.2 +28 -39 src/libexec/getty/chat.c 1.18 +17 -10 src/libexec/getty/main.c From owner-cvs-libexec Sun Feb 9 08:54:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23887 for cvs-libexec-outgoing; Sun, 9 Feb 1997 08:54:35 -0800 (PST) Received: from rover.village.org (rover.village.org [204.144.255.49]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA23772; Sun, 9 Feb 1997 08:51:29 -0800 (PST) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 0.56 #1) id E0vtcTI-0003nE-00; Sun, 9 Feb 1997 09:51:20 -0700 To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: cvs commit: src/libexec/rshd rshd.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-libexec@freefall.freebsd.org In-reply-to: Your message of "Sun, 09 Feb 1997 12:56:59 +0100." References: <199702090416.UAA24278@freefall.freebsd.org> Date: Sun, 09 Feb 1997 09:51:20 -0700 From: Warner Losh Message-Id: Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message J Wunsch writes: : Uh-oh. Why don't we simply leave all this dreaded work to rsh(1) : (or ssh(1)), and simply call it from here? I'm not sure I understand this suggestion. The rshd daemon needs to check to make sure that it isn't getting source routed packets (in case someone turns the kernel blocking off) so that it refused to accept connections that have come in this way. We need to do this because source routed packets allow people to appear to come from places they aren't really from, effectively laundering the connection (assuming they have control over at least one machine on the internet). I don't see how calling rsh will help to accomplish that goal. What am I missing? Warner From owner-cvs-libexec Thu Feb 13 11:24:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02299 for cvs-libexec-outgoing; Thu, 13 Feb 1997 11:24:32 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02290; Thu, 13 Feb 1997 11:24:29 -0800 (PST) Date: Thu, 13 Feb 1997 11:24:29 -0800 (PST) From: Guido van Rooij Message-Id: <199702131924.LAA02290@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/ftpd ftpd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/02/13 11:24:28 Modified: libexec/ftpd ftpd.c Log: Actually allow the -R flag. Revision Changes Path 1.32 +1 -1 src/libexec/ftpd/ftpd.c From owner-cvs-libexec Thu Feb 13 11:32:02 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02602 for cvs-libexec-outgoing; Thu, 13 Feb 1997 11:32:02 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA02558; Thu, 13 Feb 1997 11:31:59 -0800 (PST) Date: Thu, 13 Feb 1997 11:31:59 -0800 (PST) From: Guido van Rooij Message-Id: <199702131931.LAA02558@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/ftpd ftpcmd.y ftpd.8 ftpd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/02/13 11:31:58 Branch: libexec/ftpd RELENG_2_1_0 Modified: libexec/ftpd ftpcmd.y ftpd.8 ftpd.c Log: Backport -P flag and new default behaviour from -current (do not allow PORT commands to remote ports less than 1024 or addresses other than the requestor's address.) Revision Changes Path 1.4.6.2 +26 -12 src/libexec/ftpd/ftpcmd.y 1.4.4.2 +12 -0 src/libexec/ftpd/ftpd.8 1.10.4.5 +7 -7 src/libexec/ftpd/ftpd.c From owner-cvs-libexec Thu Feb 13 12:07:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA04855 for cvs-libexec-outgoing; Thu, 13 Feb 1997 12:07:26 -0800 (PST) Received: (from guido@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA04841; Thu, 13 Feb 1997 12:07:24 -0800 (PST) Date: Thu, 13 Feb 1997 12:07:24 -0800 (PST) From: Guido van Rooij Message-Id: <199702132007.MAA04841@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-libexec Subject: cvs commit: src/libexec/ftpd ftpd.c Sender: owner-cvs-libexec@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk guido 97/02/13 12:07:22 Branch: libexec/ftpd RELENG_2_2 Modified: libexec/ftpd ftpd.c Log: YAMFC Revision Changes Path 1.25.2.4 +2 -2 src/libexec/ftpd/ftpd.c