summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2007-11-05forgotten arg to printf, Tobias UlmerOtto Moerbeek
2007-11-05- clarify the descriptions of "sync" and "async"Jason McIntyre
- "async" and "softdep" are mutually exclusive (from simon) - change the "no" example to sth potentially less confusing (and safer) some feedback from millert ok simon
2007-11-03document different types for "device" and improve startup description;Jason McIntyre
this is really an mbalmer diff, tweaked by myself ok deraadt mbalmer
2007-11-034800Theo de Raadt
2007-11-03tweaks;Jason McIntyre
2007-11-03use tty01 and mention the baud rate issueTheo de Raadt
2007-11-03Correct bad example, in /etc/ttys use the _tty_ not _cua_, of course.Marc Balmer
spottet by deraadt.
2007-11-03lintTheo de Raadt
2007-11-03Add ldattach.Marc Balmer
ok deraadt
2007-11-03ldattach(8) is a command to attach line discipline to a tty line. It canMarc Balmer
be used from the command line or from init(8) by adding an entry to the /etc/ttys file. ldattach(8) can be extended to support new line disciplines. feedback many, ok deraadt, mikeb
2007-10-31Don't leak potentially secret authname through ioctl interface.Mike Belopuhov
Suggestions from mpf@ and canacar@ ok deraadt mpf canacar
2007-10-25Fix probability rules w/ numbers (e.g probability 0.4).Marco Pfatschbacher
Add support for probablities of 0% and 100%. With and OK deraadt@
2007-10-24HW_PHYSMEM is unsignedPeter Stromberg
yuck & ok henning@
2007-10-22add missing header to avoid warningCharles Longeau
"Yes please" ray@ krw@
2007-10-22sync with daemon parser code.Pierre-Yves Ritschard
ok deraadt@
2007-10-22pfctl does not need file secrecyTheo de Raadt
2007-10-20add missing [-b block#] to the usage of fsck(8)Igor Sobrado
ok jmc@
2007-10-20an usage message should fit on a 80-column displayIgor Sobrado
ok jmc@
2007-10-20Strip trailing whitespace on input lines. Should make config files moreKenneth R Westerback
resistant to careless fingers. A variant of what NetBSD did to achieve the same ends. Feedback, suggestions & "looks good" ray@
2007-10-20document the "all" interface group; after some discussion w/ mpf and henningJason McIntyre
diff from Okan Demirmen ok henning
2007-10-18SIGCHLD is not an errno value.Ray Lai
Spotted by deraadt.
2007-10-17- Be more careful about pre-existing SIGCHLD handlers (or SIG_IGN) byTheo de Raadt
temporarily restoring default behaviour. This is not 100% ideal. But this fixes editor handling in mail... bah, it is really unfortunate that got broken - refactor the restoration code as well, to make it simpler ok ray
2007-10-16sync the synopsis and usage of commandsIgor Sobrado
ok jmc@
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
Requested and OK deraadt@
2007-10-16Allow unquoted numbers in variables.Marco Pfatschbacher
Change 'set hostid' to NUMBER and remove unneeded converter. Add '=' to allowed_to_end_number(x) to make varsets like 4=5 illegal. OK deraadt@
2007-10-16in the lex... even inside quotes, a \ followed by space or tab shouldTheo de Raadt
expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr
2007-10-16"script" does not belong in the lease declaration section;Jason McIntyre
from Vincent GROSS ok henning
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-13support an include directive; file of course must also be "secure" likeTheo de Raadt
the main configuration file; ok henning
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas.
2007-10-13Unconditionally call the TIOCSTSTAMP ioctl, this way calling nmeaattach(8)Marc Balmer
without the '-t' option can be used to turn of tty timestamping. problem noticed by sthen@, ok sthen, deraadt
2007-10-11next step in the yylex unification: handle quoted strings in a nicer fashionTheo de Raadt
as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others
2007-10-09Fix range check for carp vhid: vhid 0 isn't validJoel Knight
2007-10-08attribute packed -> __packedGilles Chehade
OK millert
2007-10-05check fgets return valueCharles Longeau
use strncmp instead of strcmp with help of ray@ "Looks OK" millert@
2007-10-01Backout NUMBER to string conversion.Marco Pfatschbacher
Requested by deraadt@
2007-09-29default to svnds now to accomodate change in the vnd driver.Felix Kronlage
from Piotr Durlej with man-page nits from me tested henning@, krw@, thib@ and myself. ok thib@, grunk@, krw@
2007-09-28sort options;Jason McIntyre
2007-09-27Add loginterface support for groups.Marco Pfatschbacher
Using a group sums up the statistics of all members. Modify pfctl(1) slightly to allow a groupname "all", which gives us an overall pf(4) statistic. OK henning@, markus@
2007-09-26some cleanup. remove #ifdef __FreeBSD__ code, last sync to FreeBSD wasPierre-Yves Ritschard
7 years ago. this improves readability. provide a standard usage message while there (synced with manpage). ok millert@, ``looks fine'' krw@.
2007-09-25remove unneeded feofCharles Longeau
with help and ok ray@
2007-09-25check fgets return valueCharles Longeau
use sizeof input intead of BUFSIZ remove unneeded feof handle empty strings returned by fgets properly remove newline and white space at the end of buffer with help and ok ray@
2007-09-25make route flush obey the rtable IDHenning Brauer
From: Pierre Riteau <pierre.riteau@free.fr>
2007-09-23Allow numbers to be used as unquoted strings again.Marco Pfatschbacher
While there, also restrict the use of concatenated, unquoted strings for variable assignments only. Eyeballed by markus@, OK henning@
2007-09-17Document the syntax used with manual SAs for automatic creationStuart Henderson
of the SA matching return traffic; it was already there for spi but not authkey/enckey (all 3 are required). assistance and ok from jmc@
2007-09-16Do not use DIP() as an lvalue; founc by pcc. ok millert@ ray@Otto Moerbeek
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-13use strcspn to properly overwrite '\n' in fgets returned bufferCharles Longeau
use strtonum instead of atoi prompted by ray@ ok moritz@ ray@
2007-09-12Here too: Add support to the lex for parsing number out of the stream.Hans-Joerg Hoexer
handle this in the parser. better range checks. with and ok deraadt@
2007-09-12add a missing range check for rtable ids; ok cloder henningTheo de Raadt