summaryrefslogtreecommitdiffstats
path: root/sbin/ip6fw/ip6fw.c
Commit message (Collapse)AuthorAgeFilesLines
* Make lookup_host function invocation parameter match its prototype.kan2004-07-291-1/+2
|
* Make this WARNS=2 clean by:johan2004-03-031-2/+1
| | | | | | | | | - including <timeconv.h> to get _long_to_time prototype - removing an unused variable Bump WARNS to it keep clean. Approved by: ume on ipfw@
* Add a -n option that stops ip6fw making any changes to the rulesdwmalone2004-02-181-26/+50
| | | | | | | in the kernel. Submitted by: Orla McGann <orly@redbrick.dcu.ie> MFC after: 3 weeks
* Replace the if_name and if_unit members of struct ifnet with new membersbrooks2003-10-311-22/+13
| | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
* correct unsafe use of realloc().ume2003-10-111-5/+5
| | | | Obtained from: KAME
* No need to define optind as an extern. stdlib.h does that for us.imp2003-08-071-1/+0
|
* Make -N option work.ume2003-03-251-1/+1
| | | | Submitted by: KONDOU Kazuhiro <kazuhiro@alib.jp>
* Check if a host argument is a IPv6 presentation format address beforecjc2002-08-251-6/+6
| | | | | | | going to gethostbyname2(3). PR: bin/31632 MFC after: 3 days
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.suz2002-04-191-0/+31
| | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-191-1/+1
| | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
* Properly convert long to time_tdillon2001-10-281-1/+2
|
* Update comment to match ipfw/ipfw.c,v 1.95.ru2001-04-131-3/+2
|
* Match ip6fw's command line options to those of ipfw (specifically, addedgshapiro2001-04-131-17/+127
| | | | | | | | | | the ability to use a preprocessor, use the -q (quiet) flag when reading from a file). The source used is from ipfw. Clean up exit codes while I am here. KAME has been informed and plans on integrating these patches into their own source as well.
* Correct typo in usage.ume2001-03-181-1/+1
| | | | Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Fix the vulnerability with TCP ECE packets recently fixed in ipfw.kris2001-01-231-2/+2
| | | | This is untested, but believed to work.
* avoid conflicting #define symbol (s/FW_IFNLEN/IP6&/).ume2001-01-221-3/+3
| | | | Obtained from: KAME
* Room to hold rules should be dynamically allocated.ume2001-01-201-10/+18
| | | | PR: kern/24248
* Add ip6fw.shin2000-01-291-0/+1290
Yes it is almost code freeze, but as the result of many thought, now I think this should be added before 4.0... make world check, kernel build check is done. Reviewed by: green Obtained from: KAME project
OpenPOWER on IntegriCloud