local.m4: Don't expect `forbidden' to return.
[firewall] / numbers.m4
... / ...
CommitLineData
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
24m4_divert(24)m4_dnl
25###--------------------------------------------------------------------------
26### Magic numbers.
27
28## Port numbers.
29defport ftp_data 20
30defport ftp 21
31defport ssh 22
32defport smtp 25
33defport dns 53
34defport bootps 67
35defport bootpc 68
36defport tftp 69
37defport finger 79
38defport http 80
39defport ident 113
40defport netbios_ns 137
41defport netbios_dgm 138
42defport netbios_ssn 139
43defport imap 143
44defport https 443
45defport microsoft_ds 445
46defport syslog 514 # UDP only!
47defport lpd 515
48defport submission 587
49defport ipmi 623
50defport rsync 873
51defport ftps 990
52defport imaps 993
53defport h323 1720
54defport ssquid 3127
55defport squid 3128
56defport icp 3130
57defport tripe 4070
58defport siplo 5000
59defport siphi 5100
60defport iodine 5353
61defport postgresql 5432
62defport gnutella_svc 6346
63defport mpd 6600
64defport irc 6667
65defport tor_public 9001
66defport tor_directory 9030
67defport git 9418
68defport pgp_keys 11371
69defport i2p 16911
70defport disorder 23599
71defport udpkey 59274
72
73## Protocol numbers.
74defproto ipv6 41
75
76m4_divert(-1)
77###----- That's all, folks --------------------------------------------------