| 1 | ### -*-sh-*- |
| 2 | ### |
| 3 | ### Useful numbers for firewall configuration |
| 4 | ### |
| 5 | ### (c) 2008 Mark Wooding |
| 6 | ### |
| 7 | |
| 8 | ###----- Licensing notice --------------------------------------------------- |
| 9 | ### |
| 10 | ### This program is free software; you can redistribute it and/or modify |
| 11 | ### it under the terms of the GNU General Public License as published by |
| 12 | ### the Free Software Foundation; either version 2 of the License, or |
| 13 | ### (at your option) any later version. |
| 14 | ### |
| 15 | ### This program is distributed in the hope that it will be useful, |
| 16 | ### but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | ### GNU General Public License for more details. |
| 19 | ### |
| 20 | ### You should have received a copy of the GNU General Public License |
| 21 | ### along with this program; if not, write to the Free Software Foundation, |
| 22 | ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 23 | |
| 24 | m4_divert(24)m4_dnl |
| 25 | ###-------------------------------------------------------------------------- |
| 26 | ### Magic numbers. |
| 27 | |
| 28 | ## Port numbers. |
| 29 | defport ftp_data 20 |
| 30 | defport ftp 21 |
| 31 | defport ssh 22 |
| 32 | defport smtp 25 |
| 33 | defport dns 53 |
| 34 | defport bootps 67 |
| 35 | defport bootpc 68 |
| 36 | defport tftp 69 |
| 37 | defport finger 79 |
| 38 | defport http 80 |
| 39 | defport sunrpc 111 |
| 40 | defport ident 113 |
| 41 | defport netbios_ns 137 |
| 42 | defport netbios_dgm 138 |
| 43 | defport netbios_ssn 139 |
| 44 | defport imap 143 |
| 45 | defport https 443 |
| 46 | defport microsoft_ds 445 |
| 47 | defport syslog 514 # UDP only! |
| 48 | defport lpd 515 |
| 49 | defport submission 587 |
| 50 | defport ipmi 623 |
| 51 | defport rsync 873 |
| 52 | defport ftps 990 |
| 53 | defport imaps 993 |
| 54 | defport h323 1720 |
| 55 | defport nfs 2049 |
| 56 | defport ssquid 3127 |
| 57 | defport squid 3128 |
| 58 | defport icp 3130 |
| 59 | defport tripe 4070 |
| 60 | defport siplo 5000 |
| 61 | defport siphi 5100 |
| 62 | defport iodine 5353 |
| 63 | defport postgresql 5432 |
| 64 | defport gnutella_svc 6346 |
| 65 | defport mpd 6600 |
| 66 | defport irc 6667 |
| 67 | defport privoxy 8118 |
| 68 | defport tor_public 9001 |
| 69 | defport tor_directory 9030 |
| 70 | defport git 9418 |
| 71 | defport pgp_keys 11371 |
| 72 | defport i2p 16911 |
| 73 | defport disorder2 23598 |
| 74 | defport disorder 23599 |
| 75 | defport mount 32767 |
| 76 | defport udpkey 59274 |
| 77 | |
| 78 | ## Protocol numbers. |
| 79 | defproto ipv6 41 |
| 80 | |
| 81 | m4_divert(-1) |
| 82 | ###----- That's all, folks -------------------------------------------------- |