View | Details | Raw Unified | Return to bug 85243
Collapse All | Expand All

(-)icmp.4 (+69 lines)
Lines 138-143 Link Here
138
which are not directly addressed to us.
138
which are not directly addressed to us.
139
By default continue with normal source selection.
139
By default continue with normal source selection.
140
.El
140
.El
141
.Ss Types
142
ICMP messages are classified according to the type and code fields
143
present in the ICMP header.  The abbreviations for the types and codes
144
may be used in rules in 
145
.Xr pf.conf 5 .
146
The following types are defined:
147
.Bl -column x xxxxxxxxxxxx -offset indent
148
.It Sy Num Ta Sy Abbrev. Ta Sy Description
149
.It 0 Ta echorep Ta "Echo reply"
150
.It 3 Ta unreach Ta "Destination unreachable"
151
.It 4 Ta squench Ta "Packet loss, slow down"
152
.It 5 Ta redir Ta "Shorter route exists"
153
.It 6 Ta althost Ta "Alternate host address"
154
.It 8 Ta echoreq Ta "Echo request"
155
.It 9 Ta routeradv Ta "Router advertisement"
156
.It 10 Ta routersol Ta "Router solicitation"
157
.It 11 Ta timex Ta "Time exceeded"
158
.It 12 Ta paramprob Ta "Invalid IP header"
159
.It 13 Ta timereq Ta "Timestamp request"
160
.It 14 Ta timerep Ta "Timestamp reply"
161
.It 15 Ta inforeq Ta "Information request"
162
.It 16 Ta inforep Ta "Information reply"
163
.It 17 Ta maskreq Ta "Address mask request"
164
.It 18 Ta maskrep Ta "Address mask reply"
165
.It 30 Ta trace Ta Traceroute
166
.It 31 Ta dataconv Ta "Data conversion problem"
167
.It 32 Ta mobredir Ta "Mobile host redirection"
168
.It 33 Ta ipv6-where Ta "IPv6 where-are-you"
169
.It 34 Ta ipv6-here Ta "IPv6 i-am-here"
170
.It 35 Ta mobregreq Ta "Mobile registration request"
171
.It 36 Ta mobregrep Ta "Mobile registration reply"
172
.It 39 Ta skip Ta SKIP
173
.It 40 Ta photuris Ta Photuris
174
.El
175
.Pp
176
The following codes are defined:
177
.Bl -column x xxxxxxxxxxxx xxxxxxxx -offset indent
178
.It Sy Num Ta Sy Abbrev. Ta Sy Type Ta Sy Description
179
.It 0 Ta net-unr Ta unreach Ta "Network unreachable"
180
.It 1 Ta host-unr Ta unreach Ta "Host unreachable"
181
.It 2 Ta proto-unr Ta unreach Ta "Protocol unreachable"
182
.It 3 Ta port-unr Ta unreach Ta "Port unreachable"
183
.It 4 Ta needfrag Ta unreach Ta "Fragmentation needed but DF bit set"
184
.It 5 Ta srcfail Ta unreach Ta "Source routing failed"
185
.It 6 Ta net-unk Ta unreach Ta "Network unknown"
186
.It 7 Ta host-unk Ta unreach Ta "Host unknown"
187
.It 8 Ta isolate Ta unreach Ta "Host isolated"
188
.It 9 Ta net-prohib Ta unreach Ta "Network administratively prohibited"
189
.It 10 Ta host-prohib Ta unreach Ta "Host administratively prohibited"
190
.It 11 Ta net-tos Ta unreach Ta "Invalid TOS for network"
191
.It 12 Ta host-tos Ta unreach Ta "Invalid TOS for host"
192
.It 13 Ta filter-prohib Ta unreach Ta "Prohibited access"
193
.It 14 Ta host-preced Ta unreach Ta "Precedence violation"
194
.It 15 Ta cutoff-preced Ta unreach Ta "Precedence cutoff"
195
.It 0 Ta redir-net Ta redir Ta "Shorter route for network"
196
.It 1 Ta redir-host Ta redir Ta "Shorter route for host"
197
.It 2 Ta redir-tos-net Ta redir Ta "Shorter route for TOS and network"
198
.It 3 Ta redir-tos-host Ta redir Ta "Shorter route for TOS and host"
199
.It 0 Ta normal-adv Ta routeradv Ta "Normal advertisement"
200
.It 16 Ta common-adv Ta routeradv Ta "Selective advertisement"
201
.It 0 Ta transit Ta timex Ta "Time exceeded in transit"
202
.It 1 Ta reassemb Ta timex Ta "Time exceeded in reassembly"
203
.It 0 Ta badhead Ta paramprob Ta "Invalid option pointer"
204
.It 1 Ta optmiss Ta paramprob Ta "Missing option"
205
.It 2 Ta badlen Ta paramprob Ta "Invalid length"
206
.It 1 Ta unknown-ind Ta photuris Ta "Unknown security index"
207
.It 2 Ta auth-fail Ta photuris Ta "Authentication failed"
208
.It 3 Ta decrypt-fail Ta photuris Ta "Decryption failed"
209
.El
141
.Sh ERRORS
210
.Sh ERRORS
142
A socket operation may fail with one of the following errors returned:
211
A socket operation may fail with one of the following errors returned:
143
.Bl -tag -width Er
212
.Bl -tag -width Er

Return to bug 85243