Ian Dowse
9405aea2e2
Don't treat failure to find the operator GID as a fatal error; this
...
made it impossible to use newfs (and mdmfs) when /etc/group is
missing and /etc is read-only.
2005-08-14 17:07:04 +00:00
Pawel Jakub Dawidek
5b5a030fa4
When keys were configured without passphrase, number of iterations in
...
metadata is equal to -1. if we then wanted to attach provider (or change
keys) and forget about '-p' flag it failed on assertion (quite ok, without
assertion it could call PKCS#5v2 with 4294967295 iterations).
Instead of failing on assertion, remind about '-p' flag.
MFC after: 3 days
2005-08-14 14:13:07 +00:00
Andrew Thompson
db7d6dc145
Document two missed if_bridge commands 'addr' and 'static'.
...
Noticed by: Michal Mertl
Approved by: mlaier (mentor)
MFC after: 3 days
2005-08-14 03:28:08 +00:00
Sam Leffler
29f0e92957
add list mac and mac:kick support
...
Submitted by: Michal Mertl (original version)
MFC after: 2 weeks
2005-08-13 17:38:09 +00:00
Bjoern A. Zeeb
9066356ba1
* Add dynamic sysctl for net.inet6.ip6.fw.
...
* Correct handling of IPv6 Extension Headers.
* Add unreach6 code.
* Add logging for IPv6.
Submitted by: sysctl handling derived from patch from ume needed for ip6fw
Obtained from: is_icmp6_query and send_reject6 derived from similar
functions of netinet6,ip6fw
Reviewed by: ume, gnn; silence on ipfw@
Test setup provided by: CK Software GmbH
MFC after: 6 days
2005-08-13 11:02:34 +00:00
Pawel Jakub Dawidek
325319eb3d
GELI doesn't need cryptodev.
...
MFC after: 2 days
2005-08-12 07:44:42 +00:00
Pawel Jakub Dawidek
9417a618d1
Add code for Ext2FS and ReiserFS labels recognition.
...
Submitted by: Stanislav Sedov <stas@310.ru>
PR: kern/84638
MFC after: 1 week
2005-08-12 00:27:45 +00:00
Stefan Farfeleder
515faf2fbe
The libedit update made a const cast necessary.
2005-08-07 20:53:33 +00:00
Søren Schmidt
3ea7aedd41
Fix status to report status from the given array.
2005-08-05 13:08:02 +00:00
Stefan Farfeleder
a3ae5e4ede
Use socklen_t where appropriate.
2005-08-05 09:58:49 +00:00
Stefan Farfeleder
d414fcbc3e
Garbage collect useless variables.
2005-08-05 07:39:39 +00:00
Stefan Farfeleder
435071dff3
Use the C99 syntax for designated initialisers.
2005-08-05 07:33:50 +00:00
Stefan Farfeleder
70382d5abe
Fix commen typos.
2005-08-03 20:57:33 +00:00
Ruslan Ermilov
a5de1230a9
Add missing check for the NO_CRYPT build option.
...
Reported by: Alexander Polakov
2005-08-02 20:12:30 +00:00
Sam Leffler
aeffcba3c1
Wireless suport fixups: add a bunch of stuff that's been in the
...
code but not documented (e.g. wme, mac acl) and correct some
information, etc.
Reviewed by: brueffer
2005-08-02 19:13:13 +00:00
Sam Leffler
7c0cbd3bfa
acm and ack are specified per-ac
...
MFC after: 3 days
2005-08-01 16:34:41 +00:00
Ceri Davies
b1f1271f26
Correct the description of the TAPE environment variable.
...
Based on:
PR: docs/84200
Submitted by: Gary W. Swearingen <garys at opusnet dot com>
MFC after: 1 week
2005-07-31 13:56:19 +00:00
Christian Brueffer
acc79971c2
Misc cleanup (spelling, grammar, mdoc, style, cut >80 char lines).
2005-07-30 13:27:15 +00:00
Sam Leffler
0c36e9bb67
oops, revert previous change
2005-07-30 03:30:29 +00:00
Sam Leffler
4e5771359e
MFC: add fragthreshold parameter and accept - (or any) for rtsthreshold
...
Approved by: re (kensmith)
2005-07-30 03:28:41 +00:00
Pawel Jakub Dawidek
16a563e2b4
Update manual page after ggate rewrite.
...
MFC after: 1 day
2005-07-29 11:22:13 +00:00
Pawel Jakub Dawidek
fd833a6a19
I actually do need libmd.
2005-07-29 10:06:57 +00:00
Brooks Davis
289d89d80f
Further fix receive_packet() by using BPF_WORDALIGN to insure the offset
...
is properly aligned when we move to the next packet.
Obtained from: ISC dhclient via krw at OpenBSD
2005-07-28 15:30:19 +00:00
Giorgos Keramidas
497dd0f938
Spell "partition" correctly.
...
PR: docs/84198
Submitted by: Gary W. Swearingen
MFC after: 3 days
2005-07-28 10:48:07 +00:00
Brooks Davis
acccb9aa83
Don't reject packets with server names containing characters that are
...
not allowed in domain names. RFC 2132 does not list valid or invalid
characters and the ISC client accepts anything here.
Reported by: ps
2005-07-28 00:24:39 +00:00
Pawel Jakub Dawidek
a05fe8d0e5
I think I found the problem, reconnect geli to the build.
2005-07-27 23:56:32 +00:00
Pawel Jakub Dawidek
0ee6653d31
- Reduce WARNS level to 3, so it will be compilabe on alpha.
...
- Don't link libmd, it is not needed.
- Connect manual page to the build.
MFC after: 1 week
2005-07-27 23:56:01 +00:00
Pawel Jakub Dawidek
f90af958e4
Disconnect geli from the build for now.
...
I need to find out first what is the cause of sha2.c compilation problem
on alpha.
2005-07-27 23:30:50 +00:00
Pawel Jakub Dawidek
5ca1fcfe06
Connect GEOM_ELI class to the build.
...
MFC after: 1 week
2005-07-27 21:47:55 +00:00
Pawel Jakub Dawidek
c58794debd
Add GEOM_ELI class which provides GEOM providers encryption.
...
For features list and usage see manual page: geli(8).
Sponsored by: Wheel Sp. z o.o.
http://www.wheel.pl
MFC after: 1 week
2005-07-27 21:43:37 +00:00
Brooks Davis
4eae015de1
Fix a bug in the handling of cases where we got a short (or zero)
...
capture. Zero length captures caused an infinte loop and short captures
probably caused memory corruption and a crash.
Reported by: many
MFC After: 3 days
2005-07-27 19:25:46 +00:00
Brooks Davis
3c0898098e
s/if_defaulroute/if_defaultroute/
...
We may now handle route updates better.
2005-07-26 18:27:37 +00:00
Sam Leffler
ad60ee418a
o add fragthreshold support now that the ioctl exists
...
o accept rtsthreshold - (or any) as a shorthand for rtsthreshold 2346
MFC after: 3 days
2005-07-26 06:00:33 +00:00
Brooks Davis
a65d8df916
Change host-name from type "X" to type "t". This allows the client to
...
accept NUL-terminated strings as required by RFC 2132.
This solution is not perfect as it removes the ability to send
NUL-terminated host-name options which may be required by some broken
servers. Given the current lack of an existance proof of such servers
and the fact that servers that send NUL-terminated domain names do
exist, this seems like an acceptable compromise. A discussion of these
issues can be found at:
http://marc.theaimsgroup.com/?l=dhcp-client&m=96837107208382&w=2
PR: bin/83468
Reported by: Sean Winn <sean at gothic dot net dot au>
MFC-after: 3 days
2005-07-25 22:19:09 +00:00
Sam Leffler
b35f2511fa
treat REASSOC events just like ASSOC
...
MFC after: 3 days
2005-07-25 04:32:40 +00:00
Diomidis Spinellis
153fdc98cf
Interpret correctly the glob(3) return value.
...
Previously, interactive commands specifying a non-existent file or
directory used to display an "out of memory error".
MFC after: 2 weeks
2005-07-21 16:12:35 +00:00
Mark Santcroos
ac0ba90dc8
Bump document date.
...
Reminded by: ru
2005-07-20 23:12:54 +00:00
Mark Santcroos
6214c00201
Document -b flag of dhclient.
...
Reviewed by: ru
MFC after: 3 days
2005-07-20 22:35:44 +00:00
Yoshihiro Takahashi
543f81fa1a
Merged from src/sbin/fdisk.
...
- Attempt gctl verb "write MBR" when updating.
2005-07-15 15:31:19 +00:00
Poul-Henning Kamp
de78c288db
Attempt gctl verb "write MBR" when updating.
...
This should solve the problem of modifying a busy MBR.
2005-07-15 08:02:51 +00:00
Christian Brueffer
f0ea72a038
- Remove MLINKS to nonexistant manpages
...
- Change some section numbers to match reality
- For MLINKS to manpages from ports, mention which port installs them
MFC after: 3 days
2005-07-14 20:29:08 +00:00
Robert Watson
b7eb47e290
Add a new flag '-k' to ifconfig(8), indicating that it is alright to
...
print potentially sensitive keying material to stdout. With the new
802.11 support, ifconfig(8) is now capable of printing 802.11 keys,
and did by default for the root user, which is undesirable in some
environments. Now it will not print keying material unless requested
(and available to the user).
MFC after: 1 week
2005-07-14 18:33:21 +00:00
Yaroslav Tykhiy
2eb9396fb7
Add symbolic names for the IFF_PPROMISC and IFF_NEEDSGIANT flags
...
so that ifconfig(8) can print them.
MFC after: 5 days
2005-07-13 21:23:40 +00:00
Joe Marcus Clarke
e60fa01486
* Open permissions on /var/run/devd.pipe so that any user can read devd events
...
from this socket
* Enable non-blocking I/O on devd.pipe to keep clients from wedging devd.
If a write(2) on devd.pipe would block, the client in question will be
removed [1]
Requested by: rwatson [1]
Approved by: imp
2005-07-13 17:28:11 +00:00
Joe Marcus Clarke
8381892977
Replace fch{mod,own} with straight ch{mod,own} as the former cannot be used
...
on socket file descriptors.
Reviewed by: secteam (cperciva)
Approved by: imp
2005-07-13 17:10:47 +00:00
Christian Brueffer
ef95d02dd0
mdoc cleanup and whitespace removal after the last commit.
...
Submitted by: ru
2005-07-13 09:35:35 +00:00
Pawel Jakub Dawidek
436b93a0dd
Don't forget to initialize 'id' field.
...
MFC after: 3 days
2005-07-13 07:46:55 +00:00
Christian Brueffer
1a44eb0750
Information about the capability flags in 'ifconfig foo0 scan' output.
...
Most content by: avatar
Reviewed by: sam
Approved by: re (hrs)
MFC after: 3 days
2005-07-12 06:22:02 +00:00
Pawel Jakub Dawidek
c68cb3f674
Don't compile ggatec/ggated in NO_LIBPTHREAD case.
...
Reported by: Andrea Campi <andrea+freebsd_cvs_all@webcom.it>
Approved by: re (scottl)
2005-07-10 15:16:49 +00:00
Warner Losh
cd70782b39
Add the ability to match the on a media type of the device in question.
...
Submitted by: sam
Approved by: re (scottl)
2005-07-10 03:37:15 +00:00