commit c705a04385ffd0c35e3bc6ec99be8ca7e51c30b9 Author: zyppe <210hcl@gmail.com> Date: Tue Mar 5 16:48:39 2024 +0800 Initialize for netcfg diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..e2e01a3 --- /dev/null +++ b/COPYING @@ -0,0 +1,30 @@ +Copyright (c) 2000-2011, Novell, Inc. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in the +documentation and/or other materials provided with the distribution. + +* Neither the name of the Novell nor the names of its contributors may +be used to endorse or promote products derived from this software +without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A +PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER +OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/aliases b/aliases new file mode 100644 index 0000000..0a1abc7 --- /dev/null +++ b/aliases @@ -0,0 +1,91 @@ +# This is the aliases file - it says who gets mail for whom. +# +# >>>>>>>>>> The program "newaliases" will need to be run +# >> NOTE >> after this file is updated for any changes +# >>>>>>>>>> to show through to sendmail. +# + +# It is probably best to not work as user root and redirect all +# email to "root" to the address of a HUMAN who deals with this +# system's problems. Then you don't have to check for important +# email too often on the root account. +# The "\root" will make sure that email is also delivered to the +# root-account, but also forwared to the user "joe". +#root: joe, \root + +# Basic system aliases that MUST be present. +postmaster: root +mailer-daemon: postmaster + +# amavis +virusalert: root + +# General redirections for pseudo accounts in /etc/passwd. +administrator: root +daemon: root +lp: root +news: root +uucp: root +games: root +man: root +at: root +postgres: root +mdom: root +amanda: root +ftp: root +wwwrun: root +squid: root +msql: root +gnats: root +nobody: root +# "bin" used to be in /etc/passwd +bin: root + +# Further well-known aliases for dns/news/ftp/mail/fax/web/gnats. +newsadm: news +newsadmin: news +usenet: news +ftpadm: ftp +ftpadmin: ftp +ftp-adm: ftp +ftp-admin: ftp +hostmaster: root +mail: postmaster +postman: postmaster +post_office: postmaster +# "abuse" is often used to fight against spam email +abuse: postmaster +spam: postmaster +faxadm: root +faxmaster: root +webmaster: root +gnats-admin: root +mailman: root +mailman-owner: mailman + +# mlmmj needs only one alias to function; this is with a mailinglist in +# /var/spool/mlmmj/myownlist (remember full path): +# myownlist: "| /usr/bin/mlmmj-recieve -L /var/spool/mlmmj/myownlist" + +# Majordomo can be used to have mailinglists on your site. +#majordomo: "|/usr/lib/majordomo/wrapper majordomo" +#owner-majordomo: root, +#majordomo-owner: root, + +# sample entry for a majordomo mailing-list called "test" +# read /usr/doc/packages/majordomo/README.linux for more information +# replace "test" with a new name and put the administrator into +# the "owner-test" alias instead of "root". +# +#test: "|/usr/lib/majordomo/wrapper resend -l test test-outgoing" +#test-outgoing: :include:/var/lib/majordomo/lists/test +#test-request: "|/usr/lib/majordomo/wrapper majordomo -l test" +#test-approval: owner-test, +#owner-test-outgoing: owner-test, +#owner-test-request: owner-test, +#owner-test: root, +# +# if you have bulk_mailer installed, you can replace the above +# "test-outgoing" line with the following: +#test-outgoing: "|/usr/bin/bulk_mailer owner-test@host.com /var/lib/majordomo/lists/test" +# diff --git a/defaultdomain b/defaultdomain new file mode 100644 index 0000000..e69de29 diff --git a/ethers b/ethers new file mode 100644 index 0000000..d8585df --- /dev/null +++ b/ethers @@ -0,0 +1,16 @@ +# +# ethers This file contains 48 bit Ethernet addresses and their +# corresponding IP number or hostname. The two items are +# separated by any number of SPACE and/or TAB char acters. +# A at the beginning of a line starts a comment which extends +# to the end of the line. The Ethernet-address is written as +# x:x:x:x:x:x, where x is a hexadecimal number between 0 and +# ff which represents one byte of the address, which is in +# network byte order (bigendian). The IP-number may be a +# hostname which can be resolved by DNS or a dot separated +# number. +# +# Syntax: +# Ethernet-address IP-number +# +# diff --git a/ethertypes b/ethertypes new file mode 100644 index 0000000..813177b --- /dev/null +++ b/ethertypes @@ -0,0 +1,39 @@ +# +# Ethernet frame types +# This file describes some of the various Ethernet +# protocol types that are used on Ethernet networks. +# +# This list could be found on: +# http://www.iana.org/assignments/ethernet-numbers +# http://www.iana.org/assignments/ieee-802-numbers +# +# ... #Comment +# +IPv4 0800 ip ip4 # Internet IP (IPv4) +X25 0805 +ARP 0806 ether-arp # +FR_ARP 0808 # Frame Relay ARP [RFC1701] +BPQ 08FF # G8BPQ AX.25 Ethernet Packet +DEC 6000 # DEC Assigned proto +DNA_DL 6001 # DEC DNA Dump/Load +DNA_RC 6002 # DEC DNA Remote Console +DNA_RT 6003 # DEC DNA Routing +LAT 6004 # DEC LAT +DIAG 6005 # DEC Diagnostics +CUST 6006 # DEC Customer use +SCA 6007 # DEC Systems Comms Arch +TEB 6558 # Trans Ether Bridging [RFC1701] +RAW_FR 6559 # Raw Frame Relay [RFC1701] +RARP 8035 # Reverse ARP [RFC903] +AARP 80F3 # Appletalk AARP +ATALK 809B # Appletalk +802_1Q 8100 8021q 1q 802.1q dot1q # 802.1Q Virtual LAN tagged frame +IPX 8137 # Novell IPX +NetBEUI 8191 # NetBEUI +IPv6 86DD ip6 # IP version 6 +PPP 880B # PPP +ATMMPOA 884C # MultiProtocol over ATM +PPP_DISC 8863 # PPPoE discovery messages +PPP_SES 8864 # PPPoE session messages +ATMFATE 8884 # Frame-based ATM Transport over Ethernet +LOOP 9000 loopback # loop proto diff --git a/exports b/exports new file mode 100644 index 0000000..2ef3480 --- /dev/null +++ b/exports @@ -0,0 +1,6 @@ +# See the exports(5) manpage for a description of the syntax of this file. +# This file contains a list of all directories that are to be exported to +# other computers via NFS (Network File System). +# This file used by rpc.nfsd and rpc.mountd. See their manpages for details +# on how make changes in this file effective. + diff --git a/ftpusers b/ftpusers new file mode 100644 index 0000000..9c1e406 --- /dev/null +++ b/ftpusers @@ -0,0 +1,57 @@ +# +# ftpusers This file describes the names of the users that may +# _*NOT*_ log into the system via the FTP server. +# This usually includes "root", "uucp", "news" and the +# like, because those users have too much power to be +# allowed to do "just" FTP... +# +adabas +amanda +at +bin +cyrus +daemon +dbmaker +db2fenc1 +db2inst1 +db2as +db4web +dpbox +empress +fax +firewall +fnet +games +gdm +gnats +irc +informix +ingres +ixess +lnx +lp +mail +man +mdom +mysql +named +news +nobody +nps +oracle +perforce +pop +postfix +postgres +root +sapdb +skyrix +squid +uucp +virtuoso +vscan +wnn +wwwrun +yard +zope +# End. diff --git a/host.conf b/host.conf new file mode 100644 index 0000000..e219018 --- /dev/null +++ b/host.conf @@ -0,0 +1,16 @@ +# +# /etc/host.conf - resolver configuration file +# +# Please read the manual page host.conf(5) for more information. +# +# +# The following option is only used by binaries linked against +# libc4 or libc5. This line should be in sync with the "hosts" +# option in /etc/nsswitch.conf. +# +order hosts, bind +# +# The following options are used by the resolver library: +# +multi on + diff --git a/hostname b/hostname new file mode 100644 index 0000000..e69de29 diff --git a/hosts b/hosts new file mode 100644 index 0000000..b3cd862 --- /dev/null +++ b/hosts @@ -0,0 +1,23 @@ +# +# hosts This file describes a number of hostname-to-address +# mappings for the TCP/IP subsystem. It is mostly +# used at boot time, when no name servers are running. +# On small systems, this file can be used instead of a +# "named" name server. +# Syntax: +# +# IP-Address Full-Qualified-Hostname Short-Hostname +# + +127.0.0.1 localhost + +# special IPv6 addresses +::1 localhost ipv6-localhost ipv6-loopback + +fe00::0 ipv6-localnet + +ff00::0 ipv6-mcastprefix +ff02::1 ipv6-allnodes +ff02::2 ipv6-allrouters +ff02::3 ipv6-allhosts + diff --git a/hosts.allow b/hosts.allow new file mode 100644 index 0000000..6e1936a --- /dev/null +++ b/hosts.allow @@ -0,0 +1,63 @@ +# /etc/hosts.allow +# See 'man tcpd' and 'man 5 hosts_access' for a detailed description +# of /etc/hosts.allow and /etc/hosts.deny. +# +# short overview about daemons and servers that are built with +# tcp_wrappers support: +# +# package name | daemon path | token +# ---------------------------------------------------------------------------- +# ssh, openssh | /usr/sbin/sshd | sshd, sshd-fwd-x11, sshd-fwd- +# quota | /usr/sbin/rpc.rquotad | rquotad +# tftpd | /usr/sbin/in.tftpd | in.tftpd +# portmap | /sbin/portmap | portmap +# The portmapper does not verify against hostnames +# to prevent hangs. It only checks non-local addresses. +# +# (kernel nfs server) +# nfs-utils | /usr/sbin/rpc.mountd | mountd +# nfs-utils | /sbin/rpc.statd | statd +# +# (unfsd, userspace nfs server) +# nfs-server | /usr/sbin/rpc.mountd | rpc.mountd +# nfs-server | /usr/sbin/rpc.ugidd | rpc.ugidd +# +# (printing services) +# lprng | /usr/sbin/lpd | lpd +# cups | /usr/sbin/cupsd | cupsd +# The cupsd server daemon reports to the cups +# error logs, not to the syslog(3) facility. +# +# (Uniterrupted Power Supply Software) +# apcupsd | /sbin/apcupsd | apcupsd +# apcupsd | /sbin/apcnisd | apcnisd +# +# All of the other network servers such as samba, apache or X, have their own +# access control scheme that should be used instead. +# +# In addition to the services above, the services that are started on request +# by inetd or xinetd use tcpd to "wrap" the network connection. tcpd uses +# the last component of the server pathname as a token to match a service in +# /etc/hosts.{allow,deny}. See the file /etc/inetd.conf for the token names. +# The following examples work when uncommented: +# +# +# Example 1: Fire up a mail to the admin if a connection to the printer daemon +# has been made from host foo.bar.com, but simply deny all others: +# lpd : foo.bar.com : spawn /bin/echo "%h printer access" | \ +# mail -s "tcp_wrappers on %H" root +# +# +# Example 2: grant access from local net, reject with message from elsewhere. +# in.telnetd : ALL EXCEPT LOCAL : ALLOW +# in.telnetd : ALL : \ +# twist /bin/echo -e "\n\raccess from %h declined.\n\rGo away.";sleep 2 +# +# +# Example 3: run a different instance of rsyncd if the connection comes +# from network 172.20.0.0/24, but regular for others: +# rsyncd : 172.20.0.0/255.255.255.0 : twist /usr/local/sbin/my_rsyncd-script +# rsyncd : ALL : ALLOW +# + + diff --git a/hosts.deny b/hosts.deny new file mode 100644 index 0000000..4900a68 --- /dev/null +++ b/hosts.deny @@ -0,0 +1,6 @@ +# /etc/hosts.deny +# See 'man tcpd' and 'man 5 hosts_access' as well as /etc/hosts.allow +# for a detailed description. + +http-rman : ALL EXCEPT LOCAL + diff --git a/hosts.equiv b/hosts.equiv new file mode 100644 index 0000000..a64ac34 --- /dev/null +++ b/hosts.equiv @@ -0,0 +1,7 @@ +# +# hosts.equiv This file describes the names of the hosts which are +# to be considered "equivalent", i.e. which are to be +# trusted enough for allowing rsh(1) commands. +# +# hostname + diff --git a/hosts.lpd b/hosts.lpd new file mode 100644 index 0000000..d97dd71 --- /dev/null +++ b/hosts.lpd @@ -0,0 +1,7 @@ +# +# hosts.lpd This file describes the names of the hosts which are +# to be considered "equivalent", i.e. which are to be +# trusted enough for allowing remote lpr(1) commands. +# +# hostname + diff --git a/netcfg.changes b/netcfg.changes new file mode 100644 index 0000000..bac8516 --- /dev/null +++ b/netcfg.changes @@ -0,0 +1,382 @@ +* Mon Jan 1 2024 martin.schreiner@suse.com +- Add krb-prop entry, fix for bsc#1211886. +* Mon Aug 23 2021 pgajdos@suse.com +- add submissions port number [bsc#1189683] +- modified patches + %% services-suse.diff +* Thu Feb 22 2018 matthias.gerstner@suse.com +- Include /etc/ethertypes to resolve a conflict between + security:netfilter/ebtables and security:netfilter/iptables-nft. This + ethertypes version comes from iptables, because it contains an additional + entry over the ebtables one. Increased minor version to allow a suitable + Requires statement in ebtables/iptables. FATE#320520 +* Thu Feb 22 2018 fvogt@suse.com +- Use %%license (boo#1082318) +* Tue Mar 7 2017 tchvatal@suse.com +- Update script to generage services to use UTF8 by default bsc#1028305 +- Update the services list with latest content +* Tue Jan 5 2016 tchvatal@suse.com +- Repack services.bz2 with latest from upstream and adjust the script + to not add all the names+emails at the bottom bnc#959693 +* Tue Aug 25 2015 tchvatal@suse.com +- Do not actually replace the hostname if user already has something + in there. Thanks to Takashi Iwai for spotting this +* Tue Aug 4 2015 tchvatal@suse.com +- Do not ghost the empty /etc/hostname to not break installationimages + pkg. +* Thu Jun 11 2015 tchvatal@suse.com +- Keep /etc/hostname empty and %%ghost it. bnc#934056 +* Wed Dec 17 2014 tchvatal@suse.com +- Try different approach to fix failing migration from 13.1. + This one is from locilka +* Wed Dec 17 2014 tchvatal@suse.com +- Keep the condition posix as it is shorter :) +* Mon Dec 1 2014 tchvatal@suse.com +- Spec-cleanify the previous commit. +* Mon Dec 1 2014 tchvatal@suse.com +- Redo the HOSTNAME -> hostname migration to support smallest + possible step. Thus ensuring the migration is done just once and + finished: + [#] HOSTNAME migration supported scenarios [bnc#858908]: + [#] /etc/HOSTNAME -> /etc/hostname content preservation. + [#] If hostname and HOSTNAME both exist HOSTNAME wins. + [#] Nothing apart from content of the document is preserved +- Solves bnc#858908 and bnc#899506 while moves bnc#887039 to + unsupported scenarios. +* Mon Dec 1 2014 tchvatal@suse.com +- Remove the socket check from the defaultdomain checker as it was + always false and thus not needed + - Add comment explaining the reason for the code +* Mon Dec 1 2014 tchvatal@suse.com +- Drop the scriptlet for the netgroup handling. It was caused by + the aaa_base -> netcfg move, which I guess after 12 years is moot +* Thu Oct 2 2014 pgajdos@suse.com +- fix %%pre scriptlet [bnc#899506] (thanks to mls for the fix) +* Fri Jul 25 2014 pgajdos@suse.com +- resolve some update scenarios [bnc#883999], [bnc#886443] (private) + with regard to /etc/HOSTNAME -> /etc/hostname change +* Wed Jun 11 2014 pgajdos@suse.com +- move /etc/HOSTNAME to /etc/hostname during update +* Wed Jun 4 2014 pgajdos@suse.com +- HOSTNAME renamed to hostname [bnc#858908] +* Thu Feb 6 2014 pgajdos@suse.com +- added helper scripts and doc for creating services file to + Sources +* Tue Oct 29 2013 pgajdos@suse.com +- /etc/protocols: assign 4 to ipv4 instead of ip to correspond with + IANA [bnc#843511] (internal) +* Thu Aug 22 2013 pgajdos@suse.com +- updated to newer (not newest) version of IANA assignments + [bnc#831522], [bnc#731391] (both internal) +* Wed Jun 5 2013 pgajdos@suse.com +- services: map sieve to 4190 instead of 2000 as upstream (IANA) + does +* Mon Mar 7 2011 ro@suse.de +- bump version to 11.5 +* Thu Mar 3 2011 pgajdos@suse.cz +- added COPYING file (cfarrell@suse.de) +* Thu Nov 4 2010 pgajdos@suse.cz +- reverted rquotad port assigment [bnc#637382] + * modified services-suse.diff back to previous state +* Thu Oct 21 2010 pgajdos@suse.cz +- assigned port 4003 to rquotad [bnc#637382] + * modified services-suse.diff +* Thu Oct 23 2008 pgajdos@suse.cz +- commented out + spr-itunes 0/tcp # Shirt Pocket netTunes + spl-itunes 0/tcp # Shirt Pocket launchTunes + lines [bnc#435600] +* Mon Sep 8 2008 pgajdos@suse.cz +- /etc/services and /etc/protocols was marked as %%config(noreplace) + [bnc#422884] +* Tue Mar 25 2008 mkoenig@suse.de +- add rpcbind alias for sunrpc [fate#300607] +* Tue Mar 4 2008 pgajdos@suse.cz +- added swat 901/tcp back to the suse.patch [#362590] +* Mon Jan 28 2008 kukuk@suse.de +- Update services file from IANA [bnc#352665] +- Fix PreReqs +* Wed Oct 4 2006 kukuk@suse.de +- Update services file from IANA +* Tue May 23 2006 kukuk@suse.de +- Update protocols and services files from IANA +* Wed Jan 25 2006 mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Dec 14 2005 kukuk@suse.de +- Update services file +* Mon Sep 12 2005 mmj@suse.de +- Readd the correct services file to patch +* Mon Sep 12 2005 mmj@suse.de +- Add IANA official git port (9418) to services +* Thu Jul 7 2005 kukuk@suse.de +- Update services file +* Tue Mar 8 2005 kukuk@suse.de +- Change comments to make peopleusing file wrongly happy [#71247] +* Wed Feb 23 2005 kukuk@suse.de +- Update /etc/services from IANA +* Tue May 11 2004 mmj@suse.de +- Add example for mlmmj list in /etc/aliases +* Fri Apr 16 2004 kukuk@suse.de +- Add smtps back again, got lost with last update +* Fri Apr 2 2004 kukuk@suse.de +- Use linux.site instead of linux.local [Bug #36949] +* Wed Mar 31 2004 mls@suse.de +- add link-local network +* Mon Mar 29 2004 kukuk@suse.de +- Comment out shilp entry to make reading tcpdump output easier + [Bug #37359] +* Sun Feb 15 2004 kukuk@suse.de +- Update etc/services file with IANA version +* Mon Dec 1 2003 kukuk@suse.de +- Add etc/netgroup (moved from aaa_base) +* Thu Nov 13 2003 adrian@suse.de +- add registered services to service file + ( sane, distcc, svn ) +* Mon Sep 1 2003 draht@suse.de +- added apcupsd daemons to /etc/hosts.allow (#29646) +* Fri Aug 15 2003 kukuk@suse.de +- Make rpm -V quiet +* Tue May 13 2003 kukuk@suse.de +- Remove inetd.conf, is now part of inetd package +* Thu Apr 24 2003 olh@suse.de +- run tftp via tcpd, not in.tftpd +* Tue Apr 15 2003 ro@suse.de +- change version numbering +* Tue Apr 15 2003 arvin@suse.de +- added pop3s and imaps services to inetd.conf (bug #26281) +* Tue Mar 11 2003 kukuk@suse.de +- Add aaa_base to PreReq. to fix update problems [Bug #25102] +* Thu Feb 13 2003 meissner@suse.de +- Add VNC httpd and 2 VNC display ports, which start Xvnc on demand. +* Mon Jan 27 2003 kukuk@suse.de +- Add etc/ethers [Bug #23016] +* Thu Oct 24 2002 kukuk@suse.de +- etc/services: Add lotusnotes alias to lotusnote [Bug #21145] +* Tue Sep 17 2002 ro@suse.de +- removed bogus self-provides +* Wed Sep 4 2002 kukuk@suse.de +- etc/services: Add ports for sieve and smtps +* Mon Aug 26 2002 kukuk@suse.de +- etc/services: add mrt entry in temporary area +* Fri Aug 23 2002 kukuk@suse.de +- Fix pop2 daemon name, add imap pop3 daemon [Bug #14474] +* Thu Aug 15 2002 kukuk@suse.de +- Add PreRequires [Bug #17899] +* Sat Aug 3 2002 kukuk@suse.de +- etc/services: add rpcbind alias to sunrpc entry +* Tue Jul 30 2002 kukuk@suse.de +- Fix get_version_number.sh +* Mon Jul 22 2002 adrian@suse.de +- add disabled fam daemon line to inetd.conf +- remove KDE 2 talk daemon lines + (not anymore support due to security issues) +* Wed Jul 17 2002 kukuk@suse.de +- Remove etc/defaultdomian.rpmnew if empty in postinstall script +* Fri Jul 12 2002 kukuk@suse.de +- Add /etc/aliases as config(noreplace). +* Fri Jul 5 2002 kukuk@suse.de +- Update /etc/services (add new, official ports) +* Tue Jul 2 2002 kukuk@suse.de +- fix typo in /etc/services [Bug #16478] +* Thu Jun 13 2002 draht@suse.de +- removed lprold from the comments in /etc/hosts.allow. +* Thu Jun 13 2002 draht@suse.de +- redo change from Tue Feb 5 18:38:44 MET 2002 - draht@suse.de + commented out services time, telnet, login, finger from default + /etc/inetd.conf. No services are configured by default. +* Wed May 15 2002 kssingvo@suse.de +- Add cups-lpd entry to inetd.conf (commented out) +* Wed Mar 13 2002 kukuk@suse.de +- Remove not supported entries [Bug #14932] +* Tue Mar 5 2002 kukuk@suse.de +- Add inofficial entries for pbs to etc/services [Bug #14450] +* Fri Mar 1 2002 kukuk@suse.de +- Add sap db entries back to etc/services +* Wed Feb 13 2002 werner@suse.de +- Add the options '-L sendmail' and '-Am' to be sure that + sendmail does work as server not as msp client +* Tue Feb 5 2002 draht@suse.de +- revert changes in /etc/inetd.conf +* Tue Feb 5 2002 draht@suse.de +- more descriptive comment in /etc/exports. +* Tue Feb 5 2002 draht@suse.de +- Added users db4web dpbox ingres mail oracle perforce pop sapdb + squid vscan wnn wwwrun and zope to /etc/ftpusers. + No users removed, legacy users stay. +* Tue Feb 5 2002 draht@suse.de +- commented out services telnet, login and finger from default + /etc/inetd.conf file. +* Tue Feb 5 2002 draht@suse.de +- add list of wrapped services and examples to /etc/hosts.allow +- changed comment on /etc/hosts.deny +* Tue Feb 5 2002 kukuk@suse.de +- Fix x11 entry in etc/services +* Fri Feb 1 2002 draht@suse.de +- removed ^m characters from etc/services +* Tue Jan 22 2002 kukuk@suse.de +- Sync protocols with official list [Bug #12870] +- Sync services with official list +* Fri Jan 18 2002 kukuk@suse.de +- disable talk, not in wide use today +- amindexd and amidxtaped should run as user amanda [Bug #12619] +* Wed Jan 16 2002 ro@suse.de +- fixed filelist +* Wed Jan 16 2002 kukuk@suse.de +- Remove /var/adm/setup, diphost and add defaultdomain and HOSTNAME +* Mon Oct 22 2001 mmj@suse.de +- Change inetd.conf to have vsftpd support +* Mon Jul 30 2001 kukuk@suse.de +- Fix typo in hosts.equiv [Bug #9420] +* Tue Jul 10 2001 kukuk@suse.de +- Change inetd.conf entry for tftp to match new version +* Fri Jul 6 2001 kukuk@suse.de +- Fix path to initscript in comment +* Tue Jun 5 2001 kukuk@suse.de +- services: Add ksysguard +* Wed May 9 2001 kukuk@suse.de +- Don't send wrong email about changed ftp server +- Fix english comment in inetd.conf [Bug #7913] +* Mon Apr 30 2001 ro@suse.de +- added sql6 as 7210/tcp to etc/services +* Fri Apr 20 2001 kukuk@suse.de +- Add comments for use of ktalkd [Bug #6566] +* Wed Apr 11 2001 kukuk@suse.de +- Revert some of the last changes [Bug #6957] +* Mon Mar 26 2001 kukuk@suse.de +- Update etc/protocols from official iana list [Bug #4183] +* Sat Mar 24 2001 kukuk@suse.de +- etc/services: Add canna entry +* Thu Mar 22 2001 kukuk@suse.de +- Fix example in hosts.allow +- etc/inetd.conf: Only enable time, telnet, rlogin and talk. +* Fri Feb 9 2001 schwab@suse.de +- Fix cvs pserver example (#6293). +* Thu Dec 14 2000 ro@suse.de +- removed lines db2cdb2inst1 and db2idb2inst1 from etc/services (#4461) +* Sat Nov 18 2000 kukuk@suse.de +- Add dqs entries for nashif@suse.de +* Wed Sep 27 2000 kukuk@suse.de +- Add more Wnn* entries to etc/services +* Fri Jul 28 2000 kukuk@suse.de +- Fix rsync example +* Mon Jun 19 2000 kukuk@suse.de +- Compress tar archive +* Mon Jun 19 2000 kukuk@suse.de +- Enable swat in etc/inetd.conf +* Fri May 26 2000 kukuk@suse.de +- Fix tar archive +* Thu May 25 2000 kukuk@suse.de +- Add etc/host.conf +* Mon May 15 2000 kukuk@suse.de +- Remove ypserv entries from hosts.allow/hosts.deny +* Mon May 15 2000 ro@suse.de +- removed duplicate line for opalis-rdv +* Mon May 15 2000 kukuk@suse.de +- etc/services: Add procstatd entry +- etc/inetd.conf: Likewise. +* Tue May 9 2000 ro@suse.de +- added services entry for codine_commd + (inofficial 536/tcp) +* Mon Apr 17 2000 kukuk@suse.de +- etc/inetd.conf: Change tftpd default configuration to make a + chroot into tftpboot directory +* Wed Apr 5 2000 kukuk@suse.de +- etc/services: Add more entries +* Wed Apr 5 2000 kukuk@suse.de +- etc/inetd.conf: service name is imap, not imap2 [Bug 2607] +* Mon Mar 13 2000 kukuk@suse.de +- etc/services: Now really fix axnet entry [Bug 2080] +* Fri Feb 25 2000 garloff@suse.de +- cvs entry fixed: path to cvs added. +* Fri Feb 25 2000 kukuk@suse.de +- etc/services: Add more entries [Bug 2080] +* Sun Feb 20 2000 garloff@suse.de +- added commented entry for cvs-pserver to inet.conf +* Wed Feb 16 2000 kukuk@suse.de +- etc/services: Add pbs entries +* Tue Feb 15 2000 kukuk@suse.de +- etc/inetd.conf: fix some typos +* Thu Jan 20 2000 kukuk@suse.de +- Add missing amanda client entry to etc/inetd.conf +* Wed Jan 19 2000 kukuk@suse.de +- Add missing amanda idx entries to etc/services +* Thu Jan 13 2000 kukuk@suse.de +- etc/ftpusers: Add more systemuser from /etc/passwd +* Thu Jan 13 2000 kukuk@suse.de +- Add IPv6 addresses to etc/hosts +* Tue Jan 11 2000 kukuk@suse.de +- etc/services: Add db2 and http-rman entries +* Mon Jan 3 2000 kukuk@suse.de +- etc/inetd.conf: Remove RPC entries +- etc/protocols: Add IPv6 +- etc/services: Add all known services +- etc/rpc: Removed, is in shlibs +* Thu Oct 21 1999 kukuk@suse.de +- etc/inetd.conf: fix comments, disable btx and rplay +- etc/ftpusers: Add more system users +- etc/services: Add more official assinged numbers +* Mon Sep 13 1999 bs@suse.de +- ran old prepare_spec on spec file to switch to new prepare_spec. +* Sat Sep 11 1999 kukuk@suse.de +- Make in.ftpd default ftp daemon (fixes bug #268) +* Thu Sep 2 1999 kukuk@suse.de +- Don't start identd from inetd +* Mon Jul 12 1999 bs@suse.de +- fixed buglet in %%post (create var/adm/notify/messages) +* Mon Jul 12 1999 ro@suse.de +- updated etc/services (added https, ftp, data) +* Tue May 25 1999 uli@suse.de +- added services/inetd.conf entries for Mimer +* Tue Mar 30 1999 bs@suse.de +- enabled time services in /etc/inetd.conf +* Mon Mar 22 1999 bs@suse.de +- added "bin" and "daemon" to /etc/ftpusers +* Tue Mar 9 1999 ro@suse.de +- /etc/services: added entries for IBM DB2 Database +* Tue Mar 2 1999 ro@suse.de +- glibc is libc.so.6.1 on alpha: no etc/rpc there +* Wed Jan 13 1999 bs@suse.de +- added some entries for samba to inetd.conf and services +* Sat Dec 5 1998 bs@suse.de +- added netplan to /etc/services +- marked /etc/inetd.conf as noreplace +* Sat Nov 28 1998 bs@suse.de +- added rsync to etc/services and etc/inetd.conf +* Wed Nov 18 1998 bs@suse.de +- disabled vbox in inetd.conf +* Tue Nov 17 1998 bs@suse.de +- hosts.equiv: typo fix +- etc/services: added afpovertcp, mysql +- etc/inetd.conf: added leafnode, vboxd + removed in.nntpd +* Fri Aug 21 1998 bs@suse.de +- added some entries to /etc/services to be friendly for netatalk +* Mon Aug 17 1998 bs@suse.de +- changed entry for rplayd in inetd.conf +* Tue Jul 28 1998 bs@suse.de +- changed comment headers in /etc/hosts and /etc/hosts.lpd +- added "noreplace" feature. +* Mon Jul 13 1998 bs@suse.de +- inetd.conf + - added new entry for rplay + - added entry for proftpd +- services: + - added aliases for imap2 (imap, imap4) +* Thu May 28 1998 bs@suse.de +- disabled imap2 in /etc/inetd.conf +* Tue Mar 3 1998 ro@suse.de +- etc/services - changed entry for http-rman to nowait.10000 +* Sat Feb 28 1998 ro@suse.de +- etc/services - added entried for radius +* Mon Feb 9 1998 bs@suse.de +- etc/services: - added entries for amanda + - added entries for ssh +- etc/inetd.conf: - added entries for amanda + - added "-e" to /usr/sbin/in.identd + - added comment for "keep-alive" +* Wed Jan 28 1998 ro@suse.de +- changed ftpd from in.ftpd to wu.ftpd in /etc/inetd.conf + (in case of update with existing in.ftpd and nonexisting + wu.ftpd, the administrator is notified of the change) +* Mon Jan 26 1998 ro@suse.de +- added entries for hp eloquence software 8010,8100,8102,8104 diff --git a/netcfg.spec b/netcfg.spec new file mode 100644 index 0000000..6deb108 --- /dev/null +++ b/netcfg.spec @@ -0,0 +1,114 @@ +# +# spec file for package netcfg +# +# Copyright (c) 2022-2023 ZhuningOS +# + + +Name: netcfg +Version: 11.6 +Release: 150000.3.6.1 +Summary: Network Configuration Files in /etc +License: BSD-3-Clause +Group: System/Base +Source0: defaultdomain +Source1: exports +Source2: ftpusers +Source3: host.conf +Source4: hosts +Source5: hosts.allow +Source6: hosts.deny +Source7: hosts.equiv +Source8: hosts.lpd +Source9: networks +Source10: protocols +Source11: services.bz2 +Source12: hostname +Source13: aliases +Source14: ethers +Source15: netgroup +Source16: COPYING +Source17: ethertypes +Source100: services-compare.pl +Source101: services-compare.sh +Source102: services-create.pl +Source103: services_UPDATING +Patch0: services-suse.diff +Requires(post): coreutils +Requires(pre): coreutils +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +All of the basic configuration files for the network programs including +%{_sysconfdir}/aliases, %{_sysconfdir}/protocols, and %{_sysconfdir}/services. + +These are often used by network routines in the C library and therefore +must be installed for all network programs. + +%prep + +%build +cp %{SOURCE16} . + +%install +mkdir -p %{buildroot}/etc +for i in hostname aliases defaultdomain exports ftpusers host.conf hosts hosts.allow hosts.deny hosts.equiv hosts.lpd netgroup networks protocols services.bz2 ethers ethertypes; do + install $RPM_SOURCE_DIR/$i %{buildroot}/etc +done +bunzip2 %{buildroot}%{_sysconfdir}/services.bz2 +patch -p0 %{buildroot}%{_sysconfdir}/services < $RPM_SOURCE_DIR/services-suse.diff +rm -f %{buildroot}%{_sysconfdir}/services.orig +ln -s %{_sysconfdir}/hostname %{buildroot}%{_sysconfdir}/HOSTNAME + +%pre +# HOSTNAME migration supported scenarios [bnc#858908]: +# /etc/HOSTNAME -> /etc/hostname content preservation. +# If hostname and HOSTNAME both exist HOSTNAME wins. +# Nothing apart from content of the document is preserved +# REMOVE after SLE11/openSUSE-13.1 out of MIGRATION support +if [ $1 -gt 1 ]; then + if [ -f %{_sysconfdir}/HOSTNAME -a ! -L %{_sysconfdir}/HOSTNAME ]; then + cat %{_sysconfdir}/HOSTNAME > %{_sysconfdir}/hostname.rpmsave + rm -rf %{_sysconfdir}/HOSTNAME %{_sysconfdir}/hostname + touch %{_sysconfdir}/hostname + ln -s %{_sysconfdir}/hostname %{_sysconfdir}/HOSTNAME + fi +fi +exit 0 + +%post +# If the defaultdomain changed just prune it, user is not interested in +# 0 size file anyway +if [ -f %{_sysconfdir}/defaultdomain.rpmnew ]; then + rm -f %{_sysconfdir}/defaultdomain.rpmnew +fi +if [ -f %{_sysconfdir}/hostname.rpmsave ]; then + cat %{_sysconfdir}/hostname.rpmsave > %{_sysconfdir}/hostname + rm -rf %{_sysconfdir}/HOSTNAME.rpmsave %{_sysconfdir}/hostname.rpmsave +fi +exit 0 + +%files +%defattr(644,root,root,755) +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hostname +%{_sysconfdir}/HOSTNAME +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/aliases +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/defaultdomain +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/ethers +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/exports +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/ftpusers +%config(noreplace) %{_sysconfdir}/host.conf +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.allow +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.deny +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.equiv +%verify(not md5 size mtime) %config(noreplace) %{_sysconfdir}/hosts.lpd +%config(noreplace) %{_sysconfdir}/netgroup +%config(noreplace) %{_sysconfdir}/networks +%config(noreplace) %{_sysconfdir}/protocols +%config(noreplace) %{_sysconfdir}/services +%config(noreplace) %{_sysconfdir}/ethertypes +%license COPYING + +%changelog diff --git a/netgroup b/netgroup new file mode 100644 index 0000000..c54d940 --- /dev/null +++ b/netgroup @@ -0,0 +1,24 @@ +# +# netgroup The netgroup file. Entries look like this: +# +# netgroup (host,user,domain) (host,user,domain) .. +# +# So for example a netgroup for powerusers could be: +# +# powerusers (,miquels,) (,torvalds,) (,fubar,) +# +# And an entry in the password file like +# +# +@powerusers:::::: +# +:*:::::/etc/NoShell +# +# +# would give access only to the users in "powerusers", while the +# other users would be known to the system but have an invalid +# shell AND an invalid password (with Linux, you can also +# override the password field). +# + +# powerusers (,miquels,) (,torvalds,) (,fubar,) +# ourhosts (picard,,) (enterprise,,) (laforge,,) (Q,,) + diff --git a/networks b/networks new file mode 100644 index 0000000..c4c4d49 --- /dev/null +++ b/networks @@ -0,0 +1,10 @@ +# +# networks This file describes a number of netname-to-address +# mappings for the TCP/IP subsystem. It is mostly +# used at boot time, when no name servers are running. +# + +loopback 127.0.0.0 +link-local 169.254.0.0 + +# End. diff --git a/protocols b/protocols new file mode 100644 index 0000000..fc71ca1 --- /dev/null +++ b/protocols @@ -0,0 +1,514 @@ +# See also: protocols(5), http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml +# +# +# PROTOCOL NUMBERS +# +# (last updated 28 March 2006) +# +# In the Internet Protocol version 4 (IPv4) [RFC791] there is a field, +# called "Protocol", to identify the next level protocol. This is an 8 +# bit field. In Internet Protocol version 6 (IPv6) [RFC1883] this field +# is called the "Next Header" field. +# +# Assigned Internet Protocol Numbers +# +# Decimal Keyword Protocol References +# ------- ------- -------- ---------- +# protocol num aliases # comments +hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883] +icmp 1 ICMP # Internet Control Message [RFC792] +igmp 2 IGMP # Internet Group Management [RFC1112] +ggp 3 GGP # Gateway-to-Gateway [RFC823] +ipv4 4 IPv4 # IP in IP (encapsulation) [RFC2003] +st 5 ST # Stream [RFC1190,RFC1819] +tcp 6 TCP # Transmission Control [RFC793] +cbt 7 CBT # CBT [Ballardie] +egp 8 EGP # Exterior Gateway Protocol [RFC888,DLM1] +igp 9 IGP # any private interior gateway [IANA] +# (used by Cisco for their IGRP) +bbn-rcc-mon 10 BBN-RCC-MON # BBN RCC Monitoring [SGC] +nvp-ii 11 NVP-II # Network Voice Protocol [RFC741,SC3] +pup 12 PUP # PUP [PUP,XEROX] +argus 13 ARGUS # ARGUS [RWS4] +emcon 14 EMCON # EMCON [BN7] +xnet 15 XNET # Cross Net Debugger [IEN158,JFH2] +chaos 16 CHAOS # Chaos [NC3] +udp 17 UDP # User Datagram [RFC768,JBP] +mux 18 MUX # Multiplexing [IEN90,JBP] +dcn-meas 19 DCN-MEAS # DCN Measurement Subsystems [DLM1] +hmp 20 HMP # Host Monitoring [RFC869,RH6] +prm 21 PRM # Packet Radio Measurement [ZSU] +xns-idp 22 XNS-IDP # XEROX NS IDP [ETHERNET,XEROX] +trunk-1 23 TRUNK-1 # Trunk-1 [BWB6] +trunk-2 24 TRUNK-2 # Trunk-2 [BWB6] +leaf-1 25 LEAF-1 # Leaf-1 [BWB6] +leaf-2 26 LEAF-2 # Leaf-2 [BWB6] +rdp 27 RDP # Reliable Data Protocol [RFC908,RH6] +irtp 28 IRTP # Internet Reliable Transaction [RFC938,TXM] +iso-tp4 29 ISO-TP4 # ISO Transport Protocol Class 4 [RFC905,RC77] +netblt 30 NETBLT # Bulk Data Transfer Protocol [RFC969,DDC1] +mfe-nsp 31 MFE-NSP # MFE Network Services Protocol [MFENET,BCH2] +merit-inp 32 MERIT-INP # MERIT Internodal Protocol [HWB] +dccp 33 DCCP # Datagram Congestion Control Protocol [RFC-ietf-dccp-spec-11.txt] +3pc 34 3PC # Third Party Connect Protocol [SAF3] +idpr 35 IDPR # Inter-Domain Policy Routing Protocol [MXS1] +xtp 36 XTP # XTP [GXC] +ddp 37 DDP # Datagram Delivery Protocol [WXC] +idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport Proto [MXS1] +tp++ 39 TP++ # TP++ Transport Protocol [DXF] +il 40 IL # IL Transport Protocol [Presotto] +ipv6 41 IPv6 # Ipv6 [Deering] +sdrp 42 SDRP # Source Demand Routing Protocol [DXE1] +ipv6-route 43 IPv6-Route # Routing Header for IPv6 [Deering] +ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 [Deering] +idrp 45 IDRP # Inter-Domain Routing Protocol [Sue Hares] +rsvp 46 RSVP # Reservation Protocol [Bob Braden] +gre 47 GRE # General Routing Encapsulation [Tony Li] +mhrp 48 MHRP # Mobile Host Routing Protocol[David Johnson] +bna 49 BNA # BNA [Gary Salamon] +esp 50 ESP # Encap Security Payload [RFC2406] +ah 51 AH # Authentication Header [RFC2402] +i-nlsp 52 I-NLSP # Integrated Net Layer Security TUBA [GLENN] +swipe 53 SWIPE # IP with Encryption [JI6] +narp 54 NARP # NBMA Address Resolution Protocol [RFC1735] +mobile 55 MOBILE # IP Mobility [Perkins] +tlsp 56 TLSP # Transport Layer Security Protocol [Oberg] +# using Kryptonet key management +skip 57 SKIP # SKIP [Markson] +ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 [RFC1883] +ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 [RFC1883] +ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 [RFC1883] +# 61 any host internal protocol [IANA] +cftp 62 CFTP # CFTP [CFTP,HCF2] +# 63 any local network [IANA] +sat-expak 64 SAT-EXPAK # SATNET and Backroom EXPAK [SHB] +kryptolan 65 KRYPTOLAN # Kryptolan [PXL1] +rvd 66 RVD # MIT Remote Virtual Disk Protocol [MBG] +ippc 67 IPPC # Internet Pluribus Packet Core [SHB] +# 68 any distributed file system [IANA] +sat-mon 69 SAT-MON # SATNET Monitoring [SHB] +visa 70 VISA # VISA Protocol [GXT1] +ipcv 71 IPCV # Internet Packet Core Utility [SHB] +cpnx 72 CPNX # Computer Protocol Network Executive [DXM2] +cphb 73 CPHB # Computer Protocol Heart Beat [DXM2] +wsn 74 WSN # Wang Span Network [VXD] +pvp 75 PVP # Packet Video Protocol [SC3] +br-sat-mon 76 BR-SAT-MON # Backroom SATNET Monitoring [SHB] +sun-nd 77 SUN-ND # SUN ND PROTOCOL-Temporary [WM3] +wb-mon 78 WB-MON # WIDEBAND Monitoring [SHB] +wb-expak 79 WB-EXPAK # WIDEBAND EXPAK [SHB] +iso-ip 80 ISO-IP # ISO Internet Protocol [MTR] +vmtp 81 VMTP # VMTP [DRC3] +secure-vmtp 82 SECURE-VMTP # SECURE-VMTP [DRC3] +vines 83 VINES # VINES [BXH] +ttp 84 TTP # TTP [JXS] +nsfnet-igp 85 NSFNET-IGP # NSFNET-IGP [HWB] +dgp 86 DGP # Dissimilar Gateway Protocol [DGP,ML109] +tcf 87 TCF # TCF [GAL5] +eigrp 88 EIGRP # EIGRP [CISCO,GXS] +ospfigp 89 OSPFIGP # OSPFIGP [RFC1583,JTM4] +sprite-rpc 90 Sprite-RPC # Sprite RPC Protocol [SPRITE,BXW] +larp 91 LARP # Locus Address Resolution Protocol [BXH] +mtp 92 MTP # Multicast Transport Protocol [SXA] +ax.25 93 AX.25 # AX.25 Frames [BK29] +ipip 94 IPIP # IP-within-IP Encapsulation Protocol [JI6] +micp 95 MICP # Mobile Internetworking Control Pro. [JI6] +scc-sp 96 SCC-SP # Semaphore Communications Sec. Pro. [HXH] +etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378] +encap 98 ENCAP # Encapsulation Header [RFC1241,RXB3] +# 99 any private encryption scheme [IANA] +gmtp 100 GMTP # GMTP [RXB5] +ifmp 101 IFMP # Ipsilon Flow Management Protocol [Hinden] +pnni 102 PNNI # PNNI over IP [Callon] +pim 103 PIM # Protocol Independent Multicast [Farinacci] +aris 104 ARIS # ARIS [Feldman] +scps 105 SCPS # SCPS [Durst] +qnx 106 QNX # QNX [Hunter] +a/n 107 A/N # Active Networks [Braden] +ipcomp 108 IPComp # IP Payload Compression Protocol [RFC2393] +snp 109 SNP # Sitara Networks Protocol [Sridhar] +compaq-peer 110 Compaq-Peer # Compaq Peer Protocol [Volpe] +ipx-in-ip 111 IPX-in-IP # IPX in IP [Lee] +vrrp 112 VRRP # Virtual Router Redundancy Protocol [RFC3768] +pgm 113 PGM # PGM Reliable Transport Protocol [Speakman] +# 114 any 0-hop protocol [IANA] +l2tp 115 L2TP # Layer Two Tunneling Protocol [Aboba] +ddx 116 DDX # D-II Data Exchange (DDX) [Worley] +iatp 117 IATP # Interactive Agent Transfer Protocol [Murphy] +stp 118 STP # Schedule Transfer Protocol [JMP] +srp 119 SRP # SpectraLink Radio Protocol [Hamilton] +uti 120 UTI # UTI [Lothberg] +smp 121 SMP # Simple Message Protocol [Ekblad] +sm 122 SM # SM [Crowcroft] +ptp 123 PTP # Performance Transparency Protocol [Welzl] +isis 124 ISIS # over IPv4 [Przygienda] +fire 125 FIRE # [Partridge] +crtp 126 CRTP # Combat Radio Transport Protocol [Sautter] +crudp 127 CRUDP # Combat Radio User Datagram [Sautter] +sscopmce 128 SSCOPMCE # [Waber] +iplt 129 IPLT # [Hollbach] +sps 130 SPS # Secure Packet Shield [McIntosh] +pipe 131 PIPE # Private IP Encapsulation within IP [Petri] +sctp 132 SCTP # Stream Control Transmission Protocol [Stewart] +fc 133 FC # Fibre Channel [Rajagopal] +rsvp-e2e-ignore 134 RSVP-E2E-IGNORE # [RFC3175] +mobility 135 Mobility # Header [RFC3775] +udplite 136 UDPLite # [RFC3828] +mpls-in-ip 137 MPLS-in-IP # [RFC4023] +# 138-252 Unassigned [IANA] +use 253 Use # for experimentation and testing [RFC3692] +use 254 Use # for experimentation and testing [RFC3692] +# 255 Reserved [IANA] +# +# +# REFERENCES +# ---------- +# +# [CFTP] Forsdick, H., "CFTP", Network Message, Bolt Beranek and +# Newman, January 1982. +# +# [CISCO] Cisco Systems, "Gateway Server Reference Manual", Manual +# Revision B, January 10, 1988. +# +# [DDN] Feinler, E., Editor, "DDN Protocol Handbook", Network +# Information Center, SRI International, December 1985. +# +# [DGP] M/A-COM Government Systems, "Dissimilar Gateway Protocol +# Specification, Draft Version", Contract no. CS901145, +# November 16, 1987. +# +# [ETHERNET] "The Ethernet, A Local Area Network: Data Link Layer and +# Physical Layer Specification", AA-K759B-TK, Digital +# Equipment Corporation, Maynard, MA. Also as: "The +# Ethernet - A Local Area Network", Version 1.0, Digital +# Equipment Corporation, Intel Corporation, Xerox +# Corporation, September 1980. And: "The Ethernet, A Local +# Area Network: Data Link Layer and Physical Layer +# Specifications", Digital, Intel and Xerox, November 1982. +# And: XEROX, "The Ethernet, A Local Area Network: Data Link +# Layer and Physical Layer Specification", X3T51/80-50, +# Xerox Corporation, Stamford, CT., October 1980. +# +# [IEN90] Cohen, D. and J. Postel, "Multiplexing Protocol", IEN 90, +# USC/Information Sciences Institute, May 1979. +# +# [IEN119] Forgie, J., "ST - A Proposed Internet Stream Protocol", +# IEN 119, MIT Lincoln Laboratory, September 1979. +# +# [IEN158] Haverty, J., "XNET Formats for Internet Protocol Version 4", +# IEN 158, October 1980. +# +# [MFENET] Shuttleworth, B., "A Documentary of MFENet, a National +# Computer Network", UCRL-52317, Lawrence Livermore Labs, +# Livermore, California, June 1977. +# +# [PUP] Boggs, D., J. Shoch, E. Taft, and R. Metcalfe, "PUP: An +# Internetwork Architecture", XEROX Palo Alto Research Center, +# CSL-79-10, July 1979; also in IEEE Transactions on +# Communication, Volume COM-28, Number 4, April 1980. +# +# [SPRITE] Welch, B., "The Sprite Remote Procedure Call System", +# Technical Report, UCB/Computer Science Dept., 86/302, +# University of California at Berkeley, June 1986. +# +# [RFC741] Cohen, D., "Specifications for the Network Voice Protocol", +# RFC 741, ISI/RR 7539, USC/Information Sciences Institute, +# March 1976. +# +# [RFC768] Postel, J., "User Datagram Protocol", STD 6, RFC 768, +# USC/Information Sciences Institute, August 1980. +# +# [RFC791] Postel, J., "Internet Protocol - DARPA Internet Prnogram +# Protocol Specification", STD 5, RFC 791, DARPA, September +# 1981. +# +# [RFC792] Postel, J., "Internet Control Message Protocol - DARPA +# Internet Program Protocol Specification", STD 5, RFC 792, +# USC/Information Sciences Institute, September 1981. +# +# [RFC793] Postel, J., "Transmission Control Protocol - DARPA +# Internet Program Protocol Specification", STD 7, RFC 793, +# USC/Information Sciences Institute, September 1981. +# +# [RFC823] Hinden, R., and A. Sheltzer, "The DARPA Internet Gateway", +# RFC 823, BBN, September 1982. +# +# [RFC869] Hinden, R., "A Host Monitoring Protocol", RFC 869, +# Bolt Beranek and Newman, December 1983. +# +# [RFC888] Seamonson, L., and E. Rosen, "STUB" Exterior Gateway +# Protocol", RFC 888, BBN Communications Corporation, +# January 1984. +# +# [RFC905] International Standards Organization, "ISO Transport Protocol +# Specification - ISO DP 8073", RFC 905, April 1984. +# +# [RFC908] Velten, D., R. Hinden, and J. Sax, "Reliable Data Protocol", +# RFC 908, BBN Communications Corporation, July 1984. +# +# [RFC938] Miller, T., "Internet Reliable Transaction Protocol", RFC 938, +# ACC, February 1985. +# +# [RFC969] Clark, D., M. Lambert, and L. Zhang, "NETBLT: A Bulk Data +# Transfer Protocol", RFC 969, MIT Laboratory for Computer +# Science, December 1985. +# +# [RFC1112] Deering, S., "Host Extensions for IP Multicasting", +# STD 5, RFC 1112, Stanford University, August 1989. +# +# [RFC1190] Topolcic, C., Editor, "Experimental Internet Stream +# Protocol, Version 2 (ST-II)", RFC 1190, CIP Working Group, +# October 1990. +# +# [RFC1241] Woodburn, W., and D. Mills, " A Scheme for an Internet +# Encapsulation Protocol: Version 1", RFC 1241, SAIC, +# University of Delaware, July 1991. +# +# [RFC1583] Moy, J., "The OSPF Specification", RFC 1583, Proteon, +# March 1994. +# +# [RFC1735] Heinanen, J., and R. Govindan, " NBMA Address Resolution +# Protocol (NARP)", RFC 1735, Telecom Finland and USC/ISI, +# December 1994. +# +# [RFC1819] L. Delgrossi, L. Berger, and ST2 Working Group, "Internet +# Stream Protocol Version 2 (ST2) Protocol Specification +# - Version ST2+", RFC 1819, August 1995. +# +# [RFC1883] Deering, S., and R. Hinden, "Internet Protocol, Version 6 +# (IPv6) Specification", RFC 1883, Xerox PARC, Ipsilon +# Networks, December 1995. +# +# [RFC2003] Perkins, C., "IP Encapsulation within IP", RFC 2003, IBM, +# September 1996. +# +# [RFC2393] Shacham, A., and R. Monsour, R. Pereira, M. Thomas, "IP +# Payload Compression Protocol (IPComp)", RFC 2393, Cisco, +# Hi/fn, TimeStep, AltaVista Internt, December 1998. +# +# [RFC2402] S. Kent and R. Atkinson, "IP Authentication Header", +# RFC 2402, November 1998. +# +# [RFC2406] S. Kent and R. Atkinson, "IP Encapsulating Security Payload (ESP)", +# RFC 2406, November 1998. +# +# [RFC3175] F. Baker, C. Iturralde, F. Le Faucheur, B. Davie, +# "Aggregation of RSVP for IPv4 and IPv6 Reservations", +# RFC 3175, September 2001. +# +# [RFC3378] R. Housley and S. Hollenbeck, "EtherIP: Tunneling Ethernet +# Frames in IP Datagrams", RFC 3378, September 2002. +# +# [RFC3692] T. Narten, "Assigning Experimental and Testing Numbers Considered +# Useful", RFC 3692, January 2004. +# +# [RFC3768] R. Hinden, Ed., "Virtual Router Redundancy Protocol (VRRP)", +# RFC 3768, April 2004. +# +# [RFC3775] D. Johnson, C. Perkins, and J. Arkko, "Mobility Support in IPv6", +# RFC 3775, June 2004. +# +# [RFC3828] L-A. Larzon, M. Degermark, S. Pink, L-E. Jonsson Ed., and +# G. Fairhurst, Ed., "The UDP-Lite Protocol", RFC 3828, July 2004. +# +# [RFC4023] T. Worster, Y. Rekhter, and E. Rosen, Ed., "Encapsulating MPLS in +# IP or Generic Routing Encapsulation (GRE)", RFC 4023, March 2005. +# +# [RFC-ietf-dccp-spec-11.txt] +# E. Kohler, M. Handley and S. Floyd, "Datagram Congestion +# Control Protocol (DCCP)", RFC XXXX, Month Year. +# +# PEOPLE +# ------ +# +# [Aboba] Bernard Aboba , April 1998. +# +# [Ballardie] Tony Ballardie +# +# [BCH2] Barry Howard +# +# [BK29] Brian Kantor +# +# [BN7] +# +# [Braden] Bob Braden, ,, July 1997. +# +# [BWB6] Barry Boehm +# +# [BXH] Brian Horn <---none---> +# +# [BXW] Bruce Willins <---none---> +# +# [Callon] Ross Callon, , December 1995. +# +# [Carpenter] Brian Carpenter, , January 1995. +# +# [Crowcroft] Jon Crowcroft , June 1999. +# +# [DDC1] David Clark +# +# [DLM1] David Mills +# +# [DRC3] Dave Cheriton +# +# [Deering] Steve Deering, , March 1995. +# +# [Doraswamy] Naganand Doraswamy, , September 1997. +# +# [Durst] Robert Durst, , March 1997. +# +# [DXE1] Deborah Estrin +# +# [Farinacci] Dino Farinacci, , March 1996. +# +# [Feldman] Nancy Feldman January 1997. +# +# [DXF] Dirk Fromhein +# +# [DXM2] David Mittnacht <---none---> +# +# [David Johnson] +# +# [Ekblad] Leif Ekblad , March 1999. +# +# [GAL5] Guillermo A. Loyola +# +# [GLENN] K. Robert Glenn +# +# [GXC] Greg Chesson +# +# [GXS] Guenther Schreiner +# +# [GXT1] Gene Tsudik +# +# [Hamilton] Mark Hamilton , November 1998. +# +# [HCF2] Harry Forsdick +# +# [Hinden] Bob Hinden, , November 1995, 1997. +# +# [Hunter] Michael Hunter, , July 1997. +# +# [HWB] Hans-Werner Braun +# +# [HXH] Howard Hart +# +# [IANA] Internet Assigned Numbers Authority, , June 1995. +# +# [JBP] Jon Postel +# +# [JMP] Jean-Michel Pittet, , November 1998. +# +# [JC120] +# +# [JFH2] Jack Haverty +# +# [JI6] John Ioannidis +# +# [JTM4] John Moy +# +# [JWF] Jim Forgie +# +# [JXS] Jim Stevens +# +# [KATZ] Dave Katz +# +# [Lee] CJ Lee, , October 1997. +# +# [Lothberg] Peter Lothberg , March 1999. +# +# [Markson] Tom Markson, , September 1995. +# +# [MB] Mike Brescia +# +# [MBG] Michael Greenwald +# +# [McIntosh] Bill McIntosh +# +# [ML109] Mike Little +# +# [MTR] Marshall T. Rose +# +# [Murphy] John Murphy , October 1998. +# +# [MXS1] Martha Steenstrup +# +# [NC3] J. Noel Chiappa +# +# [Oberg] Christer Oberg October 1994. +# +# [Partridge] Criag Partridge , August 1999. +# +# [Perkins] Charlie Perkins , October 1994. +# +# [Petri] Bernhard Petri , March 2000. +# +# [Presotto] Dave Presotto , July 1995. +# +# [Przygienda] Tony Przygienda , August 1999. +# +# [PXL1] Paul Liu <---none---> +# +# [Rajagopal] Murali Rajagopal, , May 2000. +# +# [RH6] Robert Hinden +# +# [RTB3] Bob Braden +# +# [RC77] +# +# [RDH1] Russ Housley +# +# [RWS4] Robert W. Scheifler +# +# [RXB3] Robert Woodburn +# +# [Sautter] Robert Sautter , August 1999. +# +# [SAF3] Stuart A. Friedberg +# +# [SC3] Steve Casner +# +# [SHB] Steven Blumenthal +# +# [Speakman] Tony Speakman , January 1998. +# +# [Sridhar] Manickam R.Sridhar , September 1997. +# +# [Stewart] Randall R. Stewart , April 2000. +# +# [Sue Hares] Sue Hares +# +# [SXA] Susie Armstrong +# +# [SXD] Steve Deering +# +# [Tony Li] Tony Li +# +# [TXM] Trudy Miller +# +# [Volpe] Victor Volpe , October 1997. +# +# [VXD] Victor Dafoulas <---none---> +# +# [Waber] Kurt Waber , August 1999. +# +# [Welzl] Michael Welzl , August 1999. +# +# [WM3] William Melohn +# +# [WXC] Wesley Craig +# +# [Worley] John Worley , June 1998. +# +# [ZSU] Zaw-Sing Su +# +# [] +# +# +# +# +# +# diff --git a/services-compare.pl b/services-compare.pl new file mode 100644 index 0000000..bb3e94d --- /dev/null +++ b/services-compare.pl @@ -0,0 +1,111 @@ +#!/usr/bin/perl -w + +use strict; + +my $sfile = 'services'; +my $snewfile = 'services.new'; + +my %s; +my %snew; + +parse_services_file($sfile, \%s); +parse_services_file($snewfile, \%snew); + +my @preserved_pairs; +my @services_changing_port; +my @services_renamed; +my @removed_pairs; +my @new_pairs; + +BEGINLOOP: foreach my $port (keys %s) +{ + if (exists($snew{$port}) and $snew{$port} eq $s{$port}) + { + # service port pair preserved + push(@preserved_pairs, "$snew{$port} $port"); + next BEGINLOOP; + } + + foreach my $portnew (keys %snew) + { + if ($snew{$portnew} eq $s{$port} and protocol($portnew) eq protocol($port)) + { + push(@services_changing_port, "$snew{$portnew} $port -> $portnew"); + next BEGINLOOP; + } + } + + if (exists($snew{$port})) # and $snew{$port} ne $s{$port} and service don't use another port + { + push(@services_renamed, "$s{$port} -> $snew{$port} ($port)"); + } + else + { + push(@removed_pairs, "$s{$port} $port"); + } +} + +my $string_scp = join(" ", @services_changing_port); + +foreach my $portnew (keys %snew) +{ + if (not exists($s{$portnew})) + { + if (index($string_scp, $snew{$portnew}) == -1) + { + push(@new_pairs, "$snew{$portnew} $portnew"); + } + } +} + +print_pairs("Removed pairs", sort (@removed_pairs)); +print_pairs("Renamed or replaced services", sort (@services_renamed)); +print_pairs("Services, that changed port", sort (@services_changing_port)); +print_pairs("New pairs", sort (@new_pairs)); +print_pairs("Preserved pairs", sort (@preserved_pairs)); + +sub print_pairs +{ + my $heading = shift; + my @pairs = @_; + print "\n"; + print "$heading\n"; + my $underline = ('-' x length($heading)); + print $underline, "\n"; + foreach my $pair (@pairs) + { print $pair,"\n"; } +} + +sub protocol +{ + my $port = shift; + $port =~ s/.*\///; + return $port; +} + +sub parse_services_file +{ + my $filename = shift; + my $hashref = shift; + + open(FILE, $filename) or die "cannot read $filename\n"; + while () + { + chomp; + $_ =~ s/#.*//; + if ($_) + { + # my ($service, $port) = split(/[ \t]+/, $_); is not sufficient because of errors in xml like + # Apple Remote Desktop (Net Assistant) 3283/tcp # Net Assistant (updated 2011-11-09) [Michael_Stein] + my $service = my $port = $_; + $service =~ s:[ \t]+[0-9]+/[a-z]+.*$::; + $port =~ s:^.*[ \t]+([0-9]+/[a-z]+).*$:$1:; + $hashref->{$port} = $service; +# printf "[%s] [%s]\n", ($service, $port); + } + } + + close(FILE); +} + + diff --git a/services-compare.sh b/services-compare.sh new file mode 100644 index 0000000..e7960dd --- /dev/null +++ b/services-compare.sh @@ -0,0 +1,4 @@ +cat services | egrep -v "^#" | sed "s:#.*::" | sed "s:^\([^ \t]\+\)[ \t]\+\([^ \t]\+\)[ \t]*$:\1 \2:g" | sort > services.stripped +cat services.new | egrep -v "^#" | sed "s:#.*::" | sed "s:^\([^ \t]\+\)[ \t]\+\([^ \t]\+\)[ \y]*$:\1 \2:g" | sort > services.new.stripped +diff -u services.stripped services.new.stripped | egrep "^[+-]" +rm services.stripped services.new.stripped diff --git a/services-create.pl b/services-create.pl new file mode 100644 index 0000000..a8a8739 --- /dev/null +++ b/services-create.pl @@ -0,0 +1,176 @@ +#!/usr/bin/perl -w + +use strict; +use utf8; +use XML::LibXML::Reader; + +binmode( STDOUT, 'utf8:' ); + +my $portsurl = 'http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml'; +my $servicesfile = 'services.new'; +my $reader = XML::LibXML::Reader->new(location => $portsurl) + or die "cannot read $portsurl\n"; +open(SERVICESNEW, ">$servicesfile") or die "cannot write $servicesfile\n"; +binmode(SERVICESNEW, 'utf8:'); + +while ($reader->read) { + processNode($reader); +} + +sub processNode +{ + my $reader = shift; + + if ($reader->name eq 'title' and $reader->nodeType == 1) + { + $reader->read; + my $title = $reader->value; + $title =~ tr/a-z/A-Z/; + print SERVICESNEW "#\n", + "# ", $title, "\n", + "#\n"; + } + elsif ($reader->name eq 'updated' and $reader->nodeType == 1 and $reader->depth == 1) + { + $reader->read; + print SERVICESNEW "# (last updated on ", $reader->value, ")\n", + "#\n", + "# "; + } + elsif ($reader->name eq 'note' and $reader->nodeType == 1) + { + $reader->read; + while ($reader->depth != 1) + { + if ($reader->name eq '#text') + { + my $text = $reader->value; + $text =~ s/\n/\n# /g; + print SERVICESNEW $text; + } + elsif ($reader->name eq 'xref') + { + my $xref = $reader->getAttribute('data'); + $xref =~ tr/a-z/A-Z/; + printf SERVICESNEW "[%s]", $xref; + } + $reader->read; + } + print SERVICESNEW "\n"; + print SERVICESNEW "#\n"; + printf SERVICESNEW "# %-18s %-12s %s\n", ('Service Name', 'Port/Proto', 'Description, Update Date, References'); + printf SERVICESNEW "# %-18s %-12s %s\n", ('------------', '----------', '------------------------------------'); + print SERVICESNEW "#\n"; + } + elsif ($reader->name eq 'record') + { + my $name = ""; + my $number = ""; + my $protocol = ""; + my $description = ""; + my $updated = $reader->getAttribute('updated'); + my $xrefs = ""; + $reader->read; + + if (defined $updated) + { $updated = "(updated $updated)"; } + else + { $updated = ""; } + + + while ($reader->depth != 1) + { + my $property = $reader->name; + if ($property eq 'name' and $reader->nodeType == 1) # not take ending tag into account + { $reader->read; $name = $reader->value; } + elsif ($property eq 'number' and $reader->nodeType == 1) + { $reader->read; $number = $reader->value; } + elsif ($property eq 'protocol' and $reader->nodeType == 1) + { $reader->read; $protocol = $reader->value; } + elsif ($property eq 'description' and $reader->nodeType == 1) + { + if (not $reader->isEmptyElement) # sometimes happen + { + $reader->read; + while ($reader->depth == 3) # sometimes happen .*

.*
;
--> ';' + { + if ($reader->name eq '#text') + { $description = $description.$reader->value." "; } + elsif ($reader->name eq 'br') + { $description = $description.";"; } + $reader->read; + } + } + } + elsif ($property eq 'xref' and $reader->nodeType == 1) + { + my $xref = $reader->getAttribute('data'); + if (defined $xref) + { + my $xreftype = $reader->getAttribute('type'); + if ($xreftype eq 'rfc') + { $xref =~ tr/a-z/A-Z/; } + + $xrefs = "$xrefs [$xref]"; + } + } + $reader->read + } + + my $comment = $description.$updated.$xrefs; + if ($name eq "") + { $name = "#"; } + elsif ($comment) + { + $comment =~ s/\n/ /g; + $comment = "# $comment"; + } + + my $numproto; + if ($number and $protocol) + { + my ($from, $to) = split('-', $number); # handle intervals + if (not $to) + { $to = $from; } + for (my $i = $from; $i <= $to; $i++) + { + $numproto = "$i/$protocol"; # to print with %-12s + printf SERVICESNEW "%-18s %-12s %s\n", ($name, $numproto, $comment); + } + } + } + elsif ($reader->name eq 'people' and $reader->nodeType == 1) + { + #print SERVICESNEW "#\n"; + #print SERVICESNEW "# PEOPLE\n"; + #print SERVICESNEW "#\n"; + #printf SERVICESNEW "# %-25s%-25s%-25s%s\n", ('ID', 'Name', 'Organization', 'Contact'); + #printf SERVICESNEW "# %-25s%-25s%-25s%s\n", ('--', '----', '------------', '-------'); + #print SERVICESNEW "#\n"; + } + elsif ($reader->name eq 'person') + { + my $xref = $reader->getAttribute('id'); + my $name = ""; + my $org = ""; + my $uri = ""; + + $reader->read; + while ($reader->depth != 2) + { + if ($reader->name eq 'name' and $reader->nodeType == 1) + { $reader->read; $name = $reader->value; } + if ($reader->name eq 'org' and $reader->nodeType == 1) + { $reader->read; $org = $reader->value; } + if ($reader->name eq 'uri' and $reader->nodeType == 1) + { $reader->read; $uri = $reader->value; } + + $reader->read; + } + + #printf SERVICESNEW "# %-25s%-25s%-25s%s\n", ($xref, $name, $org, $uri); + } +} + +close(SERVICESNEW); + diff --git a/services-suse.diff b/services-suse.diff new file mode 100644 index 0000000..c730785 --- /dev/null +++ b/services-suse.diff @@ -0,0 +1,179 @@ +--- services.old 2016-01-05 10:57:51.955599939 +0100 ++++ services 2016-01-05 11:03:07.600728374 +0100 +@@ -1,4 +1,16 @@ + # ++# Network services, Internet style ++# ++# Note that it is presently the policy of IANA to assign a single well-known ++# port number for both TCP and UDP; hence, most entries here have two entries ++# even if the protocol doesn't support UDP operations. ++# ++# This list could be found on: ++# http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml ++# ++# See also: services(5) ++# ++# + # SERVICE NAME AND TRANSPORT PROTOCOL PORT NUMBER REGISTRY + # + # (last updated on 2015-12-28) +@@ -133,8 +145,8 @@ + name 42/udp # Host Name Server + nameserver 42/tcp # Host Name Server + nameserver 42/udp # Host Name Server +-nicname 43/tcp # Who Is +-nicname 43/udp # Who Is ++nicname 43/tcp whois # Who Is ++nicname 43/udp whois # Who Is + mpm-flags 44/tcp # MPM FLAGS Protocol + mpm-flags 44/udp # MPM FLAGS Protocol + mpm 45/tcp # Message Processing Module [recv] +@@ -274,8 +286,8 @@ + pop2 109/udp # Post Office Protocol - Version 2 [Joyce_K_Reynolds] + pop3 110/tcp # Post Office Protocol - Version 3 [Marshall_Rose] + pop3 110/udp # Post Office Protocol - Version 3 [Marshall_Rose] +-sunrpc 111/tcp # SUN Remote Procedure Call [Chuck_McManis] +-sunrpc 111/udp # SUN Remote Procedure Call [Chuck_McManis] ++sunrpc 111/tcp rpcbind # SUN Remote Procedure Call [Chuck_McManis] ++sunrpc 111/udp rpcbind # SUN Remote Procedure Call [Chuck_McManis] + mcidas 112/tcp # McIDAS Data Transmission Protocol [Glenn_Davis] + mcidas 112/udp # McIDAS Data Transmission Protocol [Glenn_Davis] + ident 113/tcp +@@ -860,6 +860,7 @@ alpes 463/udp # alpes + kpasswd 464/tcp # kpasswd [Theodore_Ts_o] + kpasswd 464/udp # kpasswd [Theodore_Ts_o] + urd 465/tcp # URL Rendesvous Directory for SSM [Toerless_Eckert] ++submissions 465/tcp # Message Submission over TLS protocol [IESG] [IETF_Chair] [RFC8314] + igmpv3lite 465/udp # IGMP over UDP for SSM [Toerless_Eckert] + digital-vrc 466/tcp # digital-vrc [Peter_Higginson] + digital-vrc 466/udp # digital-vrc [Peter_Higginson] +@@ -1475,6 +1487,7 @@ + cddbp 888/tcp # CD Database Protocol [Steve_Scherf] + omginitialrefs 900/tcp # OMG Initial Refs [Christian_Callsen] + omginitialrefs 900/udp # OMG Initial Refs [Christian_Callsen] ++swat 901/tcp # CONFLICT, not official assigned! + smpnameres 901/tcp # SMPNAMERES [Leif_Ekblad] + smpnameres 901/udp # SMPNAMERES [Leif_Ekblad] + ideafarm-door 902/tcp # self documenting Telnet Door +@@ -3505,6 +3518,9 @@ + x25-svc-port 1998/udp # cisco X.25 service (XOT) + tcp-id-port 1999/tcp # cisco identification port + tcp-id-port 1999/udp # cisco identification port ++# Port 2000 is illegal used by sieve ++sieve 2000/tcp # Cyrus SIEVE ++sieve 2000/udp # Cyrus SIEVE + cisco-sccp 2000/tcp # Cisco SCCP [Dan_Wing] + cisco-sccp 2000/udp # Cisco SCCp [Dan_Wing] + dc 2001/tcp +@@ -3604,8 +3620,8 @@ + dls 2047/udp + dls-monitor 2048/tcp + dls-monitor 2048/udp +-shilp 2049/tcp +-shilp 2049/udp ++#shilp 2049/tcp <== NOTE Conflict on 2049 ! ++#shilp 2049/udp + nfs 2049/tcp # Network File System - Sun Microsystems [Brent_Callaghan] + nfs 2049/udp # Network File System - Sun Microsystems [Brent_Callaghan] + nfs 2049/sctp # Network File System [RFC5665] +@@ -6104,8 +6120,8 @@ + sysopt 3281/udp # SYSOPT [Tony_Hoffman] + datusorb 3282/tcp # Datusorb [Thomas_Martin] + datusorb 3282/udp # Datusorb [Thomas_Martin] +-Apple Remote Desktop (Net Assistant) 3283/tcp # Net Assistant (updated 2011-11-09) [Michael_Stein] +-Apple Remote Desktop (Net Assistant) 3283/udp # Net Assistant (updated 2011-11-09) [Michael_Stein] ++net-assistant 3283/tcp # Net Assistant (updated 2011-11-09) [Michael_Stein] ++net-assistant 3283/udp # Net Assistant (updated 2011-11-09) [Michael_Stein] + 4talk 3284/tcp # 4Talk [Tony_Bushnell] + 4talk 3284/udp # 4Talk [Tony_Bushnell] + plato 3285/tcp # Plato [Jim_Battin] +@@ -6877,8 +6893,8 @@ + roverlog 3677/udp # RoverLog IPC [Tom_Mayo] + ipr-dglt 3678/tcp # DataGuardianLT [Bruce_Carlson] + ipr-dglt 3678/udp # DataGuardianLT [Bruce_Carlson] +-Escale (Newton Dock) 3679/tcp # Newton Dock (updated 2011-11-09) [Paul_Guyot] +-Escale (Newton Dock) 3679/udp # Newton Dock (updated 2011-11-09) [Paul_Guyot] ++newton-dock 3679/tcp # Newton Dock (updated 2011-11-09) [Paul_Guyot] ++newton-dock 3679/udp # Newton Dock (updated 2011-11-09) [Paul_Guyot] + npds-tracker 3680/tcp # NPDS Tracker [Paul_Guyot] + npds-tracker 3680/udp # NPDS Tracker [Paul_Guyot] + bts-x73 3681/tcp # BTS X73 Port [Todd_Cooper] +@@ -9097,6 +9113,7 @@ + # 5474/tcp Reserved + apsolab-data 5475/tcp # The Apsolab company's data retrieval protocol [Apsolab_Inc] [Jean-Francois_Gauthier] + # 5475/udp Reserved ++axnet 5492/tcp # OFFICIAL NOT ASSIGNED + fcp-addr-srvr1 5500/tcp # fcp-addr-srvr1 [Ken_Wittmer] + fcp-addr-srvr1 5500/udp # fcp-addr-srvr1 [Ken_Wittmer] + fcp-addr-srvr2 5501/tcp # fcp-addr-srvr2 [Ken_Wittmer] +@@ -9117,6 +9134,7 @@ + sgi-eventmond 5553/udp # SGI Eventmond Port [Andrei_Vilkotski] + sgi-esphttp 5554/tcp # SGI ESP HTTP [Vladimir_Legalov] + sgi-esphttp 5554/udp # SGI ESP HTTP [Vladimir_Legalov] ++rplay 5555/udp # and by rplay :-( + personal-agent 5555/tcp # Personal Agent [Jackie_Wu] + personal-agent 5555/udp # Personal Agent [Jackie_Wu] + freeciv 5556/tcp # Freeciv gameplay [Reinier_Post_and_Pau] +@@ -9201,6 +9219,7 @@ + # 5639/udp Reserved + vfmobile 5646/tcp # Ventureforth Mobile [Ventureforth_Inc] [Blakely_Snyder] + # 5646/udp Reserved ++nrpe 5666/tcp # nagios nrpe + filemq 5670/tcp # ZeroMQ file publish-subscribe protocol (updated 2013-02-25) [Pieter_Hintjens2] + zre-disc 5670/udp # Local area discovery and messaging over ZeroMQ [Pieter_Hintjens_3] + amqps 5671/tcp # amqp protocol over TLS/SSL [Ted_Ross_2] +@@ -9351,8 +9370,8 @@ + # 5868/udp Reserved + diameters 5868/sctp # Diameter over DTLS/SCTP [IESG] [IETF_Chair] [RFC6733] + jute 5883/tcp # Javascript Unit Test Environment [Mark_Ethan_Trostler] +-rfb 5900/tcp # Remote Framebuffer [Tristan_Richardson] [RFC6143] +-rfb 5900/udp # Remote Framebuffer [Tristan_Richardson] [RFC6143] ++rfb 5900/tcp vnc-server # Remote Framebuffer [Tristan_Richardson] [RFC6143] ++rfb 5900/udp vnc-server # Remote Framebuffer [Tristan_Richardson] [RFC6143] + cm 5910/tcp # Context Management [Eivan_Cerasi] + cm 5910/udp # Context Management [Eivan_Cerasi] + cm 5910/sctp # Context Management [Justin_Yu] +@@ -11519,7 +11538,12 @@ + hde-lcesrvr-2 14937/udp # hde-lcesrvr-2 [Horizon_Digital_Ente] + hydap 15000/tcp # Hypack Data Aquisition (updated 2011-10-27) [HYPACK_Inc] [Mircea_Neacsu] + hydap 15000/udp # Hypack Data Aquisition (updated 2011-10-27) [HYPACK_Inc] [Mircea_Neacsu] +-onep-tls 15002/tcp # Open Network Environment TLS [Cisco_3] [Andrew_Thurber] ++# The following entries are invalid, but needed ++pbs 15001/tcp # pbs server (pbs_server) ++pbs_mom 15002/tcp # mom to/from server ++pbs_resmom 15003/tcp # mom resource management requests ++pbs_resmom 15003/udp # mom resource management requests ++pbs_sched 15004/tcp # scheduler + # 15002/udp Reserved + # 15118/tcp Reserved + v2g-secc 15118/udp # v2g Supply Equipment Communication Controller Discovery Protocol [Holger_Lochner] +@@ -11784,6 +11808,13 @@ + # 22128/udp Reserved + easyengine 22222/tcp # EasyEngine is CLI tool to manage WordPress Sites on Nginx server [rtCamp_Solutions_Private_Limited] [Rahul_Bansal] + # 22222/udp Reserved ++# wnn4_* are used illegal and are not OFFICIAL ASSIGNED! ++wnn4_Cn 22289/tcp ++wnn4_Cn 22289/udp ++wnn4_Kr 22305/tcp ++wnn4_Kr 22305/udp ++wnn4_Tw 22321/tcp ++wnn4_Tw 22321/udp + wnn6 22273/tcp # wnn6 [Yasunari_Gon_Yamasit] + wnn6 22273/udp # wnn6 [Yasunari_Gon_Yamasit] + cis 22305/tcp # CompactIS Tunnel [Justin_Paupore] +@@ -12305,3 +12336,15 @@ + robotraconteur 48653/udp # Robot Raconteur transport [Wason_Technology_LLC] [John_Wason] + matahari 49000/tcp # Matahari Broker [Matahari_Project] [Zane_Bitter] + # 49000/udp Reserved ++# The mrt entry is temporary until a official number is registerd ++mrt 50000/tcp # telnet interface of mrt programs ++mrt 50000/udp # telnet interface of mrt programs ++# ++# make apple talk more friendly ++# ++rtmp 1/ddp # Routing Table Maintenance Protocol ++nbp 2/ddp # Name Binding Protocol ++echo 4/ddp # AppleTalk Echo Protocol ++zip 6/ddp # Zone Information Protocol ++# Kerberos slave propagation ++krb-prop 754/tcp krb_prop krb5_prop hprop diff --git a/services.bz2 b/services.bz2 new file mode 100644 index 0000000..de7f33b Binary files /dev/null and b/services.bz2 differ diff --git a/services_UPDATING b/services_UPDATING new file mode 100644 index 0000000..75f6989 --- /dev/null +++ b/services_UPDATING @@ -0,0 +1,10 @@ +bunzip2 services.bz2 +perl services-create.pl # creates services.new +perl services-compare.pl > services.report # changes (more reader friendly) +bash services-compare.sh > services.diff # differences (more precise) +#... review services.diff and/or services.report +rm services.report services.diff +mv services.new services +#... adjust services-suse.diff +bzip2 services +