summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2010-02-21Actually use the gints addrinfo setup for gateway lookup, instead of usingTheo de Raadt
the global one (which has a useless AI_CANONNAME and thus is slower) found by martin.pelikan
2010-02-18Hook newfs_ext2fs to the build, ok miod@ jasper@Otto Moerbeek
2010-02-18- add -q to synopsisJason McIntyre
- add the mnemonic from newfs -q
2010-02-18Add -q flag for compatiblity with newfs as requested by miod@Otto Moerbeek
2010-02-17loongson has mbr as well; ok miod@ (but he made me promise to makeOtto Moerbeek
a -DHAVE_MBR diff after release)
2010-02-17local ext2fs_bswap.c instead of groping in the sys/ufs/ext2fs treeOtto Moerbeek
2010-02-17handle -t for when being called by newfsOtto Moerbeek
2010-02-16clean this page up;Jason McIntyre
2010-02-16fix OpenBSD rcs tags, prompted by Tim van der MolenOtto Moerbeek
2010-02-16default verbosity to 4Otto Moerbeek
2010-02-16man page with tweaks from miod; ok miod@Otto Moerbeek
2010-02-16Port of newfs_ext2fs from NetBSD. not hooked to the build yet.Otto Moerbeek
ok miod@
2010-01-30Build on loongson, and sort platform list.Miod Vallat
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride
definition of DPFPRINTF(), and log priorities from syslog.h. Old debug levels will still work for now, but will eventually be phased out. discussed with henning, ok dlg
2010-01-14Document hw.ncpufound and HW_NCPUFOUND.Philip Guenthe
Document the interpretation of the third and fourth levels of KERN_FILE2. Document that KERN_FILE and KERN_PROC are deprecated in favor of KERN_FILE2 and KERN_PROC2. ok and tweaks jmc@
2010-01-13netmask sockaddrs for the default route may set sa_len to 0 to indicateClaudio Jeker
a all zero mask. So check for this condition as well since else we read garbage that comes after the netmask sockaddr (which is the IFP normaly). Found by todd@, OK dlg@
2010-01-13Move tokens before productions into more consistant placesTheo de Raadt
ok mcbride
2010-01-13repair a double-free suggested by parfait; ok mcbrideTheo de Raadt
2010-01-13fix some leaks found by parfaitJonathan Gray
ok mcbride@ henning@
2010-01-13In some cases the netmask gets set to a full 128 bit mask even if noRyan Thomas McBride
address family is selected; don't print the v6 mask if it's a v4 address.
2010-01-13Allow /netmask notation in redir spec, fix the rest of the regressRyan Thomas McBride
tests for illegal conditions in translation/routing.
2010-01-12We actually have to keep the translate/route spec addresses around afterRyan Thomas McBride
collapsing into tables, so that we can handle all possible address family expansions.
2010-01-12Set roundrobin flag correctly, and don't treat a bare interfaceRyan Thomas McBride
like a dynamic one in the routespec.
2010-01-12Only print route specs with @if notation if there is an IP address.Ryan Thomas McBride
2010-01-12Add restrictions to make @if illegal in outside of routing specs;Ryan Thomas McBride
Fix binat-to sanity checks.
2010-01-12Unbreak 10/8 and friends.Ryan Thomas McBride
2010-01-12Fix some issues in redir spec handling, discovered thanks to dlg testingRyan Thomas McBride
- purge irrelevant addresses from the lists before collapsing - ensure the lists are freed after they're collapsed - more careful ifname copying, avoiding double-free / use-after-free traps
2010-01-12Don't leak @if0 format routing host names, pointed out by claudio.Ryan Thomas McBride
2010-01-12First pass at removing the 'pf_pool' mechanism for translation and routingRyan Thomas McBride
actions. Allow interfaces to be specified in special table entries for the routing actions. Lists of addresses can now only be done using tables, which pfctl will generate automatically from the existing syntax. Functionally, this deprecates the use of multiple tables or dynamic interfaces in a single nat or rdr rule. ok henning dlg claudio
2010-01-11"default" routes need a mask of 0 too.David Gwynne
from and ok claudio@
2010-01-10lex <=, >=, and != into a single token for correctness and to reduce theTheo de Raadt
lookahead in the parser ok henning otto
2010-01-10only substract ISAKMP_ID_DATA_OFF once. otherwise 'buf' might overflowMarkus Friedl
and/or ASN1-DNs get not parsed correctly; with and ok krw@; ok reyk@
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-10In the non-optimized case, an address list containing "any" (ie. { any ↵Theo de Raadt
10.0.0.1 }) should be folded in the parser to any, not to 10.0.0.1. How long this bug has been with us is unclear. ok guenther mcbride
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@