commit d8cf6a8bb651fa37ca9cf97613eaa9618043e3de
Author: Aaron LI
Date: Sun Nov 25 17:39:41 2018 +0800
rc.d/wpa_supplicant: Prefer the DPorts version for the moment
We now also ship the wpa_supplicant from DPorts, which has several
important security fixes than the base one
commit 2b2ab49c6324e149b67f42dc7f2ce380e1d0dd32
Author: Aaron LI
Date: Sat Nov 17 10:28:22 2018 +0800
rc.d/dhcpcd: Fix passing of extra arguments
Before this fix, 'dhcpcd' ignores extra arguments when calling
'run_rc_command()', which causes '/etc/rc.d/dhcpcd restart
Hi Thomas,
Thanks for pointing out this issue. I've just fixed it:
https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/21b2a002cbc71afb02226ebae808b0c58a793a7c
Cheers,
Aaron
On Thu, 15 Nov 2018 19:21:38 +0100 (CET)
Thomas Nikolajsen wrote:
>
> etc/rc.d/ip6addrctl doesn't work, as
commit 21b2a002cbc71afb02226ebae808b0c58a793a7c
Author: Aaron LI
Date: Fri Nov 16 11:01:28 2018 +0800
rc.d/ip6addrctl: Fix REQUIRE and afexists()
* DragonFly doesn't has the 'FILESYSTEMS' rc target.
* I forgot to implement the 'afexists()' function when import
commit da4dd5142b3aeee28a624360613a09cc38ec7319
Author: Aaron LI
Date: Fri Oct 26 01:05:20 2018 +0800
network.subr: Add ipv6if()
This function determines whether the given interface should be
configured for IPv6. This function will be used to determine whether to
apply
commit 8cd2e0745d021c52ef70c667710cd638bf76cf3b
Author: Aaron LI
Date: Thu Oct 25 20:11:28 2018 +0800
network.subr: Support IPv6 in ifconfig_getargs()
Update the 'ifconfig_getargs()' to accept the address family option
to support the extraction of IPv6 arguments
commit 817cf58581c06bb4ce35e4fa5895d14473c9718b
Author: Aaron LI
Date: Thu Oct 25 20:25:03 2018 +0800
rc.d: Introduce 'dhcp_client' to wrap over dhclient and dhcpcd
The new 'dhcp_client' rc script is a wrapper to start either dhclient(8)
or dhcpcd(8) based on the value
commit 329743def50a061489debcd9682983235c8f5b42
Author: Aaron LI
Date: Wed Nov 14 17:49:03 2018 +0800
network.subr: Support IPv6 in dhcpif()
Extend the 'dhcpif()' to support checking the interface needs DHCP for
IPv4-only, IPv6-only or either.
The 'dhcpcd' rc script
commit 4eba35c8bf34d7dece6d22a2477b99f61a3ddd0b
Author: Aaron LI
Date: Fri Oct 19 23:28:29 2018 +0800
dhcpcd: Add rc script rc.d/dhcpcd
The dhcpcd supports both DHCPv4 and DHCPv6.
Summary of changes:
etc/defaults/rc.conf | 3 +++
etc/rc.d/Makefile| 2 +-
etc/rc.d
commit 5d669bfaf21b80b79e46874f480bd4e9d7351cfd
Author: Aaron LI
Date: Fri Oct 19 15:32:31 2018 +0800
dhcpcd: Bind to system
NOTE:
This only makes 'dhcpcd' be built and installed, and doesn't affect the
existing 'dhclient'.
Summary of changes:
etc/Makefile
commit fb3db81efb507524806d71ed97b18b9a6467fee3
Author: Aaron LI
Date: Fri Oct 19 15:34:05 2018 +0800
dhcpcd: Add upgrade notes to README.DRAGONFLY
Summary of changes:
contrib/dhcpcd/README.DRAGONFLY | 23 +++
1 file changed, 23 insertions(+)
http
commit 4acb291d71f84cdd3b4115e8a4ef72109792f3fc
Author: Aaron LI
Date: Fri Oct 19 14:54:55 2018 +0800
dhcpcd: Apply local modifications
* The modification to 'src/if.c' makes it can be build with
'-Werror=implicit-fallthrough', which is enabled with '-Wextra
commit 02b0bc0435c47bb59d7f1a5e3865a7c4630ad31c
Author: Aaron LI
Date: Fri Oct 19 14:41:10 2018 +0800
dhcpcd: Generate src/dhcpcd-embedded.[ch]
$ cd src
$ ./genembedc > dhcpcd-embedded.c
$ ./genembedh > dhcpcd-embedded.h
$ rm genembed[ch] dhcpcd-embedd
at e2c425e0e113cf4fac81015c3baf71b3d2d88d89 (commit)
--
DragonFly BSD source repository
commit e2c425e0e113cf4fac81015c3baf71b3d2d88d89
Author: Aaron LI
Date: Fri Oct 19 14:32:39 2018 +0800
dhcpcd: Add READMEs
Summary of changes:
contrib/dhcpcd/README.DELETED | 30 ++
contrib/dhcpcd/README.DRAGONFLY | 12
2 files changed, 42
commit efdac92a45a44cebe37d7244375fe8dda64a1b33
Author: Aaron LI
Date: Sat Nov 10 09:08:23 2018 +0800
terminfo: Build and install tmux and tmux-256color
Summary of changes:
share/terminfo/Makefile.entries | 2 ++
1 file changed, 2 insertions(+)
http://gitweb.dragonflybsd.org
commit d1dbb0fb863887795f40c24a330f0e71b9c89b72
Author: Aaron LI
Date: Thu Nov 8 09:13:04 2018 +0800
rc.conf.5: Document ip6addrctl_{policy,verbose} explicitly
Suggested-by: swildner
Summary of changes:
share/man/man5/rc.conf.5 | 36 +++-
1 file
commit bc10f98c77eab35ba0f140ba1a2cf0b029610583
Author: Aaron LI
Date: Wed Nov 7 19:41:29 2018 +0800
mkinitrd(8): Integrate the default configurations
Integrate the default configurations in the tool itself, and thus remove
the config file (/etc/defaults/mkinitrd.conf
commit b3e110e968baf5f9dacf3f02d2dd6b8aa6c12d4e
Author: Aaron LI
Date: Tue Nov 6 03:22:15 2018 +0800
Bring in ip6addrctl(8) from FreeBSD
The ip6addrctl(8) manages the policy table of source and destination
address selection for ougoing IPv4 and IPv6 packets
commit 53085f893f0d9438dbaf403f947403c5e6c9665c
Author: Aaron LI
Date: Tue Nov 6 04:31:38 2018 +0800
rc.subr: Add list_vars() function
Taken-from: FreeBSD
Summary of changes:
etc/rc.subr | 13 +
1 file changed, 13 insertions(+)
http://gitweb.dragonflybsd.org
commit 03137732640d591d74a270e2e62930e966c5145f
Author: Aaron LI
Date: Tue Nov 6 04:25:17 2018 +0800
rc.d: Add ip6addrctl (enabled by default with policy AUTO)
Bring in the ip6addrctl rc script from FreeBSD. It is enabled by
default with policy "AUTO", so th
commit 1fa9cec2ee4817e109c7359b2ee77108c299a2cd
Author: Simon Arlott
Date: Sat Nov 3 20:08:07 2018 +
libc/mktemp: Pass flags to open()
The flags from the functions that call _gettemp() are never used.
They should be included in the call to open(), otherwise features
commit baf84f0ae5e25ae2d46fba3c9aafca24ba8e6074
Author: Aaron LI
Date: Sun Nov 4 17:55:53 2018 +0800
net/if: Call if_ioctl() if the protocol didn't handle the ioctl
This allows for a non-interface socket (like AF_LOCAL which ifconfig(8)
now uses since commit
On Wed, 31 Oct 2018 13:55:26 +0300
Gennady Proskurin wrote:
> This breaks buildworld for ordinary non-root user due to vnconfig
> calls.
Yes, someone has already mentioned this issue in IRC, and I have thought
a bit about it. I'll fix it in the following days. Basically, need to
adjust
commit 2686b94bdc3d720030ab80a72fc04f24df11d200
Author: Aaron LI
Date: Thu Oct 25 20:07:18 2018 +0800
rc.conf.5: Remove the obsolete reference to named(8)
Summary of changes:
share/man/man5/rc.conf.5 | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
http
commit d16b92b101f8d2d6ac5ae45b2243471813a44a57
Author: Aaron LI
Date: Thu Oct 25 13:16:47 2018 +0800
arp(8): Add option -i to limit operations to one interface
This allows to limit the scope of operation to the ARP entries on a
particular interface, which should be useful
commit cc41928392d83f4c9800219f797fd4ce87fbb295
Author: Aaron LI
Date: Thu Oct 25 13:48:56 2018 +0800
Sync /etc/pccard_ether with FreeBSD
Our original 'pccard_ether' became unnecessarily complex as a big part of
the work is already implemented in 'network.subr', so just
commit a91130d69be36543520c82dcf386a8c688f882b3
Author: Aaron LI
Date: Fri Oct 19 01:11:18 2018 +0800
openresolv: Add READMEs
Summary of changes:
contrib/openresolv/README.DELETED | 4
contrib/openresolv/README.DRAGONFLY | 17 +
2 files changed, 21 insertions
commit d9a1074aa25d6a25c54b0a66a13be9aa9bd8757d
Author: Aaron LI
Date: Fri Oct 19 01:23:51 2018 +0800
openresolv: Bind to system as resolvconf(8)
The resolvconf(8) will be used by dhcpcd(8), which will be imported
later to provide out-of-box IPv6 DHCP support, replacing
at 8382a10edee524c5793769fd7086b846ed950391 (commit)
--
DragonFly BSD source repository
commit c229b0c534c51c6a1980f9d4bfb2592e5e339bd7
Author: Aaron LI
Date: Mon Oct 1 08:51:28 2018 +0800
Bump __DragonFly_version for adding wait6() and waitid()
Summary of changes:
sys/sys/param.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org
commit 8808a6c5e34716370db5a2afe03ce58f1ffa9ad4
Author: Aaron LI
Date: Tue Sep 25 20:30:58 2018 +0800
rc.d/pflog - Be quiet when check if modules are loaded
This rc script was missed from tuxillo's commit (0dfdc028b39).
Summary of changes:
etc/rc.d/pflog | 2 +-
1 file changed
commit 03f2fdd26fee309abfe7c8bdf799f8d35a4e18bf
Author: Aaron LI
Date: Sat Sep 22 20:57:52 2018 +0800
dumpon(8): Add "dumpoff" variant to be "dumpon off"
"dumpon off" doesn't seem to be a good command, so let's add the "dumpoff"
commit bfbb599bba9fbf988628bb6dd678cd03d68dfda5
Author: Aaron LI
Date: Sun Sep 23 12:26:33 2018 +0800
dumpon(8): Make error messages clearer
Before this patch, when a dump device is already configured, dumpon(8)
only complains with 'Device busy', which isn't helpful. Now
commit a6932e2f66cf5f66aa1e202a504b8d26f96b43c7
Author: Markus Pfeiffer
Date: Mon Sep 3 23:29:36 2018 +
kernel: unbreak buildkernel
Summary of changes:
sys/kern/vfs_vm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 07f09928e5993fbd5dcc7b98b37cdb429dfe225f
Author: Aaron LI
Date: Thu Aug 30 21:13:27 2018 +0800
if_tap: Disallow to destroy an opened device
When a tap device (created via 'ifconfig') is opened, disallow to destroy
it (e.g., ifconfig destroy). Otherwise, a panic
commit 252be4c402afa5c4e35b827f272e3c52e8dbe46f
Author: Aaron LI
Date: Thu Aug 30 21:36:07 2018 +0800
if_tun: Disallow to destroy an opened device
When a tun device (created via 'ifconfig') is opened, disallow to destroy
it (e.g., ifconfig destroy). Otherwise, a panic
commit ceddbcf65305e80699502a2797f0ef944f53b3a7
Author: Aaron LI
Date: Thu Aug 30 21:13:27 2018 +0800
if_tap: Disallow to destroy an opened device
When a tap device (created via 'ifconfig') is opened, disallow to destroy
it (e.g., ifconfig destroy). Otherwise, a panic
commit d15093b968014ef49e9a6d18ef3d97557410473e
Author: Aaron LI
Date: Thu Aug 9 10:40:36 2018 +0800
Revert "pf: Allow disappearing or not yet existing interfaces for ALTQ"
This reverts commit 0a887f91f9633448c99b9a5b7c6116a0a22d25d6.
1. It's incorrect
on range is used to make sure that the ifp does not get ripped
> out behind our back. To be frank, we don't even suffer the issue this
> fix is intended to address; it only makes the code convoluted.
>
> On Wed, Aug 8, 2018 at 5:10 PM, Aaron LI
> wrote:
> >
> > comm
commit fcddd1b6c3b2924a8a022caf183b8f186e7d5cae
Author: Aaron LI
Date: Mon Jun 25 17:00:21 2018 +0800
eventhandler: Implement ifnet_event
Implement the "ifnet_event" which is triggered on interface up and down.
Taken-from: FreeBSD
Summary of changes:
shar
commit d27abe81872597163e3d797770ce9aaf71bbb6c7
Author: Aaron LI
Date: Tue Jun 26 12:25:07 2018 +0800
Move pf.conf.5 and pf.os.5 to share/man/man5
Summary of changes:
share/man/man5/Makefile | 3 ++-
{usr.sbin/pfctl => share/man/man5}/pf.conf.5 | 0
{usr.sbin/pf
commit e826117ee8aacb5698d8c6af3d39ba34be643c84
Author: Aaron LI
Date: Mon Jun 25 17:31:16 2018 +0800
bpf: Move bpf_track event declaration to
Move the declaration of the "bpf_track" event from
to .
Document the "bpf_track" event in eve
commit acc24b690ed6d89cb2611bb8ee46800d01acaa84
Author: Aaron LI
Date: Mon Jun 25 17:59:15 2018 +0800
eventhandler.9: Update events list
* Remove "dev_clone"
* Add "iflladdr_event", "mountroot", and "usb_dev_configured".
commit bc1a39e222197cb9e98ed508f3994662d5d3fc75
Author: Aaron LI
Date: Mon Jun 25 17:04:41 2018 +0800
eventhandler: Implement ifnet_link_event
The "ifnet_link_event" is triggered by the change of the link state of
an interface.
Taken-from: FreeBS
commit 5304134c9c97d9ff22e6c3ddc4dde7ccb3895cde
Author: Aaron LI
Date: Tue Jun 26 13:42:42 2018 +0800
pf.conf.5: Describe the use of interface group
Add the description on interface group, which is supported by DragonFly
BSD's PF now.
Meanwhile, bring in many small
commit 2949c680adb831996c4c170affac4f493c3de188
Author: Aaron LI
Date: Thu Jun 21 13:56:00 2018 +0800
net: Tweak some styles and comments
Summary of changes:
sys/net/if.c | 13 +++--
sys/net/if_var.h | 32 +++-
sys/net/pf/pf_if.c
commit 426d6ad04af3385f289cad4f7b0a68148573b0e5
Author: Aaron LI
Date: Thu Jun 21 13:49:15 2018 +0800
if_loop: Use ifc->ifc_name and minor cleanups
* Use "ifc->ifc_name" instead of explicit "lo".
* Minor style updates.
Summary of change
commit 5e983a2e81a369a995ee9cb7d8bcecf766990863
Author: Aaron LI
Date: Thu Jun 21 14:40:31 2018 +0800
if_clone: Add cloned interface to the group of its device name
When a new interface is cloned, add it to the group of its device name,
e.g., cloned interfaces tapX
commit 0a887f91f9633448c99b9a5b7c6116a0a22d25d6
Author: Aaron LI
Date: Sat Jun 16 23:18:20 2018 +0800
pf: Allow disappearing or not yet existing interfaces for ALTQ
Make ALTQ cope with disappearing interfaces (particularly common with
net/mpd4 and netgraph in general
commit c686757e01dd668abe9817cf3e78f18b4de62be7
Author: Aaron LI
Date: Sat Jun 16 22:48:38 2018 +0800
pf: Fix and improve interface group support
The old PF code has broken partial support of the interface group.
Without this patch, loading the 'pf.ko' module will panic
commit 3bbcdcc2594c6b74fb7c860ceebf1713b0ad56ef
Author: Aaron LI
Date: Thu Jun 21 08:59:47 2018 +0800
pf: Update pfi_kif and pfi_kif_cmp structs
For struct "pfi_kif", add "pfik_name" entry while remove multiple obsolete
entries and macros. Rename "p
commit 233c85704a96468c162480f32a6e092b81b0cdaf
Author: Aaron LI
Date: Sat Jun 16 22:25:31 2018 +0800
net: Implement interface group support
The network interface group (aka ifgroup) functionality is currently only
used by the PF (still needs patch to make PF use the ifgroup
commit d4024308578796b864d264d08e7cd14719d0c00a
Author: Aaron LI
Date: Sat Jun 16 23:01:21 2018 +0800
ifconfig(8): Add group support
Obtained from FreeBSD, with some minor changes.
Summary of changes:
sbin/ifconfig/Makefile | 1 +
sbin/ifconfig/ifconfig.8 | 22
commit a6ccd68b08eff10c57551f8fe92f39a5b8ae6c48
Author: Aaron LI
Date: Thu Jun 21 09:31:44 2018 +0800
if_pflog: Explicitly depend on "pf" and various cleanups
* Explicitly depend on the "pf" module to make sure it is initialized
later than
commit c8f430ba934ae95fab35e5ea90b7092b6805837e
Author: Aaron LI
Date: Thu Jun 21 09:40:05 2018 +0800
if_pfsync: Depend on "pf" module and some cleanups
* Explicitly depend on the "pf" module to make sure it is initialized
later.
* Remove the u
commit 9ad42ca200d2153e8f3d9b86928684884d283da3
Author: Aaron LI
Date: Mon Aug 6 00:10:54 2018 +0800
if_clone: Refactor out if_clone_{alloc,free}_unit() functions
Refactor out if_clone_{alloc,free}_unit() functions from
if_clone_{create,destroy}() functions.
Summary
commit 595dc8f18c44a1d14a2b0b9b6ba2485cee04d3b5
Author: Aaron LI
Date: Mon Aug 6 00:34:25 2018 +0800
if_clone: Check cloner name to avoid duplicate in if_clone_attach()
Change if_clone_attach() to check the cloner name instead of the pointer
to avoid duplicate, also
commit 1047b69ec58e788e95845d6a577152a68e9d6601
Author: Aaron LI
Date: Mon Aug 6 15:36:41 2018 +0800
if_clone: Refactor out if_clone_createif() function
The new if_clone_createif() function will create a clone interface
with the given cloner and unit.
Summary of changes
commit 1e4b15c7af1048818778718cff71b98ff6cf252b
Author: Aaron LI
Date: Mon Aug 6 00:09:53 2018 +0800
if_clone: Remove useless code wrongly added in 84cb91c376f
The code was inteded to obtain the created interface and add an
interface group for it, which is a work in progress
commit 64fc8f067a489eef06793f317eb541d87131fc29
Author: Aaron LI
Date: Tue Aug 7 10:40:31 2018 +0800
development.7: Update repo creation command
Reported-by: resolution (on IRC)
Summary of changes:
share/man/man7/development.7 | 9 -
1 file changed, 4 insertions(+), 5
commit e2d4945959773df738afe9def357f1efda11428e
Author: Aaron LI
Date: Sat Aug 4 20:30:04 2018 +0800
if_clone: Fix if_clone_destroy() with renamed cloned interface
Since the interface can be renamed (SIOCSIFNAME), it's very wrong for
if_clone_destroy() to determine the unit
commit 2010725f220e9d634a6a5904b38db67627cb3a80
Author: Aaron LI
Date: Sat Aug 4 20:06:21 2018 +0800
if_clone: Refactor cloner lookup and unit extraction
Break down the old 'if_clone_lookup()' function into the following 3
functions:
- if_name2unit(): extract
commit 3b1300daa841e3b20ed7417394ab6039c5f2506b
Author: Aaron LI
Date: Sat Aug 4 20:30:04 2018 +0800
if_clone: Fix if_clone_destroy() with renamed cloned interface
Since the interface can be renamed (SIOCSIFNAME), it's very wrong for
if_clone_destroy() to determine the unit
commit e224e5e71c0cee920b6a50d3397ff5e45be95e9a
Author: Aaron LI
Date: Sat Aug 4 20:13:39 2018 +0800
if_clone: Remove unneeded "ifc_namelen" from "struct if_clone"
The "strlen(ifc_name)" is used instead.
Summary of changes:
sys/net/if_clone.c
commit 687c518e9dcb04166a0c34c27d609eaf82d1a5e2
Author: Aaron LI
Date: Thu Jun 21 08:36:00 2018 +0800
if_clone: Move "struct if_clonereq" over from
The "if_clonereq" struct is __BSD_VISIBLE and is only used by ifconfig(8)
userland tool (via se
commit 0de0168f3274e2e1ddf79404ed32abbef82a8893
Author: Aaron LI
Date: Thu Jun 21 08:42:16 2018 +0800
if_clone: Fix if_clone_event invocation
As the parameter passed to the "if_clone_event" handler indicates, this
event should be triggered when a new interf
commit 84cb91c376f39e5cbfcc52664bc818ac8154e0c6
Author: Aaron LI
Date: Fri Jun 22 21:47:22 2018 +0800
if_clone: Refactor if_clone_create()
In the wildcard case (the caller passes the interface name without
a unit number), if_clone_create() should update the passed name
commit 81c8572743904f1c4c2a1f44b4edbc274122ea11
Author: Aaron LI
Date: Fri Jun 15 13:01:54 2018 +0800
Makefile.inc1: Print more variables on error
Print the .MAKE.MODE, PATH, MAKESYSPATH, MAKEOBJDIRPREFIX, DESTDIR,
SHELL, .SHELL, .MAKE.MAKEFILES, and .PATH variables on error
commit e72f0762b947abfb33852312cbec661ce8761559
Author: Aaron LI
Date: Sun Aug 5 10:40:46 2018 +0800
etc/login.conf: Fix COPYRIGHT file path
Summary of changes:
etc/login.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff
commit e9e1626f77881d1971173b83792c178b084ff759
Author: Aaron LI
Date: Fri Jun 22 21:23:25 2018 +0800
ifconfig(8): Use atexit() to ensure printing interface name
The ifconfig program may not exit at the end of its main() function,
so use atexit(printifnamemaybe) to ensure
commit b6b91ec7b04797351b4efc099cd2b5530c90a328
Author: Aaron LI
Date: Tue Mar 20 15:45:43 2018 +0800
ifconfig(8): Use nitems() consistently
Summary of changes:
sbin/ifconfig/af_inet6.c| 4 +---
sbin/ifconfig/ifbridge.c| 6 ++
sbin/ifconfig/ifcarp.c | 4 +---
sbin
commit 46158ff547aeb44d75edbca7a8c8ecd565aec166
Author: Aaron LI
Date: Sat Mar 24 16:56:39 2018 +0800
ifconfig(8): Sync with FreeBSD a bit and various cleanups
* Sync ifconfig.c a bit with FreeBSD; replace several warnx() with
errx(), and improve error messages a bit
commit 80d2947bc9bb9395f7b2e028b5582c23a2858812
Author: Aaron LI
Date: Fri Mar 23 09:37:13 2018 +0800
ifconfig(8): Use strlcpy() instead of strncpy()
Summary of changes:
sbin/ifconfig/af_inet.c | 4 ++--
sbin/ifconfig/ifcarp.c | 4 ++--
sbin/ifconfig/ifclone.c | 4
commit bff82488b6f45c2f067e4c552e649b1d3e07cd7c
Author: Aaron LI
Date: Tue Mar 20 16:04:41 2018 +0800
: Do not include for _KERNEL
* Clean up an ancient leftover: do not include from
for kernel stuffs.
* Adjust various files to include the necessary header
commit 03d44125d13c9b84745fca401c1fd8cefd5db97b
Author: Aaron LI
Date: Tue Mar 20 16:15:42 2018 +0800
: Clean up unused forward declaration
Also remove the inclusion of an unnecessary header .
Summary of changes:
sys/net/if_var.h | 10 +-
1 file changed, 1 insertion
commit e389314b1feb6a5659f5f52a71878f14c29091af
Author: Aaron LI
Date: Sat Aug 4 22:06:32 2018 +0800
if_tap: Interface type should be IFT_ETHER (2)
Ooops, forgot to include the necessary header in the
last commit.
Summary of changes:
sys/net/tap/if_tap.c | 3 ++-
1 file
commit ce57146ea9d232b3f8a60279de0bdf859bde4c3f
Author: Aaron LI
Date: Sat Aug 4 21:07:04 2018 +0800
if_tap: Interface type should be IFT_ETHER
Summary of changes:
sys/net/tap/if_tap.c | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff
commit 7cf221aeddcc62b2d8ff0b9c77962e33b302318e
Author: Aaron LI
Date: Fri Aug 3 20:09:19 2018 +0800
devfs: Minor style fixes
Summary of changes:
sys/vfs/devfs/devfs_rules.c | 30 +-
1 file changed, 13 insertions(+), 17 deletions(-)
http
commit a50e0e62c76c85f67283f9bce5cf9021d64ae2c7
Author: Aaron LI
Date: Tue Jul 31 19:43:48 2018 +0800
if_tun: Clean up tunioctl()
Introduce a variable 'caddr_t data' to make code cleaner. Also improve
the switch flow a bit.
Based on: if_tap.c
Summary of changes
commit 0df03f127ea71fb9dbcedbdc065f211514feefdf
Author: Aaron LI
Date: Tue Jul 31 19:47:37 2018 +0800
if_tun: Add TUNGIFNAME ioctl to get the interface name
This ioctl helps to get the name of the network interface associated
with the tun control device via its file
commit 5b60e9a77859ef101953a2cd02eebd630d8387d0
Author: Aaron LI
Date: Tue Jul 31 19:59:45 2018 +0800
if_tap: Remove the unnecessary forward declaration in if_tap.h
Summary of changes:
sys/net/tap/if_tap.h | 2 --
1 file changed, 2 deletions(-)
http://gitweb.dragonflybsd.org
commit 249483dfec1fb7a8da1e2094624856a84033a5b0
Author: Aaron LI
Date: Tue Mar 20 15:48:55 2018 +0800
kernel: Use nitems() from instead of custom define
Since is already included in these files.
Summary of changes:
sys/bus/u4b/wlan/if_uath.c | 4
commit e1c6b0c1ee471ec790888a1edec44099e6601971
Author: Aaron LI
Date: Tue Mar 20 15:52:54 2018 +0800
Move jail staffs from and to
* : Move out prison_if() function prototype to
* : Move out prison_replace_wildcards() and prison_remote_ip()
function prototypes
commit 9db2a7d021973a14dd4fdb2c2992e44c971401ae
Author: Aaron LI
Date: Tue Jul 24 09:20:14 2018 +0800
sys/gpt.h: Add new entry types and CTASSERT
Obtained-from: FreeBSD
Summary of changes:
sys/sys/gpt.h | 40 ++--
1 file changed, 34
commit 87b121bb794a1fa8b3cd0592b348fe6f880475bf
Author: Aaron LI
Date: Tue Jul 24 09:22:59 2018 +0800
disklabel64(8): Remove an obsolete comment
Also consistently use the locally defined streq() function.
Summary of changes:
sbin/disklabel64/disklabel64.c | 5 +
1 file
commit a702e4e50dfbae6309564367b4778d572ff9a3ed
Author: Aaron LI
Date: Sat Jul 21 13:07:56 2018 +0800
disklabel64.8: Fix several "disklabel" to be "disklabel32"
And improve a sentence.
Summary of changes:
sbin/disklabel64/disklabel64.8 | 18 +-
19 AM, Aaron LI wrote:
> > On Fri, 20 Jul 2018 10:43:16 +0800
> > Sepherosa Ziehau wrote:
> >
> >> On Fri, Jul 20, 2018 at 10:19 AM, Aaron LI wrote:
> >> > On Fri, 20 Jul 2018 09:40:21 +0800
> >> > Sepherosa Ziehau wrote:
> >> &g
On Fri, 20 Jul 2018 10:43:16 +0800
Sepherosa Ziehau wrote:
> On Fri, Jul 20, 2018 at 10:19 AM, Aaron LI wrote:
> > On Fri, 20 Jul 2018 09:40:21 +0800
> > Sepherosa Ziehau wrote:
> >
> >> I am not quite sure why we want to use if_alloc() in the first place
On Fri, 20 Jul 2018 09:40:21 +0800
Sepherosa Ziehau wrote:
> Most of the physical drivers are ethernet ones, so they need arpcom;
> please do w/ care.
Sure, I have to understand the drivers more before really touching them.
> I am not quite sure why we want to use if_alloc() in the first
On Fri, 20 Jul 2018 09:09:07 +0800
Sepherosa Ziehau wrote:
> Just panic if_com_alloc[type]() fails.
>
Ok, I'll do it. I'll also look at the drivers to make them use if_alloc()
and if_free() when appropriate.
Cheers,
--
Aaron
pgppTtS70LbYz.pgp
Description: OpenPGP digital signature
commit b6f0123246e7c8525d2f5a5ff4f3014d1f5f8b66
Author: Aaron LI
Date: Tue Jul 17 19:57:55 2018 +0800
if_tun: Allow IP packets of length TUNMRU with TUNSIFHEAD set
Obtained-from: FreeBSD (revision 300205)
Summary of changes:
sys/net/tun/if_tun.c | 7 +--
1 file changed, 5
commit 860e305a4e6cc899b09479646ac55eaca5b142f1
Author: Aaron LI
Date: Sat Jul 7 23:21:18 2018 +0800
if_tun: Add "cdev_t tun_dev" to tun_softc struct
Similar to if_tap, save the tun device in the tun_softc struct.
Summary of changes:
sys/net/tun/if_tun.c| 3 ++
commit a6b12a18cc0bfcc7350772075da413d16a3f67f1
Author: Aaron LI
Date: Sun Jul 8 19:55:36 2018 +0800
if_tun: Better name interface-related functions
Rename interface-related functions to be 'tunifxxx', and reorder a
bit to better group them.
Tweak the styles
commit 98e874e52520ad50c29307adf4754a2465666477
Author: Aaron LI
Date: Sun Jul 8 10:17:20 2018 +0800
if_tun: Add sysctl net.link.tun.{refcnt,debug}
Add read-only sysctl net.link.tun.refcnt to show the number of opened
devices.
Add sysctl net.link.tun.debug
commit 9abf54c01ae57593a8ff5ee7381adca8a67005cb
Author: Aaron LI
Date: Thu Jul 5 14:08:43 2018 +0800
if_tun: Raise maximum MTU to be 65535 bytes
This is used, for example, by packetdrill to test with MTU's up to the
maximum value.
Taken-from: FreeBSD (revision
commit 925b0cbfbfed7123f1222f6b5650b7747937015d
Author: Aaron LI
Date: Sun Jul 8 21:07:20 2018 +0800
if_tun: Implement interface clone support
Now 'ifconfig tunX create' and 'ifconfig tunX destroy' work.
The tun device will be automatically destroyed when being closed
commit 6f90efb8f9ac6785b04c25efb90c432dcdb142af
Author: Aaron LI
Date: Sat Jul 7 23:16:19 2018 +0800
if_tun: Use pointer to ifnet in tun_softc struct
Use a pointer to the ifnet struct in the tun_softc struct, instead of
embedding a full ifnet struct in it. (similar
commit b24712baecd0d6a60456e438a12293241e320636
Author: Aaron LI
Date: Tue Jul 17 19:04:12 2018 +0800
if_tun: Update tun.4 man page to match the code
Mainly follow FreeBSD's tun.4, refer to NetBSD's tun.4, and with my own
minor adjustments.
Summary of changes:
share/man
commit 0db5ecf136b9c767d1b577710a0fb9bcc838b2f3
Author: Aaron LI
Date: Sat Jul 7 20:49:04 2018 +0800
if_tun: Some small tweaks and cleanups
* Consistently use the TUN define instead of "tun".
* Use variable "sc" instead of "tp"
501 - 600 of 692 matches
Mail list logo