commit 96426785f2f8f03294e71daf889b364b5436d269
Author: Aaron LI
Date: Fri Jul 13 15:43:07 2018 +0800
if_tap: Add TAPGIFNAME ioctl to get interface name
This is a convenient shortcut to obtain the network interface name using
file descriptor for character device
commit 2752171e8d2593dd8d6fe98cbd82c50bc64e7873
Author: Aaron LI
Date: Sun Jul 8 15:16:56 2018 +0800
if_tap: Remove redundant unit from tapcreate() and tun_softc
The tap interface unit number is the same as minor number of the
associated tap device, so remove the redundant
commit fbae8fc9ab5d7b5dd6de56568897941ff6311568
Author: Aaron LI
Date: Tue Jul 17 14:29:44 2018 +0800
if_tap: Disallow change network device type
Disallow ioctl(2) to change the network device type of tap(4).
Otherwise, page faults and panics can happen when access
commit 117648afe306031fd5adc9ded94fc114919f694c
Author: Aaron LI
Date: Sat Jul 7 20:21:45 2018 +0800
if_tap: Remove global variable "taplastunit"
This global variable isn't helpful. In addition, the tap units can be
non-continuous.
Summary of changes:
sys/net/ta
commit 78e1ab4a8fc0074361116dedb55e6dc02baea351
Author: Aaron LI
Date: Sun Jul 8 14:09:29 2018 +0800
if_tap: Get rid of arpcom struct from tap_softc struct
Remove the ancient arpcom struct from the tap_softc struct,
meanwhile introduce the "tap_ifp" member t
commit cd086e3c60be82d5effacbacf80dc20dd2584d33
Author: Aaron LI
Date: Sat Jul 7 18:57:10 2018 +0800
if_tap: Some small tweaks and cleanups
* Consistently use the TAP define instead of "tap", also remove the
CDEV_NAME define.
* Consistently use "
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 +-
commit d4daa541d3579963aea225dace938f1bf58edd27
Author: Aaron LI
Date: Thu Jul 19 15:04:35 2018 +0800
if_tap: Restore SIOCGIFFLAGS, SIOC[GS]IFADDR ioctls for tapioctl()
These ioctls allow basic control of the network interface via the device
file (/dev/tapX). For example
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 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 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"
commit e9ff9cbbb2f67488b832b985884330539eb236cf
Author: Aaron LI
Date: Sun Jul 8 09:43:12 2018 +0800
if_tun: Support module load and unload
Track the created tun devices in a list, and record the number of opened
tun devices. Destroy all tun devices when unloading
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 b2bc15c2300414fe7db1f51249754f8a81f824a2
Author: Aaron LI
Date: Tue Jul 17 17:58:35 2018 +0800
Revert "if_tap: Get rid of arpcom struct from tap_softc struct"
This reverts commit 78e1ab4a8fc0074361116dedb55e6dc02baea351, with
minor adjustments to reduc
commit fbc5e6341f6aa5d16101c8e2d363f567b761ada1
Author: Aaron LI
Date: Thu Jul 5 17:04:51 2018 +0800
telnet(1): Disable PAM for the rescue version
This avoids several PAM-related libraries when crunching telnet, and
reduces the size by about 200 KB.
Summary of changes
commit e81f0300df403778d341f430dc86006538c34bf1
Author: Aaron LI
Date: Thu Jul 5 16:50:46 2018 +0800
libtelnet: Fix build with NOPAM
Also don't perform a check for "secure" tty for root logins when using
PAM; that is what we provide pam_security(8) for.
commit 53bdbccdd1ed7c593c68402516183bfe1f21a1be
Author: Aaron LI
Date: Thu Jul 5 16:47:29 2018 +0800
libtelnet: Some small updates to sra.c from NetBSD
* Define 'SMALL_LEN' and 'XSMALL_LEN' to replace the explicit numbers.
(also replaced the original PASS_SIZE
commit ead0b85b30b645816b01caf3391df748e906bfb1
Author: Aaron LI
Date: Thu Jul 5 19:49:49 2018 +0800
libtelnet: Fix styles in sra.c
Fix various small style(9) issues in sra.c, making some of the logic
clearer.
Summary of changes:
lib/libtelnet/sra.c | 133
commit 4cdf70c73fa40ced4546c8254c224d10069cb3d5
Author: Aaron LI
Date: Wed Jul 4 11:14:27 2018 +0800
initrd: Refactor Makefile and introduce quick{rescue,initrd}
Refactor the Makefile by splitting the original targets into smaller
ones.
Introduce targets quick
commit f49b0938800d0170e99b108b9e0b2cb458a6c93e
Author: Aaron LI
Date: Sat Jun 30 21:49:45 2018 +0800
initrd: Crunch grep/diff/telnet to rescue tools
NOTE: These tools depend on their corresponding internal libraries.
This adds about 1MB to the rescue tools.
Summary
commit 42e303d371a576b31331635003770e1c5327fe5d
Author: Aaron LI
Date: Sat Jun 30 21:44:30 2018 +0800
mk/crunchgen: Support internal libraries
Add "CRUNCH_INTLIBS" and "CRUNCH_INTLIB_${P}" to support the building
and linkage of internal libraries.
commit 7a26b80f086a09d4d65a4d13fb7021ab7cab6ff9
Author: Aaron LI
Date: Mon Jun 11 15:59:11 2018 +0800
libedit: No need of the bundled fgetln, vis and wcsdup
All these functions are provided in libc, so remove them from libedit
to avoid symbol conflict (e.g., crunching many
commit 8fc53a872217653179856c575dff4ec379710830
Author: Aaron LI
Date: Sat Jun 30 21:36:54 2018 +0800
crunchgen(1): Support building and linking internal libraries
Some programs (e.g., grep, diff, telnet) use internal libraries. In
order to crunch such programs
commit 97fa55c47af6a658ec356831c8267c64bd2c5d26
Author: Aaron LI
Date: Tue Jun 12 09:33:17 2018 +0800
crunchgen(1): Improve the skeleton program
* Sort the name of crunched tools (for easier finding available tools).
* Do not print the name of itself in usage
commit c460a3e600090073c7db44932745f45fce230c9d
Author: Aaron LI
Date: Mon Jun 11 20:58:36 2018 +0800
initrd: Add real scp(1)
scp(1) and ssh(1) are different tools, so the original "scp" alias
doesn't work actually. Add real scp(1) now.
Meanwhile,
commit bd01e1de2c165bd5fb9ac8684bec59636ca5e523
Author: Aaron LI
Date: Wed Jun 13 09:42:47 2018 +0800
crunchgen(1): Add "linkopts" to specify linker options
Currently, the link options (e.g., library search directories) are
appended to the "libs"
commit c91442e9912035bcd659f253abf5fa20ee005193
Author: Aaron LI
Date: Sun Jun 10 14:43:02 2018 +0800
initrd: Reorganize and crunch 70 more rescue tools
* Merge "rescue.sbin" into "rescue" to save space (avoid duplicated
libraries to be linked).
commit ecd06a6b72e8878d45af7cc361a43a2cf0b727b2
Author: Aaron LI
Date: Sat Jun 30 13:51:12 2018 +0800
crunchgen(1): Small updates and cleanups
* Use realpath(3) to replace the hack of using popen/pwd.
* Add function iseq() to replace strcmp().
* Use {} for make
commit 4e60e668e7ed5a59f1bb342d7c6dd2d678a4b93f
Author: Aaron LI
Date: Wed Jun 27 09:36:05 2018 +0800
initrd: Handle ${DESTDIR} when building rescue tools
When building rescue tools for a target system (e.g., create release
build), use tools (e.g., crunchide, crunchgen, cc
commit f897b3792373c08ace5e5fa26c496bb9008d659e
Author: Aaron LI
Date: Fri Jul 6 14:39:44 2018 +0800
Fix remaining references to mkinitrd.8 to initrd.7
Reported-by: swildner
Summary of changes:
sys/boot/common/help.common | 2 +-
sys/boot/common/loader.8| 4 ++--
2 files
commit eae13f14bc173e25f89316687afcc60dbd1fc5b0
Author: Aaron LI
Date: Thu Jul 12 11:38:48 2018 +0800
Disable cert verification for pkg-bootstrap when no cert.pem
Our site uses HTTPs and fetch(1) requires /etc/ssl/cert.pem or
/usr/local/etc/ssl/cert.pem to verify
commit f9b6fd2342e10abe5e40ce0f9f9bd6fc08bc68d9
Author: Aaron LI <a...@aaronly.me>
Date: Sun Apr 15 20:47:05 2018 +0800
Makefile.inc1: Add sbin and remove games from btools and ctools path
* Add ${BTOOLSDEST}/sbin and ${CTOOLSDEST}/sbin to ${STRICTTMPPATH} which
commit 8b40150b085f0b2891a7662604372a5d2a9fe051
Author: Aaron LI <a...@aaronly.me>
Date: Mon Apr 16 14:45:35 2018 +0800
lvm(8): Use relative path for symlinks and clean up Makefile
* Use relative path for creating symlinks to the lvm binary
* Remove the unnecessa
commit ad8b70e08d7600e3f4eb3b36556d4540b1a9c119
Author: Aaron LI <a...@aaronly.me>
Date: Wed Mar 28 12:39:01 2018 +0800
Makefile.usr: allow easier change of repo URL and cleanups
* Introduce variables GITURL_SRC and GITURL_DPORTS to replace GITHOST and
GITHOST_
e_bitmap_set().
Submitted-by: Aaron LI
Summary of changes:
sys/vfs/devfs/devfs_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c44edd1c395fb96c9513804ffa6d5ec771e0c11f
--
DragonFly BSD source repository
commit e89b9756ede5de488e87cb300299b4f2483881b1
Author: Sascha Wildner
Date: Fri Mar 23 10:30:18 2018 +0100
kernel/devfs: Use 1UL << ... in bitmap bit operations.
Summary of changes:
sys/vfs/devfs/devfs_helper.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit eeb035f875d0cb79c54938cc9ae8858344059cd1
Author: Aaron LI <a...@aaronly.me>
Date: Fri Mar 30 14:32:59 2018 +0800
mkinitrd(8): determine the initrd size from the contents size
* Calculate the contents size to determine the required initrd size.
The used
commit 96cb3c82a722af3402964382a78b860eb391a66d
Author: Aaron LI <a...@aaronly.me>
Date: Fri Mar 30 16:30:49 2018 +0800
mkinitrd(8): improve the man page and styles
Suggested-by: swildner
Summary of changes:
etc/defaults/mkinitrd.conf | 2 +-
sbin/mkinitrd/mkinitrd.8
commit 4e088ccb937aa8370e44c59574a78494b9471cc3
Author: Aaron LI <a...@aaronly.me>
Date: Sun Apr 1 14:28:45 2018 +0800
loader/menu: Fix 'vfs.root.real_root' to be 'vfs.root.realroot'
This should be the same variable as used in /boot/loader.conf to specify
the rea
commit 7af2527ede6f072a1caaa2af37703e026d7e1e38
Author: Aaron LI <a...@aaronly.me>
Date: Sun Apr 1 14:28:45 2018 +0800
loader/menu: Fix 'vfs.root.real_root' to be 'vfs.root.realroot'
This should be the same variable as used in /boot/loader.conf to specify
the rea
commit 575b0a3987bc9d821132a72310a89e14f99c0c4a
Author: Aaron LI <a...@aaronly.me>
Date: Thu Mar 29 22:12:33 2018 +0800
rc.d: Add ipfw3 rc script
To use ipfw3, add 'ipfw3_enable=YES' to /etc/rc.conf . By default, only
the 'ipfw3' and 'ipfw3_basic' modules will be
commit e58d46e2f52e22ae69dac33dd1121535b6f24792
Author: Aaron LI <a...@aaronly.me>
Date: Sun Mar 25 20:27:26 2018 +0800
[test] Hi Fred :-)
Summary of changes:
test/test/test123 | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/comm
commit 6877ea2d2f7caf9b13202f2524abf3b3cf815b45
Author: Aaron LI <a...@aaronly.me>
Date: Sat Mar 10 12:12:11 2018 +0800
locate.updatedb(8): improve default search paths with small updates
* Make locate.updatedb(8) default to search from all mount points with
the a
commit 9559adf5dcb595ff6d7f53b7845b0e7829eed322
Author: Aaron LI <a...@aaronly.me>
Date: Sat Mar 31 10:37:53 2018 +0800
mkinitrd(8): Fix a wrong variable name, and more improvements
* Fix the wrong variable name 'CONTENT_DIR' to be 'CONTENT_DIRS', which is
commit 1373e548481ceb80e6614b984d8a7414b7e9542a
Author: Aaron LI <a...@aaronly.me>
Date: Sat Mar 31 10:49:00 2018 +0800
mkinitrd(8): Fix the wrong variable "CONTENT_DIR" to be "CONTENT_DIRS"
Summary of changes:
sbin/mkinitrd/mkinitrd.sh | 4 ++--
1 file c
ck-out an indirect block allocation during
a write() which fails due to lack of space.
* Fixes a panic which could occur in the above situation.
Reported-by: Aaron LI
Summary of changes:
sys/vfs/ufs/ffs_balloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6fd380c22bc66887486a4f959f6198e7f7bb3d9c
Author: Aaron LI <a...@aaronly.me>
Date: Thu Mar 29 22:12:33 2018 +0800
rc.d: Add ipfw3 rc script
To use ipfw3, add 'ipfw3_enable=YES' to /etc/rc.conf . By default, only
the 'ipfw3' and 'ipfw3_basic' modules will be
commit 0e7badd402459228d38ddfb0e06224b5a3d9fdf8
Author: Aaron LI <a...@aaronly.me>
Date: Tue Mar 27 23:52:35 2018 +0800
rc.subr: Add _rc_subr_loaded to avoid sourcing it again
* Once /etc/rc.subr been sourced, $_rc_subr_loaded="YES", then /etc/rc.subr
takes
commit 9bc03e32d0ec02933feae4803a13e653b2472b96
Author: Aaron LI <a...@aaronly.me>
Date: Thu Mar 15 22:30:32 2018 +0800
rcorder(8): Multiple cleanups
* Add static for rcorder.c (obtained from FreeBSD)
* Remove commented lines (commit: 70c6c3571b5250b7cabfad3d20d4f7c09a
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
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 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 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 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 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 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 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 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 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
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 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 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
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 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 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 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
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 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
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 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 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 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 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 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 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 d9c542f8684a0eebe8fc6b137676fe46b62adbca
Author: Aaron LI
Date: Wed Jan 16 17:00:47 2019 +0800
fgetln.3: Recommend to use the safer POSIX getline()
Obtained-from: OpenBSD
Summary of changes:
lib/libc/stdio/fgetln.3 | 5 +
1 file changed, 5 insertions(+)
http
commit 1f119bc603f4ab8f1b7c9c478b07fe95db70b499
Author: Aaron LI
Date: Wed Jan 16 16:57:05 2019 +0800
fgetln.3: Add the CAVEATS section with an example
Add the CAVEATS section to warn about the behavior of fgetln(). An
example is included to demonstrate how to properly use
commit 45e55a3219a7a8f2adabfdf399af71f059cfc763
Author: Aaron LI
Date: Wed Jan 16 16:51:41 2019 +0800
getline.3: Note to distinguish between error and EoF
Note that the getline() and getdelim() functions do not distinguish
between end-of-file and error, so the callers must
commit d33b5b477bbcd05cf0fafeb5323a427c80f6d5e9
Author: Aaron LI
Date: Wed Dec 12 12:06:17 2018 +0800
network.subr: Workaround race between wpa_supplicant and dhcpcd
Insert a 1-second delay after starting wpa_supplicant(8) to workaround
the race between it and dhcpcd(8
commit 7164fae4cd2854acfcea492d62b4585099c825ca
Author: Aaron LI
Date: Wed Dec 12 22:53:00 2018 +0800
Allow optional "inet6" keyword in ipv6_ifconfig_
Summary of changes:
etc/network.subr | 1 +
1 file changed, 1 insertion(+)
http://gitweb.dragonflybsd.org/dragonfly.git/
commit 6fac7714ee9cf1ecc175f8a6cde9508ba739afbd
Author: Aaron LI
Date: Tue Dec 11 14:05:20 2018 +0800
network.subr: Cleanups and minor improvements
* Localize variables in all functions.
* Better name several variables (e.g., $i -> $_if).
* Simplify several test and c
commit 3128f8970b0c0203f87c83200d4d3ec07d9e7377
Author: Aaron LI
Date: Sun Dec 9 10:55:55 2018 +0800
rc: Use SYSCTL{,_N,_W} variables
With minor cleanups to IO redirections.
Summary of changes:
etc/network.subr| 4 ++--
etc/rc.d/devd | 2 +-
etc/rc.d
commit 556e28b0119adb92afaeb3bc0f7d20827e95b4dd
Author: Aaron LI
Date: Tue Dec 11 21:27:43 2018 +0800
rc.d/netif: Rename network_* to netif_* for consistency
Rename network_* subroutines to netif_* for better consistency. Also
set the rcvar and add netif_enable=YES
commit 8bd3047b2ba8a0b26353974c344fb663b789ab98
Author: Aaron LI
Date: Wed Dec 12 11:52:24 2018 +0800
rc.d/netif: Rework wlan interface configuration
* wlan interfaces are more similar to clonable interfaces rather than
vlan interfaces, so move the relevant code from
commit 58453939d13ff7f33300c09a65e8eebf92427f46
Author: Aaron LI
Date: Wed Dec 12 11:29:10 2018 +0800
network.subr: Properly bring up/down interfaces
Now that the interface will be properly brought up in ifconfig_up(),
clean up the rc.d/wpa_supplicant script.
Summary
101 - 200 of 692 matches
Mail list logo