brueffer
0dd6587c94
Clarify how the 'channel' argument should look like and add an
...
example on how to obtain information on devices on an ata channel.
PR: 84676
Submitted by: Kevin Oberman <oberman@es.net>
Jeremie Le Hen <jeremie@le-hen.org>
MFC after: 3 days
2005-08-16 21:14:25 +00:00
glebius
79e1a39bf2
Implement a new feature for ping(8) - sweeping pings. In a sweeping
...
ping ICMP payload of packets being sent is increased with given step.
Sweeping pings are useful for testing problematic channels, MTU
issues or traffic policing functions in networks.
PR: bin/82625
Submitted by: Chris Hellberg <chellberg juniper.net> (with some cleanups)
2005-08-15 14:15:37 +00:00
iedowse
f498e6f1c8
Attempt to improve the logic for automatically sizing partitions
...
to take into account the new default of starting the first partition
after the boot blocks instead of at sector 0. If you used automatic
sizing when the first partition did not start at 0, you would get
an error that the automatically sized partition extended beyond the
end of the disk.
Note that there are probably still many more complex cases where
automatic sizing and placement will not work (e.g. non-contiguous
or out of order partitions).
2005-08-14 22:46:50 +00:00
pjd
3c2828d3f4
Unfortunately dlerror(3) returns string, so there is no clean way to
...
ignore "no such file" errors only, which I wanted to do.
Because of this I ignored all other errors on dlopen(3) failure as well,
which isn't good.
Fix this situation by calling access(2) on library file first and ignore
only ENOENT error. This allows to report all the rest of dlopen(3) errors.
MFC after: 3 days
2005-08-14 21:55:18 +00:00
iedowse
d5c0a5cf5d
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
pjd
f8b8e82885
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
thompsa
5b7dd08674
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
4cfaf1334b
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
bz
5434a58808
* 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
pjd
beb7869726
GELI doesn't need cryptodev.
...
MFC after: 2 days
2005-08-12 07:44:42 +00:00
pjd
b9935076f6
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
stefanf
298c899341
The libedit update made a const cast necessary.
2005-08-07 20:53:33 +00:00
sos
ed266019ee
Fix status to report status from the given array.
2005-08-05 13:08:02 +00:00
stefanf
364138732b
Use socklen_t where appropriate.
2005-08-05 09:58:49 +00:00
stefanf
d6f323c63a
Garbage collect useless variables.
2005-08-05 07:39:39 +00:00
stefanf
379fd9ce57
Use the C99 syntax for designated initialisers.
2005-08-05 07:33:50 +00:00
stefanf
cd3918906a
Fix commen typos.
2005-08-03 20:57:33 +00:00
ru
4cb266fe14
Add missing check for the NO_CRYPT build option.
...
Reported by: Alexander Polakov
2005-08-02 20:12:30 +00:00
sam
de5e778984
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
4ddc6e23b3
acm and ack are specified per-ac
...
MFC after: 3 days
2005-08-01 16:34:41 +00:00
ceri
bf62812312
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
brueffer
9ac3a9fcb9
Misc cleanup (spelling, grammar, mdoc, style, cut >80 char lines).
2005-07-30 13:27:15 +00:00
sam
0b1e84425a
oops, revert previous change
2005-07-30 03:30:29 +00:00
sam
b88877a768
MFC: add fragthreshold parameter and accept - (or any) for rtsthreshold
...
Approved by: re (kensmith)
2005-07-30 03:28:41 +00:00
pjd
1e2d73f443
Update manual page after ggate rewrite.
...
MFC after: 1 day
2005-07-29 11:22:13 +00:00
pjd
7079ab35b4
I actually do need libmd.
2005-07-29 10:06:57 +00:00
brooks
f45086ab80
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
keramida
858e16cb76
Spell "partition" correctly.
...
PR: docs/84198
Submitted by: Gary W. Swearingen
MFC after: 3 days
2005-07-28 10:48:07 +00:00
brooks
80e3e886b5
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
pjd
66b1e1d508
I think I found the problem, reconnect geli to the build.
2005-07-27 23:56:32 +00:00
pjd
4ab523d931
- 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
pjd
075c0555b8
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
pjd
ae2e0b62c3
Connect GEOM_ELI class to the build.
...
MFC after: 1 week
2005-07-27 21:47:55 +00:00
pjd
57922fa5cc
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
44060e7f13
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
0107a7a3bc
s/if_defaulroute/if_defaultroute/
...
We may now handle route updates better.
2005-07-26 18:27:37 +00:00
sam
a170f83279
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
4917ccafd2
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
1384eaf756
treat REASSOC events just like ASSOC
...
MFC after: 3 days
2005-07-25 04:32:40 +00:00
dds
149187706d
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
marks
8258594954
Bump document date.
...
Reminded by: ru
2005-07-20 23:12:54 +00:00
marks
ebb1aeaa2f
Document -b flag of dhclient.
...
Reviewed by: ru
MFC after: 3 days
2005-07-20 22:35:44 +00:00
nyan
fd3d21f88e
Merged from src/sbin/fdisk.
...
- Attempt gctl verb "write MBR" when updating.
2005-07-15 15:31:19 +00:00
phk
885176b2cb
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
brueffer
2a75eb6afb
- 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
rwatson
2df666ab69
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
yar
fbc6f8c90b
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
marcus
5b352640f8
* 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
marcus
087a48f885
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
brueffer
8f5f7d592a
mdoc cleanup and whitespace removal after the last commit.
...
Submitted by: ru
2005-07-13 09:35:35 +00:00
pjd
894f400097
Don't forget to initialize 'id' field.
...
MFC after: 3 days
2005-07-13 07:46:55 +00:00
brueffer
0a2a01ea5e
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
pjd
4e01341785
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
imp
68644ee7c2
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
pjd
4c097d4765
Sync which ggate changes.
...
Approved by: re (scottl)
2005-07-08 21:29:17 +00:00
pjd
48406acfaf
Reimplement ggatec/ggated applications.
...
Change communication protocol to be much more resistant on network
problems and to allow for much better performance.
Better performance is achieved by creating two connections between
ggatec and ggated one for sending the data and one for receiving it.
Every connection is handled by separeted thread, so there is no more
synchronous data flow (send and wait for response), now one threads
sends all requests and another receives the data.
Use two threads in ggatec(8):
- sendtd, which takes I/O requests from the kernel and sends them to the
ggated daemon on the other end;
- recvtd, which waits for ggated responses and forwards them to the kernel.
Use three threads in ggated(8):
- recvtd, which waits for I/O requests and puts them onto incoming queue;
- disktd, which takes requests from the incoming queue, does disk operations
and puts finished requests onto outgoing queue;
- sendtd, which takes finished requests from the outgoing queue and sends
responses back to ggatec.
Because there were major changes in communication protocol, there is no
backward compatibility, from now on, both client and server has to run
on 5.x or 6.x (or at least ggated should be from the same FreeBSD version
on which ggatec is running).
For Gbit networks some buffers need to be increased. I use those settings:
kern.ipc.maxsockbuf=16777216
net.inet.tcp.sendspace=8388608
net.inet.tcp.recvspace=8388608
and I use '-S 4194304 -R 4194304' options for both, ggatec and ggated.
Approved by: re (scottl)
2005-07-08 21:28:26 +00:00
sam
dea523c839
add pureg/-pureg parameter for controlling pureg ap mode support
...
Reviewed by: avatar
Approved by: re (scottl)
2005-07-06 15:39:11 +00:00
cperciva
e8f7047163
Bump document date. Remove EOL whitespace introduced in previous
...
commit. Start new line at sentence break in previous commit.
Approved by: re (implicit, fixing a commit made 5 minutes ago)
2005-07-01 10:04:33 +00:00
cperciva
9fc0d88f30
Document some limitations of uid/gid rules.
...
Approved by: re (rwatson)
MFC after: 3 days
2005-07-01 09:51:10 +00:00
brooks
fd1962d203
Don't complain when we receive smtp, pop, nntp, www, finger, and irc
...
server options.
Reported by: Max Boyarov <max_b at tut dot by>
Approved by: re (dhclient blanket)
2005-06-30 05:50:52 +00:00
brooks
b862e39773
People like to do RFC violating things with the domain-name option and
...
include a space seperated list of domains instead of the domain of the
host. This is supported on too many platforms to break for now so,
remove validation of this option for the moment.
The correct solution longer term is to implement RFC 3397 support and
then treat domain-name options containing space seperated lists of
domains as domain-search options for backwards compatability.
Approved by: re (dhclient blanket)
2005-06-30 05:32:42 +00:00
ru
f185aed84f
Install the dhcp-options.5 manpage.
...
Timeout from: brooks
Approved by: re (blanket manpages)
2005-06-25 11:03:06 +00:00
ru
88361a4b48
Tidy up the markup.
...
Approved by: re (blanket)
2005-06-24 10:57:53 +00:00
ru
557bdadf66
Line up the markup.
...
Approved by: re (blanket)
2005-06-22 14:55:59 +00:00
dumbbell
61ec41cf0f
Build mount_reiserfs on every platforms, not only i386 and pc98.
...
Reviewed by: mux (mentor)
Approved by: re (dougb)
2005-06-21 13:02:45 +00:00
dwhite
2ca7877009
Don't bump bounds every time savecore(8) is run.
...
Submitted by: Ed Maste <emaste@sandvine.com>
Approved by: re
2005-06-20 20:01:29 +00:00
avatar
d96c7ef573
Appending "..." to a SSID which contains unprintable characters only when
...
necessary.
Submitted by: sam
Approved by: re (scottl)
2005-06-20 02:33:02 +00:00
brueffer
5d21c49833
Remove Xref to mount_hpfs(8), it's not hooked up to the build.
...
Approved by: re (blanket)
MFC after: 3 days
2005-06-16 21:35:33 +00:00
ume
729c89a985
only show a tunnel information of an adequate address family.
...
Approved by: re (dwhite)
2005-06-16 19:37:09 +00:00
ru
064bdbb814
Markup fixes.
...
Approved by: re (blanket)
2005-06-14 11:24:56 +00:00
brooks
d6e60e9b86
Avoid a null pointer dereference by not expiring our lease if we don't
...
have an active one.
Submitted by: sam
Reported by: James Snow <snow at teardrop dot org>
Approved by: re (dhclient blanket)
2005-06-13 23:43:08 +00:00
brueffer
381a0db2e3
It's spelled 'preceded' of course.
...
Submitted by: David Adam <zanchey@ucc.gu.uwa.edu.au>
Pointy hat to: brueffer
2005-06-13 15:49:59 +00:00
brueffer
1f41c199ed
Hex strings are _pre_ceeded by 0x, not _pro_ceeded.
...
PR: 82187
Submitted by: Anthony Rogers <anthony.j.rogers@gmail.com>
Approved by: re (blanket)
MFC after: 3 days
2005-06-13 07:55:15 +00:00
delphij
5173bfd387
Use MOPT_END in favor of MOPT_NULL, which better describes the purporse
...
of the macro.
2005-06-10 09:51:43 +00:00
brooks
a3df0b2237
Add support for /etc/dhclient-enter-hooks to match /etc/dhclient-exit-hooks.
2005-06-10 03:41:18 +00:00
brooks
dbc80a24b5
Add support for /etc/dhclient-exit-hooks file.
...
Tested by: Max Boyarov <max_b at tut dot by>
2005-06-08 18:21:56 +00:00
brooks
8ab6a79677
Fix build on 64-bit platforms where time_t is 64 bit. Since where
...
talking about time related to leases, it should be OK to cast these to
(int)s rather than using intmax_t.
Submitted by: ru
Pointy hat: brooks
2005-06-07 14:47:54 +00:00
mlaier
163c101c2c
add_proto() now fills proto for us so stop to 'guess' the protocol from the
...
command and rather trust the value add_proto filled in. While here, fix an
oversight in the pretty printing of ip6/4 options.
2005-06-07 14:11:17 +00:00
ru
f1edfd67ca
- Remove OpenBSD'ism (bsd.own.mk).
...
- Remove redundant and harmful -Wall from CFLAGS.
2005-06-07 09:32:23 +00:00
brooks
980b20f567
Now that dhclient builds and /etc/support has been committed, reconnect
...
dhclient to the build.
2005-06-07 04:49:37 +00:00
brooks
9a851b1b81
Use SCRIPTS to install dhclient-script instead of rolling our own.
2005-06-07 04:35:48 +00:00
brooks
f5d3bb73c0
FreeBSDize the dhclient-script.
...
Submitted by: sam
2005-06-07 04:32:29 +00:00
brooks
26a535f115
Define _PATH_VAREMPTY.
...
Add a -b option to background immediatly.
Add support for 802.11 routing messages to "instantly" renegotiate
at lease when we associate with a new network.
Submitted by: sam
2005-06-07 04:26:14 +00:00
brooks
c93fbf7bf1
NULL is not a valid time_t.
...
Submitted by: sam
2005-06-07 04:14:54 +00:00
brooks
bfb49a1939
We don't support BPF write filters at this time.
...
Submitted by: sam
2005-06-07 04:13:52 +00:00
brooks
df346bd933
Take the OpenBSD version of the Makefile to resolve conflicts as the old
...
one is irrelevent. Add $FreeBSD.
2005-06-07 04:08:50 +00:00
brooks
95219de6ac
This commit was generated by cvs2svn to compensate for changes in r147072,
...
which included commits to RCS files with non-trunk default branches.
2005-06-07 04:05:09 +00:00
brooks
9066b3f834
Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tag
...
OPENBSD_3_7).
2005-06-07 04:05:09 +00:00
brooks
490c515d02
Remove the bits to build the isc-dhclient.
2005-06-07 04:02:10 +00:00
brooks
8890293394
Temporarily disconnect dhclient from the build while I import the
...
OpenBSD version.
2005-06-07 03:59:26 +00:00
sos
877683a848
Open devices RDONLY for ioctls. That makes it work on open devices to which
...
GEOM doesn't allow WR access.
2005-06-06 20:46:51 +00:00
philip
2828ecf11a
Fix a silly little typo I just spotted.
2005-06-06 06:47:33 +00:00
thompsa
e8bfe6c248
Connect if_bridge to the build.
...
Approved by: mlaier (mentor)
2005-06-05 03:32:53 +00:00
thompsa
dc83783f40
Add if_bridge, which provides more advanced Ethernet bridging and 802.1d
...
spanning tree support.
Based on Jason Wright's bridge driver from OpenBSD, and modified by Jason R.
Thorpe in NetBSD.
Reviewed by: mlaier, bms, green
Silence from: -net
Approved by: mlaier (mentor)
Obtained from: NetBSD
2005-06-05 02:59:26 +00:00
green
497a5998af
Better explain, then actually implement the IPFW ALTQ-rule first-match
...
policy. It may be used to provide more detailed classification of
traffic without actually having to decide its fate at the time of
classification.
MFC after: 1 week
2005-06-04 19:04:31 +00:00
imp
f80a31a9ee
Revert last. It was the result of mismerges from cvs not an actual
...
need. _sconfig already was there in the correct place.
Noticed by: ru@
2005-06-03 15:53:37 +00:00
imp
0bf2c018af
Build sconfig on i386 to match where drivers are made it configures
2005-06-03 15:38:39 +00:00
mlaier
f2254cf702
Add support for IPv4 only rules to IPFW2 now that it supports IPv6 as well.
...
This is the last requirement before we can retire ip6fw.
Reviewed by: dwhite, brooks(earlier version)
Submitted by: dwhite (manpage)
Silence from: -ipfw
2005-06-03 01:10:28 +00:00
jhb
1a81cb90f4
Fix some warnings on 64-bit archs.
...
Reviewed by: sam
2005-06-01 14:55:45 +00:00
delphij
ee88062325
Add a handy macro to represent null mount option, MOPT_NULL, and make
...
use of the macro in sbin/mount*'s, by replacing:
mopts[] = {
MOPT_STDOPTS,
{ NULL }
}
With:
mopts[] = {
MOPT_STDOPTS,
MOPT_NULL
}
This change will help to reduce the situation that we don't explicitly
initialize "struct mntopt"'s. It should not contribute to any
functional/logical changes as far as I can tell.
2005-06-01 09:39:36 +00:00
stefanf
7f6920d685
Remove #ident directives, they don't exist on the vendor branch anymore.
2005-05-31 20:28:49 +00:00
delphij
2163cbcb0f
Constify savedir pointer, and remove an accompaning strdup() call.
2005-05-29 16:28:07 +00:00
charnier
278cc09264
Give variable an initial value. Use errx() instead of fprintf().
2005-05-29 16:07:10 +00:00
charnier
a40be9078d
rscid -> __FBSDID. Mark parameter as __unused when necessary.
2005-05-29 15:57:00 +00:00
ru
c3abc18f4d
Fix order (I introduced some time ago) broken in previous revision.
2005-05-25 07:31:05 +00:00
mux
f539b2792a
Only build mount_reiserfs(8) on i386, it exists only there for now.
...
Spotted by: ru
2005-05-24 23:06:10 +00:00
dumbbell
103db97f6e
Connect mount_reiserfs(8) to the build.
...
Approved by: mux (mentor)
2005-05-24 12:37:18 +00:00
dumbbell
6b2d30ffe5
Import of mount_reiserfs(8), used to mount a ReiserFS filesystem.
...
Approved by: mux (mentor)
2005-05-24 12:34:45 +00:00
ume
428418e43b
- do DNS lookup for symbolic names specified for a destination
...
or gateway.
- improves error reporting using gai_strerror(3) instead of
printing "bad value".
- remove "0" for servname argument for getaddrinfo(3).
Submitted by: Andreas Kohn <andreas __at__ syndrom23.de>
MFC after: 1 week
2005-05-23 14:12:32 +00:00
ru
5a7d45e3b5
Synchronize program's usage() with manpage's SYNOPSIS.
2005-05-21 07:08:32 +00:00
mlaier
ce2b072e9f
Unbreak handling of "ip[v]6" protocol and option flag. No more segfaults
...
and not every protocol is IPv6.
2005-05-21 03:27:33 +00:00
sos
ac2cc57f35
Print the rigth argv string on error (too much c&p)..
2005-05-20 06:23:40 +00:00
sam
01b6c1ef44
guard against bogus address data
...
Submitted by: Bakul Shah
2005-05-20 03:58:53 +00:00
ru
0a6d657eb7
Fix the contents of the underneath .depend files and "make checkdpadd".
2005-05-17 14:29:06 +00:00
imp
1cec98375c
Ignore sigpipe so we can properly detach clients to the pipe.
...
Submitted by: Fredrik Lindberg
2005-05-16 20:51:46 +00:00
darrenr
7b001e5d5e
Enable building /sbin/ipf (but not the rescue version) with the ability to
...
parse bpf strings for filter rules in ipf.conf
2005-05-16 16:22:55 +00:00
ru
e7b25f55b8
Fixed markup from the previous revision.
2005-05-16 15:09:13 +00:00
sos
74f9e41533
Reflect the new usage.
2005-05-16 13:32:23 +00:00
sos
05399c3127
Change the way ioctls are issue to ATA.
...
The most prominent part is that its now possible to issue ata_requests
directly to say acd0, instead of going through the cumbersome /dev/ata
device.
2005-05-16 13:07:27 +00:00
ume
e33ba03345
NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines
...
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
2005-05-13 16:31:11 +00:00
glebius
4be4400945
'ngtee' also depends on net.inet.ip.fw.one_pass.
2005-05-11 12:58:15 +00:00
jmallett
a30e94db03
shutdown(2)'s how argument as 0 is nowhere near as cool as SHUT_RD
2005-05-11 02:50:41 +00:00
glebius
32e61f472f
IPFW version 2 is the only option now in HEAD. Do not confuse
...
users of future releases with instructions about building IPFW2
on RELENG_4.
2005-05-04 13:14:57 +00:00
fjoe
5542bd31ad
Add -m option (find module using modfind() and stat it).
2005-05-04 12:46:43 +00:00
mlaier
8f88cd5e08
Update ifconfig's pfsync module for 3.7 pfsync(4)
2005-05-03 16:59:14 +00:00
mlaier
b75ba09627
Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources.
2005-05-03 16:57:38 +00:00
delphij
638d4d00fc
Cleanups for gcc4:
...
- Use socklen_t for socket functions
- Remove an unnecessary extern
- Signed/unsigned cleanups
Reviewed by: harti
2005-05-02 10:31:27 +00:00
delphij
4497410a32
WARNS=6 and gcc4 cleanup:
...
- Use const where necessary
- Use __unused where applicable
- Rename variables that is conflicit with global definations
2005-05-02 10:13:38 +00:00
delphij
6b13894421
include stdarg.h for va_list
2005-05-02 10:04:16 +00:00
delphij
347f9b1d5a
Make gcc4 happy by making consistent signedness.
2005-05-02 10:00:39 +00:00
nyan
fa923d7b23
- Merged some missing changes from fdisk/fdisk.c.
...
- Remove ifdef PC98.
- Make WARN=4 clean.
2005-05-01 10:08:35 +00:00
nyan
5009ff132c
cosmetic changes.
2005-05-01 09:50:02 +00:00
nyan
09a70338b7
Merged more changes from fdisk/fdisk.c.
2005-05-01 05:04:05 +00:00
nyan
fa2fcbedc1
Use NDOSPART macro instead of a magic number.
2005-05-01 05:01:55 +00:00
nyan
27eb420eea
Merged from src/sbin/fdisk/fdisk.c revision 1.77.
2005-05-01 04:14:01 +00:00
phk
691e072f68
If we resort to opening a slice instead of the base device, do so with
...
the correct mode for our arguments.
2005-04-29 21:24:27 +00:00
pjd
85babab07f
Remove trailing spaces.
2005-04-29 07:57:50 +00:00
darrenr
f739412edd
Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup
...
build problems with rescue.
2005-04-28 16:26:35 +00:00
brooks
3f77e18f9b
Fix a the previous commit. I wanted to remove the if and always run the
...
body not remove both.
Reported by: ceri
Pointy hat: brooks
2005-04-26 20:22:31 +00:00
brooks
347035a2c9
Don't force IPv6 proto to be printed numericaly.
...
Noticed by: ceri
2005-04-26 20:00:07 +00:00
darrenr
56966568e9
Not looking for ipfilter source files in the right place
2005-04-26 15:35:50 +00:00
pjd
5745532ed1
Fix stripe size in example.
...
Found by: kris
MFC after: 3 days
2005-04-26 09:23:21 +00:00
darrenr
8d4b1e38ea
remove old directories used to build ipfilter tools
2005-04-25 18:59:29 +00:00
darrenr
1cd27551f9
There's only one ipfilter directory now
2005-04-25 18:56:42 +00:00
darrenr
0010fa7c21
create a new build heirarchy for ipfilter tools
2005-04-25 18:55:52 +00:00
des
e669069b43
- distinguish between the device name (what the user called it on the
...
command line) and the device path (what we passed to open()). Use
the former in diagnostics.
- when adding or removing partitions, print a single line to stdout for
each partition that was added or removed, indicating its name.
- add an -a option to 'gpt remove' which must be explicitly specified
to remove all partitions.
Approved by: marcel (in prinicple)
MFC after: 2 weeks
2005-04-24 20:08:29 +00:00
pjd
c7eadd3426
Remove duplicated description of 'clear' subcommand.
...
Pointed out by: marck
X-MFC-after: few seconds
2005-04-23 12:17:21 +00:00
jcamou
7deff5f03c
Use .Pa instead of .Xr to follow mdoc(7)
...
specifications.
Noticed by: trhodes
Approved by: trhodes (mentor)
MFC after: 1 day
2005-04-20 01:56:33 +00:00
brooks
f3ecaa630b
Add IPv6 support to IPFW and Dummynet.
...
Submitted by: Mariano Tortoriello and Raffaele De Lorenzo (via luigi)
2005-04-18 18:35:05 +00:00
imp
edc45448f9
'r' disk devices no longer exist, so don't try to create a pathname
...
that has an 'r' in it.
This also eliminates a bogus use of strlcat.
PR: 80064
2005-04-18 15:08:29 +00:00