From owner-cvs-etc Sun Aug 18 00:21:27 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA00674 for cvs-etc-outgoing; Sun, 18 Aug 1996 00:21:27 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA00553; Sun, 18 Aug 1996 00:20:58 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA25856; Sun, 18 Aug 1996 09:20:57 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA23438; Sun, 18 Aug 1996 09:20:56 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id IAA15135; Sun, 18 Aug 1996 08:59:13 +0200 (MET DST) From: J Wunsch Message-Id: <199608180659.IAA15135@uriah.heep.sax.de> Subject: Re: cvs commit: src/gnu/libexec/uucp Makefile src/etc Makefile src/gnu/usr.bin/send-pr Makefile src/share/termcap Makefile src/usr. To: wosch@freefall.freebsd.org (Wolfram Schneider) Date: Sun, 18 Aug 1996 08:59:12 +0200 (MET DST) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-share@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org, cvs-etc@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199608172227.PAA25750@freefall.freebsd.org> from Wolfram Schneider at "Aug 17, 96 03:27:10 pm" 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 X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Wolfram Schneider wrote: > wosch 96/08/17 15:27:09 > > Modified: etc Makefile > gnu/libexec/uucp Makefile > gnu/usr.bin/send-pr Makefile > share/termcap Makefile > usr.bin/file Makefile > Log: > make install should not install any file in /etc. This is only half of the story, and you've just broken ``make release'' by this. If the respective Makefiles (correctly) don't do this anymore, /usr/src/etc/Makefile _must_ install these files now for ``make distrib-dirs''. file(1) has no concern with /etc at all, it should install its database under /usr/share/misc/. (units(1) DTRT already.) -- 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-etc Sun Aug 18 04:05:27 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA17208 for cvs-etc-outgoing; Sun, 18 Aug 1996 04:05:27 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA17173; Sun, 18 Aug 1996 04:05:10 -0700 (PDT) Date: Sun, 18 Aug 1996 04:05:10 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608181105.EAA17173@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc, cvs-usrsbin Subject: cvs commit: src/etc Makefile src/usr.sbin/rmt Makefile Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/18 04:05:10 Modified: etc Makefile usr.sbin/rmt Makefile Log: ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt Only ``make distribution'' in src/etc/Makefile overrides things in /etc Pointed out by: joerg Revision Changes Path 1.142 +2 -1 src/etc/Makefile 1.6 +4 -2 src/usr.sbin/rmt/Makefile From owner-cvs-etc Sun Aug 18 08:37:58 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA28936 for cvs-etc-outgoing; Sun, 18 Aug 1996 08:37:58 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id IAA28922; Sun, 18 Aug 1996 08:37:47 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id IAA04476; Sun, 18 Aug 1996 08:37:45 -0700 From: "Rodney W. Grimes" Message-Id: <199608181537.IAA04476@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/etc Makefile src/usr.sbin/rmt Makefile To: wosch@freefall.freebsd.org (Wolfram Schneider) Date: Sun, 18 Aug 1996 08:37:45 -0700 (PDT) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org In-Reply-To: <199608181105.EAA17173@freefall.freebsd.org> from Wolfram Schneider at "Aug 18, 96 04:05:10 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > wosch 96/08/18 04:05:10 > > Modified: etc Makefile > usr.sbin/rmt Makefile > Log: > ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt > Only ``make distribution'' in src/etc/Makefile overrides things in /etc > > Pointed out by: joerg > > Revision Changes Path > 1.142 +2 -1 src/etc/Makefile > 1.6 +4 -2 src/usr.sbin/rmt/Makefile Seems you've ``made the decission'' that could not be made in the past: ---------------------------- revision 1.4 date: 1995/02/23 19:40:48; author: phk; state: Exp; lines: +1 -1 Make sure link to /etc/rmt happens. Now I know that there was talk of moving it to the release/Makefile or the etc/Makefile, but I don't think it was ever decided where. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-cvs-etc Sun Aug 18 18:14:06 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA27329 for cvs-etc-outgoing; Sun, 18 Aug 1996 18:14:06 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA27301; Sun, 18 Aug 1996 18:13:52 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id LAA19530; Mon, 19 Aug 1996 11:08:52 +1000 Date: Mon, 19 Aug 1996 11:08:52 +1000 From: Bruce Evans Message-Id: <199608190108.LAA19530@godzilla.zeta.org.au> To: rgrimes@gndrsh.aac.dev.com, wosch@freefall.freebsd.org Subject: Re: cvs commit: src/etc Makefile src/usr.sbin/rmt Makefile Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> Modified: etc Makefile >> usr.sbin/rmt Makefile >> Log: >> ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt >> Only ``make distribution'' in src/etc/Makefile overrides things in /etc >> >> Pointed out by: joerg >> >> Revision Changes Path >> 1.142 +2 -1 src/etc/Makefile >> 1.6 +4 -2 src/usr.sbin/rmt/Makefile >Seems you've ``made the decission'' that could not be made in the past: >---------------------------- >revision 1.4 >date: 1995/02/23 19:40:48; author: phk; state: Exp; lines: +1 -1 >Make sure link to /etc/rmt happens. >Now I know that there was talk of moving it to the release/Makefile or the >etc/Makefile, but I don't think it was ever decided where. It always belonged in etc/Makefile, just like other stuff in /etc. Perhaps release/Makefile was too broken to allow this in the past, but now it simply invokes etc/Makefile to populate ${DESTDIR}/etc. Bruce From owner-cvs-etc Mon Aug 19 08:34:57 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA26481 for cvs-etc-outgoing; Mon, 19 Aug 1996 08:34:57 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA26404; Mon, 19 Aug 1996 08:34:38 -0700 (PDT) Date: Mon, 19 Aug 1996 08:34:38 -0700 (PDT) From: Wolfram Schneider Message-Id: <199608191534.IAA26404@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc Subject: cvs commit: src/etc rc.firewall Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/08/19 08:34:37 Modified: etc rc.firewall Log: space typo, the shell don't like name=value Revision Changes Path 1.5 +2 -2 src/etc/rc.firewall From owner-cvs-etc Wed Aug 21 02:53:28 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA25372 for cvs-etc-outgoing; Wed, 21 Aug 1996 02:53:28 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA25343; Wed, 21 Aug 1996 02:53:12 -0700 (PDT) Date: Wed, 21 Aug 1996 02:53:12 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608210953.CAA25343@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc Subject: cvs commit: src/etc/mtree BSD.usr.dist Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/21 02:53:10 Modified: etc/mtree BSD.usr.dist Log: Add cvsup directory to share/examples Reminded-By: ache Revision Changes Path 1.64 +3 -1 src/etc/mtree/BSD.usr.dist From owner-cvs-etc Wed Aug 21 16:15:46 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA11626 for cvs-etc-outgoing; Wed, 21 Aug 1996 16:15:46 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA11610; Wed, 21 Aug 1996 16:15:39 -0700 (PDT) Date: Wed, 21 Aug 1996 16:15:39 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199608212315.QAA11610@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc Subject: cvs commit: src/etc rc sysconfig Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/08/21 16:15:38 Modified: etc rc sysconfig Log: Add a new "swapfile" variable so that you can add a file as a additional swap as the system is coming up. Revision Changes Path 1.97 +7 -1 src/etc/rc 1.48 +5 -1 src/etc/sysconfig From owner-cvs-etc Thu Aug 22 03:29:40 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA03764 for cvs-etc-outgoing; Thu, 22 Aug 1996 03:29:40 -0700 (PDT) Received: (from asami@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA03742; Thu, 22 Aug 1996 03:29:30 -0700 (PDT) Date: Thu, 22 Aug 1996 03:29:30 -0700 (PDT) From: Satoshi Asami Message-Id: <199608221029.DAA03742@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 96/08/22 03:29:30 Modified: etc services Log: Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese kanji input servers. Revision Changes Path 1.25 +3 -1 src/etc/services From owner-cvs-etc Thu Aug 22 14:38:28 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA19939 for cvs-etc-outgoing; Thu, 22 Aug 1996 14:38:28 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA19898; Thu, 22 Aug 1996 14:37:24 -0700 (PDT) Date: Thu, 22 Aug 1996 14:37:24 -0700 (PDT) From: Paul Traina Message-Id: <199608222137.OAA19898@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc Subject: cvs commit: src/etc services Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/08/22 14:37:23 Modified: etc services Log: Add zephyr Revision Changes Path 1.26 +4 -1 src/etc/services From owner-cvs-etc Thu Aug 22 16:52:43 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA03882 for cvs-etc-outgoing; Thu, 22 Aug 1996 16:52:43 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA03846; Thu, 22 Aug 1996 16:52:30 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id QAA13126; Thu, 22 Aug 1996 16:52:28 -0700 From: "Rodney W. Grimes" Message-Id: <199608222352.QAA13126@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/etc services To: asami@freefall.freebsd.org (Satoshi Asami) Date: Thu, 22 Aug 1996 16:52:28 -0700 (PDT) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org In-Reply-To: <199608221029.DAA03742@freefall.freebsd.org> from Satoshi Asami at "Aug 22, 96 03:29:30 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > asami 96/08/22 03:29:30 > > Modified: etc services > Log: > Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese > kanji input servers. Have these been assigned in the RFC's/IAN, if not they should probably not go in FreeBSD's /etc/services. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-cvs-etc Thu Aug 22 17:33:19 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA10057 for cvs-etc-outgoing; Thu, 22 Aug 1996 17:33:19 -0700 (PDT) Received: from oyoyo.cs.titech.ac.jp (oyoyo.cs.titech.ac.jp [131.112.18.5]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA09968; Thu, 22 Aug 1996 17:32:46 -0700 (PDT) Received: by oyoyo.cs.titech.ac.jp (8.6.12+2.4W/3.2W-titmx-2.0g); Fri, 23 Aug 1996 09:32:43 +0900 Message-Id: <199608230032.JAA13613@oyoyo.cs.titech.ac.jp> To: cvs-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Cc: Paul Traina , hidekazu@cs.titech.ac.jp Subject: Re: cvs commit: src/etc services In-reply-to: Your message of "Thu, 22 Aug 1996 14:37:24 MST." <199608222137.OAA19898@freefall.freebsd.org> Date: Fri, 23 Aug 1996 09:32:43 +0900 From: Hidekazu Kuroki Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199608222352.QAA13126@GndRsh.aac.dev.com>, "Rodney W. Grimes" wrote: > > > asami 96/08/22 03:29:30 > > > > Modified: etc services > > Log: > > Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese > > kanji input servers. > > Have these been assigned in the RFC's/IAN, if not they should probably not > go in FreeBSD's /etc/services. > > -- > Rod Grimes rgrimes@gndrsh.aac.dev.com > Accurate Automation Company Reliable computers for FreeBSD > Hello, my name is Hidekazu Kuroki, and I'm a maintainer of SJ3 in a ports of category "japanese". This port number is selected by me , because SJ3's default port number is 3000, it have used by PPP. Is New sj3 port number 3001, OK?? ( There isn't this number is RFCs.and /etc/services) And, the skkserv's port number is used 1178 in /etc/services for SKK(kanji input method), is it OK too ?? Thanks. Bye. \\\\\\ ( @ @ ) /-------------------oOOo---(_)---oOOo-------------------\ | | | Tokyo Institute of Technology | | Department of Science and Engneering Lab. Yonezaki | | Hidekazu Kuroki (E-Mail : hidekazu@cs.titech.ac.jp) | | .oooO Oooo. | \_____________________( )___( )_____________________/ \ ( ) / \_) (_/ From owner-cvs-etc Fri Aug 23 00:26:12 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03524 for cvs-etc-outgoing; Fri, 23 Aug 1996 00:26:12 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA03309; Fri, 23 Aug 1996 00:21:29 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA04614; Fri, 23 Aug 1996 09:21:17 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA17839; Fri, 23 Aug 1996 09:21:16 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id JAA29310; Fri, 23 Aug 1996 09:08:06 +0200 (MET DST) From: J Wunsch Message-Id: <199608230708.JAA29310@uriah.heep.sax.de> Subject: Re: cvs commit: src/etc services To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Fri, 23 Aug 1996 09:08:06 +0200 (MET DST) Cc: asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199608222352.QAA13126@GndRsh.aac.dev.com> from "Rodney W. Grimes" at "Aug 22, 96 04:52:28 pm" 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 X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Rodney W. Grimes wrote: > > Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese > > kanji input servers. > > Have these been assigned in the RFC's/IAN, if not they should probably not > go in FreeBSD's /etc/services. I don't have the assigned numbers RFC handy, but i think there are already a lot of non-assigned numbers in /etc/services. After all, this file does IMHO not constitute a list of ``blessed'' numbers, but merely acts as a human translation tool. Thus, being exhaustive is more important than restricting to assigned numbers. No harm will arise out of this. -- 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-etc Fri Aug 23 00:36:01 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA03903 for cvs-etc-outgoing; Fri, 23 Aug 1996 00:36:01 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA03878; Fri, 23 Aug 1996 00:35:51 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id AAA14611; Fri, 23 Aug 1996 00:35:26 -0700 From: "Rodney W. Grimes" Message-Id: <199608230735.AAA14611@GndRsh.aac.dev.com> Subject: Re: cvs commit: src/etc services To: joerg_wunsch@uriah.heep.sax.de Date: Fri, 23 Aug 1996 00:35:26 -0700 (PDT) Cc: asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org In-Reply-To: <199608230708.JAA29310@uriah.heep.sax.de> from J Wunsch at "Aug 23, 96 09:08:06 am" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > As Rodney W. Grimes wrote: > > > > Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese > > > kanji input servers. > > > > Have these been assigned in the RFC's/IAN, if not they should probably not > > go in FreeBSD's /etc/services. > > I don't have the assigned numbers RFC handy, but i think there are > already a lot of non-assigned numbers in /etc/services. After all, > this file does IMHO not constitute a list of ``blessed'' numbers, but > merely acts as a human translation tool. Thus, being exhaustive is > more important than restricting to assigned numbers. No harm will > arise out of this. You ever tried to decode the output of netstat -a?? When /etc/services is used as a reverse map to convert port numbers to names these extra bogus service entries cause folks like me heartache. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD From owner-cvs-etc Fri Aug 23 06:42:16 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA20080 for cvs-etc-outgoing; Fri, 23 Aug 1996 06:42:16 -0700 (PDT) Received: from white.dogwood.com (root@white.dogwood.com [140.174.96.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA20053; Fri, 23 Aug 1996 06:42:09 -0700 (PDT) Received: (from dave@localhost) by white.dogwood.com (8.7.5/8.7.1) id GAA12817 ; Fri, 23 Aug 1996 06:40:58 -0700 (PDT) From: Dave Cornejo Message-Id: <199608231340.GAA12817@white.dogwood.com> Subject: Re: cvs commit: src/etc services To: rgrimes@GndRsh.aac.dev.com (Rodney W. Grimes) Date: Fri, 23 Aug 1996 06:40:57 -0700 (PDT) Cc: joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org In-Reply-To: <199608230735.AAA14611@GndRsh.aac.dev.com> from "Rodney W. Grimes" at "Aug 23, 96 00:35:26 am" Content-Type: text Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Rodney W. Grimes wrote: > > As Rodney W. Grimes wrote: > > > > > > Add skkserv (1178/tcp) and sj3 (3086/tcp). They are both Japanese > > > > kanji input servers. > > > > > > Have these been assigned in the RFC's/IAN, if not they should probably not > > > go in FreeBSD's /etc/services. > > > > I don't have the assigned numbers RFC handy, but i think there are > > already a lot of non-assigned numbers in /etc/services. After all, > > this file does IMHO not constitute a list of ``blessed'' numbers, but > > merely acts as a human translation tool. Thus, being exhaustive is > > more important than restricting to assigned numbers. No harm will > > arise out of this. > > You ever tried to decode the output of netstat -a?? When /etc/services > is used as a reverse map to convert port numbers to names these extra > bogus service entries cause folks like me heartache. I've often wondered if the services file shouldn't be generated from a giant list of port and rpc program numbers by a script that looks at inetd.conf to determine what services you're actually using. More than a couple of times I've been up late at night trying to figure out why a 'chromagrafx' port is connecting to a 'submitserver' port... -- Dave Cornejo - Dogwood Media, Fremont, California From owner-cvs-etc Fri Aug 23 06:50:54 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21082 for cvs-etc-outgoing; Fri, 23 Aug 1996 06:50:54 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA21073; Fri, 23 Aug 1996 06:50:49 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id PAA03389; Fri, 23 Aug 1996 15:50:07 +0200 (MET DST) To: Dave Cornejo cc: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes), joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: Re: cvs commit: src/etc services In-reply-to: Your message of "Fri, 23 Aug 1996 06:40:57 PDT." <199608231340.GAA12817@white.dogwood.com> Date: Fri, 23 Aug 1996 15:50:06 +0200 Message-ID: <3387.840808206@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199608231340.GAA12817@white.dogwood.com>, Dave Cornejo writes: >I've often wondered if the services file shouldn't be generated from a >giant list of port and rpc program numbers by a script that looks at >inetd.conf to determine what services you're actually using. > >More than a couple of times I've been up late at night trying to >figure out why a 'chromagrafx' port is connecting to a 'submitserver' >port... Wrong solution. Each socket should have a flag that tells if it was bound to a specific address/port or defaulted to something the kernel gave it. That way netstat would know not to do a service resolution on the sockets that are anonymous. Should be an easy thing to do :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-etc Fri Aug 23 07:04:00 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA22412 for cvs-etc-outgoing; Fri, 23 Aug 1996 07:04:00 -0700 (PDT) Received: from white.dogwood.com (root@white.dogwood.com [140.174.96.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA22398; Fri, 23 Aug 1996 07:03:56 -0700 (PDT) Received: (from dave@localhost) by white.dogwood.com (8.7.5/8.7.1) id HAA13108 ; Fri, 23 Aug 1996 07:02:50 -0700 (PDT) From: Dave Cornejo Message-Id: <199608231402.HAA13108@white.dogwood.com> Subject: Re: cvs commit: src/etc services To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Fri, 23 Aug 1996 07:02:50 -0700 (PDT) Cc: dave@dogwood.com, rgrimes@gndrsh.aac.dev.com, joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org In-Reply-To: <3387.840808206@critter.tfs.com> from "Poul-Henning Kamp" at "Aug 23, 96 03:50:06 pm" Content-Type: text Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Poul-Henning Kamp wrote: > Wrong solution. > > Each socket should have a flag that tells if it was bound to a specific > address/port or defaulted to something the kernel gave it. > > That way netstat would know not to do a service resolution on the sockets > that are anonymous. > > Should be an easy thing to do :-) I just woke up, so excuse me if I'm having brain problems :-), but... That works for the local address, how do you cope with remote ones? -- Dave Cornejo - Dogwood Media, Fremont, California From owner-cvs-etc Fri Aug 23 07:23:52 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA25439 for cvs-etc-outgoing; Fri, 23 Aug 1996 07:23:52 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA25417; Fri, 23 Aug 1996 07:23:46 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id QAA03459; Fri, 23 Aug 1996 16:23:18 +0200 (MET DST) To: Dave Cornejo cc: rgrimes@gndrsh.aac.dev.com, joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: Re: cvs commit: src/etc services In-reply-to: Your message of "Fri, 23 Aug 1996 07:02:50 PDT." <199608231402.HAA13108@white.dogwood.com> Date: Fri, 23 Aug 1996 16:23:17 +0200 Message-ID: <3457.840810197@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199608231402.HAA13108@white.dogwood.com>, Dave Cornejo writes: >Poul-Henning Kamp wrote: >> Wrong solution. >> >> Each socket should have a flag that tells if it was bound to a specific >> address/port or defaulted to something the kernel gave it. >> >> That way netstat would know not to do a service resolution on the sockets >> that are anonymous. >> >> Should be an easy thing to do :-) > >I just woke up, so excuse me if I'm having brain problems :-), but... > >That works for the local address, how do you cope with remote ones? One of two ways: 1. Record if we did a connect or an accept on the socket, if we did an accept, assume the other end is anonymous. 2. Simply do the opposite of what you did to the local address. Still not hard :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-etc Fri Aug 23 08:53:03 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA05199 for cvs-etc-outgoing; Fri, 23 Aug 1996 08:53:03 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA05194; Fri, 23 Aug 1996 08:52:55 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id RAA00260; Fri, 23 Aug 1996 17:16:04 +0200 (MET DST) cc: Dave Cornejo , rgrimes@gndrsh.aac.dev.com, joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: test, review & comments please In-reply-to: Your message of "Fri, 23 Aug 1996 16:23:17 +0200." <3457.840810197@critter.tfs.com> Date: Fri, 23 Aug 1996 17:16:03 +0200 Message-ID: <258.840813363@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Here is the code to change netstat to only resolve portnumbers if there seem to be some sense in it, please test & comment! Poul-Henning Index: in_pcb.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/in_pcb.c,v retrieving revision 1.20 diff -u -r1.20 in_pcb.c --- in_pcb.c 1996/08/12 14:05:54 1.20 +++ in_pcb.c 1996/08/23 14:56:52 @@ -202,6 +202,8 @@ ushort first, last; int count; + inp->inp_flags |= INP_ANONPORT; + if (inp->inp_flags & INP_HIGHPORT) { first = ipport_hifirstauto; /* sysctl */ last = ipport_hilastauto; Index: in_pcb.h =================================================================== RCS file: /home/ncvs/src/sys/netinet/in_pcb.h,v retrieving revision 1.11 diff -u -r1.11 in_pcb.h --- in_pcb.h 1996/02/22 21:32:22 1.11 +++ in_pcb.h 1996/08/23 14:56:21 @@ -80,6 +80,7 @@ #define INP_HDRINCL 0x08 /* user supplies entire IP header */ #define INP_HIGHPORT 0x10 /* user wants "high" port binding */ #define INP_LOWPORT 0x20 /* user wants "low" port binding */ +#define INP_ANONPORT 0x40 /* port chosen for user */ #define INPLOOKUP_WILDCARD 1 Index: inet.c =================================================================== RCS file: /home/ncvs/src/usr.bin/netstat/inet.c,v retrieving revision 1.19 diff -u -r1.19 inet.c --- inet.c 1996/06/05 17:24:33 1.19 +++ inet.c 1996/08/23 15:04:08 @@ -74,7 +74,7 @@ struct socket sockb; char *inetname __P((struct in_addr *)); -void inetprint __P((struct in_addr *, int, char *)); +void inetprint __P((struct in_addr *, int, char *, int)); /* * Print a summary of connections related to an Internet @@ -141,8 +141,22 @@ printf("%8x ", (int)next); printf("%-5.5s %6ld %6ld ", name, sockb.so_rcv.sb_cc, sockb.so_snd.sb_cc); - inetprint(&inpcb.inp_laddr, (int)inpcb.inp_lport, name); - inetprint(&inpcb.inp_faddr, (int)inpcb.inp_fport, name); + if (nflag) { + inetprint(&inpcb.inp_laddr, (int)inpcb.inp_lport, + name, 1); + inetprint(&inpcb.inp_faddr, (int)inpcb.inp_fport, + name, 1); + } else if (inpcb.inp_flags & INP_ANONPORT) { + inetprint(&inpcb.inp_laddr, (int)inpcb.inp_lport, + name, 1); + inetprint(&inpcb.inp_faddr, (int)inpcb.inp_fport, + name, 0); + } else { + inetprint(&inpcb.inp_laddr, (int)inpcb.inp_lport, + name, 0); + inetprint(&inpcb.inp_faddr, (int)inpcb.inp_fport, + name, inpcb.inp_lport != inpcb.inp_fport); + } if (istcp) { if (tcpcb.t_state < 0 || tcpcb.t_state >= TCP_NSTATES) printf(" %d", tcpcb.t_state); @@ -431,21 +445,21 @@ /* * Pretty print an Internet address (net address + port). - * If the nflag was specified, use numbers instead of names. */ void -inetprint(in, port, proto) +inetprint(in, port, proto,numeric) register struct in_addr *in; int port; char *proto; + int numeric; { struct servent *sp = 0; char line[80], *cp; int width; - sprintf(line, "%.*s.", (Aflag && !nflag) ? 12 : 16, inetname(in)); + sprintf(line, "%.*s.", (Aflag && !numeric) ? 12 : 16, inetname(in)); cp = index(line, '\0'); - if (!nflag && port) + if (!numeric && port) sp = getservbyport((int)port, proto); if (sp || port == 0) sprintf(cp, "%.15s", sp ? sp->s_name : "*"); -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-etc Fri Aug 23 12:55:01 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA01346 for cvs-etc-outgoing; Fri, 23 Aug 1996 12:55:01 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id MAA01077; Fri, 23 Aug 1996 12:51:40 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id VAA01292; Fri, 23 Aug 1996 21:51:20 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id VAA04356; Fri, 23 Aug 1996 21:51:20 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id VAA01341; Fri, 23 Aug 1996 21:49:26 +0200 (MET DST) From: J Wunsch Message-Id: <199608231949.VAA01341@uriah.heep.sax.de> Subject: Re: cvs commit: src/etc services To: phk@critter.tfs.com (Poul-Henning Kamp) Date: Fri, 23 Aug 1996 21:49:26 +0200 (MET DST) Cc: dave@dogwood.com, rgrimes@gndrsh.aac.dev.com, joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <3387.840808206@critter.tfs.com> from Poul-Henning Kamp at "Aug 23, 96 03:50:06 pm" 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 X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Poul-Henning Kamp wrote: > Each socket should have a flag that tells if it was bound to a specific > address/port or defaulted to something the kernel gave it. > > That way netstat would know not to do a service resolution on the sockets > that are anonymous. Btw., tcpdump needs this solution as well. -- 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-etc Fri Aug 23 13:48:19 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA10102 for cvs-etc-outgoing; Fri, 23 Aug 1996 13:48:19 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.177]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA10084; Fri, 23 Aug 1996 13:48:11 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id WAA00994; Fri, 23 Aug 1996 22:47:39 +0200 (MET DST) To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: dave@dogwood.com, rgrimes@gndrsh.aac.dev.com, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: Re: cvs commit: src/etc services In-reply-to: Your message of "Fri, 23 Aug 1996 21:49:26 +0200." <199608231949.VAA01341@uriah.heep.sax.de> Date: Fri, 23 Aug 1996 22:47:39 +0200 Message-ID: <992.840833259@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199608231949.VAA01341@uriah.heep.sax.de>, J Wunsch writes: >As Poul-Henning Kamp wrote: > >> Each socket should have a flag that tells if it was bound to a specific >> address/port or defaulted to something the kernel gave it. >> >> That way netstat would know not to do a service resolution on the sockets >> that are anonymous. > >Btw., tcpdump needs this solution as well. Well, tcpdump doesn't (can't) have the information available. Sorry. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.