Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-27 | Pull in <sys/time.h> for gettimeofday() | Philip Guenther | |
ok deraadt@ | |||
2016-05-28 | Replace the /dev/bpf* open loop with a plain open("/dev/bpf0", ...). | Martin Natano | |
ok deraadt jca | |||
2016-04-05 | Describe the format used by -s once, and refer to it when documenting -f. | Jeremie Courreges-Anglas | |
Discussed with jmc@ | |||
2016-03-23 | tweak previous; | Jason McIntyre | |
2016-03-23 | Kill undocumented "pro" command. It's a no-op since the 90s! | Martin Pieuchot | |
2016-03-23 | Rename 'rtn' to 'error' for coherency. | Martin Pieuchot | |
2016-03-23 | Remove code to print the never set SIN_PROXY bit. This flag is only used | Martin Pieuchot | |
to set the 33rd bit of a 32bit address in the routing table. ok millert@ | |||
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@ | |||
2015-12-08 | remove undocumented message about trailers | Ted Unangst | |
2015-12-08 | jmc discovered more references to trailers. i think it's safe to remove | Ted Unangst | |
mention that they are no longer supported. the six people who know what trailers are are surely aware they aren't support anymore. | |||
2015-11-01 | replace "can not" with "cannot"; | Jason McIntyre | |
2015-10-14 | I messed up reading the call graph. -d delete does use search, so a | Theo de Raadt | |
late pledge is not possible in this way. | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-07 | use new tame "route" feature when possible | Theo de Raadt | |
2015-10-05 | correct a rtget() error check | Sebastien Marie | |
this function could only return 0 or 1, and 1 on error. avoid to deref an uninitialised variable if rtget() return an error. ok millert@ benno@ deraadt@ | |||
2015-10-03 | arp uses a non-privileged sockraw to look at the kernel arp tables. | Theo de Raadt | |
the function to do that is called a number of times, but as needed. hoist it upwards into initization, then tame "stdio dns inet" is possible in most code paths. (there may be further work to do here here) i believe florian helped me with this. | |||
2015-07-27 | use file system path (.Pa) semantic markup macros where appropriate. | Igor Sobrado | |
ok jmc@ | |||
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-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 | print leading 0's in MAC addresses again, ok deraadt | Stuart Henderson | |
2014-08-21 | Change the output of arp(8) to match what ndp(8) does and include the | Martin Pieuchot | |
expire timer. This will makes it easier to add further information in a coherent way between these tools for local and broadcast entries. This new view displays either symbolic names (by default) or numerical addresses (with "-n") for hosts but not both at the same time, just like ndp(8), route(8) or netstat(1) do. ok henning@ | |||
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-05-09 | my previous attempt to fix the renaming of the inet(3) pages was wrong; | Jason McIntyre | |
this fixes those by referencing the correct page, and cleans up the netintro/ inet entries; all this on the advice (and ok) of guenther! | |||
2014-05-08 | inet(3) -> inet_net(3); | Jason McIntyre | |
2014-03-18 | Put AF_ROUTE socket that arp(8) operates on into the appropriate rdomain. | Mike Belopuhov | |
Previously "arp -V 1 -d 10.0.0.1" would hang forever since while the target rdomain was passed in the rtm, the AF_ROUTE socket was always created in the rdomain 0. Due to the logic in route_input (rtsock.c) route socket's rdomain is compared against the target rdomain of the request and reply is generated only when they match. In our case rdomains were different which cased arp(8) to hang waiting for the reply that would never be sent. ok deraadt | |||
2014-02-26 | This is a lie, the default is not 0. It is inherited from the process. | Claudio Jeker | |
OK by many | |||
2014-02-26 | There is no need to init a global to 0 | Claudio Jeker | |
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@ | |||
2013-07-20 | arp and rarpd used an int expire_time for time calculation. Convert | Alexander Bluhm | |
this into time_t. OK benno@ | |||
2013-03-21 | create realloc() loops around sysctl for array-based mibs, in programs | Theo de Raadt | |
which want a "full" dump ok dlg | |||
2012-11-08 | When running route -Tx exec arp -an, arp would always use the default | Peter Hessler | |
routing domain. Fix it so we use the process rdomain, but still allow command line overrides. noticed by, and OK, mikeb@ | |||
2012-09-26 | last stage of rfc changes, using consistent Rs/Re blocks, and moving the | Jason McIntyre | |
references into a STANDARDS section; | |||
2011-09-01 | grammar fix; from Brynet | Jason McIntyre | |
2011-03-13 | consistently use "Wake on LAN (WoL)"; i don;t care if anyone wants to | Jason McIntyre | |
change that, but let's keep it consistent; ok stsp | |||
2011-01-11 | oops! missing macro in previous; | Jason McIntyre | |
2011-01-11 | Add Wake on Lan support to arp(8). This is partly based on the original | Jasper Lievisse Adriaanse | |
wake(8) program. One can specify an interface to send on, or simply broadcast on all available interfaces. Initial input from stsp@, further help from claudio@ and deraadt@. ok claudio@ deraadt@ manpage bits ok jmc@ | |||
2009-09-27 | a usage line got too long; ok jmc | Theo de Raadt | |
2009-06-25 | Same code as in route(8) same RTM_VERSION check missing. | Claudio Jeker | |
Tested and OK sthen@, OK henning@ | |||
2009-06-05 | tweak -V; | Jason McIntyre | |
2009-06-05 | more rtm->rtm_hdrlen conversion | Chris Cappuccio | |
ok claudio@ | |||
2009-06-05 | One more tool that knows about other domains via -V | Claudio Jeker | |
2009-04-29 | +.Xr ndp 8 | Jason McIntyre | |
from Bob Van Zant, freebsd docs/134053 | |||
2008-12-12 | Use rtm_hdrlen to jump over the message header and to the beginning of the | Claudio Jeker | |
sockaddrs included in the message. This makes the code more robust when kernel and userland are out of sync. put it in deraadt@ | |||
2008-03-12 | "usage:" should precede the first statement only | Igor Sobrado | |
ok jmc@ | |||
2008-02-14 | backout the change to make arp(8) default to -an; | Thordur I. Bjornsson | |
Remove that blurp from the man page also. requested by deraadt@; | |||
2008-02-11 | bump Mdocdate for pages committed in "febuary", necessary because | Jason McIntyre | |
of a typo in rcs.c; | |||
2008-02-08 | fix Mdocdate. | Jason McIntyre | |
developers please note: you do not have to edit this field when you make changes to man pages. it's a cvs keyword which expands automatically. |