Date: Thu, 17 Apr 2014 15:29:19 -0400 From: Joubert Berger <joubertb@gmail.com> To: freebsd-ipfw@freebsd.org Subject: user-space dummnet Message-ID: <CA%2BZpPexuzt_Em=nE2xQTv9RaEwpdosOQrMGPRgdffj0ogGULqQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I am attempting to get the user-space dummynet working and have run into a problem. Luigi has been very gracious with his help, but I felt I was starting to abuse it, so I thought I would ask a wider audience and see if I could take some of the load off of him :-) This is my setup. I have installed 9-stable. Build kernel with netmap enabled. Checkout out code from https://code.google.com/p/netmap-ipfw The README says to build as follows: make NETMAP_INC=/some/where/with/netmap-release/sys When I do: make NETMAP_INC=/usr/src/sys I get errors compiling: error: "VNET_SYSINIT" redefined error: "VNET_SYSUNINIT" redefined I then just do: make And it compiles fine. Next I do the "for testing purposes" example: ./kipfw In another window I do: telnet localhost 5556 And I get a bunch of ip_fw_pfil.c:ipfw_check_frame [349] M_PREPEND not implemented and then a core dump. Any pointers to what I am doing wrong? --joubert Below the the output of when I run kipfw ./kipfw [ 124.163183] missing.c:callout_startup [361] start init_children mod_idx value 9 +++ start module 0 ipfw ipfw at 0x61eaa0 order 0x1 +++ start module 1 sy_ipfw SYSINIT at 0x0 order 0x2 ipfw2 initialized, divert loadable, nat loadable, default to accept, logging disabled +++ start module 2 sy_Vnet_ipfw SYSINIT at 0x0 order 0x3 [ 124.163237] missing.c:callout_init [308] c 0x61f1e0 mpsafe 8 [ 124.163313] missing.c:pfil_head_get [89] called [ 124.163316] missing.c:pfil_add_hook [96] called +++ start module 3 dummynet dummynet at 0x61eae0 order 0x4 DUMMYNET 0x0 with IPv6 initialized (100409) [ 124.163330] missing.c:taskqueue_create_fast [427] start dummynet fn 0x415950 ctx 0x61f260 [ 124.163334] missing.c:taskqueue_start_threads [435] tqp 0x61f260 count 1 (dummy) [ 124.163336] missing.c:callout_init [308] c 0x61f300 mpsafe 8 +++ start module 4 dn_fifo dn_fifo at 0x61eb30 order 0x5 [ 124.163341] ip_dummynet.c:load_dn_sched [2245] dn_sched FIFO loaded +++ start module 5 dn_wf2qp dn_wf2qp at 0x61ec10 order 0x6 [ 124.163346] ip_dummynet.c:load_dn_sched [2245] dn_sched WF2Q+ loaded +++ start module 6 dn_rr dn_rr at 0x61ecf0 order 0x7 [ 124.163351] ip_dummynet.c:load_dn_sched [2245] dn_sched RR loaded +++ start module 7 dn_qfq dn_qfq at 0x61edd0 order 0x8 [ 124.163355] ip_dummynet.c:load_dn_sched [2245] dn_sched QFQ loaded +++ start module 8 dn_prio dn_prio at 0x61eeb0 order 0x9 [ 124.163359] ip_dummynet.c:load_dn_sched [2245] dn_sched PRIO loaded *** Global Sysctl Table entries = 41, total size = 2144 *** [ 124.163419] session.c:do_server [531] +++ listening tcp 127.0.0.1:5555 [ 124.163436] session.c:do_server [531] +++ listening tcp 127.0.0.1:5556 [ 132.826581] ip_fw_pfil.c:ipfw_check_frame [349] M_PREPEND not implemented
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BZpPexuzt_Em=nE2xQTv9RaEwpdosOQrMGPRgdffj0ogGULqQ>