Commit Graph

49 Commits

Author SHA1 Message Date
fengbojiang 4067b6e905 ff tools upgrade to support FreeBSD 13.0. 2021-09-30 19:34:02 +08:00
fengbojiang 4093ffd426 Update LICENCE. 2021-09-18 16:05:45 +08:00
fengbojiang e7b7fb6cc9 FreeBSD: Upgrade to FreeBSD-releng-13.0 compiled, to be tested. 2021-08-31 19:00:09 +08:00
fengbojiang 7b8cf09355 Support DPDK 20.11.0(LTS). 2021-03-06 19:18:57 +08:00
fengbojiang 527e34d48a Fix some issues of ff msg. 2021-03-06 19:18:53 +08:00
fengbojiang a7607b336a The `ff_traffic` and `ff_top`'s `-P` argument support bigger than 38. 2021-03-06 19:18:53 +08:00
fengbojiang 820bf67ffe Fix bug of ff_ipc_msg_free in ff tools.
The ff msg shouldn't to free while `ff_ipc_send` success but `ff_ipc_recv` failed (such as F-Stack app are breaking by gdb).
2021-03-06 19:18:53 +08:00
fengbojiang 62653ab1a5 Fix bug of `sysctl` in tools/compat/sysctl.c.
The ff msg shouldn't to free while `ff_ipc_send` success but `ff_ipc_recv` failed (such as F-Stack app are breaking by gdb).
2020-11-21 21:27:55 +08:00
fengbojiang 3f8e2795fc Add doc of `ndp` tool. 2020-10-27 22:45:06 +08:00
chopin c090a0d78c feature: add ndp tool for ipv6 neighbor 2020-10-18 15:57:04 +08:00
root a8b1b25dd8 Add ff_ipc_exit() to clean temp files in /var/ while run F-Stack tools netstat/ngctl/sysctl/top/traffic/knictl. 2020-06-18 11:02:18 +00:00
zjwsoft 6796c85ff5 Add ff_ipc_exit() to clean temp files in /var/ while run F-Stack tools arp/ifconfig/route/ipfw. 2020-06-18 10:56:20 +00:00
Junwei Zhou 4af0f1ccbb IPFW: supported IPv6. 2020-06-15 17:48:46 +08:00
johnjiang 2747a35d56 modify `knistl` to `ff_knictl` while install tools, so it can be uninstall. 2020-05-21 04:28:07 +00:00
johnjiang e27c5f4e3a Merge branch 'dev' into feature-knictl 2020-05-21 10:56:12 +08:00
pengtian 0b1e7c031e #add knictl support 2020-05-14 18:30:34 +08:00
fengbojiang(姜凤波) 9afeb6b147 Fix a crash bug while use `ff_ifconfig` to get interface list of bridge. 2019-12-11 20:24:30 +08:00
fengbojiang(姜凤波) 2733b9e375 Merge branch 'master' into dev 2019-11-15 15:27:49 +08:00
fengbojiang(姜凤波) 7abbdf7aa5 Fix crash of `netstat -n`, refer #438. 2019-10-29 15:31:14 +08:00
Torbjørn Fylling 176e92a3df Update iflagg.c
Presumably a typo
2019-08-09 08:35:21 +02:00
fengbojiang f5b4c6111b Update tools/README.md for traffic. 2019-07-25 22:41:20 +08:00
fengbojiang 47c27d8085 Tools: traffic tool support display all traffic of multi-processes. 2019-07-25 22:34:36 +08:00
fengbojiang cea0be3c81 Tools: update top. 2019-07-25 22:33:42 +08:00
fengbojiang(姜凤波) 7f55b7899f Tools: top tool support display all cpu usage of multi-processes. 2019-07-25 18:50:07 +08:00
fengbojiang(姜凤波) a8ea1bed90 Tools: All tools can work in parallel now. 2019-07-25 17:19:28 +08:00
fengbojiang(姜凤波) 7cb21a2b2b IPv6: support multi-processes, deep copy NDP packet and dispatch. 2019-07-17 17:31:47 +08:00
root c84854ee3b IPv6: `netstat` tool support ipv6. 2019-07-15 21:04:09 +08:00
root c8c8cfb777 Update `ifconfig` tool for ipv6. 2019-07-15 16:18:02 +08:00
fengbojiang(姜凤波) 447e465eaf IPv6: ifconfig and route tools support ipv6. netstat TBC. 2019-07-12 20:57:33 +08:00
jfb8856606 ea837b1efb add `make install` and `make uninstall` in f-tack's lib and tools, refer #396 2019-07-01 19:18:54 +08:00
fengbojiang 65a9b49842 Arrange tool directory 2018-08-17 21:16:23 +08:00
fengbojiang 03df98dea2 add traffic tool. 2018-08-16 20:29:12 +08:00
logwang 2bfe3f2e55 DPDK: upgrade to 17.11.2 LTS.
Changes:
1. This version is downloaded from
https://fast.dpdk.org/rel/dpdk-17.11.2.tar.xz.
2. Adapt the new interface `rte_ring_dequeue_burst`.
3. Change the type of `port_id` from uint8_t to uint16_t.
4. Just link libdpdk.a instead of the other libaries.
5. Install libnuma-dev first.
6. Update the documents.
2018-05-15 17:49:22 +08:00
root 6b283f8e27 🐛 ai->ai_addr should be (struct sockaddr *)(ai+1) 2018-03-19 10:40:01 +08:00
logwang fa74a859d0 Add tool: arp.
The arp utility displays and modifies the Internet-to-Ethernet address translation tables used by the address resolution protocol.
2017-12-13 17:05:48 +08:00
Ji Bo 5e0cf829d9 ipfw: should init dpdk before all malloc
Signed-off-by: Ji Bo <jibo@xdja.com>
2017-11-21 14:32:00 +08:00
whl739 127dd473af Add tool: ipfw.
ipfw -- interface for firewall, packet scheduler, NAT and so on.

It is comprised of several components: the kernel firewall filter rule processor and its integrated packet accounting facility, the logging facility, NAT, a forward facility, a bridge facility, and an ipstealth facility.
Note that the `dummynet` traffic shaper is not merged.
2017-11-14 16:44:32 +08:00
logwang 555c848918 Ngctl: support interactive mode. 2017-11-01 18:53:07 +08:00
logwang 3b2bd0f641 Add tool: ngctl.
ngctl -- netgraph control utility.
The ngctl utility creates a new netgraph node of type socket which can be used to issue netgraph commands.
2017-11-01 17:38:22 +08:00
Andy 85eb2ae96a 🐛 tools should init dpdk before all malloc for the same 'virtual memory address' 2017-09-07 14:27:27 -04:00
logwang 1f5381c9ea Fix compiling errors of tools. 2017-09-05 14:30:42 +08:00
logwang 1eaf0ac36a Add tool: netstat.
Including libraries: libutil,libmemstat,libxo.
2017-08-31 21:34:50 +08:00
Andy e7741141d0 add top tool 2017-08-24 02:17:34 -04:00
logwang 144c6bcd95 Add tool: route.
This commit ports FreeBSD `route` to F-Stack, can be used to set the route
table.
2017-06-14 15:25:35 +08:00
logwang df6ad73146 Add tool: ifconfig.
Changes:
    Remove directory `ipc`, and add a new directory `compat`.
    Directory `compat` includes some FreeBSD source files to be compatible
        with Linux.
    Port FreeBSD ifconfig to F-Stack.
2017-06-06 16:52:52 +08:00
logwang 34a144bd04 Tools/sysctl: some changes were omitted from the last commit. 2017-05-27 03:44:01 +08:00
logwang 2d99e60c29 Tools/sysctl: make porting more general.
When porting tools, We should change the original codes as few as
possible.
2017-05-27 03:29:29 +08:00
logwang 91a931fad7 Tools: update README 2017-05-23 23:35:39 +08:00
logwang 7abd0fb2a9 Add tool: sysctl.
This commit contains an ipc library implemented by dpdk rte_ring and
sysctl tool ported from FreeBSD.

With this commit we can get and set FreeBSD kernel state in runtime.
2017-05-23 23:13:49 +08:00