puppet 0.24.4 → 0.24.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (316) hide show
  1. data/CHANGELOG +170 -0
  2. data/Rakefile +6 -4
  3. data/bin/filebucket +3 -2
  4. data/bin/puppet +7 -4
  5. data/bin/puppetca +32 -14
  6. data/bin/puppetd +12 -34
  7. data/bin/puppetmasterd +3 -2
  8. data/bin/puppetrun +5 -43
  9. data/bin/ralsh +2 -2
  10. data/conf/debian/README.source +2 -0
  11. data/conf/debian/TODO.Debian +1 -0
  12. data/conf/debian/changelog +257 -0
  13. data/conf/debian/compat +1 -0
  14. data/conf/debian/control +45 -0
  15. data/conf/debian/copyright +17 -0
  16. data/conf/debian/docs +1 -0
  17. data/conf/debian/fileserver.conf +12 -0
  18. data/conf/debian/puppet.NEWS +63 -0
  19. data/conf/debian/puppet.conf +8 -0
  20. data/conf/debian/puppet.dirs +7 -0
  21. data/conf/debian/puppet.files +6 -0
  22. data/conf/debian/puppet.init +64 -0
  23. data/conf/debian/puppet.logrotate +11 -0
  24. data/conf/debian/puppet.postinst +9 -0
  25. data/conf/debian/puppet.postrm +21 -0
  26. data/conf/debian/puppet.preinst +25 -0
  27. data/conf/debian/puppetmaster.files +4 -0
  28. data/conf/debian/puppetmaster.init +58 -0
  29. data/conf/debian/rules +115 -0
  30. data/conf/debian/watch +2 -0
  31. data/conf/gentoo/init.d/puppet +1 -1
  32. data/conf/gentoo/init.d/puppetmaster +32 -31
  33. data/conf/redhat/client.init +10 -2
  34. data/conf/redhat/puppet.spec +4 -1
  35. data/conf/redhat/server.init +9 -1
  36. data/examples/{code/allatonce → allatonce} +0 -0
  37. data/examples/{code/assignments → assignments} +0 -0
  38. data/examples/{code/components → components} +0 -0
  39. data/examples/{root/etc → etc}/init.d/sleeper +0 -0
  40. data/examples/{root/etc → etc}/otherfile +0 -0
  41. data/examples/{root/etc → etc}/puppet/fileserver.conf +0 -0
  42. data/examples/{root/etc → etc}/puppet/namespaceauth.conf +0 -0
  43. data/examples/{root/etc → etc}/puppet/puppet.conf +0 -0
  44. data/examples/{root/etc → etc}/puppet/tagmail.conf +0 -0
  45. data/examples/{code/execs → execs} +0 -0
  46. data/examples/{code/file.bl → file.bl} +0 -0
  47. data/examples/{code/filedefaults → filedefaults} +0 -0
  48. data/examples/{code/fileparsing → fileparsing} +0 -0
  49. data/examples/{code/filerecursion → filerecursion} +0 -0
  50. data/examples/{code/functions → functions} +0 -0
  51. data/examples/{code/groups → groups} +0 -0
  52. data/examples/{code/head → head} +0 -0
  53. data/examples/{code/importing → importing} +0 -0
  54. data/examples/{code/mac_automount.pp → mac_automount.pp} +0 -0
  55. data/examples/{code/mac_dscl.pp → mac_dscl.pp} +0 -0
  56. data/examples/{code/mac_dscl_revert.pp → mac_dscl_revert.pp} +0 -0
  57. data/examples/{code/mac_netinfo.pp → mac_netinfo.pp} +0 -0
  58. data/examples/{code/mac_pkgdmg.pp → mac_pkgdmg.pp} +0 -0
  59. data/examples/{code/modules → modules}/sample-module.pp +0 -0
  60. data/examples/{code/modules → modules}/sample-module/README.txt +0 -0
  61. data/examples/{code/modules → modules}/sample-module/lib/puppet/parser/functions/hostname_to_dn.rb +0 -0
  62. data/examples/{code/modules → modules}/sample-module/manifests/init.pp +0 -0
  63. data/examples/{code/modules → modules}/sample-module/templates/sample.erb +0 -0
  64. data/examples/{code/nodes → nodes} +0 -0
  65. data/examples/{code/one → one} +0 -0
  66. data/examples/{code/relationships → relationships} +0 -0
  67. data/examples/{code/selectors → selectors} +0 -0
  68. data/examples/{code/simpletests → simpletests} +0 -0
  69. data/examples/{code/svncommit → svncommit} +0 -0
  70. data/ext/autotest/Rakefile +8 -0
  71. data/ext/autotest/config +43 -0
  72. data/ext/autotest/readme.rst +16 -0
  73. data/{examples/root → ext}/bin/sleeper +1 -1
  74. data/ext/emacs/puppet-mode.el +246 -184
  75. data/ext/ldap/puppet.schema +7 -2
  76. data/ext/module_puppet +4 -3
  77. data/ext/nagios/check_puppet.rb +117 -0
  78. data/ext/puppetlast +40 -0
  79. data/install.rb +12 -3
  80. data/lib/puppet.rb +1 -44
  81. data/lib/puppet/defaults.rb +23 -10
  82. data/lib/puppet/dsl.rb +2 -2
  83. data/lib/puppet/executables/client/certhandler.rb +77 -0
  84. data/lib/puppet/external/nagios.rb +1 -1
  85. data/lib/puppet/external/nagios/base.rb +60 -46
  86. data/lib/puppet/file_serving/indirection_hooks.rb +4 -2
  87. data/lib/puppet/file_serving/metadata.rb +0 -9
  88. data/lib/puppet/file_serving/terminus_helper.rb +4 -4
  89. data/lib/puppet/indirector.rb +26 -28
  90. data/lib/puppet/indirector/catalog/compiler.rb +6 -28
  91. data/lib/puppet/indirector/checksum/file.rb +2 -2
  92. data/lib/puppet/indirector/direct_file_server.rb +7 -7
  93. data/lib/puppet/indirector/envelope.rb +13 -0
  94. data/lib/puppet/indirector/exec.rb +2 -2
  95. data/lib/puppet/indirector/facts/facter.rb +2 -2
  96. data/lib/puppet/indirector/file.rb +17 -14
  97. data/lib/puppet/indirector/file_metadata/file.rb +2 -2
  98. data/lib/puppet/indirector/file_server.rb +14 -14
  99. data/lib/puppet/indirector/indirection.rb +113 -48
  100. data/lib/puppet/indirector/ldap.rb +13 -25
  101. data/lib/puppet/indirector/memory.rb +7 -7
  102. data/lib/puppet/indirector/module_files.rb +14 -14
  103. data/lib/puppet/indirector/node/exec.rb +3 -10
  104. data/lib/puppet/indirector/node/ldap.rb +138 -41
  105. data/lib/puppet/indirector/node/plain.rb +1 -8
  106. data/lib/puppet/indirector/node/rest.rb +1 -1
  107. data/lib/puppet/indirector/plain.rb +2 -2
  108. data/lib/puppet/indirector/report/processor.rb +2 -2
  109. data/lib/puppet/indirector/request.rb +42 -0
  110. data/lib/puppet/indirector/rest.rb +51 -3
  111. data/lib/puppet/indirector/terminus.rb +0 -27
  112. data/lib/puppet/indirector/yaml.rb +12 -17
  113. data/lib/puppet/metatype/attributes.rb +3 -7
  114. data/lib/puppet/metatype/evaluation.rb +2 -2
  115. data/lib/puppet/module.rb +6 -2
  116. data/lib/puppet/network/client/master.rb +29 -81
  117. data/lib/puppet/network/handler/master.rb +12 -43
  118. data/lib/puppet/network/http.rb +8 -6
  119. data/lib/puppet/network/http/handler.rb +42 -32
  120. data/lib/puppet/network/http/mongrel.rb +8 -9
  121. data/lib/puppet/network/http/mongrel/rest.rb +42 -15
  122. data/lib/puppet/network/http/webrick.rb +27 -16
  123. data/lib/puppet/network/http/webrick/rest.rb +38 -14
  124. data/lib/puppet/network/http_pool.rb +3 -2
  125. data/lib/puppet/network/server.rb +24 -22
  126. data/lib/puppet/network/xmlrpc/client.rb +6 -1
  127. data/lib/puppet/node.rb +38 -79
  128. data/lib/puppet/node/catalog.rb +9 -0
  129. data/lib/puppet/node/facts.rb +9 -1
  130. data/lib/puppet/parser/ast/function.rb +1 -1
  131. data/lib/puppet/parser/collector.rb +6 -0
  132. data/lib/puppet/parser/compiler.rb +1 -1
  133. data/lib/puppet/parser/functions.rb +25 -1
  134. data/lib/puppet/parser/interpreter.rb +2 -17
  135. data/lib/puppet/parser/parser.rb +4 -4
  136. data/lib/puppet/parser/parser_support.rb +6 -2
  137. data/lib/puppet/parser/resource.rb +6 -0
  138. data/lib/puppet/parser/templatewrapper.rb +9 -0
  139. data/lib/puppet/pgraph.rb +1 -1
  140. data/lib/puppet/property.rb +0 -1
  141. data/lib/puppet/provider.rb +9 -95
  142. data/lib/puppet/provider/confine.rb +77 -0
  143. data/lib/puppet/provider/confine/exists.rb +22 -0
  144. data/lib/puppet/provider/confine/false.rb +19 -0
  145. data/lib/puppet/provider/confine/feature.rb +17 -0
  146. data/lib/puppet/provider/confine/true.rb +20 -0
  147. data/lib/puppet/provider/confine/variable.rb +42 -0
  148. data/lib/puppet/provider/confine_collection.rb +47 -0
  149. data/lib/puppet/provider/confiner.rb +20 -0
  150. data/lib/puppet/provider/cron/crontab.rb +6 -2
  151. data/lib/puppet/provider/group/groupadd.rb +1 -1
  152. data/lib/puppet/provider/group/ldap.rb +48 -0
  153. data/lib/puppet/provider/ldap.rb +137 -0
  154. data/lib/puppet/provider/nameservice.rb +1 -2
  155. data/lib/puppet/provider/nameservice/objectadd.rb +2 -5
  156. data/lib/puppet/provider/package/dpkg.rb +16 -1
  157. data/lib/puppet/provider/package/freebsd.rb +15 -4
  158. data/lib/puppet/provider/package/gem.rb +33 -12
  159. data/lib/puppet/provider/package/pkgdmg.rb +1 -60
  160. data/lib/puppet/provider/package/ports.rb +6 -1
  161. data/lib/puppet/provider/package/rpm.rb +14 -13
  162. data/lib/puppet/provider/package/urpmi.rb +3 -3
  163. data/lib/puppet/provider/service/base.rb +4 -4
  164. data/lib/puppet/provider/service/debian.rb +1 -1
  165. data/lib/puppet/provider/service/init.rb +5 -3
  166. data/lib/puppet/provider/service/redhat.rb +35 -7
  167. data/lib/puppet/provider/ssh_authorized_key/parsed.rb +69 -0
  168. data/lib/puppet/provider/user/ldap.rb +133 -0
  169. data/lib/puppet/provider/user/useradd.rb +1 -1
  170. data/lib/puppet/rails/database/001_add_created_at_to_all_tables.rb +14 -14
  171. data/lib/puppet/rails/database/schema.rb +9 -0
  172. data/lib/puppet/rails/resource.rb +1 -0
  173. data/lib/puppet/reference/providers.rb +8 -2
  174. data/lib/puppet/reference/report.rb +23 -0
  175. data/lib/puppet/reports/rrdgraph.rb +4 -2
  176. data/lib/puppet/sslcertificates/ca.rb +9 -4
  177. data/lib/puppet/sslcertificates/support.rb +26 -2
  178. data/lib/puppet/transaction.rb +11 -16
  179. data/lib/puppet/transaction/change.rb +94 -0
  180. data/lib/puppet/transaction/event.rb +21 -0
  181. data/lib/puppet/transaction/report.rb +4 -0
  182. data/lib/puppet/type.rb +0 -2
  183. data/lib/puppet/type/file/ensure.rb +0 -5
  184. data/lib/puppet/type/file/group.rb +13 -7
  185. data/lib/puppet/type/file/source.rb +8 -15
  186. data/lib/puppet/type/file/target.rb +2 -0
  187. data/lib/puppet/type/group.rb +1 -1
  188. data/lib/puppet/type/mount.rb +4 -2
  189. data/lib/puppet/type/nagios_hostescalation.rb +3 -0
  190. data/lib/puppet/type/nagios_servicegroup.rb +3 -0
  191. data/lib/puppet/type/ssh_authorized_key.rb +56 -0
  192. data/lib/puppet/type/user.rb +3 -0
  193. data/lib/puppet/type/yumrepo.rb +0 -1
  194. data/lib/puppet/util.rb +1 -1
  195. data/lib/puppet/util/ldap.rb +5 -0
  196. data/lib/puppet/util/ldap/connection.rb +69 -0
  197. data/lib/puppet/util/ldap/generator.rb +45 -0
  198. data/lib/puppet/util/ldap/manager.rb +281 -0
  199. data/lib/puppet/util/posix.rb +2 -2
  200. data/lib/puppet/util/resource_template.rb +61 -0
  201. data/lib/puppet/util/settings.rb +63 -3
  202. data/lib/puppet/util/storage.rb +4 -0
  203. data/lib/puppet/util/warnings.rb +7 -0
  204. data/man/man8/filebucket.8 +116 -0
  205. data/man/man8/pi.8 +34 -0
  206. data/man/man8/puppet.8 +78 -0
  207. data/man/man8/puppet.conf.8 +1747 -0
  208. data/man/man8/puppetca.8 +118 -0
  209. data/man/man8/puppetd.8 +184 -0
  210. data/man/man8/puppetdoc.8 +62 -0
  211. data/man/man8/puppetmasterd.8 +87 -0
  212. data/man/man8/puppetrun.8 +151 -0
  213. data/man/man8/ralsh.8 +135 -0
  214. data/test/README +24 -0
  215. data/test/certmgr/support.rb +28 -1
  216. data/test/data/failers/badclassnoparam +10 -0
  217. data/test/data/failers/badclassparam +10 -0
  218. data/test/data/failers/badcompnoparam +9 -0
  219. data/test/data/failers/badcompparam +9 -0
  220. data/test/data/failers/badtypeparam +3 -0
  221. data/test/data/failers/noobjectrvalue +1 -0
  222. data/test/data/providers/cron/crontab.allthree +17 -0
  223. data/test/data/providers/cron/crontab.envNcomment +12 -0
  224. data/test/data/providers/cron/crontab.envNname +11 -0
  225. data/test/data/providers/cron/crontab.multirecords +12 -0
  226. data/test/data/providers/cron/crontab_collections.yaml +44 -0
  227. data/test/data/providers/cron/crontab_multiple_with_env.yaml +54 -0
  228. data/test/data/providers/cron/crontab_sample_records.yaml +272 -0
  229. data/test/data/providers/cron/examples/freebsd +2 -0
  230. data/test/data/providers/cron/examples/one +14 -0
  231. data/test/data/providers/cron/examples/openbsd +20 -0
  232. data/test/data/providers/package/testpackages.yaml +65 -0
  233. data/test/data/providers/ssh_authorized_key/parsed/authorized_keys +5 -0
  234. data/test/data/reports/1.yaml +108 -0
  235. data/test/data/reports/2.yaml +108 -0
  236. data/test/data/reports/tagmail_failers.conf +3 -0
  237. data/test/data/reports/tagmail_passers.conf +30 -0
  238. data/test/data/snippets/aliastest.pp +16 -0
  239. data/test/data/snippets/argumentdefaults +14 -0
  240. data/test/data/snippets/casestatement.pp +58 -0
  241. data/test/data/snippets/classheirarchy.pp +15 -0
  242. data/test/data/snippets/classincludes.pp +17 -0
  243. data/test/data/snippets/classpathtest +11 -0
  244. data/test/data/snippets/collection.pp +10 -0
  245. data/test/data/snippets/collection_within_virtual_definitions.pp +20 -0
  246. data/test/data/snippets/componentmetaparams.pp +11 -0
  247. data/test/data/snippets/componentrequire.pp +8 -0
  248. data/test/data/snippets/deepclassheirarchy.pp +23 -0
  249. data/test/data/snippets/defineoverrides.pp +17 -0
  250. data/test/data/snippets/emptyclass.pp +9 -0
  251. data/test/data/snippets/emptyexec.pp +3 -0
  252. data/test/data/snippets/falsevalues.pp +3 -0
  253. data/test/data/snippets/filecreate +11 -0
  254. data/test/data/snippets/fqdefinition.pp +5 -0
  255. data/test/data/snippets/fqparents.pp +11 -0
  256. data/test/data/snippets/implicititeration +15 -0
  257. data/test/data/snippets/multipleinstances +7 -0
  258. data/test/data/snippets/multisubs.pp +13 -0
  259. data/test/data/snippets/namevartest +9 -0
  260. data/test/data/snippets/scopetest +13 -0
  261. data/test/data/snippets/selectorvalues.pp +42 -0
  262. data/test/data/snippets/simpledefaults +5 -0
  263. data/test/data/snippets/simpleselector +38 -0
  264. data/test/data/snippets/singleary.pp +19 -0
  265. data/test/data/snippets/singlequote.pp +11 -0
  266. data/test/data/snippets/singleselector.pp +22 -0
  267. data/test/data/snippets/subclass_name_duplication.pp +11 -0
  268. data/test/data/snippets/tag.pp +9 -0
  269. data/test/data/snippets/tagged.pp +35 -0
  270. data/test/data/snippets/virtualresources.pp +14 -0
  271. data/test/data/types/hosts/1 +3 -0
  272. data/test/data/types/hosts/2 +13 -0
  273. data/test/data/types/hosts/solaris +5 -0
  274. data/test/data/types/mailalias/file1 +183 -0
  275. data/test/data/types/mount/freebsd.fstab +7 -0
  276. data/test/data/types/mount/linux.fstab +11 -0
  277. data/test/data/types/mount/solaris.fstab +11 -0
  278. data/test/data/types/port/1 +533 -0
  279. data/test/data/types/port/darwin +11866 -0
  280. data/test/data/types/ssh_authorized_key/1 +2 -0
  281. data/test/data/types/sshkey/1 +21 -0
  282. data/test/data/types/yumrepos/fedora-devel.repo +26 -0
  283. data/test/data/types/yumrepos/fedora.repo +9 -0
  284. data/test/language/parser.rb +8 -1
  285. data/test/lib/puppettest/runnable_test.rb +3 -0
  286. data/test/lib/puppettest/support/utils.rb +1 -1
  287. data/test/lib/rake/puppet_testtask.rb +3 -0
  288. data/test/lib/stubba.rb +1 -1
  289. data/test/network/client/ca.rb +1 -0
  290. data/test/network/client/master.rb +13 -127
  291. data/test/network/handler/master.rb +61 -80
  292. data/test/other/provider.rb +0 -45
  293. data/test/other/transactions.rb +53 -15
  294. data/test/rails/host.rb +0 -37
  295. data/test/ral/providers/cron/crontab.rb +32 -3
  296. data/test/ral/providers/provider.rb +28 -7
  297. data/test/ral/type/filesources.rb +2 -18
  298. data/test/ral/type/sshkey.rb +0 -1
  299. data/test/ral/type/user.rb +6 -0
  300. data/test/test +241 -0
  301. metadata +289 -113
  302. data/examples/root/etc/configfile +0 -0
  303. data/examples/root/etc/debian-passwd +0 -29
  304. data/examples/root/etc/debian-syslog.conf +0 -71
  305. data/lib/puppet/event.rb +0 -28
  306. data/lib/puppet/network/handler/configuration.rb +0 -184
  307. data/lib/puppet/network/http/mongrel/xmlrpc.rb +0 -4
  308. data/lib/puppet/network/http/webrick/xmlrpc.rb +0 -4
  309. data/lib/puppet/propertychange.rb +0 -141
  310. data/lib/puppet/provider/interface/redhat.rb +0 -250
  311. data/lib/puppet/provider/interface/sunos.rb +0 -133
  312. data/lib/puppet/type/interface.rb +0 -60
  313. data/lib/puppet/util/variables.rb +0 -38
  314. data/test/network/handler/configuration.rb +0 -160
  315. data/test/other/propertychange.rb +0 -140
  316. data/test/util/loadedfile.rb +0 -121
@@ -0,0 +1,7 @@
1
+ # Device Mountpoint FStype Options Dump Pass#
2
+ /dev/ad0s1b none swap sw 0 0
3
+ /dev/ad0s1a / ufs rw 1 1
4
+ /dev/ad0s1e /tmp ufs rw 2 2
5
+ /dev/ad0s1f /usr ufs rw 2 2
6
+ /dev/ad0s1d /var ufs rw 2 2
7
+ /dev/acd0 /cdrom cd9660 ro,noauto 0 0
@@ -0,0 +1,11 @@
1
+ # A sample fstab, typical for a Fedora system
2
+ /dev/vg00/lv00 / ext3 defaults 1 1
3
+ LABEL=/boot /boot ext3 defaults 1 2
4
+ devpts /dev/pts devpts gid=5,mode=620 0
5
+ tmpfs /dev/shm tmpfs defaults 0
6
+ LABEL=/home /home ext3 defaults 1 2
7
+ /home /homes auto bind 0 2
8
+ proc /proc proc defaults 0 0
9
+ /dev/vg00/lv01 /spare ext3 defaults 1 2
10
+ sysfs /sys sysfs defaults 0 0
11
+ LABEL=SWAP-hda6 swap swap defaults 0 0
@@ -0,0 +1,11 @@
1
+ #device device mount FS fsck mount mount
2
+ #to mount to fsck point type pass at boot options
3
+ #
4
+ fd - /dev/fd fd - no -
5
+ /proc - /proc proc - no -
6
+ /dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 / ufs 1 no -
7
+ /dev/dsk/c0d0p0:boot - /boot pcfs - no -
8
+ /devices - /devices devfs - no -
9
+ ctfs - /system/contract ctfs - no -
10
+ objfs - /system/object objfs - no -
11
+ #swap - /tmp tmpfs - yes -
@@ -0,0 +1,533 @@
1
+ # Network services, Internet style
2
+ #
3
+ # Note that it is presently the policy of IANA to assign a single well-known
4
+ # port number for both TCP and UDP; hence, officially ports have two entries
5
+ # even if the protocol doesn't support UDP operations.
6
+ #
7
+ # Updated from http://www.iana.org/assignments/port-numbers and other
8
+ # sources like http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/services .
9
+ # New ports will be added on request if they have been officially assigned
10
+ # by IANA and used in the real-world or are needed by a debian package.
11
+ # If you need a huge list of used numbers please install the nmap package.
12
+
13
+ tcpmux 1/tcp # TCP port service multiplexer
14
+ echo 7/tcp
15
+ echo 7/udp
16
+ discard 9/tcp sink null
17
+ discard 9/udp sink null
18
+ systat 11/tcp users
19
+ daytime 13/tcp
20
+ daytime 13/udp
21
+ netstat 15/tcp
22
+ qotd 17/tcp quote
23
+ msp 18/tcp # message send protocol
24
+ msp 18/udp
25
+ chargen 19/tcp ttytst source
26
+ chargen 19/udp ttytst source
27
+ ftp-data 20/tcp
28
+ ftp 21/tcp
29
+ fsp 21/udp fspd
30
+ ssh 22/tcp # SSH Remote Login Protocol
31
+ ssh 22/udp
32
+ telnet 23/tcp
33
+ smtp 25/tcp mail
34
+ time 37/tcp timserver
35
+ time 37/udp timserver
36
+ rlp 39/udp resource # resource location
37
+ nameserver 42/tcp name # IEN 116
38
+ whois 43/tcp nicname
39
+ tacacs 49/tcp # Login Host Protocol (TACACS)
40
+ tacacs 49/udp
41
+ re-mail-ck 50/tcp # Remote Mail Checking Protocol
42
+ re-mail-ck 50/udp
43
+ domain 53/tcp nameserver # name-domain server
44
+ domain 53/udp nameserver
45
+ mtp 57/tcp # deprecated
46
+ tacacs-ds 65/tcp # TACACS-Database Service
47
+ tacacs-ds 65/udp
48
+ bootps 67/tcp # BOOTP server
49
+ bootps 67/udp
50
+ bootpc 68/tcp # BOOTP client
51
+ bootpc 68/udp
52
+ tftp 69/udp
53
+ gopher 70/tcp # Internet Gopher
54
+ gopher 70/udp
55
+ rje 77/tcp netrjs
56
+ finger 79/tcp
57
+ www 80/tcp http # WorldWideWeb HTTP
58
+ www 80/udp # HyperText Transfer Protocol
59
+ link 87/tcp ttylink
60
+ kerberos 88/tcp kerberos5 krb5 kerberos-sec # Kerberos v5
61
+ kerberos 88/udp kerberos5 krb5 kerberos-sec # Kerberos v5
62
+ supdup 95/tcp
63
+ hostnames 101/tcp hostname # usually from sri-nic
64
+ iso-tsap 102/tcp tsap # part of ISODE
65
+ acr-nema 104/tcp dicom # Digital Imag. & Comm. 300
66
+ acr-nema 104/udp dicom # Digital Imag. & Comm. 300
67
+ csnet-ns 105/tcp cso-ns # also used by CSO name server
68
+ csnet-ns 105/udp cso-ns
69
+ rtelnet 107/tcp # Remote Telnet
70
+ rtelnet 107/udp
71
+ pop2 109/tcp postoffice pop-2 # POP version 2
72
+ pop2 109/udp pop-2
73
+ pop3 110/tcp pop-3 # POP version 3
74
+ pop3 110/udp pop-3
75
+ sunrpc 111/tcp portmapper # RPC 4.0 portmapper
76
+ sunrpc 111/udp portmapper
77
+ auth 113/tcp authentication tap ident
78
+ sftp 115/tcp
79
+ uucp-path 117/tcp
80
+ nntp 119/tcp readnews untp # USENET News Transfer Protocol
81
+ ntp 123/tcp
82
+ ntp 123/udp # Network Time Protocol
83
+ pwdgen 129/tcp # PWDGEN service
84
+ pwdgen 129/udp # PWDGEN service
85
+ loc-srv 135/tcp epmap # Location Service
86
+ loc-srv 135/udp epmap
87
+ netbios-ns 137/tcp # NETBIOS Name Service
88
+ netbios-ns 137/udp
89
+ netbios-dgm 138/tcp # NETBIOS Datagram Service
90
+ netbios-dgm 138/udp
91
+ netbios-ssn 139/tcp # NETBIOS session service
92
+ netbios-ssn 139/udp
93
+ imap2 143/tcp imap # Interim Mail Access P 2 and 4
94
+ imap2 143/udp imap
95
+ snmp 161/tcp # Simple Net Mgmt Protocol
96
+ snmp 161/udp # Simple Net Mgmt Protocol
97
+ snmp-trap 162/tcp snmptrap # Traps for SNMP
98
+ snmp-trap 162/udp snmptrap # Traps for SNMP
99
+ cmip-man 163/tcp # ISO mgmt over IP (CMOT)
100
+ cmip-man 163/udp
101
+ cmip-agent 164/tcp
102
+ cmip-agent 164/udp
103
+ mailq 174/tcp # Mailer transport queue for Zmailer
104
+ mailq 174/udp # Mailer transport queue for Zmailer
105
+ xdmcp 177/tcp # X Display Mgr. Control Proto
106
+ xdmcp 177/udp
107
+ nextstep 178/tcp NeXTStep NextStep # NeXTStep window
108
+ nextstep 178/udp NeXTStep NextStep # server
109
+ bgp 179/tcp # Border Gateway Protocol
110
+ bgp 179/udp
111
+ prospero 191/tcp # Cliff Neuman's Prospero
112
+ prospero 191/udp
113
+ irc 194/tcp # Internet Relay Chat
114
+ irc 194/udp
115
+ smux 199/tcp # SNMP Unix Multiplexer
116
+ smux 199/udp
117
+ at-rtmp 201/tcp # AppleTalk routing
118
+ at-rtmp 201/udp
119
+ at-nbp 202/tcp # AppleTalk name binding
120
+ at-nbp 202/udp
121
+ at-echo 204/tcp # AppleTalk echo
122
+ at-echo 204/udp
123
+ at-zis 206/tcp # AppleTalk zone information
124
+ at-zis 206/udp
125
+ qmtp 209/tcp # Quick Mail Transfer Protocol
126
+ qmtp 209/udp # Quick Mail Transfer Protocol
127
+ z3950 210/tcp wais # NISO Z39.50 database
128
+ z3950 210/udp wais
129
+ ipx 213/tcp # IPX
130
+ ipx 213/udp
131
+ imap3 220/tcp # Interactive Mail Access
132
+ imap3 220/udp # Protocol v3
133
+ pawserv 345/tcp # Perf Analysis Workbench
134
+ pawserv 345/udp
135
+ zserv 346/tcp # Zebra server
136
+ zserv 346/udp
137
+ fatserv 347/tcp # Fatmen Server
138
+ fatserv 347/udp
139
+ rpc2portmap 369/tcp
140
+ rpc2portmap 369/udp # Coda portmapper
141
+ codaauth2 370/tcp
142
+ codaauth2 370/udp # Coda authentication server
143
+ clearcase 371/tcp Clearcase
144
+ clearcase 371/udp Clearcase
145
+ ulistserv 372/tcp # UNIX Listserv
146
+ ulistserv 372/udp
147
+ ldap 389/tcp # Lightweight Directory Access Protocol
148
+ ldap 389/udp
149
+ imsp 406/tcp # Interactive Mail Support Protocol
150
+ imsp 406/udp
151
+ https 443/tcp # http protocol over TLS/SSL
152
+ https 443/udp
153
+ snpp 444/tcp # Simple Network Paging Protocol
154
+ snpp 444/udp
155
+ microsoft-ds 445/tcp # Microsoft Naked CIFS
156
+ microsoft-ds 445/udp
157
+ saft 487/tcp # Simple Asynchronous File Transfer
158
+ saft 487/udp
159
+ isakmp 500/tcp # IPsec - Internet Security Association
160
+ isakmp 500/udp # and Key Management Protocol
161
+ rtsp 554/tcp # Real Time Stream Control Protocol
162
+ rtsp 554/udp # Real Time Stream Control Protocol
163
+ nqs 607/tcp # Network Queuing system
164
+ nqs 607/udp
165
+ npmp-local 610/tcp dqs313_qmaster # npmp-local / DQS
166
+ npmp-local 610/udp dqs313_qmaster
167
+ npmp-gui 611/tcp dqs313_execd # npmp-gui / DQS
168
+ npmp-gui 611/udp dqs313_execd
169
+ hmmp-ind 612/tcp dqs313_intercell # HMMP Indication / DQS
170
+ hmmp-ind 612/udp dqs313_intercell
171
+ ipp 631/tcp # Internet Printing Protocol
172
+ ipp 631/udp
173
+ #
174
+ # UNIX specific services
175
+ #
176
+ exec 512/tcp
177
+ biff 512/udp comsat
178
+ login 513/tcp
179
+ who 513/udp whod
180
+ shell 514/tcp cmd # no passwords used
181
+ syslog 514/udp
182
+ printer 515/tcp spooler # line printer spooler
183
+ talk 517/udp
184
+ ntalk 518/udp
185
+ route 520/udp router routed # RIP
186
+ timed 525/udp timeserver
187
+ tempo 526/tcp newdate
188
+ courier 530/tcp rpc
189
+ conference 531/tcp chat
190
+ netnews 532/tcp readnews
191
+ netwall 533/udp # for emergency broadcasts
192
+ gdomap 538/tcp # GNUstep distributed objects
193
+ gdomap 538/udp
194
+ uucp 540/tcp uucpd # uucp daemon
195
+ klogin 543/tcp # Kerberized `rlogin' (v5)
196
+ kshell 544/tcp krcmd # Kerberized `rsh' (v5)
197
+ afpovertcp 548/tcp # AFP over TCP
198
+ afpovertcp 548/udp
199
+ remotefs 556/tcp rfs_server rfs # Brunhoff remote filesystem
200
+ nntps 563/tcp snntp # NNTP over SSL
201
+ nntps 563/udp snntp
202
+ submission 587/tcp # Submission [RFC2476]
203
+ submission 587/udp
204
+ ldaps 636/tcp # LDAP over SSL
205
+ ldaps 636/udp
206
+ tinc 655/tcp # tinc control port
207
+ tinc 655/udp
208
+ silc 706/tcp
209
+ silc 706/udp
210
+ kerberos-adm 749/tcp # Kerberos `kadmin' (v5)
211
+ #
212
+ webster 765/tcp # Network dictionary
213
+ webster 765/udp
214
+ rsync 873/tcp
215
+ rsync 873/udp
216
+ ftps-data 989/tcp # FTP over SSL (data)
217
+ ftps 990/tcp
218
+ telnets 992/tcp # Telnet over SSL
219
+ telnets 992/udp
220
+ imaps 993/tcp # IMAP over SSL
221
+ imaps 993/udp
222
+ ircs 994/tcp # IRC over SSL
223
+ ircs 994/udp
224
+ pop3s 995/tcp # POP-3 over SSL
225
+ pop3s 995/udp
226
+ #
227
+ # From ``Assigned Numbers'':
228
+ #
229
+ #> The Registered Ports are not controlled by the IANA and on most systems
230
+ #> can be used by ordinary user processes or programs executed by ordinary
231
+ #> users.
232
+ #
233
+ #> Ports are used in the TCP [45,106] to name the ends of logical
234
+ #> connections which carry long term conversations. For the purpose of
235
+ #> providing services to unknown callers, a service contact port is
236
+ #> defined. This list specifies the port used by the server process as its
237
+ #> contact port. While the IANA can not control uses of these ports it
238
+ #> does register or list uses of these ports as a convienence to the
239
+ #> community.
240
+ #
241
+ socks 1080/tcp # socks proxy server
242
+ socks 1080/udp
243
+ proofd 1093/tcp
244
+ proofd 1093/udp
245
+ rootd 1094/tcp
246
+ rootd 1094/udp
247
+ openvpn 1194/tcp
248
+ openvpn 1194/udp
249
+ rmiregistry 1099/tcp # Java RMI Registry
250
+ rmiregistry 1099/udp
251
+ kazaa 1214/tcp
252
+ kazaa 1214/udp
253
+ nessus 1241/tcp # Nessus vulnerability
254
+ nessus 1241/udp # assessment scanner
255
+ lotusnote 1352/tcp lotusnotes # Lotus Note
256
+ lotusnote 1352/udp lotusnotes
257
+ ms-sql-s 1433/tcp # Microsoft SQL Server
258
+ ms-sql-s 1433/udp
259
+ ms-sql-m 1434/tcp # Microsoft SQL Monitor
260
+ ms-sql-m 1434/udp
261
+ ingreslock 1524/tcp
262
+ ingreslock 1524/udp
263
+ prospero-np 1525/tcp # Prospero non-privileged
264
+ prospero-np 1525/udp
265
+ datametrics 1645/tcp old-radius
266
+ datametrics 1645/udp old-radius
267
+ sa-msg-port 1646/tcp old-radacct
268
+ sa-msg-port 1646/udp old-radacct
269
+ kermit 1649/tcp
270
+ kermit 1649/udp
271
+ l2f 1701/tcp l2tp
272
+ l2f 1701/udp l2tp
273
+ radius 1812/tcp
274
+ radius 1812/udp
275
+ radius-acct 1813/tcp radacct # Radius Accounting
276
+ radius-acct 1813/udp radacct
277
+ unix-status 1957/tcp # remstats unix-status server
278
+ log-server 1958/tcp # remstats log server
279
+ remoteping 1959/tcp # remstats remoteping server
280
+ rtcm-sc104 2101/tcp # RTCM SC-104 IANA 1/29/99
281
+ rtcm-sc104 2101/udp
282
+ cvspserver 2401/tcp # CVS client/server operations
283
+ cvspserver 2401/udp
284
+ venus 2430/tcp # codacon port
285
+ venus 2430/udp # Venus callback/wbc interface
286
+ venus-se 2431/tcp # tcp side effects
287
+ venus-se 2431/udp # udp sftp side effect
288
+ codasrv 2432/tcp # not used
289
+ codasrv 2432/udp # server port
290
+ codasrv-se 2433/tcp # tcp side effects
291
+ codasrv-se 2433/udp # udp sftp side effect
292
+ mon 2583/tcp # MON
293
+ mon 2583/udp
294
+ dict 2628/tcp # Dictionary server
295
+ dict 2628/udp
296
+ gpsd 2947/tcp
297
+ gpsd 2947/udp
298
+ gds_db 3050/tcp # InterBase server
299
+ gds_db 3050/udp
300
+ icpv2 3130/tcp icp # Internet Cache Protocol
301
+ icpv2 3130/udp icp
302
+ mysql 3306/tcp
303
+ mysql 3306/udp
304
+ nut 3493/tcp # Network UPS Tools
305
+ nut 3493/udp
306
+ distcc 3632/tcp # distributed compiler
307
+ distcc 3632/udp
308
+ daap 3689/tcp # Digital Audio Access Protocol
309
+ daap 3689/udp
310
+ svn 3690/tcp subversion # Subversion protocol
311
+ svn 3690/udp subversion
312
+ iax 4569/tcp # Inter-Asterisk eXchange
313
+ iax 4569/udp
314
+ radmin-port 4899/tcp # RAdmin Port
315
+ radmin-port 4899/udp
316
+ rfe 5002/udp # Radio Free Ethernet
317
+ rfe 5002/tcp
318
+ sip 5060/tcp # Session Initiation Protocol
319
+ sip 5060/udp
320
+ sip-tls 5061/tcp
321
+ sip-tls 5061/udp
322
+ xmpp-client 5222/tcp jabber-client # Jabber Client Connection
323
+ xmpp-client 5222/udp jabber-client
324
+ xmpp-server 5269/tcp jabber-server # Jabber Server Connection
325
+ xmpp-server 5269/udp jabber-server
326
+ cfengine 5308/tcp
327
+ cfengine 5308/udp
328
+ postgresql 5432/tcp postgres # PostgreSQL Database
329
+ postgresql 5432/udp postgres
330
+ x11 6000/tcp x11-0 # X Window System
331
+ x11 6000/udp x11-0
332
+ x11-1 6001/tcp
333
+ x11-1 6001/udp
334
+ x11-2 6002/tcp
335
+ x11-2 6002/udp
336
+ x11-3 6003/tcp
337
+ x11-3 6003/udp
338
+ x11-4 6004/tcp
339
+ x11-4 6004/udp
340
+ x11-5 6005/tcp
341
+ x11-5 6005/udp
342
+ x11-6 6006/tcp
343
+ x11-6 6006/udp
344
+ x11-7 6007/tcp
345
+ x11-7 6007/udp
346
+ gnutella-svc 6346/tcp # gnutella
347
+ gnutella-svc 6346/udp
348
+ gnutella-rtr 6347/tcp # gnutella
349
+ gnutella-rtr 6347/udp
350
+ afs3-fileserver 7000/tcp bbs # file server itself
351
+ afs3-fileserver 7000/udp bbs
352
+ afs3-callback 7001/tcp # callbacks to cache managers
353
+ afs3-callback 7001/udp
354
+ afs3-prserver 7002/tcp # users & groups database
355
+ afs3-prserver 7002/udp
356
+ afs3-vlserver 7003/tcp # volume location database
357
+ afs3-vlserver 7003/udp
358
+ afs3-kaserver 7004/tcp # AFS/Kerberos authentication
359
+ afs3-kaserver 7004/udp
360
+ afs3-volser 7005/tcp # volume managment server
361
+ afs3-volser 7005/udp
362
+ afs3-errors 7006/tcp # error interpretation service
363
+ afs3-errors 7006/udp
364
+ afs3-bos 7007/tcp # basic overseer process
365
+ afs3-bos 7007/udp
366
+ afs3-update 7008/tcp # server-to-server updater
367
+ afs3-update 7008/udp
368
+ afs3-rmtsys 7009/tcp # remote cache manager service
369
+ afs3-rmtsys 7009/udp
370
+ font-service 7100/tcp xfs # X Font Service
371
+ font-service 7100/udp xfs
372
+ bacula-dir 9101/tcp # Bacula Director
373
+ bacula-dir 9101/udp
374
+ bacula-fd 9102/tcp # Bacula File Daemon
375
+ bacula-fd 9102/udp
376
+ bacula-sd 9103/tcp # Bacula Storage Daemon
377
+ bacula-sd 9103/udp
378
+ amanda 10080/tcp # amanda backup services
379
+ amanda 10080/udp
380
+ hkp 11371/tcp # OpenPGP HTTP Keyserver
381
+ hkp 11371/udp # OpenPGP HTTP Keyserver
382
+ bprd 13720/tcp # VERITAS NetBackup
383
+ bprd 13720/udp
384
+ bpdbm 13721/tcp # VERITAS NetBackup
385
+ bpdbm 13721/udp
386
+ bpjava-msvc 13722/tcp # BP Java MSVC Protocol
387
+ bpjava-msvc 13722/udp
388
+ vnetd 13724/tcp # Veritas Network Utility
389
+ vnetd 13724/udp
390
+ bpcd 13782/tcp # VERITAS NetBackup
391
+ bpcd 13782/udp
392
+ vopied 13783/tcp # VERITAS NetBackup
393
+ vopied 13783/udp
394
+ wnn6 22273/tcp # wnn6
395
+ wnn6 22273/udp
396
+
397
+ #
398
+ # Datagram Delivery Protocol services
399
+ #
400
+ rtmp 1/ddp # Routing Table Maintenance Protocol
401
+ nbp 2/ddp # Name Binding Protocol
402
+ echo 4/ddp # AppleTalk Echo Protocol
403
+ zip 6/ddp # Zone Information Protocol
404
+
405
+ #=========================================================================
406
+ # The remaining port numbers are not as allocated by IANA.
407
+ #=========================================================================
408
+
409
+ # Kerberos (Project Athena/MIT) services
410
+ # Note that these are for Kerberos v4, and are unofficial. Sites running
411
+ # v4 should uncomment these and comment out the v5 entries above.
412
+ #
413
+ kerberos4 750/udp kerberos-iv kdc # Kerberos (server)
414
+ kerberos4 750/tcp kerberos-iv kdc
415
+ kerberos_master 751/udp # Kerberos authentication
416
+ kerberos_master 751/tcp
417
+ passwd_server 752/udp # Kerberos passwd server
418
+ krb_prop 754/tcp krb5_prop hprop # Kerberos slave propagation
419
+ krbupdate 760/tcp kreg # Kerberos registration
420
+ kpasswd 761/tcp kpwd # Kerberos "passwd"
421
+ swat 901/tcp # swat
422
+ kpop 1109/tcp # Pop with Kerberos
423
+ knetd 2053/tcp # Kerberos de-multiplexor
424
+ zephyr-srv 2102/udp # Zephyr server
425
+ zephyr-clt 2103/udp # Zephyr serv-hm connection
426
+ zephyr-hm 2104/udp # Zephyr hostmanager
427
+ eklogin 2105/tcp # Kerberos encrypted rlogin
428
+ # Hmmm. Are we using Kv4 or Kv5 now? Worrying.
429
+ # The following is probably Kerberos v5 --- ajt@debian.org (11/02/2000)
430
+ kx 2111/tcp # X over Kerberos
431
+ iprop 2121/tcp # incremental propagation
432
+ #
433
+ # Unofficial but necessary (for NetBSD) services
434
+ #
435
+ supfilesrv 871/tcp # SUP server
436
+ supfiledbg 1127/tcp # SUP debugging
437
+
438
+ #
439
+ # Services added for the Debian GNU/Linux distribution
440
+ #
441
+ linuxconf 98/tcp # LinuxConf
442
+ poppassd 106/tcp # Eudora
443
+ poppassd 106/udp
444
+ ssmtp 465/tcp smtps # SMTP over SSL
445
+ moira_db 775/tcp # Moira database
446
+ moira_update 777/tcp # Moira update protocol
447
+ moira_ureg 779/udp # Moira user registration
448
+ spamd 783/tcp # spamassassin daemon
449
+ omirr 808/tcp omirrd # online mirror
450
+ omirr 808/udp omirrd
451
+ customs 1001/tcp # pmake customs server
452
+ customs 1001/udp
453
+ skkserv 1178/tcp # skk jisho server port
454
+ predict 1210/udp # predict -- satellite tracking
455
+ rmtcfg 1236/tcp # Gracilis Packeten remote config server
456
+ wipld 1300/tcp # Wipl network monitor
457
+ xtel 1313/tcp # french minitel
458
+ xtelw 1314/tcp # french minitel
459
+ support 1529/tcp # GNATS
460
+ sieve 2000/tcp # Sieve mail filter daemon
461
+ cfinger 2003/tcp # GNU Finger
462
+ ndtp 2010/tcp # Network dictionary transfer protocol
463
+ frox 2121/tcp # frox: caching ftp proxy
464
+ ninstall 2150/tcp # ninstall service
465
+ ninstall 2150/udp
466
+ zebrasrv 2600/tcp # zebra service
467
+ zebra 2601/tcp # zebra vty
468
+ ripd 2602/tcp # ripd vty (zebra)
469
+ ripngd 2603/tcp # ripngd vty (zebra)
470
+ ospfd 2604/tcp # ospfd vty (zebra)
471
+ bgpd 2605/tcp # bgpd vty (zebra)
472
+ ospf6d 2606/tcp # ospf6d vty (zebra)
473
+ ospfapi 2607/tcp # OSPF-API
474
+ isisd 2608/tcp # ISISd vty (zebra)
475
+ afbackup 2988/tcp # Afbackup system
476
+ afbackup 2988/udp
477
+ afmbackup 2989/tcp # Afmbackup system
478
+ afmbackup 2989/udp
479
+ xtell 4224/tcp # xtell server
480
+ fax 4557/tcp # FAX transmission service (old)
481
+ hylafax 4559/tcp # HylaFAX client-server protocol (new)
482
+ distmp3 4600/tcp # distmp3host daemon
483
+ munin 4949/tcp lrrd # Munin
484
+ enbd-cstatd 5051/tcp # ENBD client statd
485
+ enbd-sstatd 5052/tcp # ENBD server statd
486
+ pcrd 5151/tcp # PCR-1000 Daemon
487
+ noclog 5354/tcp # noclogd with TCP (nocol)
488
+ noclog 5354/udp # noclogd with UDP (nocol)
489
+ hostmon 5355/tcp # hostmon uses TCP (nocol)
490
+ hostmon 5355/udp # hostmon uses UDP (nocol)
491
+ rplay 5555/udp # RPlay audio service
492
+ rplay 5555/tcp
493
+ rptp 5556/udp # Remote Play Transfer Protocol
494
+ rptp 5556/tcp
495
+ nsca 5667/tcp # Nagios Agent - NSCA
496
+ mrtd 5674/tcp # MRT Routing Daemon
497
+ bgpsim 5675/tcp # MRT Routing Simulator
498
+ canna 5680/tcp # cannaserver
499
+ sane-port 6566/tcp sane saned # SANE network scanner daemon
500
+ ircd 6667/tcp # Internet Relay Chat
501
+ zope-ftp 8021/tcp # zope management by ftp
502
+ webcache 8080/tcp # WWW caching service
503
+ tproxy 8081/tcp # Transparent Proxy
504
+ omniorb 8088/tcp # OmniORB
505
+ omniorb 8088/udp
506
+ clc-build-daemon 8990/tcp # Common lisp build daemon
507
+ xinetd 9098/tcp
508
+ mandelspawn 9359/udp mandelbrot # network mandelbrot
509
+ zope 9673/tcp # zope server
510
+ kamanda 10081/tcp # amanda backup services (Kerberos)
511
+ kamanda 10081/udp
512
+ amandaidx 10082/tcp # amanda backup services
513
+ amidxtape 10083/tcp # amanda backup services
514
+ smsqp 11201/tcp # Alamin SMS gateway
515
+ smsqp 11201/udp
516
+ xpilot 15345/tcp # XPilot Contact Port
517
+ xpilot 15345/udp
518
+ sgi-cmsd 17001/udp # Cluster membership services daemon
519
+ sgi-crsd 17002/udp
520
+ sgi-gcd 17003/udp # SGI Group membership daemon
521
+ sgi-cad 17004/tcp # Cluster Admin daemon
522
+ isdnlog 20011/tcp # isdn logging system
523
+ isdnlog 20011/udp
524
+ vboxd 20012/tcp # voice box system
525
+ vboxd 20012/udp
526
+ binkp 24554/tcp # binkp fidonet protocol
527
+ asp 27374/tcp # Address Search Protocol
528
+ asp 27374/udp
529
+ dircproxy 57000/tcp # Detachable IRC Proxy
530
+ tfido 60177/tcp # fidonet EMSI over telnet
531
+ fido 60179/tcp # fidonet EMSI over TCP
532
+
533
+ # Local services