Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-02-06 | Flip -q (be quiet) into -v (be noisy), making terseness the default | Kenneth R Westerback | |
behaviour. Always go daemon after link_timeout seconds and complete lease negotiations in the background if necessary. No hanging around in the foreground for the full 64 seconds waiting for a server to appear. Log a more relevant message when a default route can't be obtained via RTM_GET. i.e. "no default route" rather than "No such process". -q -> -v ok mpi@ | |||
2018-02-05 | Ensure that the "bound to ..." message appears in the log unless | Kenneth R Westerback | |
dhclient was started with '-d'. Move the "yielding responsibility" message to log_debug(). Stop logging duplicate "bound to ..." messages now that one is guaranteed to be present when the address is first bound. Thins out logs. Especially if you run with '-q'. | |||
2018-02-05 | tweak previous; | Jason McIntyre | |
2018-02-05 | Always run through state_preboot() when starting up or the | Kenneth R Westerback | |
link status changes. Simplifies some logic. | |||
2018-02-05 | Nuke unused parameter to go_daemon(). | Kenneth R Westerback | |
2018-02-05 | implement an arp filter | Henning Brauer | |
allows arp (and rarp) requests and replies to be matched, including matching based on the source and target host and protocol adresses, and thus control over arp traffic and learning. written for medical x-ray machines, but useful in many spread out L2 networks ok claudio benno | |||
2018-02-04 | fprintf(stderr -> warnx | cheloha | |
ok jca@ tb@ | |||
2018-02-02 | Make 'ifconfig if0 wpaakms 802.1x' implicitly enable WPA. | Stefan Sperling | |
Requring WPA to be enabled separately via 'ifconfig if0 wpa' was confusing. ok mlarkin phessler mpi | |||
2018-01-31 | Check GETTY_SPACING against the monotonic clock. | cheloha | |
Ensures that we can use the check if the system clock is set backwards. While here, move time retrieval into the child process in start_getty(), and only get the time if se_started has been set. ok millert@ tb@ | |||
2018-01-31 | Add support for specifying multiple transforms within a single proposal. | Patrick Wildt | |
This gives us more flexibilty for negotiating with other IKEv2 setups. Tested by and ok sthen@ | |||
2018-01-30 | Expand "bound to ..." message to include the source of the lease, | Kenneth R Westerback | |
either the server IP/MAC or the name of the leases file. Prompted by phessler@ and landry@ feedback to another diff. ok phessler@ | |||
2018-01-29 | Repair botched retry loop when generating RTM_PROPOSAL | Kenneth R Westerback | |
messages at startup. Reproducible situation found on vnet(4) and fix tested by jca@. | |||
2018-01-29 | Missed a couple of log_info()'s in previous commit. Use #ifdef DEBUG | Kenneth R Westerback | |
instead of #if DEBUG. | |||
2018-01-29 | Use log_init(), log_setverbose() and log_debug() more | Kenneth R Westerback | |
appropriately. Fixes '-q' logging oddities. Prompted by phessler@ plea for '-v'-like behaviour rather than putting everything under DPRINTF()'s. | |||
2018-01-28 | Refactor and simplify the logic to select and invoke the | Kenneth R Westerback | |
appropriate function to process a packet. | |||
2018-01-28 | A few fatal() -> fatalx() where errno is not | Kenneth R Westerback | |
relevant. | |||
2018-01-25 | Add DPRINTF() and use it to replace log_debug() statements inside | Kenneth R Westerback | |
#ifdef DEBUG/#endif blocks. Suggestions on correct idiom (C99 vs gcc) from millert@ ok tom@ | |||
2018-01-24 | Don't display the seconds until renewal. i.e. "em0: bound to 1.2.3.4 | Kenneth R Westerback | |
-- renewal in 300000 seconds" becomes simply "em0: bound to 1.2.3.4" While here avoid setting timeouts before the current time. ok florian@ | |||
2018-01-24 | Implement support for specifying multiple proposals. This means we can | Patrick Wildt | |
have a higher flexibility in negotiating with other peers, or even ease migration from one proposal to a more secure one. ok sthen@ | |||
2018-01-22 | 1. Add a field for configuring the size of edge areas on touchpads. | Ulf Brosziewski | |
2. Remove code that is obsolete because all touchpad drivers configure wsmouse for compat mode now. | |||
2018-01-18 | Mark up mount(8) options with Cm. | Anthony J. Bentley | |
2018-01-16 | GETTY_SLEEP is 30 seconds, not 10 | cheloha | |
ok deraadt@ | |||
2018-01-16 | Recycle IFF_NOTRAILERS into IFF_STATICARP and document ownerhsip | Martin Pieuchot | |
of IFF* flags. inputs from jmc@, ok bluhm@, visa@ | |||
2018-01-15 | Spacing, no object change. | Martin Pieuchot | |
2018-01-12 | Adjust references for sysctl(3) to sysctl(2) | Theo de Raadt | |
2018-01-09 | Stop printing <not displayed> for wireless keys we know the kernel no | Martin Pieuchot | |
longer export them to userland. ok stsp@, deraadt@, jca@ | |||
2018-01-06 | unifdef LOGIN_CAP, we always want to use login.conf | Todd C. Miller | |
OK jca@, no objection deraadt@ | |||
2018-01-05 | Complete and fix grammar in comments and bring grammar terms, | Kenneth R Westerback | |
function names and function code into sync. | |||
2018-01-05 | the value of bflag is a blockno, so use the proper type, avoids | Otto Moerbeek | |
an overflow seen with scanning for alternate superblocks; ok deraadt@ | |||
2018-01-05 | Remove useless <sys/socketvar.h> includes. | Martin Pieuchot | |
ok kettenis@, visa@, claudio@, deraadt@ | |||
2018-01-04 | Compact some whitespace, unsplit now shorter lines. | Kenneth R Westerback | |
2018-01-04 | Comments and grammar use '_decl' so use _decl instead of _declaration | Kenneth R Westerback | |
in the names of the respective parsing functions. | |||
2018-01-04 | space -> tab | Martin Pieuchot | |
No object change. | |||
2018-01-04 | parse_lease_time() is an unnecessary abstraction. Just use | Kenneth R Westerback | |
parse_number('L') since it is parsing unsigned 32bit integers. | |||
2018-01-04 | We only parse decimal numbers, so parse_decimal() -> parse_number() to | Kenneth R Westerback | |
match grammar comments and improve euphony. | |||
2018-01-02 | Add missing mouse type. Reported by bit shifter on misc@; ok bru@ | anton | |
2018-01-02 | More grammar comments improvements. | Kenneth R Westerback | |
2018-01-01 | Tweak syntax comments into consistency and completeness. | Kenneth R Westerback | |
2017-12-31 | Remove an unused variable and instruct lex not to produce the input() function | anton | |
since it's never used; ok guenther@ | |||
2017-12-23 | Since ikev2_init_recv() is supposed to only handle responses to an | Patrick Wildt | |
exchange that we initiatiated, we are not allowed to respond to such a msg. Also we don't need the DH check in ikev2_sa_initiator_dh() as it's only called when we initiate, so the check would not run, or when we get a Create Child SA response, where an error should only lead to us having another attempt at an exchange. Found by and ok markus@ | |||
2017-12-20 | Always 'send' host-name, rather than relying on dhclient.conf to ask | Kenneth R Westerback | |
for it. Removes the need to install a dhclient.conf for a default configuration. Install script simplification to follow. General enthusiasm. ok millert@ benno@ tom@ ian@ | |||
2017-12-18 | Stop inserting and paying attention to 'interface <if>;' | Kenneth R Westerback | |
inside 'lease {}' declarations. We don't keep leases from multiple interfaces in dhclient.leases.<if> files. One less thing to parse and keep in memory. More rope for those wanting to do unspeakable things with their lease files. | |||
2017-12-18 | Tighten /usr/local and /usr/X11R6 so that 8G disks still fit in our default | Antoine Jacoutot | |
partitioning scheme. ok florian@ benno@ | |||
2017-12-17 | Further simplifY lease parsing. Fold add_lease() into read_lease_db(), | Kenneth R Westerback | |
and move all lease parsing into parse_lease(). | |||
2017-12-16 | With leases no longer in dhclient.conf, rename a bunch of | Kenneth R Westerback | |
functions and fields to more obvious names reflecting this separation. | |||
2017-12-13 | Fix whitespace botch that snuck in. | Kenneth R Westerback | |
2017-12-13 | Simplifiy parser by not worrying about nesting 'interface <if> {}' | Kenneth R Westerback | |
statements. They are silly but harmless and work fine. | |||
2017-12-13 | getsockname(2) needs to be passed the length of the input struct. | Patrick Wildt | |
ok jca@ | |||
2017-12-10 | add #ifndef SMALL to slaacd.c as needed to fix 'make release' | Stefan Sperling | |
2017-12-10 | Move privileged initialization from frontend to main process. | Florian Obser | |
Needed for future work where we will spin up children via fork - privdrop - exec. Child processes will no longer come up with root privileges. |