Bug 103454 - [ipfw] [patch] [request] add a facility to modify DF bit of the IP packet
Summary: [ipfw] [patch] [request] add a facility to modify DF bit of the IP packet
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ipfw (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 11:30 UTC by Roman Bogorodskiy
Modified: 2015-06-14 05:25 UTC (History)
0 users

See Also:


Attachments
ipfw_setdf_20060921_2_CURRENT.diff (3.50 KB, patch)
2006-09-21 11:30 UTC, Roman Bogorodskiy
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Bogorodskiy freebsd_committer freebsd_triage 2006-09-21 11:30:19 UTC
Add a facility to modify DF bit of the IP packet with ipfw.
Example:
  ipfw add 100 setdf 0 all from any to any

That will set DF to 0 (May Fragment) for all packets. Possible
values are 0 (May Fragment) and 1 (Don't Fragment).

References:
  RFC 791 (http://www.ietf.org/rfc/rfc0791.txt)

Patch was tested on -CURRENT. It's avaible via web as well:
http://people.freebsd.org/~novel/patches/freebsd/ipfw_setdf_20060921_2_CURRENT.diff
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-09-21 12:26:49 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ipfw

Over to maintainer(s).