summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
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
2007-09-12Add support to the lex for parsing number out of the stream. handleTheo de Raadt
this in the parser. because the new numbers are int64_t, many new range checks for < 0 are needed. re-check and improve all the existing rangechecks while at it. thanks for help by cloder and dhartmei
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-11rearrange the mount_vnd examples to show the equivalent entry for eachAlexandre Anriot
vnconfig example, instead of having a bunch of different examples. discussed with and ok jmc@ grunk@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-09-08make bioctl behave like a unix program and exit 1 on errorHenning Brauer
ok deraadt, silence dlg marco
2007-09-07check fgets return valueCharles Longeau
use sizeof buf instead of TP_BSIZE use strcspn to properly overwrite '\n' in fgets returned buffer ok moritz@ ray@
2007-09-05Correct the format strings after the recent rt_metrics changes.Claudio Jeker
rmx_pksent is not u_int64_t all others are just u_int. This is almost the same as in usr.bin/netstat.
2007-09-05remove compat link to /usr/sbin/vnconfig, the program is in /sbin for oneAlexander von Gernler
release now. ok deraadt@ todd@
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-09-03Typos from miod. 'specificed' -> 'specified' in some comments and man page.Kenneth R Westerback
2007-09-02more malloc(n * m) -> calloc(n, m); from Igor ZinovikTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-30add support for address ranges ("from 10.1.2.50 - 10.1.3.75") in from/toDaniel Hartmeier
criteria. ok mcbride@
2007-08-25missing free, Igor Zinovik <zinovik@cs.karelia.ru>Henning Brauer
2007-08-21no need to include both sys/types.h and params.hHans-Joerg Hoexer
2007-08-15Remove a superflous debug fprintf.Hans-Joerg Hoexer
2007-08-14make default_lease_time a #define; ok krw@ henning@Kevin Steves
2007-08-11Kill a couple of 'echo' statements that can never produce visibleKenneth R Westerback
output. i.e. not visible on the screen, nor in any log. If nothing else, makes dhclient-script smaller for install media. 'yesh kill' (sic) henning@
2007-08-11Do not complain about being not able to read non-existing files. MinorHans-Joerg Hoexer
glitch introduced by previous commit. ok markus@
2007-08-10duplicate strdup; ok hshoexerMarkus Friedl
2007-08-07m_priv_req_readdir(): check file type after fstat, since d_typeMarkus Friedl
is not passed over NFS (unless readdir+ is used). fixes pr 5557 with and ok hshoexer@
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-08-05Allow key exchange with RSA signature authentication to work withTom Cosgrove
Cisco IOS and other initiators that only send their certs in response to CERT_REQUEST. With input and help from cloder@, Stuart Henderson, mpf@, and several others who did lots of testing - thanks to all. ok hshoexer@
2007-08-01cats went awayTheo de Raadt
2007-08-01cats went awayTheo de Raadt
2007-07-31Use correct function name in log message. Noticed by Igor ZinovkHans-Joerg Hoexer
zinovik@cs.karelia.ru. Thanks!
2007-07-31oops, forgot to include the man page tweaks from jmc@Pierre-Yves Ritschard
2007-07-31When setting the vlandevice without specifying a tag, infer the tagPierre-Yves Ritschard
from the interface name, this allows constructs like: ifconfig vlan15 vlandev smth0 ok reyk@, ``makes sense'' henning@
2007-07-30strlen returns size_t.Pierre-Yves Ritschard
ok henning, mbalmer.
2007-07-30avoid segfault when empty string is passed as interface name.Pierre-Yves Ritschard
ok henning@
2007-07-26use calloc() instead of malloc(); zinovik@cs.karelia.ruTheo de Raadt
2007-07-24Sync closer to netstat/show.c this removes also the unneeded variableClaudio Jeker
noticed by Igor Zinovik.
2007-07-24rearrange newline printing code during editor startup; ok millert krwTheo de Raadt
2007-07-21Check the rtm_version before trying to print an entry. If the rtmsg has aClaudio Jeker
different version skip it and don't try to print it. Solves a SIGSEGV I have triggered with one of my scarier diffs. OK henning@