Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2017-12-09 | Add ACTION_IGNORE and nuke ignored_options, ignored_option_count fields | Kenneth R Westerback | |
in struct client_config. | |||
2017-12-08 | When accepting a BOOTP lease, do not leak offered values of lease | Kenneth R Westerback | |
time, renewal time, rebinding time. Use the ACTION_DEFAULT mechanism to set the default expiry time for any lease so gauche as to not provide one. Use the DHCP default lease times for BOOTP leases instead of, bizarrely, shorter times. | |||
2017-12-08 | Convert snprintf+write into dprintf. It is simply easier to read, and | Theo de Raadt | |
provides retry on short-write file descriptors. ok florian, previous versions seen by millert | |||
2017-12-07 | Change the SA payload parser to parse more than the first proposal. This | Patrick Wildt | |
allows us to select one of the peer's proposals (and not only the first). ok sthen@ hshoexer@ | |||
2017-12-07 | adjust the "timeout" text, now that leases are no longer | Jason McIntyre | |
specified in dhclient.conf; ok krw | |||
2017-12-07 | Set ifi->offer to NULL after free'ing it. | Kenneth R Westerback | |
2017-12-07 | Nuke support for defining last-gasp leases in dhclient.conf. | Kenneth R Westerback | |
2017-12-07 | Set the correct ENCAPSULATION_MODE when doing NAT-T. | Martin Pieuchot | |
Fix at least interoperability with Cisco when isakmpd(8) is initiating the connections, originally reported by sebastia@ in 2014. Refreshed diff from and ok hshoexer@, ok sthen@, ok remi@ | |||
2017-12-06 | Disentangle dhclient.conf static lease handling from dynamic | Kenneth R Westerback | |
lease handling. Simplifies code and makes it easier to consider excising this 'feature'. |