Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-31 | REQUEST packets are not just sent when an interface reboots. So don't short | Kenneth R Westerback | |
circuit the waiting for ACK's by giving up after reboot_timeout. ok tedu@ | |||
2016-08-31 | Remove unused RTF_MASK route flag. | Alexander Bluhm | |
Requested by and OK mpi@ | |||
2016-08-31 | Delete SIGTRAP, SIGFPE, SIGBUS, and SIGSEGV handlers. Such patterns | Theo de Raadt | |
don't help improve code because they block core dumps and there reduce inspection of bugs thus work on fixes. Secondly, these handlers are *stdio signal races* so they can produce different coredumps deep inside stdio. | |||
2016-08-31 | Use reboot_timeout (default: 1) instead of initial_interval (default: 3) when | Kenneth R Westerback | |
the interface reboots. Thus the fallback from REQUEST to DISCOVER will take place after the intended reboot_timeout seconds. ok tedu@ mpi@ | |||
2016-08-31 | Rename ifconfig's setinstance() function to setrdomain(). Less confusing. | Stefan Sperling | |
ok claudio@ jca@ | |||
2016-08-31 | Remove the 'client' global and make it per-ifp. | Martin Pieuchot | |
ok krw@ | |||
2016-08-30 | summary() is no longer called from a signal handler, so it can use | Theo de Raadt | |
stdio and does not need the workarounds. ok florian millert | |||
2016-08-30 | Avoid calling summary() from a signal handler. This will allow us | Todd C. Miller | |
to go back to using stdio there. OK florian@ deraadt@ | |||
2016-08-30 | Make sure to not decrease packet size when running with -v. | Florian Obser | |
OK benno | |||
2016-08-30 | usage() is __dead. | Florian Obser | |
While here remove one useless call to usage() that's covered by the very next line. | |||
2016-08-30 | Add destination IP to MAC, reduces difference to ping(8). | Florian Obser | |
2016-08-27 | further tweak previous: use the same text for norw as ro; ok tedu | Jason McIntyre | |
2016-08-27 | for completeness, document (no)rw and ro options. | Ted Unangst | |
2016-08-27 | Pull in <sys/time.h> for struct timespec | Philip Guenther | |
<sys/fcntl.h> shouldn't be used by userspace; this already uses <fcntl.h> ok deraadt@ | |||
2016-08-27 | Pull in <sys/time.h> for struct timespec | Philip Guenther | |
ok deraadt@ | |||
2016-08-26 | Pull in <sys/select.h> for fd_set | Philip Guenther | |
ok deraadt@ | |||
2016-08-26 | Add <time.h> for time(); sort <*.h> includes | Philip Guenther | |
ok deraadt@ | |||
2016-08-26 | Add <time.h> for time() and ctime(); sort <net*/*.h> | Philip Guenther | |
ok deraadt@ | |||
2016-08-23 | Make the 'ifi' global local to dhclient.c and pass it as an argument to | Martin Pieuchot | |
functions needing it. This is the first step to support multiple interfaces in one dhclient(8) instance. ok krw@ | |||
2016-08-20 | fsdb(8) sucks in and is pledged by fsck(8). Since it uses editline(3), | Theo Buehler | |
add a special case for the missing "rpath" and "tty" promises. Issue found and initial analysis by Jan Stary, thanks! ok deraadt | |||
2016-08-19 | correct a rate test introduced in rev 1.326 | Jonathan Gray | |
ok stsp@ | |||
2016-08-19 | Start with a default fragsize of 2048, double it for large disks and then cap | Otto Moerbeek | |
based on sector size. This avoid too large fragments on 4k disks. Problem noted by David Vasek; ok krw@ | |||
2016-08-16 | Track SSID in leases file and only consider leases from the current SSID when | Kenneth R Westerback | |
starting up dhclient on wifi interfaces. In theory will preserve leases from other SSID's and speed up obtaining a lease by not wasting time attempting to re-acquire a lease from a different SSID. Experimental feature from n2k16 needing some real world testing before g2k16. | |||
2016-08-15 | When running 'ifconfig scan' in hostap mode display the current Tx rate our | Stefan Sperling | |
AP is using to send frames to an associated node. This used to always display the node's highest supported Rx rate, which isn't all that interesting. ok mpi@ | |||
2016-08-14 | Use int64_t and %ll for CTLTYPE_QUAD nodes. | Philip Guenther | |
Use memcpy() instead of up-casting from char* to long long* ok krw@ | |||
2016-08-14 | Convert %q to %ll. Cast off_t to long long for printf-style args. | Philip Guenther | |
Eliminate pointless casts to void* or off_t ok krw@ | |||
2016-08-10 | armish handled some early-gen arm machines, which required tons of | Theo de Raadt | |
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go. | |||
2016-08-06 | Unbreak PSK authentication, broken by previous. | Pascal Stumpf | |
ok reyk@ florian@ | |||
2016-08-03 | Fix typo, spotted by Holger Mikolon <holger@mikolon.com> | Vincent Gross | |
2016-08-03 | A couple of "a->blah == a->blah" -> "a->blah == b->blah". | Kenneth R Westerback | |
Spotted by the Echelon team with AppChecker static analyzer. ok sashan@ | |||
2016-08-02 | capitalize a question like all the others | Joshua Stein | |
ok krw | |||
2016-07-31 | Ask for DHO_BOOTFILE_NAME and DHO_TFTP_SERVER by default. May prove | Kenneth R Westerback | |
useful to autoinstall in the future and in the meantime can provide information on what the dhcp server has done with the desired server name and file name info. Original diff from Patrik Lundin via tech@ | |||
2016-07-28 | after getenv, check for empty string too. ok millert | Ted Unangst | |
2016-07-27 | correct syntax for baddynamic example. from Holger Mikolon | Ted Unangst | |
2016-07-27 | increase the size of forkstat fields to accomodate large values | Ted Unangst | |
2016-07-25 | Revert change to density calculation. David Vasek points out this | Kenneth R Westerback | |
is a more complicated problem than it appears. ok deraadt@ | |||
2016-07-23 | Back out the dhclient BPF change. There are DHCP servers out there which | Stefan Sperling | |
send frames to the ethernet broadcast address, so this will need some more thought and it's too late for 6.0. Problem reported by Holger Mikolon. ok mpi@ | |||
2016-07-23 | At n2k16 David Vasek pointed out that FFS partitions on 4K disks are | Kenneth R Westerback | |
created with far fewer inodes than DEV_BSIZE devices. Scale the default 'density' value by (sector size)/DEV_BSIZE to create the same number of inodes. Obviously a NO-OP on DEV_BSIZE devices. Thanks David! ok deraadt@ | |||
2016-07-22 | Actually DECLINE and delete unused offers. Don't just say so in a comment. | Kenneth R Westerback | |
In situations where >1 offer is received this will eliminate unbounded memory growth and make us a more polite netizen. In some corner cases it might prevent reuse of inappropriate older offers. ok millert@ | |||
2016-07-21 | Use explicit idiom when testing the result of strcmp() and strncmp(). | Kenneth R Westerback | |
i.e. == 0 and != 0 as appropriate. No intentional functional change. Suggested by & ok tom@ | |||
2016-07-20 | Shrink priv_write_file() API so that it does less, and the callers ask | Theo de Raadt | |
it to do less. Discussion with guenther. ok krw | |||
2016-07-20 | As a general rule, fchown before fchmod is a safer order (because many | Theo de Raadt | |
systems throw away bits upon chown). Not in this case, but code gets copied.. ok krw | |||
2016-07-20 | When parsing the configuration. initialize the auth structure | Reyk Floeter | |
correctly, as parse.y's $$ is not zero-initialized. Found by Rene Ammerlaan OK markus@ florian@ | |||
2016-07-20 | Make the size for the syn cache hash array tunable. As we are | Alexander Bluhm | |
swapping between two syn caches for random reseeding anyway, this feature can be added easily. When the cache is empty, there is an opportunity to change the hash size. This allows an admin under SYN flood attack to defend his machine. Suggested by claudio@; OK jung@ claudio@ jmc@ | |||
2016-07-19 | Narrow the BPF read filter rules so only packets sent to the | Kenneth R Westerback | |
interface's LLADDR pass. Rely on dhclient's existing ability to detect and react to LLADDR changes. This limits the number of packets that get dropped as a result of dhclient setting BIOCSFILDROP on the bpf descriptor. Problem with bridges and multiple dhclients noted by stsp@. ok mpi@ stsp@ deraadt@ henning@ | |||
2016-07-18 | no more cbq_opts - CBQ is gone, ok mpi phessler benno | Henning Brauer | |
2016-07-18 | g/c unused (global!) var: oqueues isn't used any more. ALTQ leftover; not | Henning Brauer | |
noticed since struct node_queue stayed. ok claudio benno gcc | |||
2016-07-14 | kern.usermount is currently a no-op; | Jason McIntyre | |
ok deraadt | |||
2016-07-13 | Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such | Martin Pieuchot | |
instead of abusing RTF_CLONING. Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@ | |||
2016-07-09 | only print one error, not multiple misleading messages | Ted Unangst | |