summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Sync which ggate changes.pjd2005-07-081-16/+34
| | | | Approved by: re (scottl)
* Reimplement ggatec/ggated applications.pjd2005-07-086-455/+1094
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* add pureg/-pureg parameter for controlling pureg ap mode supportsam2005-07-062-1/+22
| | | | | Reviewed by: avatar Approved by: re (scottl)
* Bump document date. Remove EOL whitespace introduced in previouscperciva2005-07-011-3/+4
| | | | | | commit. Start new line at sentence break in previous commit. Approved by: re (implicit, fixing a commit made 5 minutes ago)
* Document some limitations of uid/gid rules.cperciva2005-07-011-0/+11
| | | | | Approved by: re (rwatson) MFC after: 3 days
* Don't complain when we receive smtp, pop, nntp, www, finger, and ircbrooks2005-06-302-0/+13
| | | | | | | server options. Reported by: Max Boyarov <max_b at tut dot by> Approved by: re (dhclient blanket)
* People like to do RFC violating things with the domain-name option andbrooks2005-06-301-1/+1
| | | | | | | | | | | | 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)
* Install the dhcp-options.5 manpage.ru2005-06-251-1/+2
| | | | | Timeout from: brooks Approved by: re (blanket manpages)
* Tidy up the markup.ru2005-06-241-8/+10
| | | | Approved by: re (blanket)
* Line up the markup.ru2005-06-225-137/+200
| | | | Approved by: re (blanket)
* Build mount_reiserfs on every platforms, not only i386 and pc98.dumbbell2005-06-211-2/+1
| | | | | Reviewed by: mux (mentor) Approved by: re (dougb)
* Don't bump bounds every time savecore(8) is run.dwhite2005-06-201-9/+12
| | | | | Submitted by: Ed Maste <emaste@sandvine.com> Approved by: re
* Appending "..." to a SSID which contains unprintable characters only whenavatar2005-06-201-4/+5
| | | | | | | necessary. Submitted by: sam Approved by: re (scottl)
* Remove Xref to mount_hpfs(8), it's not hooked up to the build.brueffer2005-06-161-1/+0
| | | | | Approved by: re (blanket) MFC after: 3 days
* only show a tunnel information of an adequate address family.ume2005-06-162-4/+10
| | | | Approved by: re (dwhite)
* Markup fixes.ru2005-06-146-38/+17
| | | | Approved by: re (blanket)
* Avoid a null pointer dereference by not expiring our lease if we don'tbrooks2005-06-131-6/+9
| | | | | | | | have an active one. Submitted by: sam Reported by: James Snow <snow at teardrop dot org> Approved by: re (dhclient blanket)
* It's spelled 'preceded' of course.brueffer2005-06-131-2/+2
| | | | | Submitted by: David Adam <zanchey@ucc.gu.uwa.edu.au> Pointy hat to: brueffer
* Hex strings are _pre_ceeded by 0x, not _pro_ceeded.brueffer2005-06-131-2/+2
| | | | | | | PR: 82187 Submitted by: Anthony Rogers <anthony.j.rogers@gmail.com> Approved by: re (blanket) MFC after: 3 days
* Use MOPT_END in favor of MOPT_NULL, which better describes the purporsedelphij2005-06-1016-17/+17
| | | | of the macro.
* Add support for /etc/dhclient-enter-hooks to match /etc/dhclient-exit-hooks.brooks2005-06-101-0/+11
|
* Add support for /etc/dhclient-exit-hooks file.brooks2005-06-081-3/+13
| | | | Tested by: Max Boyarov <max_b at tut dot by>
* Fix build on 64-bit platforms where time_t is 64 bit. Since wherebrooks2005-06-071-4/+5
| | | | | | | | 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
* add_proto() now fills proto for us so stop to 'guess' the protocol from themlaier2005-06-071-5/+2
| | | | | command and rather trust the value add_proto filled in. While here, fix an oversight in the pretty printing of ip6/4 options.
* - Remove OpenBSD'ism (bsd.own.mk).ru2005-06-071-4/+0
| | | | - Remove redundant and harmful -Wall from CFLAGS.
* Now that dhclient builds and /etc/support has been committed, reconnectbrooks2005-06-071-0/+1
| | | | dhclient to the build.
* Use SCRIPTS to install dhclient-script instead of rolling our own.brooks2005-06-071-4/+1
|
* FreeBSDize the dhclient-script.brooks2005-06-071-21/+54
| | | | Submitted by: sam
* Define _PATH_VAREMPTY.brooks2005-06-071-1/+39
| | | | | | | | | 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
* NULL is not a valid time_t.brooks2005-06-071-12/+13
| | | | Submitted by: sam
* We don't support BPF write filters at this time.brooks2005-06-071-0/+3
| | | | Submitted by: sam
* Take the OpenBSD version of the Makefile to resolve conflicts as the oldbrooks2005-06-071-59/+48
| | | | one is irrelevent. Add $FreeBSD.
* This commit was generated by cvs2svn to compensate for changes in r147072,brooks2005-06-0728-0/+10396
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tagbrooks2005-06-0729-20/+10434
| | | | | | | | OPENBSD_3_7).
* | Remove the bits to build the isc-dhclient.brooks2005-06-079-694/+0
| |
* | Temporarily disconnect dhclient from the build while I import thebrooks2005-06-071-1/+0
| | | | | | | | OpenBSD version.
* | Open devices RDONLY for ioctls. That makes it work on open devices to whichsos2005-06-061-2/+2
| | | | | | | | GEOM doesn't allow WR access.
* | Fix a silly little typo I just spotted.philip2005-06-061-1/+1
| |
* | Connect if_bridge to the build.thompsa2005-06-052-0/+113
| | | | | | | | Approved by: mlaier (mentor)
* | Add if_bridge, which provides more advanced Ethernet bridging and 802.1dthompsa2005-06-051-0/+533
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Better explain, then actually implement the IPFW ALTQ-rule first-matchgreen2005-06-041-2/+13
| | | | | | | | | | | | | | | | 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
* | Revert last. It was the result of mismerges from cvs not an actualimp2005-06-031-1/+0
| | | | | | | | | | | | need. _sconfig already was there in the correct place. Noticed by: ru@
* | Build sconfig on i386 to match where drivers are made it configuresimp2005-06-031-0/+1
| |
* | Add support for IPv4 only rules to IPFW2 now that it supports IPv6 as well.mlaier2005-06-032-26/+71
| | | | | | | | | | | | | | | | This is the last requirement before we can retire ip6fw. Reviewed by: dwhite, brooks(earlier version) Submitted by: dwhite (manpage) Silence from: -ipfw
* | Fix some warnings on 64-bit archs.jhb2005-06-011-6/+7
| | | | | | | | Reviewed by: sam
* | Add a handy macro to represent null mount option, MOPT_NULL, and makedelphij2005-06-0116-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove #ident directives, they don't exist on the vendor branch anymore.stefanf2005-05-319-9/+1
| |
* | Constify savedir pointer, and remove an accompaning strdup() call.delphij2005-05-291-8/+3
| |
* | Give variable an initial value. Use errx() instead of fprintf().charnier2005-05-291-4/+4
| |
* | rscid -> __FBSDID. Mark parameter as __unused when necessary.charnier2005-05-294-9/+13
| |
OpenPOWER on IntegriCloud