git: New ipfw2 for DragonflyBSD which is able to run parallelly with the original ipfw. 1. sbin/ipfw2 2. lib/libipfw2 3. sys/net/ipfw2 4. sys/net/dummynet2

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Mar 12 14:34:23 PDT 2015


commit 105c533e27eefa2097a111280fd534a8b9490bd0
Author: Bill Yuan <bycn82 at gmail.com>
Date:   Wed Feb 4 20:44:15 2015 +0800

    New ipfw2 for DragonflyBSD which is able to run parallelly with the original ipfw.
    1. sbin/ipfw2
    2. lib/libipfw2
    3. sys/net/ipfw2
    4. sys/net/dummynet2

Summary of changes:
 lib/libipfw2/Makefile                 |    7 +
 lib/libipfw2/basic/Makefile           |   29 +
 lib/libipfw2/basic/ipfw_basic.c       |  819 +++++++++
 lib/libipfw2/basic/ipfw_basic.h       |   40 +
 lib/libipfw2/dummynet/Makefile        |   29 +
 lib/libipfw2/dummynet/ipfw_dummynet.c |   92 +
 lib/libipfw2/dummynet/ipfw_dummynet.h |   40 +
 lib/libipfw2/layer2/Makefile          |   29 +
 lib/libipfw2/layer2/ipfw_layer2.c     |  183 ++
 lib/libipfw2/layer2/ipfw_layer2.h     |   40 +
 lib/libipfw2/layer4/Makefile          |   29 +
 lib/libipfw2/layer4/ipfw_layer4.c     |  152 ++
 lib/libipfw2/layer4/ipfw_layer4.h     |   40 +
 lib/libipfw2/nat/Makefile             |   29 +
 lib/libipfw2/nat/ipfw_nat.c           |   73 +
 lib/libipfw2/nat/ipfw_nat.h           |   40 +
 sbin/ipfw2/Makefile                   |    8 +
 sbin/ipfw2/ipfw.h                     |   56 +
 sbin/ipfw2/ipfw2.8                    | 1913 ++++++++++++++++++++
 sbin/ipfw2/ipfw2.c                    | 3218 +++++++++++++++++++++++++++++++++
 sys/net/dummynet2/Makefile            |   15 +
 sys/net/dummynet2/ip_dummynet.c       | 2063 +++++++++++++++++++++
 sys/net/dummynet2/ip_dummynet.h       |  468 +++++
 sys/net/dummynet2/ip_dummynet_glue.c  |  530 ++++++
 sys/net/ipfw2/Makefile                |   25 +
 sys/net/ipfw2/ip_fw.h                 |   40 +
 sys/net/ipfw2/ip_fw2.c                | 2037 +++++++++++++++++++++
 sys/net/ipfw2/ip_fw2.h                |  514 ++++++
 sys/net/ipfw2/ip_fw2_glue.c           |   90 +
 sys/net/ipfw2_basic/Makefile          |    4 +
 sys/net/ipfw2_basic/ip_fw_basic.c     |  917 ++++++++++
 sys/net/ipfw2_basic/ip_fw_basic.h     |   86 +
 sys/net/ipfw2_layer2/Makefile         |    4 +
 sys/net/ipfw2_layer2/ip_fw_layer2.c   |  117 ++
 sys/net/ipfw2_layer2/ip_fw_layer2.h   |   50 +
 sys/net/ipfw2_layer4/Makefile         |    4 +
 sys/net/ipfw2_layer4/ip_fw_layer4.c   |  198 ++
 sys/net/ipfw2_layer4/ip_fw_layer4.h   |   51 +
 sys/net/ipfw2_nat/Makefile            |    4 +
 sys/net/ipfw2_nat/ip_fw_nat.c         |  581 ++++++
 sys/net/ipfw2_nat/ip_fw_nat.h         |  129 ++
 sys/net/libalias/HISTORY              |  145 ++
 sys/net/libalias/Makefile             |    7 +
 sys/net/libalias/alias.c              | 1704 +++++++++++++++++
 sys/net/libalias/alias.h              |  291 +++
 sys/net/libalias/alias_cuseeme.c      |  228 +++
 sys/net/libalias/alias_db.c           | 2883 +++++++++++++++++++++++++++++
 sys/net/libalias/alias_dummy.c        |  153 ++
 sys/net/libalias/alias_ftp.c          |  691 +++++++
 sys/net/libalias/alias_irc.c          |  485 +++++
 sys/net/libalias/alias_local.h        |  359 ++++
 sys/net/libalias/alias_mod.c          |  207 +++
 sys/net/libalias/alias_mod.h          |  149 ++
 sys/net/libalias/alias_nbt.c          |  854 +++++++++
 sys/net/libalias/alias_old.c          |  216 +++
 sys/net/libalias/alias_pptp.c         |  523 ++++++
 sys/net/libalias/alias_proxy.c        |  971 ++++++++++
 sys/net/libalias/alias_skinny.c       |  447 +++++
 sys/net/libalias/alias_smedia.c       |  547 ++++++
 sys/net/libalias/alias_util.c         |  171 ++
 sys/net/libalias/libalias.3           | 1458 +++++++++++++++
 61 files changed, 27282 insertions(+)
 create mode 100644 lib/libipfw2/Makefile
 create mode 100644 lib/libipfw2/basic/Makefile
 create mode 100644 lib/libipfw2/basic/ipfw_basic.c
 create mode 100644 lib/libipfw2/basic/ipfw_basic.h
 create mode 100644 lib/libipfw2/dummynet/Makefile
 create mode 100644 lib/libipfw2/dummynet/ipfw_dummynet.c
 create mode 100644 lib/libipfw2/dummynet/ipfw_dummynet.h
 create mode 100644 lib/libipfw2/layer2/Makefile
 create mode 100644 lib/libipfw2/layer2/ipfw_layer2.c
 create mode 100644 lib/libipfw2/layer2/ipfw_layer2.h
 create mode 100644 lib/libipfw2/layer4/Makefile
 create mode 100644 lib/libipfw2/layer4/ipfw_layer4.c
 create mode 100644 lib/libipfw2/layer4/ipfw_layer4.h
 create mode 100644 lib/libipfw2/nat/Makefile
 create mode 100644 lib/libipfw2/nat/ipfw_nat.c
 create mode 100644 lib/libipfw2/nat/ipfw_nat.h
 create mode 100644 sbin/ipfw2/Makefile
 create mode 100644 sbin/ipfw2/ipfw.h
 create mode 100644 sbin/ipfw2/ipfw2.8
 create mode 100644 sbin/ipfw2/ipfw2.c
 create mode 100644 sys/net/dummynet2/Makefile
 create mode 100644 sys/net/dummynet2/ip_dummynet.c
 create mode 100644 sys/net/dummynet2/ip_dummynet.h
 create mode 100644 sys/net/dummynet2/ip_dummynet_glue.c
 create mode 100644 sys/net/ipfw2/Makefile
 create mode 100644 sys/net/ipfw2/ip_fw.h
 create mode 100644 sys/net/ipfw2/ip_fw2.c
 create mode 100644 sys/net/ipfw2/ip_fw2.h
 create mode 100644 sys/net/ipfw2/ip_fw2_glue.c
 create mode 100644 sys/net/ipfw2_basic/Makefile
 create mode 100644 sys/net/ipfw2_basic/ip_fw_basic.c
 create mode 100644 sys/net/ipfw2_basic/ip_fw_basic.h
 create mode 100644 sys/net/ipfw2_layer2/Makefile
 create mode 100644 sys/net/ipfw2_layer2/ip_fw_layer2.c
 create mode 100644 sys/net/ipfw2_layer2/ip_fw_layer2.h
 create mode 100644 sys/net/ipfw2_layer4/Makefile
 create mode 100644 sys/net/ipfw2_layer4/ip_fw_layer4.c
 create mode 100644 sys/net/ipfw2_layer4/ip_fw_layer4.h
 create mode 100644 sys/net/ipfw2_nat/Makefile
 create mode 100644 sys/net/ipfw2_nat/ip_fw_nat.c
 create mode 100644 sys/net/ipfw2_nat/ip_fw_nat.h
 create mode 100644 sys/net/libalias/HISTORY
 create mode 100644 sys/net/libalias/Makefile
 create mode 100644 sys/net/libalias/alias.c
 create mode 100644 sys/net/libalias/alias.h
 create mode 100644 sys/net/libalias/alias_cuseeme.c
 create mode 100644 sys/net/libalias/alias_db.c
 create mode 100644 sys/net/libalias/alias_dummy.c
 create mode 100644 sys/net/libalias/alias_ftp.c
 create mode 100644 sys/net/libalias/alias_irc.c
 create mode 100644 sys/net/libalias/alias_local.h
 create mode 100644 sys/net/libalias/alias_mod.c
 create mode 100644 sys/net/libalias/alias_mod.h
 create mode 100644 sys/net/libalias/alias_nbt.c
 create mode 100644 sys/net/libalias/alias_old.c
 create mode 100644 sys/net/libalias/alias_pptp.c
 create mode 100644 sys/net/libalias/alias_proxy.c
 create mode 100644 sys/net/libalias/alias_skinny.c
 create mode 100644 sys/net/libalias/alias_smedia.c
 create mode 100644 sys/net/libalias/alias_util.c
 create mode 100644 sys/net/libalias/libalias.3

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/105c533e27eefa2097a111280fd534a8b9490bd0


-- 
DragonFly BSD source repository



More information about the Commits mailing list