summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2010-01-10s/setpriority/setifpriority/ to eliminate a conflict with setpriority()Philip Guenthe
To quote henning, 'ok gcc'
2010-01-10Reimplement kvm_getproc2()'s support for reading crash dumps andPhilip Guenthe
/dev/mem to be direct instead of going through kvm_getprocs(), as that function is going to get more an more broken as we move stuff from struct proc to struct process for rthreads. To minimize the code copying, put the common logic of filling in a kinfo_proc2 structure into a macro FILL_KPROC2() in <sys/sysctl.h> for use from both the kernel and user-space. This also hides the KERN_PROC #define behind "#if defined(_KERNEL)||defined(_LIBKVM)", as it's deprecated. Positive feedback from millert and blambert; so committing to unblock further rthreads work.
2010-01-08"Too less" => "Too few"Alexander Hall
ok marco@
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther
2010-01-03Neither .Pp nor unqualified text are allowed at the top level of .Bl;Ingo Schwarze
instead, .It is required. Thus, move .Pp and text before the .Bl, and remove the .Pp altogether where it is not needed. Syntax errors found by mandoc(1), also required to fix the mandoc build; feedback and ok jmc@, and sobrado@ also supports the direction.
2010-01-03Nuke some unused variables, ok marcoNicholas Marriott
2010-01-02Various syntax errors in list headers, found by mandoc(1),Ingo Schwarze
also required to fix the mandoc build. "fine. even if mandoc goes nowhere, it has found some bugs ;)" jmc@ ok sobrado@
2009-12-31use the same arg name for -k as the man page;Jason McIntyre
2009-12-31Add support for key disks. This allows a crypto volume to be constructedJoel Sing
without using a passphrase - instead the encryption mask key is stored on the specified key disk partition (ideally being one on a removable device). This also enables automatic assembly of crypto volumes at boot time. ok marco@
2009-12-25A couple more device types.Miod Vallat
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
as neither arrayified not arrayfied exist -- sanctioned dictionaries like Merriam-Webster ones suggest a few alternatives (e.g., arrayed), however these made up words are easy to understand and we are not certain that current ones are not ok. ok jmc@
2009-12-24add support to pf for filtering a packet by the interface it was receivedDavid Gwynne
on. use the received-on IFNAME filter option on a pf.conf rule to restrict which packet the interface had to be received on. eg: pass out on em0 from $foo to $bar received-on fxp0 ive been running this in production for a week now. i find it particularly usefull with interface groups. no objections, and a few "i like"s from henning, claudio, deraadt, mpf
2009-12-23partion -> partition. First one (mkfs.c) noted by Brad Tilley on tech@.Kenneth R Westerback
2009-12-22re-adding a group that exists is not an errorTheo de Raadt
ok claudio
2009-12-20First shot at making this manual page not look like a black sheep. BeenTheo de Raadt
looking at it with claudio since I started doing more routing stuff.
2009-12-19Explain what 'noauto' really does.Joel Sing
ok marco@
2009-12-15Remove an untrue statement about the packetsize beingMarco Pfatschbacher
8 bytes smaller when a raw socket is used. OK jmc, deraadt.
2009-12-15Let ping handle truncated echo replies.Marco Pfatschbacher
Instead of a false data mismatch report, we now print (TRUNC!). This also fixes two out of bounds accesses. The "wrong data byte #XXX" counter was also wrong and off by 8 bytes. OK djm@ on an earlier version, OK deraadt@.
2009-12-14use warn() and warnx() instead of incorrect stderr printing.Theo de Raadt
get rid of EX_* since ifconfig(8) is not sysexits program. discussed with claudio
2009-12-14make ifconfig return with failure of bridge_rule; ok claudioTheo de Raadt
2009-12-14use strtonum() instead of atoi(). idea from Vladimir Kirillov, but hadTheo de Raadt
to rewrite it because it was another mangled diff in mail. When will people learn that the tabs and spaces are important?
2009-12-14fix sticky-address - by pretty much re-implementing it. still followingHenning Brauer
the original approach using a source tracking node. the reimplementation i smore flexible than the original one, we now have an slist of source tracking nodes per state. that is cheap because more than one entry will be an absolute exception. ok beck and jsg, also stress tested by Sebastian Benoit <benoit-lists at fb12.de>
2009-12-11be a little more specific about -ifp; from Doran MoriJason McIntyre
2009-12-10do not leak memory, found by parfait, ok millert ottoTheo de Raadt
(one case was a false positive, but one is a modified copy of the other)
2009-12-10plug some memory leaks; found by parfait, ok henningTheo de Raadt
2009-12-09off by one in carp configuration; found by parfait, ok jsgTheo de Raadt
2009-12-03Adjust pflog BPF descriptions, problem pointed out by jmc@Stuart Henderson
- sync actions with PF changes (pass/block/match not just pass/block, and remove some binat/nat/rdr entries) - list all reason codes in tcpdump(8) ok henning jmc
2009-12-01Add the new exec command to run a process and its children in aReyk Floeter
non-default rdomain/rtable. route will change the default rdomain using the new setrdomain() syscall and execute the supplied command, eg. "route -T1 exec /usr/sbin/named". Tested by many including michele@, phessler@ ok claudio@, deraadt@
2009-12-01add "exec" keywordReyk Floeter
ok jsg@
2009-11-28remove unused variablesCharles Longeau
ok claudio@
2009-11-26Silence dhclient by immediately exiting if the interface doesn't existKenneth R Westerback
or can't return important flags via ioctl. Excess verbiage pointed out by deraadt@. ok henning@
2009-11-25Move the -p option to the correct place.Joel Sing
ok jmc@
2009-11-24Preserve rawmode when setting scale. ok miod@, oga@.Matthieu Herrb
2009-11-24put -P in the right place;Jason McIntyre
2009-11-24Allow the passphrase to be changed on softraid crypto volumes. Ensure thatJoel Sing
you backup your data and lock up your pets prior to using this. Tested by todd@ ok marco@
2009-11-23since "nat/rdr pass" are history natpass can goHenning Brauer
2009-11-23rewrite the bridge "rule" option for clarity; tweaks/ok deraadtJason McIntyre
2009-11-23correct bridge rule descriptionsTheo de Raadt
2009-11-22brconfig(8) functionality is now in ifconfig(8)Theo de Raadt
2009-11-22cleanup after the NAT changes. we used to have multiple rulesets (scrub,Henning Brauer
NAT, filter). now we only have one. no need for an array any more. simplifies the code quite a bit. in the process fix the abuse of PF_RULESET_* by (surprise, isn't it) the table code. written at the filesystem hackathon in stockholm, committed from the hardware hackathon in portugal. ok gcc and jsing
2009-11-22The spanning priority is conflicting with the interface priority so itClaudio Jeker
got renamed to spanpriority.
2009-11-22Move information describing the bridge and brconfig behaviour intoTheo de Raadt
the relevant manual pages. Functionality is described in the (4) pages, controlling the functionality in ifconfig(8), and the hostname.if gains the old bridgename.if(5) functionality. ok claudio jmc
2009-11-22Merge brconfig into ifconfig. It is annoying that it is impossible to doClaudio Jeker
ifconfig bridge0 add em0 add gif0 add vether0 up instead you need to ifconfig bridge0 create brconfig bridge0 add em0 add gif0 add vether0 up This is working for everything now but we may do some changes when needed. Manpages and startup scripts are following soon. OK deraadt@, henning@
2009-11-22Fix ifconfig -a vs. ifconfig -A and make ifconfig without any arg behaveClaudio Jeker
like ifconfig -a by setting the aflag to 1. Found with and OK deraadt@
2009-11-21tweak previous;Jason McIntyre
2009-11-21Add new option tunneldomain to ifconfig to specify the routing tableClaudio Jeker
to be used for sending out gre/gif encoded packets. OK deraadt@, henning@
2009-11-16pflogd no longer needs libutil; ok deraadt@Otto Moerbeek
2009-11-15vether(4) interfaces can be created too; ok deraadtJason McIntyre
2009-11-13fix a few memory leaks found by parfait; ok hshoexerTheo de Raadt
2009-11-13Don't use [] in function arguments when dealing with arraysJonathan Gray
we don't know the size of, otherwise gcc >= 4 will error. ok markus@ deraadt@