Commit Graph

39 Commits (dev)

Author SHA1 Message Date
root 552bc48c36 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 e10b9b93a8 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 c27efec2cd IPFW: supported IPv6. 2020-06-15 17:48:46 +08:00
johnjiang b9294e1121 modify `knistl` to `ff_knictl` while install tools, so it can be uninstall. 2020-05-21 04:28:07 +00:00
johnjiang 632c79327e
Merge branch 'dev' into feature-knictl 2020-05-21 10:56:12 +08:00
pengtian 47507c1510 #add knictl support 2020-05-14 18:30:34 +08:00
fengbojiang(姜凤波) 33d130f74c Fix a crash bug while use `ff_ifconfig` to get interface list of bridge. 2019-12-11 20:24:30 +08:00
fengbojiang(姜凤波) 9e68465969 Merge branch 'master' into dev 2019-11-15 15:27:49 +08:00
fengbojiang(姜凤波) 73e135b80c Fix crash of `netstat -n`, refer #438. 2019-10-29 15:31:14 +08:00
Torbjørn Fylling 40c3a4b5dd
Update iflagg.c
Presumably a typo
2019-08-09 08:35:21 +02:00
fengbojiang c9c09dfaf7 Update tools/README.md for traffic. 2019-07-25 22:41:20 +08:00
fengbojiang 0ee399c9bf Tools: traffic tool support display all traffic of multi-processes. 2019-07-25 22:34:36 +08:00
fengbojiang 0f5432bb05 Tools: update top. 2019-07-25 22:33:42 +08:00
fengbojiang(姜凤波) d02fa78d72 Tools: top tool support display all cpu usage of multi-processes. 2019-07-25 18:50:07 +08:00
fengbojiang(姜凤波) 6194fcd20a Tools: All tools can work in parallel now. 2019-07-25 17:19:28 +08:00
fengbojiang(姜凤波) 10b909a1b3 IPv6: support multi-processes, deep copy NDP packet and dispatch. 2019-07-17 17:31:47 +08:00
root ca915d33ee IPv6: `netstat` tool support ipv6. 2019-07-15 21:04:09 +08:00
root cd4d3a581e Update `ifconfig` tool for ipv6. 2019-07-15 16:18:02 +08:00
fengbojiang(姜凤波) 143d7be716 IPv6: ifconfig and route tools support ipv6. netstat TBC. 2019-07-12 20:57:33 +08:00
jfb8856606 5af66259d5 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