FreeBSD Bugzilla – Attachment 30230 Details for
Bug 51006
[PATCH] divert(4) and ipfw(8) manpages are too pessimistic
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.21 KB, created by
Dmitry Pryanishnikov
on 2003-04-15 23:00:09 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Pryanishnikov
Created:
2003-04-15 23:00:09 UTC
Size:
1.21 KB
patch
obsolete
>--- divert.4.orig Wed Oct 9 15:45:43 2002 >+++ divert.4 Tue Apr 15 23:19:33 2003 >@@ -50,8 +50,8 @@ > the interface on which the packet was received (if the packet > was incoming) or > .Dv INADDR_ANY >-(if the packet was outgoing). In the case of an incoming packet the interface >-name will also be placed in the 8 bytes following the address, >+(if the packet was outgoing). Incoming interface name (if defined >+for the packet) will also be placed in the 8 bytes following the address, > (assuming it fits). > .Sh WRITING PACKETS > Writing to a divert socket is similar to writing to a raw IP socket; >--- ipfw.8.orig Wed Oct 9 15:45:23 2002 >+++ ipfw.8 Wed Apr 16 00:30:32 2003 >@@ -2018,9 +2018,11 @@ > This may be fixed in a later version. > .Pp > Packets diverted to userland, and then reinserted by a userland process >+may lose various packet attributes. Packet source interface name >+will be preserved (assuming it is shorter than 8 bytes) if userland process >+saves and reuses the sockaddr_in > (such as >-.Xr natd 8 ) >-will lose various packet attributes, including their source interface. >+.Xr natd 8 ), otherwise it may be lost. > If a packet is reinserted in this manner, later rules may be incorrectly > applied, making the order of > .Cm divert
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51006
: 30230