#
f193c8ce |
| 05-Jan-2017 |
Xin LI <delphij@FreeBSD.org> |
Use strlcpy and snprintf in netstat(1).
Expand inet6name() line buffer to NI_MAXHOST and use strlcpy/snprintf in various places.
Reported by: Anton Yuzhaninov <citrin citrin ru> MFC after: 3 days D
Use strlcpy and snprintf in netstat(1).
Expand inet6name() line buffer to NI_MAXHOST and use strlcpy/snprintf in various places.
Reported by: Anton Yuzhaninov <citrin citrin ru> MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D8916
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
2f52412d |
| 29-Aug-2016 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead @ r305013
|
#
29ed43fc |
| 28-Aug-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r304885 through r304954.
|
#
de618daa |
| 27-Aug-2016 |
Bruce Evans <bde@FreeBSD.org> |
Fix build without INET6 and with gcc. A function definition was ifdefed for INET6, but its protototype was not, and gcc detects the error.
|
#
d6084013 |
| 05-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|
#
cfe3da09 |
| 27-Mar-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
netstat: avoid returning uninitialized value in p_sockaddr().
In the case the width is less than 0, we are returning an uninitialized value. For practical purposes the return value is ignored but in
netstat: avoid returning uninitialized value in p_sockaddr().
In the case the width is less than 0, we are returning an uninitialized value. For practical purposes the return value is ignored but initialize it to avoid trouble.
CID: 1341619
show more ...
|
Revision tags: release/10.3.0 |
|
#
b626f5a7 |
| 04-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH r289384-r293170
Sponsored by: The FreeBSD Foundation
|
#
c99bbcab |
| 02-Dec-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head.
|
#
4fc31adf |
| 01-Dec-2015 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
At the time a destination or a gateway of `netstat -r' protrudes its field, narrow the next field to raise readability bit.
|
#
8d4f972b |
| 26-Nov-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head.
|
#
857357b6 |
| 20-Nov-2015 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Don't truncate an interface name when -W option is specified.
Spotted by: Jim Thompson <jim__at__netgate.com> MFC after: 1 week
|
#
a5d8944a |
| 19-Nov-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head (r291075).
|
#
3e4f384e |
| 07-Nov-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head r290483
|
#
f3ffc9fd |
| 05-Nov-2015 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Use returned network name from getnetbyaddr() correctly.
|
#
6f53a038 |
| 05-Nov-2015 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Revert previous workaround. This problem was fixed by r290318.
|
#
6ad5f7ca |
| 04-Nov-2015 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Since sa->sa_len doesn't match sizeof(struct sockaddr_dl), getnameinfo() fails against sockaddr_dl. This commit is workaround for this problem.
|
#
38507af3 |
| 04-Nov-2015 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
Mask an IPv6 network address.
|
#
11d38a57 |
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|
#
becbad1f |
| 13-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
b5ff185e |
| 12-Sep-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
00176600 |
| 09-Sep-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Merge r286744-r287584 from head.
|
#
d9442b10 |
| 05-Sep-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r286858 through r287489.
|
#
81dacd8b |
| 02-Sep-2015 |
Hiroki Sato <hrs@FreeBSD.org> |
Simplify kvm symbol resolution and error handling. The symbol table nl_symbols will eventually be organized into several modules depending on MK_* variables.
|
#
10d5269f |
| 01-Sep-2015 |
Hiroki Sato <hrs@FreeBSD.org> |
- Add -W flag support for network column in intpr() (-i flag) and routepr() (-r flag). It is too narrow to show an IPv6 prefix in most cases.
- Accept "local" as a synonym of "unix" in protocol
- Add -W flag support for network column in intpr() (-i flag) and routepr() (-r flag). It is too narrow to show an IPv6 prefix in most cases.
- Accept "local" as a synonym of "unix" in protocol family name.
- Show a prefix length in CIDR notation when name resolution failed in netname().
- Make routename() and netname() AF-independent and remove unnecessary typecasting from struct sockaddr.
- Use getnameinfo(3) to format L2 addr in intpr().
- Fix a bug which showed "Address" when -A flag is specfied in pr_rthdr().
- Replace cryptic GETSA() macro with SA_SIZE().
- Fix declarations shadowing local variables with the same names.
- Add more static, remove unused header files and variables.
MFC after: 1 week
show more ...
|
Revision tags: release/10.2.0 |
|
#
416ba5c7 |
| 22-Jun-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with HEAD (r280229-r284686).
|