First commit
This commit is contained in:
commit
030bee1abc
3
AUTHORS
Normal file
3
AUTHORS
Normal file
@ -0,0 +1,3 @@
|
||||
Aleph0 <aleph0(a)openmamba.org>
|
||||
Silvan Calarco <silvan.calarco(a)mambasoft.it>
|
||||
Davide Madrisan <davide.madrisan(a)gmail.com>
|
74
ChangeLog
Normal file
74
ChangeLog
Normal file
@ -0,0 +1,74 @@
|
||||
Changes in version 1.1.20
|
||||
Mon Jun 14 2010 Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
- /etc/filesystems: added ext4 and reiser4 filesystems
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.19
|
||||
Fri Oct 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
- profile: add /opt/kde/bin and /opt/kde/sbin to PATH if existing
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.18
|
||||
Sun Aug 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
- removed deprecated /etc/modprobe.conf
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.17
|
||||
Tue Jun 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
- env.sh: set JAVA_HOME
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.16
|
||||
Tue Jun 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
- /etc/passwd, /etc/group: removed duplicated daemon user and group
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.15
|
||||
Tue Jan 15 2008 Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
- /etc/group: add utmp system group
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.14
|
||||
Thu Jan 02 2008 Aleph0 <aleph0(a)openmamba.org>
|
||||
- /etc/profile: require that files in /etc/profile.d are readable, not
|
||||
executable before sourcing them
|
||||
- add bin directory for qt3 to PATH
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.13
|
||||
Mon May 14 2007 Aleph0 <aleph0(a)openmamba.org>
|
||||
- /etc/profile: removed trailing slash from "/bin/:" in PATH
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.12
|
||||
Wed Apr 18 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
- /etc/hosts: fixed ipv6 default configuration
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.11
|
||||
Thu Apr 05 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
- modified dircolors and added dircolors.xterm configuration files
|
||||
- modified the profile script colorls.sh and added colorls.csh
|
||||
- aliases for ls moved from aliases.sh to colors.sh
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.10
|
||||
Sun Mar 25 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
- updated /etc/profile to fix the initialisation of the PATH env variable
|
||||
- /etc/shells: /sbin/nologin is a valid shell
|
||||
- makefile: updated to work with the new tarball directory structure
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.9
|
||||
Fri Mar 23 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
- added 'daemon' user and group (/etc/{passwd,group}) for LSB compliance
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.1.8
|
||||
Tue Jan 30 2007 Davide Madrisan <davide.madrisan(a)gmail.com>
|
||||
- added ipv6 entries in the /etc/host file
|
||||
- removed /etc/protocol and /etc/services files
|
||||
- updated /etc/profile to support binaries located in /opt subtree
|
||||
- added ext3 in /etc/filesystems
|
||||
- /etc/passwd: user /bin/false instead of /sbin/nologin for bin and sys
|
||||
-------------------------------------------------------------------------------
|
86
Makefile
Normal file
86
Makefile
Normal file
@ -0,0 +1,86 @@
|
||||
include VERSION
|
||||
|
||||
PACKAGE=setup
|
||||
|
||||
# system locations
|
||||
prefix = /usr
|
||||
exec_prefix = ${prefix}
|
||||
sysconfdir = /etc
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
bindir = ${exec_prefix}/bin
|
||||
mandir = ${prefix}/usr/share/man
|
||||
datadir = ${prefix}/share
|
||||
initrddir = ${sysconfdir}/rc.d/init.d
|
||||
sysconfigdir= ${sysconfdir}/sysconfig
|
||||
localstatedir = /var
|
||||
localesdir = ${datadir}/locale/
|
||||
|
||||
srcdir = .
|
||||
|
||||
DESTDIR =
|
||||
INSTALL = /usr/bin/install
|
||||
INSTALL_PROGRAM = ${INSTALL} -m 755
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_DIR = ${INSTALL} -d -m 755
|
||||
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
|
||||
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
dist_archive = $(distdir).tar.bz2
|
||||
|
||||
cfg_files_list=\
|
||||
bashrc \
|
||||
csh.cshrc \
|
||||
csh.login \
|
||||
dircolors \
|
||||
dircolors.xterm \
|
||||
filesystems \
|
||||
fstab \
|
||||
group \
|
||||
host.conf \
|
||||
hosts \
|
||||
hosts.allow \
|
||||
hosts.deny \
|
||||
inputrc \
|
||||
modprobe.conf \
|
||||
motd \
|
||||
nsswitch.conf \
|
||||
passwd \
|
||||
printcap \
|
||||
profile \
|
||||
resolv.conf \
|
||||
securetty \
|
||||
shells
|
||||
|
||||
all:
|
||||
|
||||
install-dirs:
|
||||
$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)
|
||||
$(INSTALL_DIR) $(DESTDIR)$(sysconfdir)/profile.d
|
||||
$(INSTALL_DIR) $(DESTDIR)$(localstatedir)/spool/uucp
|
||||
|
||||
install: install-dirs
|
||||
for f in $(cfg_files_list); do\
|
||||
$(INSTALL_DATA) config/$$f $(DESTDIR)$(sysconfdir)/$$f; \
|
||||
done
|
||||
for f in profile.d/*.{,csh,sh}; do\
|
||||
$(INSTALL_SCRIPT) $$f $(DESTDIR)$(sysconfdir)/$$f;\
|
||||
done
|
||||
|
||||
dist: clean
|
||||
@case `sed 15q ChangeLog` in \
|
||||
*"$(VERSION)"*) : ;; \
|
||||
*) \
|
||||
echo "ChangeLog not updated; not releasing" 1>&2;\
|
||||
exit 1;; \
|
||||
esac
|
||||
@rm -f $(dist_archive);\
|
||||
tar cf - --exclude=$(PACKAGE)*.bz2 -C .. $(distdir) |\
|
||||
bzip2 -9 -c > $(dist_archive)
|
||||
@echo "file \`$(dist_archive)' created"
|
||||
|
||||
dist-rpm: dist
|
||||
@rpm_sourcedir=`rpm --eval=%{_sourcedir}`;\
|
||||
mv -f $(dist_archive) $$rpm_sourcedir;\
|
||||
echo "and saved as \`$$rpm_sourcedir/$(dist_archive)'"
|
||||
|
||||
clean:
|
50
config/bashrc
Normal file
50
config/bashrc
Normal file
@ -0,0 +1,50 @@
|
||||
# /etc/bashrc
|
||||
|
||||
# System wide functions and aliases
|
||||
# Environment stuff goes in /etc/profile
|
||||
|
||||
# by default, we want this to get set.
|
||||
# Even for non-interactive, non-login shells.
|
||||
if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
|
||||
umask 002
|
||||
else
|
||||
umask 022
|
||||
fi
|
||||
|
||||
# are we an interactive shell?
|
||||
if [ "$PS1" ]; then
|
||||
case $TERM in
|
||||
xterm*)
|
||||
if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
|
||||
PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
|
||||
else
|
||||
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
|
||||
fi
|
||||
;;
|
||||
screen)
|
||||
if [ -e /etc/sysconfig/bash-prompt-screen ]; then
|
||||
PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen
|
||||
else
|
||||
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\033\\"'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
[ -e /etc/sysconfig/bash-prompt-default ] &&
|
||||
PROMPT_COMMAND=/etc/sysconfig/bash-prompt-default
|
||||
;;
|
||||
esac
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
|
||||
fi
|
||||
|
||||
if ! shopt -q login_shell ; then # We're not a login shell
|
||||
for i in /etc/profile.d/*.sh; do
|
||||
if [ -r "$i" ]; then
|
||||
. $i
|
||||
fi
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
# vim:ts=4:sw=4
|
36
config/csh.cshrc
Normal file
36
config/csh.cshrc
Normal file
@ -0,0 +1,36 @@
|
||||
# /etc/cshrc
|
||||
#
|
||||
# csh configuration for all shell invocations. Currently, a prompt.
|
||||
|
||||
# (pixel) tcsh doesn't handle directory in the PATH being non-readable
|
||||
# in security high, /usr/bin is 751, aka non-readable
|
||||
# using unhash fixes the pb
|
||||
if (! -r /usr/bin) then
|
||||
unhash
|
||||
endif
|
||||
|
||||
[ "`id -u`" = "0" ] && limit coredumpsize 1000000
|
||||
|
||||
if ($?prompt) then
|
||||
if ($?tcsh) then
|
||||
set prompt='[%n@%m %c]$ '
|
||||
else
|
||||
set prompt=\[`id -nu`@`hostname -s`\]\$\
|
||||
endif
|
||||
endif
|
||||
|
||||
test -d /etc/profile.d
|
||||
if ($status == 0) then
|
||||
set nonomatch
|
||||
foreach i ( /etc/profile.d/*.csh )
|
||||
test -r $i
|
||||
if ($status == 0) then
|
||||
if ( $shlvl == 1 ) then
|
||||
$shell -f $i && source $i || echo "/etc/csh.cshrc: error in $i"
|
||||
else
|
||||
source $i
|
||||
endif
|
||||
endif
|
||||
end
|
||||
unset i nonomatch
|
||||
endif
|
37
config/csh.login
Normal file
37
config/csh.login
Normal file
@ -0,0 +1,37 @@
|
||||
# /etc/csh.login
|
||||
|
||||
# System wide environment and startup programs for csh users
|
||||
|
||||
|
||||
if ($?PATH) then
|
||||
setenv PATH "${PATH}:/usr/X11R6/bin"
|
||||
else
|
||||
setenv PATH "/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin"
|
||||
endif
|
||||
|
||||
# (pixel) tcsh doesn't handle directory in the PATH being non-readable
|
||||
# in security high, /usr/bin is 751, aka non-readable
|
||||
# using unhash *after modifying PATH* fixes the pb
|
||||
if (! -r /usr/bin) then
|
||||
unhash
|
||||
endif
|
||||
|
||||
limit coredumpsize unlimited
|
||||
|
||||
[ `id -gn` = `id -un` -a `id -u` -gt 14 ]
|
||||
if $status then
|
||||
umask 022
|
||||
else
|
||||
umask 002
|
||||
endif
|
||||
|
||||
setenv HOSTNAME `/bin/hostname`
|
||||
set history=1000
|
||||
|
||||
if ( -f $HOME/.inputrc ) then
|
||||
setenv INPUTRC /etc/inputrc
|
||||
endif
|
||||
|
||||
if ( $?tcsh ) then
|
||||
bindkey "^[[3~" delete-char
|
||||
endif
|
101
config/dircolors
Normal file
101
config/dircolors
Normal file
@ -0,0 +1,101 @@
|
||||
# Configuration file for the color ls utility
|
||||
# This file goes in the /etc directory, and must be world readable.
|
||||
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||
# the system defaults.
|
||||
|
||||
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
|
||||
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
|
||||
# off.
|
||||
COLOR tty
|
||||
|
||||
# Extra command line options for ls go here.
|
||||
# Basically these ones are:
|
||||
# -F = show '/' for dirs, '*' for executables, etc.
|
||||
# -T 0 = don't trust tab spacing when formatting ls output.
|
||||
OPTIONS -F -T 0
|
||||
|
||||
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||
TERM linux
|
||||
TERM console
|
||||
TERM con132x25
|
||||
TERM con132x30
|
||||
TERM con132x43
|
||||
TERM con132x60
|
||||
TERM con80x25
|
||||
TERM con80x28
|
||||
TERM con80x30
|
||||
TERM con80x43
|
||||
TERM con80x50
|
||||
TERM con80x60
|
||||
TERM cons25
|
||||
TERM xterm
|
||||
TERM rxvt
|
||||
TERM xterm-color
|
||||
TERM color-xterm
|
||||
TERM vt100
|
||||
TERM dtterm
|
||||
TERM color_xterm
|
||||
TERM ansi
|
||||
TERM screen
|
||||
TERM screen.linux
|
||||
TERM kon
|
||||
TERM kterm
|
||||
TERM gnome
|
||||
TERM konsole
|
||||
|
||||
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
|
||||
EIGHTBIT 1
|
||||
|
||||
# Below are the color init strings for the basic file types. A color init
|
||||
# string consists of one or more of the following numeric codes:
|
||||
# Attribute codes:
|
||||
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||
# Text color codes:
|
||||
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||
# Background color codes:
|
||||
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||
NORMAL 00 # global default, although everything should be something.
|
||||
FILE 00 # normal file
|
||||
DIR 01;34 # directory
|
||||
LINK 01;36 # symbolic link
|
||||
FIFO 40;33 # pipe
|
||||
SOCK 01;35 # socket
|
||||
BLK 40;33;01 # block device driver
|
||||
CHR 40;33;01 # character device driver
|
||||
ORPHAN 01;05;37;41 # orphaned syminks
|
||||
MISSING 01;05;37;41 # ... and the files they point to
|
||||
|
||||
# This is for files with execute permission:
|
||||
EXEC 01;32
|
||||
|
||||
# List any file extensions like '.gz' or '.tar' that you would like ls
|
||||
# to colorize below. Put the extension, a space, and the color init string.
|
||||
# (and any comments you want to add after a '#')
|
||||
.cmd 01;32 # executables (bright green)
|
||||
.exe 01;32
|
||||
.com 01;32
|
||||
.btm 01;32
|
||||
.bat 01;32
|
||||
.sh 01;32
|
||||
.csh 01;32
|
||||
.tar 01;31 # archives or compressed (bright red)
|
||||
.tgz 01;31
|
||||
.arj 01;31
|
||||
.taz 01;31
|
||||
.lzh 01;31
|
||||
.zip 01;31
|
||||
.z 01;31
|
||||
.Z 01;31
|
||||
.gz 01;31
|
||||
.bz2 01;31
|
||||
.bz 01;31
|
||||
.tz 01;31
|
||||
.rpm 01;31
|
||||
.cpio 01;31
|
||||
.jpg 01;35 # image formats
|
||||
.gif 01;35
|
||||
.bmp 01;35
|
||||
.xbm 01;35
|
||||
.xpm 01;35
|
||||
.png 01;35
|
||||
.tif 01;35
|
94
config/dircolors.xterm
Normal file
94
config/dircolors.xterm
Normal file
@ -0,0 +1,94 @@
|
||||
# Configuration file for the color ls utility
|
||||
# This file goes in the /etc directory, and must be world readable.
|
||||
# You can copy this file to .dir_colors in your $HOME directory to override
|
||||
# the system defaults.
|
||||
|
||||
# COLOR needs one of these arguments: 'tty' colorizes output to ttys, but not
|
||||
# pipes. 'all' adds color characters to all output. 'none' shuts colorization
|
||||
# off.
|
||||
COLOR tty
|
||||
|
||||
# Extra command line options for ls go here.
|
||||
# Basically these ones are:
|
||||
# -F = show '/' for dirs, '*' for executables, etc.
|
||||
# -T 0 = don't trust tab spacing when formatting ls output.
|
||||
OPTIONS -F -T 0
|
||||
|
||||
# Below, there should be one TERM entry for each termtype that is colorizable
|
||||
TERM linux
|
||||
TERM console
|
||||
TERM con132x25
|
||||
TERM con132x30
|
||||
TERM con132x43
|
||||
TERM con132x60
|
||||
TERM con80x25
|
||||
TERM con80x28
|
||||
TERM con80x30
|
||||
TERM con80x43
|
||||
TERM con80x50
|
||||
TERM con80x60
|
||||
TERM cons25
|
||||
TERM xterm
|
||||
TERM rxvt
|
||||
TERM xterm-color
|
||||
TERM color-xterm
|
||||
TERM vt100
|
||||
TERM dtterm
|
||||
TERM color_xterm
|
||||
|
||||
# EIGHTBIT, followed by '1' for on, '0' for off. (8-bit output)
|
||||
EIGHTBIT 1
|
||||
|
||||
# Below are the color init strings for the basic file types. A color init
|
||||
# string consists of one or more of the following numeric codes:
|
||||
# Attribute codes:
|
||||
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
|
||||
# Text color codes:
|
||||
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
|
||||
# Background color codes:
|
||||
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
|
||||
NORMAL 00 # global default, although everything should be something.
|
||||
FILE 00 # normal file
|
||||
DIR 00;34 # directory
|
||||
LINK 00;36 # symbolic link
|
||||
FIFO 40;33 # pipe
|
||||
SOCK 00;35 # socket
|
||||
BLK 40;33;01 # block device driver
|
||||
CHR 40;33;01 # character device driver
|
||||
ORPHAN 01;05;37;41 # orphaned syminks
|
||||
MISSING 01;05;37;41 # ... and the files they point to
|
||||
|
||||
# This is for files with execute permission:
|
||||
EXEC 00;32
|
||||
|
||||
# List any file extensions like '.gz' or '.tar' that you would like ls
|
||||
# to colorize below. Put the extension, a space, and the color init string.
|
||||
# (and any comments you want to add after a '#')
|
||||
.cmd 00;32 # executables (green)
|
||||
.exe 00;32
|
||||
.com 00;32
|
||||
.btm 00;32
|
||||
.bat 00;32
|
||||
.sh 00;32
|
||||
.csh 00;32
|
||||
.tar 00;31 # archives or compressed (red)
|
||||
.tgz 00;31
|
||||
.arj 00;31
|
||||
.taz 00;31
|
||||
.lzh 00;31
|
||||
.zip 00;31
|
||||
.z 00;31
|
||||
.Z 00;31
|
||||
.gz 00;31
|
||||
.bz2 00;31
|
||||
.bz 00;31
|
||||
.tz 00;31
|
||||
.rpm 00;31
|
||||
.cpio 00;31
|
||||
.jpg 00;35 # image formats
|
||||
.gif 00;35
|
||||
.bmp 00;35
|
||||
.xbm 00;35
|
||||
.xpm 00;35
|
||||
.png 00;35
|
||||
.tif 00;35
|
10
config/filesystems
Normal file
10
config/filesystems
Normal file
@ -0,0 +1,10 @@
|
||||
ext4
|
||||
ext3
|
||||
ext2
|
||||
reiser4
|
||||
reiserfs
|
||||
nodev proc
|
||||
nodev devpts
|
||||
iso9660
|
||||
vfat
|
||||
ntfs
|
0
config/fstab
Normal file
0
config/fstab
Normal file
19
config/group
Normal file
19
config/group
Normal file
@ -0,0 +1,19 @@
|
||||
root:x:0:
|
||||
bin:x:1:
|
||||
sys:x:2:
|
||||
kmem:x:3:
|
||||
tty:x:4:
|
||||
tape:x:5:
|
||||
daemon:x:6:root,bin,daemon
|
||||
floppy:x:7:
|
||||
disk:x:8:
|
||||
lp:x:9:
|
||||
dialout:x:10:
|
||||
audio:x:11:
|
||||
cdrecording:x:12:
|
||||
adm:x:13:
|
||||
filesharing:x:14:
|
||||
shadow:x:15:
|
||||
utmp:x:17:
|
||||
sysadmin:x:30
|
||||
users:x:100:
|
2
config/host.conf
Normal file
2
config/host.conf
Normal file
@ -0,0 +1,2 @@
|
||||
order hosts,bind
|
||||
multi on
|
19
config/hosts
Normal file
19
config/hosts
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# hosts This file contain the mapping of some hostnames to
|
||||
# IP addresses before DNS can be referenced.
|
||||
# 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.localdomain localhost
|
||||
|
||||
# special IPv6 addresses
|
||||
::1 ipv6-localhost ipv6-loopback
|
||||
fe00::0 ipv6-localnet
|
||||
ff00::0 ipv6-mcastprefix
|
||||
ff02::1 ipv6-allnodes
|
||||
ff02::2 ipv6-allrouters
|
||||
ff02::3 ipv6-allhosts
|
6
config/hosts.allow
Normal file
6
config/hosts.allow
Normal file
@ -0,0 +1,6 @@
|
||||
#
|
||||
# hosts.allow This file describes the names of the hosts which are
|
||||
# allowed to use the local INET services, as decided
|
||||
# by the '/usr/sbin/tcpd' server.
|
||||
#
|
||||
|
9
config/hosts.deny
Normal file
9
config/hosts.deny
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# hosts.deny This file describes the names of the hosts which are
|
||||
# *not* allowed to use the local INET services, as decided
|
||||
# by the '/usr/sbin/tcpd' server.
|
||||
#
|
||||
# The portmap line is redundant, but it is left to remind you that
|
||||
# the new secure portmap uses hosts.deny and hosts.allow. In particular
|
||||
# you should know that NFS uses portmap!
|
||||
|
62
config/inputrc
Normal file
62
config/inputrc
Normal file
@ -0,0 +1,62 @@
|
||||
# /etc/inputrc - global inputrc for libreadline
|
||||
# See readline(3readline) and `info rluserman' for more information.
|
||||
|
||||
# be 8 bit clean
|
||||
set meta-flag on
|
||||
set convert-meta off
|
||||
set input-meta on
|
||||
set output-meta on
|
||||
|
||||
set show-all-if-ambiguous on
|
||||
|
||||
# do not bell on tab-completion
|
||||
#set bell-style none
|
||||
|
||||
# completed names which are symbolic links to
|
||||
# directories have a slash appended.
|
||||
set mark-symlinked-directories on
|
||||
|
||||
# vi line editing
|
||||
$if mode=vi
|
||||
set editing-mode vi
|
||||
set keymap vi
|
||||
$endif
|
||||
|
||||
# some defaults / modifications for the emacs mode
|
||||
$if mode=emacs
|
||||
|
||||
# allow the use of the Home/End keys
|
||||
"\e[1~": beginning-of-line
|
||||
"\e[4~": end-of-line
|
||||
|
||||
# allow the use of the Delete/Insert keys
|
||||
"\e[3~": delete-char
|
||||
"\e[2~": quoted-insert
|
||||
|
||||
# mappings for "page up" and "page down" to step to the beginning/end
|
||||
# of the history
|
||||
"\e[5~": beginning-of-history
|
||||
"\e[6~": end-of-history
|
||||
|
||||
# alternate mappings for "page up" and "page down" to search the history
|
||||
# "\e[5~": history-search-backward
|
||||
# "\e[6~": history-search-forward
|
||||
|
||||
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
|
||||
"\e[5C": forward-word
|
||||
"\e[5D": backward-word
|
||||
"\e\e[C": forward-word
|
||||
"\e\e[D": backward-word
|
||||
|
||||
$if term=rxvt
|
||||
"\e[8~": end-of-line
|
||||
$endif
|
||||
|
||||
# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
|
||||
"\eOH": beginning-of-line
|
||||
"\eOF": end-of-line
|
||||
|
||||
# for freebsd console
|
||||
"\e[H": beginning-of-line
|
||||
"\e[F": end-of-line
|
||||
$endif
|
0
config/motd
Normal file
0
config/motd
Normal file
50
config/nsswitch.conf
Normal file
50
config/nsswitch.conf
Normal file
@ -0,0 +1,50 @@
|
||||
# nsswitch.conf
|
||||
#
|
||||
# An example Name Service Switch config file. This file should be
|
||||
# sorted with the most-used services at the beginning.
|
||||
#
|
||||
# The entry '[NOTFOUND=return]' means that the search for an
|
||||
# entry should stop if the search in the previous entry turned
|
||||
# up nothing. Note that if the search failed due to some other reason
|
||||
# (like no NIS server responding) then the search continues with the
|
||||
# next entry.
|
||||
#
|
||||
# Legal entries are:
|
||||
#
|
||||
# dns Use DNS (Domain Name Service)
|
||||
# files Use the local files
|
||||
# db Use the local database (.db) files
|
||||
# ldap Use LDAP (only if nss_ldap is installed)
|
||||
# [NOTFOUND=return] Stop searching if not found so far
|
||||
#
|
||||
|
||||
# To use db, put the "db" in front of "files" for entries you want to be
|
||||
# looked up first in the databases
|
||||
#
|
||||
# Example:
|
||||
#passwd: db files ldap
|
||||
#shadow: db files ldap
|
||||
#group: db files ldap
|
||||
#
|
||||
# Example - obey only what ldap tells us...
|
||||
#protocols: ldap [NOTFOUND=return] files
|
||||
#services: ldap [NOTFOUND=return] files
|
||||
#ethers: ldap [NOTFOUND=return] files
|
||||
#rpc: ldap [NOTFOUND=return] files
|
||||
#networks: ldap [NOTFOUND=return] files
|
||||
|
||||
passwd: files
|
||||
group: files
|
||||
shadow: files
|
||||
|
||||
publickey: files
|
||||
|
||||
hosts: files dns
|
||||
networks: files
|
||||
|
||||
protocols: db files
|
||||
services: db files
|
||||
ethers: db files
|
||||
rpc: db files
|
||||
|
||||
netgroup: db files
|
4
config/passwd
Normal file
4
config/passwd
Normal file
@ -0,0 +1,4 @@
|
||||
root:x:0:0:root:/root:/bin/bash
|
||||
bin:x:1:1:bin:/bin:/bin/false
|
||||
sys:x:2:2:sys:/sbin:/bin/false
|
||||
daemon:x:6:6:daemon:/sbin:/bin/false
|
8
config/printcap
Normal file
8
config/printcap
Normal file
@ -0,0 +1,8 @@
|
||||
# printcap
|
||||
#
|
||||
# Please don't edit this file directly unless you know what you are doing!
|
||||
# Be warned that the control-panel printtool requires a very strict format!
|
||||
# Look at the printcap(5) man page for more info.
|
||||
#
|
||||
# This file can be edited with the printtool in the control-panel.
|
||||
|
68
config/profile
Normal file
68
config/profile
Normal file
@ -0,0 +1,68 @@
|
||||
# profile Default shell profile configuration
|
||||
#
|
||||
# Copyright (c) 2003-2007 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
# Copyright (c) 2003-2008 by Davide Madrisan <davide.madrisan@gmail.com>
|
||||
#
|
||||
# WARNING:
|
||||
# do not modify this file as it will be replaced upon package updates
|
||||
|
||||
if [ -r /etc/sysconfig/i18n ]; then
|
||||
. /etc/sysconfig/i18n
|
||||
export LANG
|
||||
fi
|
||||
|
||||
if [ -r /etc/sysconfig/proxy ]; then
|
||||
. /etc/sysconfig/proxy
|
||||
export http_proxy https_proxy ftp_proxy
|
||||
fi
|
||||
|
||||
loginsh=1
|
||||
|
||||
# Users generally won't see annoyng core files
|
||||
[ "$UID" = "0" ] && ulimit -S -c 1000000 > /dev/null 2>&1
|
||||
|
||||
# Make path more comfortable
|
||||
PATH=/bin:/usr/bin:/usr/local/bin
|
||||
if [ "$UID" = 0 ]; then
|
||||
[ -d /opt/gnome/sbin ] && PATH=$PATH:/opt/gnome/sbin
|
||||
[ -d /opt/kde/sbin ] && PATH=$PATH:/opt/kde/sbin
|
||||
[ -d /opt/kde3/sbin ] && PATH=$PATH:/opt/kde3/sbin
|
||||
PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
|
||||
fi
|
||||
for dir in /opt/bin \
|
||||
/opt/gnome/bin \
|
||||
/opt/kde/bin \
|
||||
/opt/kde3/bin \
|
||||
/usr/lib/qt3/bin
|
||||
do
|
||||
[ -d "$dir" ] && PATH=$PATH:$dir
|
||||
done
|
||||
unset dir
|
||||
export PATH
|
||||
|
||||
umask 022
|
||||
|
||||
USER=`id -un`
|
||||
LOGNAME=$USER
|
||||
MAIL="/var/spool/mail/$USER"
|
||||
HISTCONTROL=ignoredups
|
||||
HOSTNAME=`/bin/hostname`
|
||||
HISTSIZE=1000
|
||||
export USER LOGNAME MAIL HISTCONTROL HOSTNAME HISTSIZE
|
||||
|
||||
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
|
||||
INPUTRC=/etc/inputrc
|
||||
fi
|
||||
export INPUTRC
|
||||
|
||||
# some old programs still use it (eg: "man"), and it is also
|
||||
# required for level1 compliance for LI18NUX2000
|
||||
NLSPATH=/usr/share/locale/%l/%N
|
||||
export NLSPATH
|
||||
|
||||
for f in /etc/profile.d/*.sh ; do
|
||||
[ -r $f ] && . $f
|
||||
done
|
||||
unset f
|
||||
|
||||
export PATH
|
3
config/resolv.conf
Normal file
3
config/resolv.conf
Normal file
@ -0,0 +1,3 @@
|
||||
# domain domain_name
|
||||
# search domain_name
|
||||
nameserver 127.0.0.1
|
16
config/securetty
Normal file
16
config/securetty
Normal file
@ -0,0 +1,16 @@
|
||||
#
|
||||
# This file contains the device names of tty lines (one per line,
|
||||
# without leading /dev/) on which root is allowed to login.
|
||||
#
|
||||
tty1
|
||||
tty2
|
||||
tty3
|
||||
tty4
|
||||
tty5
|
||||
tty6
|
||||
vc/1
|
||||
vc/2
|
||||
vc/3
|
||||
vc/4
|
||||
vc/5
|
||||
vc/6
|
7
config/shells
Normal file
7
config/shells
Normal file
@ -0,0 +1,7 @@
|
||||
# /etc/shells: valid login shells
|
||||
/bin/sh
|
||||
/bin/bash
|
||||
/bin/false
|
||||
/sbin/nologin
|
||||
/bin/csh
|
||||
/bin/ksh
|
47
iana-etc-2.20/COPYING
Normal file
47
iana-etc-2.20/COPYING
Normal file
@ -0,0 +1,47 @@
|
||||
Open Software License ("OSL") v. 3.0
|
||||
|
||||
This Open Software License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following licensing notice adjacent to the copyright notice for the Original Work:
|
||||
|
||||
Licensed under the Open Software License version 3.0
|
||||
|
||||
1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, for the duration of the copyright, to do the following:
|
||||
|
||||
a) to reproduce the Original Work in copies, either alone or as part of a collective work;
|
||||
|
||||
b) to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work;
|
||||
|
||||
c) to distribute or communicate copies of the Original Work and Derivative Works to the public, with the proviso that copies of Original Work or Derivative Works that You distribute or communicate shall be licensed under this Open Software License;
|
||||
|
||||
d) to perform the Original Work publicly; and
|
||||
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, for the duration of the patents, to make, use, sell, offer for sale, have made, and import the Original Work and Derivative Works.
|
||||
|
||||
3) Grant of Source Code License. The term "Source Code" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of the Source Code in an information repository reasonably calculated to permit inexpensive and convenient access by You for as long as Licensor continues to distribute the Original Work.
|
||||
|
||||
4) Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors to the Original Work, nor any of their trademarks or service marks, may be used to endorse or promote products derived from this Original Work without express prior permission of the Licensor. Except as expressly stated herein, nothing in this License grants any license to Licensor's trademarks, copyrights, patents, trade secrets or any other intellectual property. No patent license is granted to make, use, sell, offer for sale, have made, or import embodiments of any patent claims other than the licensed claims defined in Section 2. No license is granted to the trademarks of Licensor even if such marks are included in the Original Work. Nothing in this License shall be interpreted to prohibit Licensor from licensing under terms different from this License any Original Work that Licensor otherwise would have a right to license.
|
||||
|
||||
5) External Deployment. The term "External Deployment" means the use, distribution, or communication of the Original Work or Derivative Works in any way such that the Original Work or Derivative Works may be used by anyone other than You, whether those works are distributed or communicated to those persons or made available as an application intended for use over a network. As an express condition for the grants of license hereunder, You must treat any External Deployment by You of the Original Work or a Derivative Work as a distribution under section 1(c).
|
||||
|
||||
6) Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create, all copyright, patent, or trademark notices from the Source Code of the Original Work, as well as any notices of licensing and any descriptive text identified therein as an "Attribution Notice." You must cause the Source Code for any Derivative Works that You create to carry a prominent Attribution Notice reasonably calculated to inform recipients that You have modified the Original Work.
|
||||
|
||||
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to the Original Work and the patent rights granted herein by Licensor are owned by the Licensor or are sublicensed to You under the terms of this License with the permission of the contributor(s) of those copyrights and patent rights. Except as expressly stated in the immediately preceding sentence, the Original Work is provided under this License on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without limitation, the warranties of non-infringement, merchantability or fitness for a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No license to the Original Work is granted by this License except under this disclaimer.
|
||||
|
||||
8) Limitation of Liability. Under no circumstances and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Licensor be liable to anyone for any indirect, special, incidental, or consequential damages of any character arising as a result of this License or the use of the Original Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses. This limitation of liability shall not apply to the extent applicable law prohibits such limitation.
|
||||
|
||||
9) Acceptance and Termination. If, at any time, You expressly assented to this License, that assent indicates your clear and irrevocable acceptance of this License and all of its terms and conditions. If You distribute or communicate copies of the Original Work or a Derivative Work, You must make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License. This License conditions your rights to undertake the activities listed in Section 1, including your right to create Derivative Works based upon the Original Work, and doing so without honoring these terms and conditions is prohibited by copyright law and international treaty. Nothing in this License is intended to affect copyright exceptions and limitations (including "fair use" or "fair dealing"). This License shall terminate immediately and You may no longer exercise any of the rights granted to You by this License upon your failure to honor the conditions in Section 1(c).
|
||||
|
||||
10) Termination for Patent Action. This License shall terminate automatically and You may no longer exercise any of the rights granted to You by this License as of the date You commence an action, including a cross-claim or counterclaim, against Licensor or any licensee alleging that the Original Work infringes a patent. This termination provision shall not apply for an action alleging patent infringement by combinations of the Original Work with other software or hardware.
|
||||
|
||||
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor conducts its primary business, and under the laws of that jurisdiction excluding its conflict-of-law provisions. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any use of the Original Work outside the scope of this License or after its termination shall be subject to the requirements and penalties of copyright or patent law in the appropriate jurisdiction. This section shall survive the termination of this License.
|
||||
|
||||
12) Attorneys' Fees. In any action to enforce the terms of this License or seeking damages relating thereto, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. This section shall survive the termination of this License.
|
||||
|
||||
13) Miscellaneous. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable.
|
||||
|
||||
14) Definition of "You" in This License. "You" throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with you. For purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
15) Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned by this License or by law, and Licensor promises not to interfere with or be responsible for such uses by You.
|
||||
|
||||
16) Modification of This License. This License is Copyright (c) 2005 Lawrence Rosen. Permission is granted to copy, distribute, or communicate this License without modification. Nothing in this License permits You to modify this License as applied to the Original Work or to Derivative Works. However, You may modify the text of this License and copy, distribute or communicate your modified version (the "Modified License") and apply it to other original works of authorship subject to the following conditions: (i) You may not indicate in any way that your Modified License is the "Open Software License" or "OSL" and you may not use those names in the name of your Modified License; (ii) You must replace the notice specified in the first paragraph above with the notice "Licensed under <insert your license name here>" or with a notice of your own that is not confusingly similar to the notice in this License; and (iii) You may not claim that your original works are open source software unless your Modified License has been approved by Open Source Initiative (OSI) and You comply with its license review and certification process.
|
20
iana-etc-2.20/CREDITS
Normal file
20
iana-etc-2.20/CREDITS
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
The iana-etc maintainer is Seth W. Klein <sk@sethwklein.net>.
|
||||
|
||||
Thanks go to all the Linux From Scratch users who wrote the scripts that
|
||||
inspired the, now obsolete, LFS HINT and who reported bugs against that HINT.
|
||||
|
||||
Thanks also go to the following people who have reported bugs in iana-etc
|
||||
or made feature requests.
|
||||
|
||||
Oden Eriksson <oeriksson@mandriva.com>
|
||||
Gave me an idea of what distributions need from the project.
|
||||
Pascal S. de Kloe <pascal@quies.net>
|
||||
Reminded me that command options must come first on many non-GNU systems.
|
||||
Paul Jarc <prj@po.cwru.edu>
|
||||
Reported that install target doesn't create installation directory.
|
||||
Jochen Striepe <jochen@tolot.escape.de>
|
||||
Reported that GNU Awk 3.1.0 or greater is required.
|
||||
Steve Westerbeck <stevow@charter.net>
|
||||
Reported that the website wasn't correctly updated for 1.00.
|
||||
|
78
iana-etc-2.20/Makefile
Normal file
78
iana-etc-2.20/Makefile
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright (c) 2003-2006, Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
# Makefile: See README for usage
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=
|
||||
ETC_DIR=/etc
|
||||
|
||||
AWK=gawk
|
||||
STRIP=no
|
||||
# STRIP=yes
|
||||
|
||||
# sed -n 's/^\([^#:]*\):.*/\1/p' < Makefile | grep -v '^\(.PHONY\|.*-numbers.*\|protocols\|services\)$' | tr '\n' ' ' | sed 's/ $/\n/' | xclip
|
||||
.PHONY: all files get test test-services test-protocols install clean \
|
||||
protocol-numbers.iana port-numbers.iana dist
|
||||
|
||||
all: files
|
||||
files: protocols services
|
||||
|
||||
get: protocol-numbers.iana port-numbers.iana
|
||||
|
||||
test: test-protocols test-services
|
||||
|
||||
test-services: services test-lib.gawk test-services.gawk
|
||||
$(AWK) --re-interval -f test-lib.gawk -f test-services.gawk <services
|
||||
|
||||
test-protocols: protocols test-lib.gawk test-protocols.gawk
|
||||
$(AWK) -f test-lib.gawk -f test-protocols.gawk <protocols
|
||||
|
||||
install: files
|
||||
install -d $(DESTDIR)$(PREFIX)$(ETC_DIR)
|
||||
install -m 644 protocols $(DESTDIR)$(PREFIX)$(ETC_DIR)
|
||||
install -m 644 services $(DESTDIR)$(PREFIX)$(ETC_DIR)
|
||||
|
||||
clean:
|
||||
rm -vf \
|
||||
protocols services \
|
||||
protocol-numbers port-numbers \
|
||||
protocol-numbers.iana port-numbers.iana
|
||||
|
||||
protocol-numbers.iana:
|
||||
$(AWK) -f get.gawk -v file=protocol-numbers >protocol-numbers.iana
|
||||
rm -f protocol-numbers
|
||||
|
||||
port-numbers.iana:
|
||||
$(AWK) -f get.gawk -v file=port-numbers >port-numbers.iana
|
||||
rm -f port-numbers
|
||||
|
||||
protocol-numbers:
|
||||
ifeq (protocol-numbers.iana, $(wildcard protocol-numbers.iana))
|
||||
ln -f -s protocol-numbers.iana protocol-numbers
|
||||
else
|
||||
ln -f -s protocol-numbers.dist protocol-numbers
|
||||
endif
|
||||
|
||||
port-numbers:
|
||||
ifeq (port-numbers.iana, $(wildcard port-numbers.iana))
|
||||
ln -f -s port-numbers.iana port-numbers
|
||||
else
|
||||
ln -f -s port-numbers.dist port-numbers
|
||||
endif
|
||||
|
||||
protocols: protocol-numbers protocols.gawk
|
||||
$(AWK) --re-interval -f protocols.gawk -v strip=$(STRIP) \
|
||||
protocol-numbers > protocols
|
||||
|
||||
services: port-numbers services.gawk
|
||||
$(AWK) -f services.gawk -v strip=$(STRIP) port-numbers > services
|
||||
|
||||
dist: clean
|
||||
rm -vrf ../iana-etc-`cat VERSION`
|
||||
cp -a . ../iana-etc-`cat VERSION`
|
||||
tar --owner=root --group=root -vjf ../iana-etc-`cat VERSION`.tar.bz2 \
|
||||
-C .. -c iana-etc-`cat VERSION`
|
||||
|
13
iana-etc-2.20/NEWS
Normal file
13
iana-etc-2.20/NEWS
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
This file only lists changes that may require attention from installers or
|
||||
(rarely) users. If there is no entry for a release, it contained only
|
||||
data updates or internal changes. For more complete news and news before
|
||||
version 2.10, see http://www.sethwklein.net/projects/iana-etc/
|
||||
|
||||
Version 2.20
|
||||
* Added make STRIP=yes
|
||||
Version 2.10
|
||||
* Added make test
|
||||
|
||||
For older news, see http://www.sethwklein.net/projects/iana-etc/
|
||||
|
116
iana-etc-2.20/README
Normal file
116
iana-etc-2.20/README
Normal file
@ -0,0 +1,116 @@
|
||||
|
||||
|
||||
THE IANA /etc FILES PACKAGE
|
||||
|
||||
|
||||
ABOUT
|
||||
|
||||
The iana-etc package installs services(5) and protocols(5) using data from
|
||||
the Internet Assigned Numbers Authority <http://www.iana.org/>. In future,
|
||||
other such files may be added.
|
||||
|
||||
Included are snapshots of the data from the IANA, scripts to transform that
|
||||
data into the needed formats, and scripts to fetch the latest data.
|
||||
|
||||
Maintainer: Seth W. Klein <sk@sethwklein.net>
|
||||
Home Page: http://www.sethwklein.net/projects/iana-etc/
|
||||
|
||||
Bug reports and patches are welcome.
|
||||
|
||||
PORT ALIASES
|
||||
|
||||
Please report any additional port aliases that you need. The port-aliases
|
||||
file contains the current list. To minimize cruft, it includes only
|
||||
aliases for which there has been reported need.
|
||||
|
||||
If you need an alias that isn't included, you may see the error:
|
||||
|
||||
getaddrinfo: Servname not supported for ai_socktype
|
||||
|
||||
Some useful things for finding out what alias is needed:
|
||||
* strace from <http://www.wi.leidenuniv.nl/~wichert/strace/>
|
||||
* grep -r 'getaddrinfo' in the appropriate source tree
|
||||
|
||||
The various RFCs and such usually list the number for an alias but it may
|
||||
be faster to just check the FreeBSD services file at
|
||||
<http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services>.
|
||||
|
||||
Bug reports and patches are welcome at the maintainer address listed above.
|
||||
|
||||
DEPENDENCIES
|
||||
|
||||
GNU Awk 3.1.0 or Later
|
||||
Numerous GNU Awk extensions are used. Awk was chosen over Perl for
|
||||
its smaller size and more flexible installation process both of which
|
||||
are important in a bootstrap environment.
|
||||
|
||||
Version 3.1.0 or later is required for support of the third argument
|
||||
to match(). The workaround to support older versions would be less
|
||||
readable and slower so I'd rather not include it without good reason.
|
||||
|
||||
Like GNU Awk before 3.1.0, Mawk doesn't support three argument match()
|
||||
and so is not supported. It also doesn't support network extensions.
|
||||
|
||||
Make
|
||||
Testing is only done with GNU Make but incompatibilities with other
|
||||
make implementations are bugs. Please send patches.
|
||||
|
||||
INSTALLATION
|
||||
|
||||
The installation process is flexible and friendly to unattended install-
|
||||
ation even though, due to its simplicity, it does not use Autoconf.
|
||||
|
||||
For basic installation run:
|
||||
|
||||
make
|
||||
su
|
||||
make install
|
||||
|
||||
This creates /etc/services and /etc/protocols without using internet
|
||||
access.
|
||||
|
||||
To throw out the useful comments in generated files, use:
|
||||
|
||||
make STRIP=yes
|
||||
|
||||
To install to a temporary location as package managers often do, use
|
||||
DESTDIR like this:
|
||||
|
||||
make DESTDIR=/mnt/tmp install
|
||||
|
||||
This will create /mnt/tmp/etc/services and /mnt/tmp/etc/protocols.
|
||||
|
||||
PREFIX is also supported but currently does the same thing as DESTDIR.
|
||||
|
||||
For unusual installations,
|
||||
|
||||
make DESTDIR=/tmp PREFIX=/foo ETC_DIR=/bar install
|
||||
|
||||
will create /tmp/foo/bar/services and /tmp/foo/bar/protocols.
|
||||
|
||||
GETTING FRESH DATA
|
||||
|
||||
To fetch the latest data from the IANA run:
|
||||
|
||||
make get
|
||||
make
|
||||
make test
|
||||
|
||||
Beware that while test checks for invalid lines in the output files, it
|
||||
cannot check for applications that might be broken by changes made by
|
||||
the IANA. In addition, there is generally little of interest in the
|
||||
IANA's changes unless you're trying to pick a port for new development
|
||||
in which case you're better off consulting the unfiltered files.
|
||||
|
||||
DOCUMENTATION
|
||||
|
||||
Man pages are provided by the man-pages package. See
|
||||
http://ftp.kernel.org/pub/linux/docs/manpages/ and
|
||||
http://freshmeat.net/projects/man-pages/
|
||||
|
||||
BUGS
|
||||
|
||||
The Makefile uses the .PHONY target which (according to the GNU Make
|
||||
info page, IIRC) is not supported by other common make implementations.
|
||||
There are plans to fix this in a future release.
|
||||
|
1
iana-etc-2.20/VERSION
Normal file
1
iana-etc-2.20/VERSION
Normal file
@ -0,0 +1 @@
|
||||
2.20
|
36
iana-etc-2.20/get.gawk
Normal file
36
iana-etc-2.20/get.gawk
Normal file
@ -0,0 +1,36 @@
|
||||
#!/usr/bin/gawk -f
|
||||
|
||||
# Copyright (c) 2003-2004, 2006 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
# get.awk: retrieves IANA numbers assignments from iana.org.
|
||||
# Requires GNU Awk.
|
||||
# Usage: get.gawk -v file=<filename>
|
||||
|
||||
BEGIN {
|
||||
host = "www.iana.org"
|
||||
path = "/assignments/"
|
||||
# file is set by the caller
|
||||
socket = "/inet/tcp/0/" host "/80"
|
||||
|
||||
print "Getting http://" host path file >"/dev/stderr"
|
||||
RS="\r\n"
|
||||
print "GET " path file " HTTP/1.0\r\nHost: " host "\r\n" |& socket
|
||||
printf "Request sent, waiting for data... " >"/dev/stderr"
|
||||
|
||||
NR = 0
|
||||
while (socket |& getline) {
|
||||
if (!NR) { printf "receiving data... " >"/dev/stderr" }
|
||||
if (!(NR % 128)) { printf "." >"/dev/stderr" }
|
||||
NR++
|
||||
|
||||
if (in_content) { print }
|
||||
if (/^$/) { in_content=1 }
|
||||
}
|
||||
|
||||
printf "\n" >"/dev/stderr"
|
||||
exit
|
||||
}
|
||||
|
14
iana-etc-2.20/port-aliases
Normal file
14
iana-etc-2.20/port-aliases
Normal file
@ -0,0 +1,14 @@
|
||||
# Copyright (c) 2003, 2004 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
# Port/Service Alias List
|
||||
|
||||
# Format:
|
||||
# o # to end of line is comment
|
||||
# o blank lines are ignored
|
||||
# o <name> <alias> <alias> ...
|
||||
|
||||
nicname whois
|
||||
|
1
iana-etc-2.20/port-numbers
Symbolic link
1
iana-etc-2.20/port-numbers
Symbolic link
@ -0,0 +1 @@
|
||||
port-numbers.dist
|
14733
iana-etc-2.20/port-numbers.dist
Normal file
14733
iana-etc-2.20/port-numbers.dist
Normal file
File diff suppressed because it is too large
Load Diff
1
iana-etc-2.20/protocol-numbers
Symbolic link
1
iana-etc-2.20/protocol-numbers
Symbolic link
@ -0,0 +1 @@
|
||||
protocol-numbers.dist
|
513
iana-etc-2.20/protocol-numbers.dist
Normal file
513
iana-etc-2.20/protocol-numbers.dist
Normal file
@ -0,0 +1,513 @@
|
||||
|
||||
PROTOCOL NUMBERS
|
||||
|
||||
(last updated 03 October 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
|
||||
------- ------- -------- ----------
|
||||
0 HOPOPT IPv6 Hop-by-Hop Option [RFC1883]
|
||||
1 ICMP Internet Control Message [RFC792]
|
||||
2 IGMP Internet Group Management [RFC1112]
|
||||
3 GGP Gateway-to-Gateway [RFC823]
|
||||
4 IP IP in IP (encapsulation) [RFC2003]
|
||||
5 ST Stream [RFC1190,RFC1819]
|
||||
6 TCP Transmission Control [RFC793]
|
||||
7 CBT CBT [Ballardie]
|
||||
8 EGP Exterior Gateway Protocol [RFC888,DLM1]
|
||||
9 IGP any private interior gateway [IANA]
|
||||
(used by Cisco for their IGRP)
|
||||
10 BBN-RCC-MON BBN RCC Monitoring [SGC]
|
||||
11 NVP-II Network Voice Protocol [RFC741,SC3]
|
||||
12 PUP PUP [PUP,XEROX]
|
||||
13 ARGUS ARGUS [RWS4]
|
||||
14 EMCON EMCON [BN7]
|
||||
15 XNET Cross Net Debugger [IEN158,JFH2]
|
||||
16 CHAOS Chaos [NC3]
|
||||
17 UDP User Datagram [RFC768,JBP]
|
||||
18 MUX Multiplexing [IEN90,JBP]
|
||||
19 DCN-MEAS DCN Measurement Subsystems [DLM1]
|
||||
20 HMP Host Monitoring [RFC869,RH6]
|
||||
21 PRM Packet Radio Measurement [ZSU]
|
||||
22 XNS-IDP XEROX NS IDP [ETHERNET,XEROX]
|
||||
23 TRUNK-1 Trunk-1 [BWB6]
|
||||
24 TRUNK-2 Trunk-2 [BWB6]
|
||||
25 LEAF-1 Leaf-1 [BWB6]
|
||||
26 LEAF-2 Leaf-2 [BWB6]
|
||||
27 RDP Reliable Data Protocol [RFC908,RH6]
|
||||
28 IRTP Internet Reliable Transaction [RFC938,TXM]
|
||||
29 ISO-TP4 ISO Transport Protocol Class 4 [RFC905,RC77]
|
||||
30 NETBLT Bulk Data Transfer Protocol [RFC969,DDC1]
|
||||
31 MFE-NSP MFE Network Services Protocol [MFENET,BCH2]
|
||||
32 MERIT-INP MERIT Internodal Protocol [HWB]
|
||||
33 DCCP Datagram Congestion Control Protocol [RFC-ietf-dccp-spec-11.txt]
|
||||
34 3PC Third Party Connect Protocol [SAF3]
|
||||
35 IDPR Inter-Domain Policy Routing Protocol [MXS1]
|
||||
36 XTP XTP [GXC]
|
||||
37 DDP Datagram Delivery Protocol [WXC]
|
||||
38 IDPR-CMTP IDPR Control Message Transport Proto [MXS1]
|
||||
39 TP++ TP++ Transport Protocol [DXF]
|
||||
40 IL IL Transport Protocol [Presotto]
|
||||
41 IPv6 Ipv6 [Deering]
|
||||
42 SDRP Source Demand Routing Protocol [DXE1]
|
||||
43 IPv6-Route Routing Header for IPv6 [Deering]
|
||||
44 IPv6-Frag Fragment Header for IPv6 [Deering]
|
||||
45 IDRP Inter-Domain Routing Protocol [Sue Hares]
|
||||
46 RSVP Reservation Protocol [Bob Braden]
|
||||
47 GRE General Routing Encapsulation [Tony Li]
|
||||
48 DSR Dynamic Source Routing Protocol [RFC-ietf-manet-dsr-10.txt]
|
||||
49 BNA BNA [Gary Salamon]
|
||||
50 ESP Encap Security Payload [RFC2406]
|
||||
51 AH Authentication Header [RFC2402]
|
||||
52 I-NLSP Integrated Net Layer Security TUBA [GLENN]
|
||||
53 SWIPE IP with Encryption [JI6]
|
||||
54 NARP NBMA Address Resolution Protocol [RFC1735]
|
||||
55 MOBILE IP Mobility [Perkins]
|
||||
56 TLSP Transport Layer Security Protocol [Oberg]
|
||||
using Kryptonet key management
|
||||
57 SKIP SKIP [Markson]
|
||||
58 IPv6-ICMP ICMP for IPv6 [RFC1883]
|
||||
59 IPv6-NoNxt No Next Header for IPv6 [RFC1883]
|
||||
60 IPv6-Opts Destination Options for IPv6 [RFC1883]
|
||||
61 any host internal protocol [IANA]
|
||||
62 CFTP CFTP [CFTP,HCF2]
|
||||
63 any local network [IANA]
|
||||
64 SAT-EXPAK SATNET and Backroom EXPAK [SHB]
|
||||
65 KRYPTOLAN Kryptolan [PXL1]
|
||||
66 RVD MIT Remote Virtual Disk Protocol [MBG]
|
||||
67 IPPC Internet Pluribus Packet Core [SHB]
|
||||
68 any distributed file system [IANA]
|
||||
69 SAT-MON SATNET Monitoring [SHB]
|
||||
70 VISA VISA Protocol [GXT1]
|
||||
71 IPCV Internet Packet Core Utility [SHB]
|
||||
72 CPNX Computer Protocol Network Executive [DXM2]
|
||||
73 CPHB Computer Protocol Heart Beat [DXM2]
|
||||
74 WSN Wang Span Network [VXD]
|
||||
75 PVP Packet Video Protocol [SC3]
|
||||
76 BR-SAT-MON Backroom SATNET Monitoring [SHB]
|
||||
77 SUN-ND SUN ND PROTOCOL-Temporary [WM3]
|
||||
78 WB-MON WIDEBAND Monitoring [SHB]
|
||||
79 WB-EXPAK WIDEBAND EXPAK [SHB]
|
||||
80 ISO-IP ISO Internet Protocol [MTR]
|
||||
81 VMTP VMTP [DRC3]
|
||||
82 SECURE-VMTP SECURE-VMTP [DRC3]
|
||||
83 VINES VINES [BXH]
|
||||
84 TTP TTP [JXS]
|
||||
85 NSFNET-IGP NSFNET-IGP [HWB]
|
||||
86 DGP Dissimilar Gateway Protocol [DGP,ML109]
|
||||
87 TCF TCF [GAL5]
|
||||
88 EIGRP EIGRP [CISCO,GXS]
|
||||
89 OSPFIGP OSPFIGP [RFC1583,JTM4]
|
||||
90 Sprite-RPC Sprite RPC Protocol [SPRITE,BXW]
|
||||
91 LARP Locus Address Resolution Protocol [BXH]
|
||||
92 MTP Multicast Transport Protocol [SXA]
|
||||
93 AX.25 AX.25 Frames [BK29]
|
||||
94 IPIP IP-within-IP Encapsulation Protocol [JI6]
|
||||
95 MICP Mobile Internetworking Control Pro. [JI6]
|
||||
96 SCC-SP Semaphore Communications Sec. Pro. [HXH]
|
||||
97 ETHERIP Ethernet-within-IP Encapsulation [RFC3378]
|
||||
98 ENCAP Encapsulation Header [RFC1241,RXB3]
|
||||
99 any private encryption scheme [IANA]
|
||||
100 GMTP GMTP [RXB5]
|
||||
101 IFMP Ipsilon Flow Management Protocol [Hinden]
|
||||
102 PNNI PNNI over IP [Callon]
|
||||
103 PIM Protocol Independent Multicast [Farinacci]
|
||||
104 ARIS ARIS [Feldman]
|
||||
105 SCPS SCPS [Durst]
|
||||
106 QNX QNX [Hunter]
|
||||
107 A/N Active Networks [Braden]
|
||||
108 IPComp IP Payload Compression Protocol [RFC2393]
|
||||
109 SNP Sitara Networks Protocol [Sridhar]
|
||||
110 Compaq-Peer Compaq Peer Protocol [Volpe]
|
||||
111 IPX-in-IP IPX in IP [Lee]
|
||||
112 VRRP Virtual Router Redundancy Protocol [RFC3768]
|
||||
113 PGM PGM Reliable Transport Protocol [Speakman]
|
||||
114 any 0-hop protocol [IANA]
|
||||
115 L2TP Layer Two Tunneling Protocol [Aboba]
|
||||
116 DDX D-II Data Exchange (DDX) [Worley]
|
||||
117 IATP Interactive Agent Transfer Protocol [Murphy]
|
||||
118 STP Schedule Transfer Protocol [JMP]
|
||||
119 SRP SpectraLink Radio Protocol [Hamilton]
|
||||
120 UTI UTI [Lothberg]
|
||||
121 SMP Simple Message Protocol [Ekblad]
|
||||
122 SM SM [Crowcroft]
|
||||
123 PTP Performance Transparency Protocol [Welzl]
|
||||
124 ISIS over IPv4 [Przygienda]
|
||||
125 FIRE [Partridge]
|
||||
126 CRTP Combat Radio Transport Protocol [Sautter]
|
||||
127 CRUDP Combat Radio User Datagram [Sautter]
|
||||
128 SSCOPMCE [Waber]
|
||||
129 IPLT [Hollbach]
|
||||
130 SPS Secure Packet Shield [McIntosh]
|
||||
131 PIPE Private IP Encapsulation within IP [Petri]
|
||||
132 SCTP Stream Control Transmission Protocol [Stewart]
|
||||
133 FC Fibre Channel [Rajagopal]
|
||||
134 RSVP-E2E-IGNORE [RFC3175]
|
||||
135 Mobility Header [RFC3775]
|
||||
136 UDPLite [RFC3828]
|
||||
137 MPLS-in-IP [RFC4023]
|
||||
138-252 Unassigned [IANA]
|
||||
253 Use for experimentation and testing [RFC3692]
|
||||
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.
|
||||
|
||||
[RFC-ietf-manet-dsr-10.txt]
|
||||
D.B. Johnson, D.A. Maltz and Y-C. Hu, "The Dynamic Source Routing Protocol
|
||||
for Mobile Ad Hoc Networks (DSR)", RFC XXXX, Month Year.
|
||||
|
||||
PEOPLE
|
||||
------
|
||||
|
||||
[Aboba] Bernard Aboba <bernarda@microsoft.com>, April 1998.
|
||||
|
||||
[Ballardie] Tony Ballardie <A.Ballardie@cs.ucl.ac.uk>
|
||||
|
||||
[BCH2] Barry Howard <Howard@NMFECC.LLNL.GOV>
|
||||
|
||||
[BK29] Brian Kantor <brian@UCSD.EDU>
|
||||
|
||||
[BN7] <mystery contact>
|
||||
|
||||
[Braden] Bob Braden, <braden@isi.edu>, July 1997.
|
||||
|
||||
[BWB6] Barry Boehm <boehm@ARPA.MIL>
|
||||
|
||||
[BXH] Brian Horn <---none--->
|
||||
|
||||
[BXW] Bruce Willins <---none--->
|
||||
|
||||
[Callon] Ross Callon, <rcallon@baynetworks.com>, December 1995.
|
||||
|
||||
[Carpenter] Brian Carpenter, <brian@dxcoms.cern.ch>, January 1995.
|
||||
|
||||
[Crowcroft] Jon Crowcroft <jon@cs.ucl.ac.uk>, June 1999.
|
||||
|
||||
[DDC1] David Clark <ddc@LCS.MIT.EDU>
|
||||
|
||||
[DLM1] David Mills <Mills@HUEY.UDEL.EDU>
|
||||
|
||||
[DRC3] Dave Cheriton <cheriton@PESCADERO.STANFORD.EDU>
|
||||
|
||||
[Deering] Steve Deering, <deering@parc.xerox.com>, March 1995.
|
||||
|
||||
[Doraswamy] Naganand Doraswamy, <naganand@BayNetworks.com>, September 1997.
|
||||
|
||||
[Durst] Robert Durst, <durst@mitre.org>, March 1997.
|
||||
|
||||
[DXE1] Deborah Estrin <estrin@usc.edu>
|
||||
|
||||
[Farinacci] Dino Farinacci, <dino@cisco.com>, March 1996.
|
||||
|
||||
[Feldman] Nancy Feldman <nkf@vnet.ibm.com> January 1997.
|
||||
|
||||
[DXF] Dirk Fromhein <df@watershed.com>
|
||||
|
||||
[DXM2] David Mittnacht <---none--->
|
||||
|
||||
[Ekblad] Leif Ekblad <leif.ekblad@eslov.mail.telia.com>, March 1999.
|
||||
|
||||
[GAL5] Guillermo A. Loyola <LOYOLA@IBM.COM>
|
||||
|
||||
[GLENN] K. Robert Glenn <glenn@osi.ncsl.nist.gov>
|
||||
|
||||
[GXC] Greg Chesson <Greg@SGI.COM>
|
||||
|
||||
[GXS] Guenther Schreiner <snmp-admin@ira.uka.de>
|
||||
|
||||
[GXT1] Gene Tsudik <tsudik@USC.EDU>
|
||||
|
||||
[Hamilton] Mark Hamilton <mah@spectralink.com>, November 1998.
|
||||
|
||||
[HCF2] Harry Forsdick <Forsdick@BBN.COM>
|
||||
|
||||
[Hinden] Bob Hinden, <hinden@ipsilon.com>, November 1995, 1997.
|
||||
|
||||
[Hunter] Michael Hunter, <mphunter@qnx.com>, July 1997.
|
||||
|
||||
[HWB] Hans-Werner Braun <HWB@MCR.UMICH.EDU>
|
||||
|
||||
[HXH] Howard Hart <hch@hybrid.com>
|
||||
|
||||
[IANA] Internet Assigned Numbers Authority, <iana@iana.org>, June 1995.
|
||||
|
||||
[JBP] Jon Postel <postel@isi.edu>
|
||||
|
||||
[JMP] Jean-Michel Pittet, <jmp@gandalf.engr.sgi.com>, November 1998.
|
||||
|
||||
[JC120] <mystery contact>
|
||||
|
||||
[JFH2] Jack Haverty <jhaverty@ORACLE.COM>
|
||||
|
||||
[JI6] John Ioannidis <ji@CS.COLUMBIA.EDU>
|
||||
|
||||
[JTM4] John Moy <jmoy@PROTEON.COM>
|
||||
|
||||
[JWF] Jim Forgie <FORGIE@XN.LL.MIT.EDU>
|
||||
|
||||
[JXS] Jim Stevens <Stevens@ISI.EDU>
|
||||
|
||||
[KATZ] Dave Katz <dkatz@cisco.com>
|
||||
|
||||
[Lee] CJ Lee, <cj_lee@novell.com>, October 1997.
|
||||
|
||||
[Lothberg] Peter Lothberg <roll@stupi.se>, March 1999.
|
||||
|
||||
[Markson] Tom Markson, <markson@osmosys.ingog.com>, September 1995.
|
||||
|
||||
[MB] Mike Brescia <Brescia@CCV.BBN.COM>
|
||||
|
||||
[MBG] Michael Greenwald <Greenwald@SCRC-STONY-BROOK.SYMBOLICS.COM>
|
||||
|
||||
[McIntosh] Bill McIntosh <BMcIntosh@fortresstech.com>
|
||||
|
||||
[ML109] Mike Little <little@MACOM4.ARPA>
|
||||
|
||||
[MTR] Marshall T. Rose <mrose@dbc.mtview.ca.us>
|
||||
|
||||
[Murphy] John Murphy <john.m.murphy@mci.com>, October 1998.
|
||||
|
||||
[MXS1] Martha Steenstrup <MSteenst@BBN.COM>
|
||||
|
||||
[NC3] J. Noel Chiappa <JNC@XX.LCS.MIT.EDU>
|
||||
|
||||
[Oberg] Christer Oberg <chg@bull.se> October 1994.
|
||||
|
||||
[Partridge] Criag Partridge <craig@bbn.com>, August 1999.
|
||||
|
||||
[Perkins] Charlie Perkins <perk@watson.ibm.com>, October 1994.
|
||||
|
||||
[Petri] Bernhard Petri <bernhard.petri@siemens.com>, March 2000.
|
||||
|
||||
[Presotto] Dave Presotto <presotto@plan9.att.com>, July 1995.
|
||||
|
||||
[Przygienda] Tony Przygienda <prz@siara.com>, August 1999.
|
||||
|
||||
[PXL1] Paul Liu <---none--->
|
||||
|
||||
[Rajagopal] Murali Rajagopal, <murali@gadzoox.com>, May 2000.
|
||||
|
||||
[RH6] Robert Hinden <Hinden@ENG.SUN.COM>
|
||||
|
||||
[RTB3] Bob Braden <braden@isi.edu>
|
||||
|
||||
[RC77] <mystery contact>
|
||||
|
||||
[RDH1] Russ Housley <rhousley@rsasecurity.com>
|
||||
|
||||
[RWS4] Robert W. Scheifler <RWS@XX.LCS.MIT.EDU>
|
||||
|
||||
[RXB3] Robert Woodburn <woody@cseic.saic.com>
|
||||
|
||||
[Sautter] Robert Sautter <rsautter@acdnj.itt.com>, August 1999.
|
||||
|
||||
[SAF3] Stuart A. Friedberg <stuart@CS.WISC.EDU>
|
||||
|
||||
[SC3] Steve Casner <casner@isi.edu
|
||||
|
||||
[SGC] Steve Chipman Chipman@F.BBN.COM>
|
||||
|
||||
[SHB] Steven Blumenthal <BLUMENTHAL@VAX.BBN.COM>
|
||||
|
||||
[Speakman] Tony Speakman <speakman@cisco.com>, January 1998.
|
||||
|
||||
[Sridhar] Manickam R.Sridhar <msridhar@sitaranetworks.com>, September 1997.
|
||||
|
||||
[Stewart] Randall R. Stewart <rrs@cisco.com>, April 2000.
|
||||
|
||||
[Sue Hares] Sue Hares <skh@merit.edu>
|
||||
|
||||
[SXA] Susie Armstrong <Armstrong.wbst128@XEROX.COM>
|
||||
|
||||
[SXD] Steve Deering <deering@PARC.XEROX.COM>
|
||||
|
||||
[Tony Li] Tony Li <tli@cisco.com>
|
||||
|
||||
[TXM] Trudy Miller <Trudy@ACC.COM>
|
||||
|
||||
[Volpe] Victor Volpe <vvolpe@smtp.microcom.com>, October 1997.
|
||||
|
||||
[VXD] Victor Dafoulas <---none--->
|
||||
|
||||
[Waber] Kurt Waber <kurt.waber@swisscom.com>, August 1999.
|
||||
|
||||
[Welzl] Michael Welzl <michael@tk.uni-linz.ac.at>, August 1999.
|
||||
|
||||
[WM3] William Melohn <Melohn@SUN.COM>
|
||||
|
||||
[WXC] Wesley Craig <Wesley.Craig@terminator.cc.umich.edu>
|
||||
|
||||
[Worley] John Worley <worley@milehigh.net>, June 1998.
|
||||
|
||||
[ZSU] Zaw-Sing Su <ZSu@TSCA.ISTC.SRI.>
|
||||
|
||||
[]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
516
iana-etc-2.20/protocols
Normal file
516
iana-etc-2.20/protocols
Normal file
@ -0,0 +1,516 @@
|
||||
# See also: protocols(5), http://www.sethwklein.net/projects/iana-etc/
|
||||
#
|
||||
#
|
||||
# PROTOCOL NUMBERS
|
||||
#
|
||||
# (last updated 03 October 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]
|
||||
ip 4 IP # 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]
|
||||
dsr 48 DSR # Dynamic Source Routing Protocol [RFC-ietf-manet-dsr-10.txt]
|
||||
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.
|
||||
#
|
||||
# [RFC-ietf-manet-dsr-10.txt]
|
||||
# D.B. Johnson, D.A. Maltz and Y-C. Hu, "The Dynamic Source Routing Protocol
|
||||
# for Mobile Ad Hoc Networks (DSR)", RFC XXXX, Month Year.
|
||||
#
|
||||
# PEOPLE
|
||||
# ------
|
||||
#
|
||||
# [Aboba] Bernard Aboba <bernarda@microsoft.com>, April 1998.
|
||||
#
|
||||
# [Ballardie] Tony Ballardie <A.Ballardie@cs.ucl.ac.uk>
|
||||
#
|
||||
# [BCH2] Barry Howard <Howard@NMFECC.LLNL.GOV>
|
||||
#
|
||||
# [BK29] Brian Kantor <brian@UCSD.EDU>
|
||||
#
|
||||
# [BN7] <mystery contact>
|
||||
#
|
||||
# [Braden] Bob Braden, <braden@isi.edu>, July 1997.
|
||||
#
|
||||
# [BWB6] Barry Boehm <boehm@ARPA.MIL>
|
||||
#
|
||||
# [BXH] Brian Horn <---none--->
|
||||
#
|
||||
# [BXW] Bruce Willins <---none--->
|
||||
#
|
||||
# [Callon] Ross Callon, <rcallon@baynetworks.com>, December 1995.
|
||||
#
|
||||
# [Carpenter] Brian Carpenter, <brian@dxcoms.cern.ch>, January 1995.
|
||||
#
|
||||
# [Crowcroft] Jon Crowcroft <jon@cs.ucl.ac.uk>, June 1999.
|
||||
#
|
||||
# [DDC1] David Clark <ddc@LCS.MIT.EDU>
|
||||
#
|
||||
# [DLM1] David Mills <Mills@HUEY.UDEL.EDU>
|
||||
#
|
||||
# [DRC3] Dave Cheriton <cheriton@PESCADERO.STANFORD.EDU>
|
||||
#
|
||||
# [Deering] Steve Deering, <deering@parc.xerox.com>, March 1995.
|
||||
#
|
||||
# [Doraswamy] Naganand Doraswamy, <naganand@BayNetworks.com>, September 1997.
|
||||
#
|
||||
# [Durst] Robert Durst, <durst@mitre.org>, March 1997.
|
||||
#
|
||||
# [DXE1] Deborah Estrin <estrin@usc.edu>
|
||||
#
|
||||
# [Farinacci] Dino Farinacci, <dino@cisco.com>, March 1996.
|
||||
#
|
||||
# [Feldman] Nancy Feldman <nkf@vnet.ibm.com> January 1997.
|
||||
#
|
||||
# [DXF] Dirk Fromhein <df@watershed.com>
|
||||
#
|
||||
# [DXM2] David Mittnacht <---none--->
|
||||
#
|
||||
# [Ekblad] Leif Ekblad <leif.ekblad@eslov.mail.telia.com>, March 1999.
|
||||
#
|
||||
# [GAL5] Guillermo A. Loyola <LOYOLA@IBM.COM>
|
||||
#
|
||||
# [GLENN] K. Robert Glenn <glenn@osi.ncsl.nist.gov>
|
||||
#
|
||||
# [GXC] Greg Chesson <Greg@SGI.COM>
|
||||
#
|
||||
# [GXS] Guenther Schreiner <snmp-admin@ira.uka.de>
|
||||
#
|
||||
# [GXT1] Gene Tsudik <tsudik@USC.EDU>
|
||||
#
|
||||
# [Hamilton] Mark Hamilton <mah@spectralink.com>, November 1998.
|
||||
#
|
||||
# [HCF2] Harry Forsdick <Forsdick@BBN.COM>
|
||||
#
|
||||
# [Hinden] Bob Hinden, <hinden@ipsilon.com>, November 1995, 1997.
|
||||
#
|
||||
# [Hunter] Michael Hunter, <mphunter@qnx.com>, July 1997.
|
||||
#
|
||||
# [HWB] Hans-Werner Braun <HWB@MCR.UMICH.EDU>
|
||||
#
|
||||
# [HXH] Howard Hart <hch@hybrid.com>
|
||||
#
|
||||
# [IANA] Internet Assigned Numbers Authority, <iana@iana.org>, June 1995.
|
||||
#
|
||||
# [JBP] Jon Postel <postel@isi.edu>
|
||||
#
|
||||
# [JMP] Jean-Michel Pittet, <jmp@gandalf.engr.sgi.com>, November 1998.
|
||||
#
|
||||
# [JC120] <mystery contact>
|
||||
#
|
||||
# [JFH2] Jack Haverty <jhaverty@ORACLE.COM>
|
||||
#
|
||||
# [JI6] John Ioannidis <ji@CS.COLUMBIA.EDU>
|
||||
#
|
||||
# [JTM4] John Moy <jmoy@PROTEON.COM>
|
||||
#
|
||||
# [JWF] Jim Forgie <FORGIE@XN.LL.MIT.EDU>
|
||||
#
|
||||
# [JXS] Jim Stevens <Stevens@ISI.EDU>
|
||||
#
|
||||
# [KATZ] Dave Katz <dkatz@cisco.com>
|
||||
#
|
||||
# [Lee] CJ Lee, <cj_lee@novell.com>, October 1997.
|
||||
#
|
||||
# [Lothberg] Peter Lothberg <roll@stupi.se>, March 1999.
|
||||
#
|
||||
# [Markson] Tom Markson, <markson@osmosys.ingog.com>, September 1995.
|
||||
#
|
||||
# [MB] Mike Brescia <Brescia@CCV.BBN.COM>
|
||||
#
|
||||
# [MBG] Michael Greenwald <Greenwald@SCRC-STONY-BROOK.SYMBOLICS.COM>
|
||||
#
|
||||
# [McIntosh] Bill McIntosh <BMcIntosh@fortresstech.com>
|
||||
#
|
||||
# [ML109] Mike Little <little@MACOM4.ARPA>
|
||||
#
|
||||
# [MTR] Marshall T. Rose <mrose@dbc.mtview.ca.us>
|
||||
#
|
||||
# [Murphy] John Murphy <john.m.murphy@mci.com>, October 1998.
|
||||
#
|
||||
# [MXS1] Martha Steenstrup <MSteenst@BBN.COM>
|
||||
#
|
||||
# [NC3] J. Noel Chiappa <JNC@XX.LCS.MIT.EDU>
|
||||
#
|
||||
# [Oberg] Christer Oberg <chg@bull.se> October 1994.
|
||||
#
|
||||
# [Partridge] Criag Partridge <craig@bbn.com>, August 1999.
|
||||
#
|
||||
# [Perkins] Charlie Perkins <perk@watson.ibm.com>, October 1994.
|
||||
#
|
||||
# [Petri] Bernhard Petri <bernhard.petri@siemens.com>, March 2000.
|
||||
#
|
||||
# [Presotto] Dave Presotto <presotto@plan9.att.com>, July 1995.
|
||||
#
|
||||
# [Przygienda] Tony Przygienda <prz@siara.com>, August 1999.
|
||||
#
|
||||
# [PXL1] Paul Liu <---none--->
|
||||
#
|
||||
# [Rajagopal] Murali Rajagopal, <murali@gadzoox.com>, May 2000.
|
||||
#
|
||||
# [RH6] Robert Hinden <Hinden@ENG.SUN.COM>
|
||||
#
|
||||
# [RTB3] Bob Braden <braden@isi.edu>
|
||||
#
|
||||
# [RC77] <mystery contact>
|
||||
#
|
||||
# [RDH1] Russ Housley <rhousley@rsasecurity.com>
|
||||
#
|
||||
# [RWS4] Robert W. Scheifler <RWS@XX.LCS.MIT.EDU>
|
||||
#
|
||||
# [RXB3] Robert Woodburn <woody@cseic.saic.com>
|
||||
#
|
||||
# [Sautter] Robert Sautter <rsautter@acdnj.itt.com>, August 1999.
|
||||
#
|
||||
# [SAF3] Stuart A. Friedberg <stuart@CS.WISC.EDU>
|
||||
#
|
||||
# [SC3] Steve Casner <casner@isi.edu
|
||||
#
|
||||
# [SGC] Steve Chipman Chipman@F.BBN.COM>
|
||||
#
|
||||
# [SHB] Steven Blumenthal <BLUMENTHAL@VAX.BBN.COM>
|
||||
#
|
||||
# [Speakman] Tony Speakman <speakman@cisco.com>, January 1998.
|
||||
#
|
||||
# [Sridhar] Manickam R.Sridhar <msridhar@sitaranetworks.com>, September 1997.
|
||||
#
|
||||
# [Stewart] Randall R. Stewart <rrs@cisco.com>, April 2000.
|
||||
#
|
||||
# [Sue Hares] Sue Hares <skh@merit.edu>
|
||||
#
|
||||
# [SXA] Susie Armstrong <Armstrong.wbst128@XEROX.COM>
|
||||
#
|
||||
# [SXD] Steve Deering <deering@PARC.XEROX.COM>
|
||||
#
|
||||
# [Tony Li] Tony Li <tli@cisco.com>
|
||||
#
|
||||
# [TXM] Trudy Miller <Trudy@ACC.COM>
|
||||
#
|
||||
# [Volpe] Victor Volpe <vvolpe@smtp.microcom.com>, October 1997.
|
||||
#
|
||||
# [VXD] Victor Dafoulas <---none--->
|
||||
#
|
||||
# [Waber] Kurt Waber <kurt.waber@swisscom.com>, August 1999.
|
||||
#
|
||||
# [Welzl] Michael Welzl <michael@tk.uni-linz.ac.at>, August 1999.
|
||||
#
|
||||
# [WM3] William Melohn <Melohn@SUN.COM>
|
||||
#
|
||||
# [WXC] Wesley Craig <Wesley.Craig@terminator.cc.umich.edu>
|
||||
#
|
||||
# [Worley] John Worley <worley@milehigh.net>, June 1998.
|
||||
#
|
||||
# [ZSU] Zaw-Sing Su <ZSu@TSCA.ISTC.SRI.>
|
||||
#
|
||||
# []
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
32
iana-etc-2.20/protocols.gawk
Normal file
32
iana-etc-2.20/protocols.gawk
Normal file
@ -0,0 +1,32 @@
|
||||
#!/usr/bin/gawk --re-interval -f
|
||||
# the above doesn't work (stupid kernel) but serves as documentation
|
||||
|
||||
# Copyright (c) 2003-2004, 2006 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
BEGIN {
|
||||
if (strip == "yes") {
|
||||
strip = 1
|
||||
format = "%s\t%s\t%s\n"
|
||||
header_printed = 1
|
||||
} else {
|
||||
strip = 0
|
||||
print "# See also: protocols(5)" \
|
||||
", http://www.sethwklein.net/projects/iana-etc/\n#"
|
||||
format = "%-12s %3s %-12s # %s\n"
|
||||
header_printed = 0
|
||||
}
|
||||
}
|
||||
{ sub(/\r/, "") }
|
||||
match($0, /^[ \t]+([0-9]+)[ \t]{1,5}([^ \t]+)(.*)/, f) {
|
||||
if ( ! header_printed) {
|
||||
printf format, "# protocol", "num", "aliases", "comments"
|
||||
header_printed = 1;
|
||||
}
|
||||
sub(/^[ \t]*/, "", f[3])
|
||||
printf format, tolower(f[2]), f[1], f[2], f[3]
|
||||
next
|
||||
}
|
||||
!strip { print "# " $0 }
|
19306
iana-etc-2.20/services
Normal file
19306
iana-etc-2.20/services
Normal file
File diff suppressed because it is too large
Load Diff
56
iana-etc-2.20/services.gawk
Normal file
56
iana-etc-2.20/services.gawk
Normal file
@ -0,0 +1,56 @@
|
||||
#!/usr/bin/gawk -f
|
||||
|
||||
# Copyright (c) 2003-2004, 2006 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
BEGIN {
|
||||
if (strip == "yes") {
|
||||
strip = 1
|
||||
} else {
|
||||
strip = 0
|
||||
print "# See also: services(5)" \
|
||||
", http://www.sethwklein.net/projects/iana-etc/\n#"
|
||||
}
|
||||
while (getline <"port-aliases") {
|
||||
sub(/#.*/, "")
|
||||
if (/^[ \t]*$/) { continue }
|
||||
alias_list[$1] = substr($0, index($0, $2))
|
||||
}
|
||||
}
|
||||
function aliases(n) {
|
||||
return ((n in alias_list) ? " " alias_list[n] : "")
|
||||
}
|
||||
{ sub(/\r/, "") }
|
||||
match($0, /(^[[:alnum:]][^ \t]+)([ \t]+)([0-9]+(-[0-9]+)?)(\/[^ \t]+)?(.*)/, f) {
|
||||
name = f[1]
|
||||
whitespace = f[2]
|
||||
port = f[3]
|
||||
protocols[0] = f[5]
|
||||
comment = f[6]
|
||||
if (length(comment) > 0) {
|
||||
sub(/^[ \t]*/, "&# ", comment) }
|
||||
if (strip) {
|
||||
whitespace = "\t"
|
||||
comment = ""
|
||||
}
|
||||
start = end = port + 0
|
||||
if (match(port, /^([0-9]+)-([0-9]+)$/, n)) {
|
||||
start = n[1]
|
||||
end = n[2]
|
||||
}
|
||||
if (length(protocols[0]) == 0) {
|
||||
protocols[0] = "/tcp"
|
||||
protocols[1] = "/udp"
|
||||
}
|
||||
for (i = start; i <= end; i++) {
|
||||
for (p in protocols) {
|
||||
print name whitespace i protocols[p] aliases(name) comment
|
||||
}
|
||||
}
|
||||
next
|
||||
}
|
||||
# add comment marker, prettily
|
||||
!/^#/ && (sub(/^ /, "#") || sub(/^/, "# ")) {}
|
||||
!strip { print }
|
33
iana-etc-2.20/test-lib.gawk
Normal file
33
iana-etc-2.20/test-lib.gawk
Normal file
@ -0,0 +1,33 @@
|
||||
#!/usr/bin/gawk -f
|
||||
|
||||
# Copyright (c) 2006 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
# This file is used by the test-*.gawk files
|
||||
|
||||
function normalize() {
|
||||
line = $0
|
||||
sub(/#.*/, "", line)
|
||||
sub(/[ \t]*$/, "", line)
|
||||
if (line ~ /^$/) {
|
||||
next }
|
||||
gsub(/[ \t]+/, " ", line)
|
||||
return line
|
||||
}
|
||||
function good() {
|
||||
next
|
||||
}
|
||||
function bad() {
|
||||
were_errors = 1
|
||||
print
|
||||
next
|
||||
}
|
||||
END {
|
||||
if (were_errors) {
|
||||
print "*** Error: above lines are invalid"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
11
iana-etc-2.20/test-protocols.gawk
Executable file
11
iana-etc-2.20/test-protocols.gawk
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/gawk -f test-lib.gawk -f
|
||||
# the above doesn't work (stupid kernel) but serves as documentation
|
||||
|
||||
# Copyright (c) 2006 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
normalize() ~ /^[a-zA-Z0-9_+/.-]+ [0-9]+( [a-zA-Z0-9_+/.-]+)*$/ \
|
||||
{ good() }
|
||||
{ bad() }
|
12
iana-etc-2.20/test-services.gawk
Executable file
12
iana-etc-2.20/test-services.gawk
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/gawk --re-interval -f test-lib.gawk -f
|
||||
# the above doesn't work (stupid kernel) but serves as documentation
|
||||
|
||||
# Copyright (c) 2006 Seth W. Klein <sk@sethwklein.net>
|
||||
# Licensed under the Open Software License version 3.0
|
||||
# See the file COPYING in the distribution tarball or
|
||||
# http://www.opensource.org/licenses/osl-3.0.txt
|
||||
|
||||
length > 1024-1 { bad() }
|
||||
normalize() ~ /^[a-zA-Z0-9][a-zA-Z0-9_+*/.-]* [0-9]+\/[a-z]+( [a-zA-Z0-9][a-zA-Z0-9_+*/.-]*){0,35}$/ \
|
||||
{ good() }
|
||||
{ bad() }
|
7
profile.d/aliases.sh
Normal file
7
profile.d/aliases.sh
Normal file
@ -0,0 +1,7 @@
|
||||
# common aliases
|
||||
# see also /etc/profile.d/colors.sh for ls aliases
|
||||
|
||||
alias du="du -h"
|
||||
alias df="df -h"
|
||||
alias mv="mv -i"
|
||||
alias rm="rm -i"
|
30
profile.d/colorls.csh
Normal file
30
profile.d/colorls.csh
Normal file
@ -0,0 +1,30 @@
|
||||
# color-ls initialization
|
||||
|
||||
alias ll 'ls -l'
|
||||
alias l. 'ls -d .*'
|
||||
|
||||
set COLORS=/etc/dircolors
|
||||
|
||||
if ($?TERM) then
|
||||
if ( -e "/etc/dircolors.$TERM" ) set COLORS="/etc/dircolors.$TERM"
|
||||
endif
|
||||
if ( -f ~/.dircolors ) set COLORS=~/.dircolors
|
||||
if ($?TERM) then
|
||||
if ( -f ~/.dircolors."$TERM" ) set COLORS=~/.dircolors."$TERM"
|
||||
endif
|
||||
|
||||
if ( ! -e "$COLORS" ) exit
|
||||
|
||||
eval `dircolors -c $COLORS`
|
||||
|
||||
if ( "$LS_COLORS" == '' ) then
|
||||
exit
|
||||
endif
|
||||
|
||||
set color_none=`sed -n '/^COLOR.*none/Ip' < $COLORS`
|
||||
if ( "$color_none" == '' ) then
|
||||
alias ll 'ls -l --color=tty'
|
||||
alias l. 'ls -d .* --color=tty'
|
||||
alias ls 'ls --color=tty'
|
||||
endif
|
||||
unset color_none
|
21
profile.d/colorls.sh
Normal file
21
profile.d/colorls.sh
Normal file
@ -0,0 +1,21 @@
|
||||
# color-ls initialization
|
||||
|
||||
alias ll='ls -l' 2>/dev/null
|
||||
alias l.='ls -d .*' 2>/dev/null
|
||||
|
||||
COLORS=/etc/dircolors
|
||||
|
||||
[ -e "/etc/dircolors.$TERM" ] && COLORS="/etc/dircolors.$TERM"
|
||||
[ -e "$HOME/.dircolors" ] && COLORS="$HOME/.dircolors"
|
||||
[ -e "$HOME/.dircolors.$TERM" ] && COLORS="$HOME/.dircolors.$TERM"
|
||||
|
||||
[ -e "$COLORS" ] || return
|
||||
|
||||
eval `dircolors --sh "$COLORS"`
|
||||
[ -z "$LS_COLORS" ] && return
|
||||
|
||||
if ! egrep -qi "^COLOR.*none" $COLORS &>/dev/null; then
|
||||
alias ls='ls --color=tty' 2>/dev/null
|
||||
alias ll='ls -l --color=tty' 2>/dev/null
|
||||
alias l.='ls -d .* --color=tty' 2>/dev/null
|
||||
fi
|
3
profile.d/env.sh
Normal file
3
profile.d/env.sh
Normal file
@ -0,0 +1,3 @@
|
||||
[ -x /usr/lib/jvm/jre/bin/java ] && JAVA_HOME=/usr/lib/jvm/jre
|
||||
[ -x /usr/lib/jvm/jdk/bin/javac ] && JAVA_HOME=/usr/lib/jvm/jdk
|
||||
[ "$JAVA_HOME" ] && export JAVA_HOME
|
11
profile.d/xhost.csh
Normal file
11
profile.d/xhost.csh
Normal file
@ -0,0 +1,11 @@
|
||||
# Export Xauthority for users not for root.
|
||||
|
||||
if ($?DISPLAY) then
|
||||
if (! $?SSH_TTY) then
|
||||
if ( `id -u` >= 14 ) then
|
||||
if (! $?XAUTHORITY) then
|
||||
setenv XAUTHORITY $HOME/.Xauthority
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
9
profile.d/xhost.sh
Normal file
9
profile.d/xhost.sh
Normal file
@ -0,0 +1,9 @@
|
||||
# Export Xauthority for users not for root.
|
||||
|
||||
if [ ! -z "$DISPLAY" -a -z "$SSH_TTY" ];then
|
||||
if [ "`id -u`" -gt 14 ];then
|
||||
if [ -z $XAUTHORITY ];then
|
||||
export XAUTHORITY=$HOME/.Xauthority
|
||||
fi
|
||||
fi
|
||||
fi
|
Loading…
Reference in New Issue
Block a user