Age | Commit message (Collapse) | Author |
|
|
|
not be used (when being behind NAT). With Martin Hedenfalk
<martin.hedenfalk at gmail.com>, thanks!
|
|
used (when being behind NAT). With Martin Hedenfalk <martin.hedenfalk
at gmail.com>, thanks!
ok markus@
|
|
specified.
ok markus@
|
|
asked for by deraadt@
|
|
From Charles Longeau <chl at tuxfamily dot org> to tech@ back in
November, reminded by deraadt@.
OK moritz@.
|
|
OK moritz@.
|
|
OK millert@.
|
|
idea from and ok pedro@
|
|
Thanks to sthen <at> symphytum DOT spacehopper DOT org
|
|
Prabhu Gurumurthy <pgurumu () gmail ! com>
(http://marc.theaimsgroup.com/?l=openbsd-misc&m=116060233106902&w=2),
thanks!
ok markus@ cloder@ (uhm, quite some time ago)
|
|
locations based on the disklabel.
- unit bug: disklabel size is in sectors, but superblock
fs size is in fragments.
- The disklabel contains the maximum superblock size, not the actual
as used by newfs.
- problem is that mkfs reduces track/sector and secors/track to
make the cylindergroup fit in a fs block. In this case the values
in the disklabel do not predict what's in the superblock.
This fixes all these problems. It correctly predicts the location
of all superblocks on all my filesystems I have online (sized between
100MB and 1000GB). Also tested with filesystems with different
block and fragment sizes.
Written this with a goto to make the diff easier to read.
ok krw@ deraadt@
|
|
|
|
|
|
|
|
|
|
signal handlers, calling free() and not being reentrant. This commit
fixes to most importamt problem (^C on the "MARK FILESYSTEM CLEAN?"
question causes a double free), but actually SIGINT handling should
be completely rewritten. ok millert@ deraadt@
|
|
superblock might lead to crashes or other mishap. Now my fuzzed fs
images no longer crash fsck_ffs. ok mickey@ pedro@ millert@
|
|
|
|
Solves a case were fsck_ffs was causing a segv. If it didn't do that
it would have mangled the filesystem later, very probably.
Diff from FreeBSD; ok millert@ pedro@
|
|
inodes; ok pedro@ millert@
|
|
help) miod@
|
|
of them are clean. ok pedro@ millert@
|
|
|
|
with -z instead of DIOCCLRRULECTRS. Unbreaks -z with anchors and makes the
read & reset operation atomic.
innstrument pfctl_show_rules() to clear counters while reading rules and
add a new output format for it, showing nothing, if only resetting counters
without actually displaying them is requested. minor cleanups on the way.
ok dhartmei & agreement from theo and ryan
|
|
row. ok beck@ pedro@ millert@
|
|
size to avoid a negative lastbn which might cause a segv or heap
corruption. With help from mickey@; ok mickey@ pedro@ millert@
|
|
|
|
|
|
when ALL entries have this specific AF (when even just one entry has no
specific AF, use any). found by Maurice Janssen, ok henning@
|
|
14 more bytes of option space! A change ISC made a long time ago.
ok stevesk@ (DHCP) canacar@ (bpf)
|
|
from Janne Johansson, tweaked by myself;
ok dhartmei
|
|
|
|
|
|
|
|
the malloc'd memory from the parsed option buffer since it would be
thrown away after the copy anyway.
'looks sane' millert@
|
|
ok millert jmc
|
|
Always use defined type name. Comment clarification.
No binary change. ok millert
|
|
complex list code to keep track. So nuke it.
Also eliminate unnecessary variable ('dead') that means 'rfdesc is
closed'. Just set rfdesc to -1 when it is closed and use that.
As suggested by millert@ and claudio@, don't bother setting revents
members to zero since poll() does that.
Np functional change, just less code.
'looks good' claudio@ 'I like where this is going' henning@
|
|
moving the minimal code into do_packet(). Eliminate repeated code for
checking the client hardware address and the reject list by putting
those checks into do_packet as well.
No functional change, just much easier to read.
ok stevesk@
|
|
If lost+found is created, it gets ownership of the root directory.
ok pedro
|
|
from mark lumsden via otto, tidied up somewhat by myself;
ok otto claudio
|
|
"pfctl -t tablename -T expire 3600" would expire all entries in the given
table that are older than 3600 seconds. ok dhartmei, manpage help & ok jmc
|
|
parameters just those things actually needed and using existing
structs and information. No functional change.
ok stevesk@
|
|
that no longer applies because it is not referenced. ok claudio@ jmc@
|
|
message type option of 0 as a BOOTP offer. Don't process any option
buffer after one is found to be corrupt. Don't process overflow
buffers in a BOOTP packet. At least try to accept DHCP offers even if
a bad options buffer is encountered.
Brings code more into line with current ISC dhclient.
ok stevesk@
|
|
discussed with nick
|
|
|
|
|
|
other man pages, where the options are near the top of the page for
easy access.
OK jmc@.
|