Deleted Added
full compact
ng_patch.4 (242997) ng_patch.4 (267938)
1.\" Copyright (c) 2010 Maxim Ignatenko <gelraen.ua@gmail.com>
2.\" Copyright (c) 2010 Vadim Goncharov <vadimnuclight@tpu.ru>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\" Copyright (c) 2010 Maxim Ignatenko <gelraen.ua@gmail.com>
2.\" Copyright (c) 2010 Vadim Goncharov <vadimnuclight@tpu.ru>
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man4/ng_patch.4 242997 2012-11-13 20:41:36Z joel $
26.\" $FreeBSD: head/share/man/man4/ng_patch.4 267938 2014-06-26 21:46:14Z bapt $
27.\"
28.Dd March 5, 2012
29.Dt NG_PATCH 4
30.Os
31.Sh NAME
32.Nm ng_patch
33.Nd "trivial mbuf data modifying netgraph node type"
34.Sh SYNOPSIS

--- 178 unchanged lines hidden (view full) ---

213.Xr ng_ipfw 4 ,
214.Xr ngctl 8
215.Sh HISTORY
216The
217.Nm
218node type was implemented in
219.Fx 8.1 .
220.Sh AUTHORS
27.\"
28.Dd March 5, 2012
29.Dt NG_PATCH 4
30.Os
31.Sh NAME
32.Nm ng_patch
33.Nd "trivial mbuf data modifying netgraph node type"
34.Sh SYNOPSIS

--- 178 unchanged lines hidden (view full) ---

213.Xr ng_ipfw 4 ,
214.Xr ngctl 8
215.Sh HISTORY
216The
217.Nm
218node type was implemented in
219.Fx 8.1 .
220.Sh AUTHORS
221.An "Maxim Ignatenko" Aq gelraen.ua@gmail.com .
221.An Maxim Ignatenko Aq Mt gelraen.ua@gmail.com
222.Pp
223.An -nosplit
222This manual page was written by
224This manual page was written by
223.An "Vadim Goncharov" Aq vadimnuclight@tpu.ru .
225.An Vadim Goncharov Aq Mt vadimnuclight@tpu.ru .
224.Sh BUGS
225Node blindly tries to apply every patching operation to each packet
226(except those which offset if greater than length of the packet),
227so be sure that you supply only the right packets to it (e.g. changing
228bytes in the ARP packets meant to be in IP header could corrupt
229them and make your machine unreachable from the network).
230.Pp
231.Em !!! WARNING !!!
232.Pp
233Output path of the IP stack assumes correct fields and lengths in the
234packets - changing them by mistake to incorrect values can cause
235unpredictable results including kernel panics.
226.Sh BUGS
227Node blindly tries to apply every patching operation to each packet
228(except those which offset if greater than length of the packet),
229so be sure that you supply only the right packets to it (e.g. changing
230bytes in the ARP packets meant to be in IP header could corrupt
231them and make your machine unreachable from the network).
232.Pp
233.Em !!! WARNING !!!
234.Pp
235Output path of the IP stack assumes correct fields and lengths in the
236packets - changing them by mistake to incorrect values can cause
237unpredictable results including kernel panics.