Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-22 | PF_ROUTE -> AF_ROUTE in the scattered sock()/setsockopt() calls | Kenneth R Westerback | |
where the "wrong" #define was used. ok dlg@ | |||
2019-01-21 | Zap unused ntop_buf | kn | |
Last usage got removed with r1.9 in 2001. sure deraadt | |||
2018-07-13 | Unused variables. | Kenneth R Westerback | |
ok henning@ | |||
2018-06-17 | fix memory leaks: freeaddrinfo() the data from getaddrinfo(). | Sebastian Benoit | |
From Thomas Barabosch <thomas DOT barabosch AT fkie DOT fraunhofer DOT de> Thanks. ok florian@ | |||
2018-04-26 | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | Philip Guenther | |
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | |||
2017-10-25 | Remove dead code, found by jsg@. | Martin Pieuchot | |
ok jsg@, florian@ | |||
2017-08-09 | the recent adjustment of -i means usage() fits nicely on | Jason McIntyre | |
two lines now, instead of three; | |||
2017-08-09 | Remove knob and always do neighbor unreachable detection. | Florian Obser | |
2017-08-09 | accept_rtadv doesn't do anything since some time. | Florian Obser | |
OK mpi | |||
2017-07-13 | Simplify usage and man page synopsis after removal of prefix list and | Florian Obser | |
default router flags. Pointed out and diff from jcm@, OK me While reviewing the diff I stumbled upon the H flag, which is now useless, too. jmc suggested that I commit his diff and zap H at the same time. | |||
2017-07-12 | Remove defunct code, the kernel no longer provides | Florian Obser | |
ICMPV6CTL_ND6_DRLIST and ICMPV6CTL_ND6_PRLIST sysctls since it no longer tracks that information. We can no longer flush or list the prefix list or the default router list. Pointed out by & OK mpi | |||
2017-04-15 | Take implementation for getsocket() from arp(8). This brings | Alexander Bluhm | |
routing table filter and pledge(2) to ndp(8) modes -s and -d. OK florian@ | |||
2017-04-15 | Let ndp(8) use the process's current routing table by default. | Alexander Bluhm | |
from Pierre Emeriaud; OK jca@ claudio@ Sync code and man page with arp(8). OK florian@ | |||
2016-11-29 | Tweak output to keep it aligned when interfaces with big names, like | Martin Pieuchot | |
vether0 are used. ok jca@, deraadt@ | |||
2016-08-15 | Checking for RTF_BROADCAST here makes no sense. | Martin Pieuchot | |
2016-08-05 | Using a macro to save 4 chars is mere obfuscation. | Jeremie Courreges-Anglas | |
2016-08-05 | Kill an unused macro | Jeremie Courreges-Anglas | |
...instead of leaving an XXX about it. | |||
2016-08-02 | Ensure that "lim" is initialized and reset at each loop run. | Jeremie Courreges-Anglas | |
Avoids possible invalid memory accesses. ok florian@ | |||
2016-07-31 | Rename the route socket to a more useful name. | Jeremie Courreges-Anglas | |
Avoid a bunch of "warning: declaration of 's' shadows a global declaration" while here. | |||
2016-07-31 | Turn two global variables into variables local to main. | Jeremie Courreges-Anglas | |
2016-07-31 | Duplicated decls | Jeremie Courreges-Anglas | |
2016-05-02 | Kill useless CPPFLAGS | Jeremie Courreges-Anglas | |
usr.sbin/ndp has no #ifdef INET6 test, and doesn't need an explicit -I. directive. ok sha256 mpi@ | |||
2016-04-05 | Describe the format used by -s once, and refer to it when documenting -f. | Jeremie Courreges-Anglas | |
Discussed with jmc@ | |||
2016-04-05 | Consistent v6-speak: hostname -> nodename, proxy NDP -> ND proxy | Jeremie Courreges-Anglas | |
Discussed with jmc@ | |||
2016-04-05 | Pointless commented-out lines; discussed with jmc@ | Jeremie Courreges-Anglas | |
2016-04-05 | etheraddr -> ether_addr, as in arp(8); discussed with jmc@ | Jeremie Courreges-Anglas | |
2016-04-04 | Hook up ndp -f. | Jeremie Courreges-Anglas | |
Initial diff from Dimitris Papastamos. Support from mikeb@, ok benno@. | |||
2016-01-26 | Use an unsigned int rather than an int when iterating through all 32 | mmcc | |
bits in the form: for (i = 1; i; i <<= 1) This avoids undefined operations when shifting into and out of the highest-order bit. ok millert@ | |||
2016-01-12 | Do not print an error if the list of prefixes is empty. | Martin Pieuchot | |
This is becoming more and more comon now that the list is only used for autoconfigured prefix. From Florian Riehm. | |||
2015-10-28 | Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can now | Florian Obser | |
die and ifp->if_mtu is the one true mtu. Suggested by and OK mpi@ | |||
2015-10-25 | backout; many issues remain... | Theo de Raadt | |
2015-10-25 | pledge the main usage patterns similar to arp(8). Some akkorokamui | Theo de Raadt | |
prevent doing this better, someone should try to refactor this more like arp... also figure out what dawn-of-ipv6 options can be removed. ok benno | |||
2015-10-24 | chlim has been removed from the nd_ifinfo structure. | Matthieu Herrb | |
ok kettenis@ | |||
2015-10-23 | ndp -n -d <addr> does dns lookups, even with -n. it should not. | Sebastian Benoit | |
found through pledge. ok deraadt@ | |||
2015-10-05 | typo. | Igor Sobrado | |
2015-09-11 | consistency: .Ic -> .Cm; and drop redundant .Bk | Ingo Schwarze | |
2015-08-23 | Use simple byte pointer arithmetic and memcpy from/to aligned stack | Christian Weisgerber | |
variables to handle the "packed" binary format passed out to userland when querying the prefix/router list. From NetBSD (Martin Husemann). ok mpi@ | |||
2015-06-03 | Explicitly request the sockaddr_dl when doing a RTM_GET rather than | Martin Pieuchot | |
assuming that it will be in the gateway sa. Fixes a regression introduced with the support of multiple connected routes, found the hardway by deraadt@. ok claudio@ | |||
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-09-07 | Remove useless comment, snprintf and if/else. | Alexander Bluhm | |
OK mpi@ | |||
2014-09-03 | Be coherent in the way arp(8) and ndp(8) display local entries and | Martin Pieuchot | |
use a new flag `l' to ditinguish them. Also skip broadcast entries, they are not reall ARP entries and will never be resolved to anything, requested by deraadt@. ok bluhm@ | |||
2014-08-22 | switch ndp to display MAC addresses in 00:00:00:00:00:00 format, ok deraadt@ | Stuart Henderson | |
2014-08-19 | Entries for broadcast addresses should also be ignored, just like local | Martin Pieuchot | |
entries. ok florian@, mikeb@, henning@ | |||
2014-08-11 | Do not try to delete RTF_LOCAL entries. Such routes are automatically | Martin Pieuchot | |
created /deleted by the kernel when an IP address is added/removed on/from an interface and should not be manipulated by userland tools. ok henning@, jca@ | |||
2014-07-12 | andone last (i hope) accept_rtadv sysctl remnant, also found by jmc | Henning Brauer | |
2013-10-21 | - -V after -t | Jason McIntyre | |
- fix usage() | |||
2013-10-21 | Add rdomain support to IPv6 configuration tools | Peter Hessler | |
OK claudio@ and bluhm@ | |||
2013-10-07 | Fix a segfault in ndp -A by not freeing the buffer when not in repeat | Jeremie Courreges-Anglas | |
mode. Input from and ok millert@ | |||
2013-08-15 | Reduce the warnings when arp, rarp, ndp are compiled with WARNINGS=yes. | Alexander Bluhm | |
warning: declaration of 'time' shadows a global declaration No binary change; OK lteo@ florian@ henning@ mikeb@ millert@ |