summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Use comments to group functions by service more clearly. I've used thesheldonh1999-07-241-2/+31
| | | | excuse of providing the RFC numbers for the associated services.
* Style nits:sheldonh1999-07-241-5/+8
| | | | | | | | | | | * Bring memory allocation failure handling in line with that of the rest of the code. * Nestle block curlies between case statements correctly. I've left the in-block declarations alone, since style(9) says we should conform to the existing style within the code, and inetd already does this. I've left the asprintf()'s in there because that's how Brian wants it.
* When we fetch previously retrieved IP fragments from the aliasbrian1999-07-242-8/+10
| | | | | | | | tables, copy them correctly back into our mbuf rather giving a bzero'd count to memcpy() and ending up with a 0 byte fragment. The old code resulted in a 0 byte write to the tun device which tickled a bug that resulted in a panic :-(
* Document the -o and -t options to the internal auth service and give ansheldonh1999-07-231-7/+9
| | | | | | | | | example of their usage in the sample config. Merge the two examples for the green internal auth service. This commit failed the first time around because Brian beat me to the punch on inetd.8 . I like my descriptions better and I'm pretty sure Brian won't mind.
* Ahem. Put things back a bit. I declare variables in the scope they'regreen1999-07-231-9/+13
| | | | | | used! I don't declare every variable at the top of a function because that wastes stack space. I've clarified the error a bit (for if asprintf() filas.)
* Disable more PC98isms on the Alphajkh1999-07-232-2/+18
|
* As per DES's prodding, document _all_ the arguments to inetd's authgreen1999-07-231-2/+8
| | | | | service. This includes the -o "operating system" argument and the -t "timeout" argument.
* Style cleanups for iderror() and ident_stream(). Looks like c++ hang-over.sheldonh1999-07-231-25/+24
| | | | ;-)
* Fix auth -t argument handling. It was broken for the "sec.usec" case.sheldonh1999-07-231-4/+5
| | | | Add a warning for bogus -t arguments for the (debug) case.
* Set correct "flags" value when pccardd allocates/initializes driver.hosokawa1999-07-231-1/+2
|
* Don't match up TCP services with UDP sockets.des1999-07-231-3/+4
|
* Removed a very very old hack (I disabled it in PAO long time ago)hosokawa1999-07-231-2/+1
| | | | | that existed in original PC-card driver for FreeBSD 2.0 (maybe). This prevents from utilizing flags for drivers.
* Fixed a braino: lack of spaces in sscanf caused ident parsing to fail.green1999-07-231-2/+2
| | | | Sorry, guys.
* More changes for the Alpha X support - don't list PC98 servers since they makejkh1999-07-236-6/+29
| | | | no sense here but list the TGA server, since it does.
* Sorry, I forgot to test "iosize auto" before merging "iosize" patch.hosokawa1999-07-231-0/+9
|
* Inappropriate commment for -i option.hosokawa1999-07-231-2/+2
|
* Added "iosize" directive in /etc/pccard.confhosokawa1999-07-233-14/+76
| | | | | | | | | | | | | | | | | | Allocate free I/O window with given size to card. (example) # IBM PCMCIA Ethernet I/II card "IBM Corp." "Ethernet" config 0x1 "ed0" ? iosize 32 ether 0xff0 (it's currently only useful for externalizing hacks for broken CIS cards, but it will play an important role with "function" directive I'm planninng to merge) Reviewed by: freebsd-mobile list Obtained from: PAO3's "cardio" directive
* Release IRQ allocated dynamically.hosokawa1999-07-231-1/+4
|
* "knobs are cheap". Here's a -t timeout option for the internal identgreen1999-07-221-2/+18
| | | | service. It takes a number (w/ or w/out .usec) as an argument.
* This commit encompasses the following changes to inetd:green1999-07-222-32/+85
| | | | | | | | | | 1. Cleanups of ident_stream. "Evil" stdio is less used. 2. The BSD Copyright was added to the top of builtins.c. 3. As suggested, a timeout is now implemented in the ident service. It defaults to 10 seconds. If enough people want it, I'll make it configurable. Suggested by: msmith
* Relegate the diagnostic descriptor counter to the -DSANITY_CHECK case.sheldonh1999-07-221-4/+10
|
* Remove unnecessary macro introduced in previous commit.sheldonh1999-07-221-4/+5
| | | | | | | Also, the previous commit failed to reference: PR: 12731 Submitted by: dwmalone@maths.tcd.ie (David "Inetd" Malone)
* Don't leak pipe descriptor to daemons on execv().sheldonh1999-07-221-4/+6
|
* Signal handlers should use _exit(2) and not exit(3).sheldonh1999-07-221-2/+2
|
* - Add new argument `off' to the `-b' option. This will turn offyokota1999-07-222-4/+8
| | | | | | | | the bell. - Document it in the man page. - Fix a couple of typo in the man page. Submitted by: cpiazza
* Move code for all builtin services from inetd.c to builtins.c, includingsheldonh1999-07-224-583/+648
| | | | | | | the Green Piece. :-) In future, new builtin services are less likely to need to touch the already tangled inetd.c .
* Deal with new linux compat package naming.jkh1999-07-222-4/+4
| | | | Submitted by: Marcel Moolenaar <marcel@scc.nl>
* Intentionally do the wrong thing in using the initial DHCP values forjkh1999-07-221-1/+3
| | | | | | | | | | | | | ifconfig, essentially stealing the lease until the user goes and changes it. The alternative, sadly, is total dysfunction since bpf isn't in GENERIC and network connectivity would otherwise fail completely on first bootup when DHCP configuration was attempted again. The ultimate answer here is to make either bpf a loadable kernel module (which security conscious admins will be able to simply remove from /modules) or come up with a lighter weight mechanism just for dhcp and other apps that need to see broadcast packets but not otherwise sniff the wire in full bpf glory.
* Fix for the hosts_options(5) spawn option.sheldonh1999-07-211-5/+9
| | | | | | | | | | | | | | | Restore default SIGHUP, SIGCHLD and SIGALRM handlers in forked inetd processes. This happens to work around the fact that hosts_access() doesn't (but should) set SIG_IGN as the handler for SIGCHLD while it handles the spawn option, but it would make sense even if that were not true. This does not address the leaking descriptors issue discussed on the same PR. PR: 12731 Reviewed by: des Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Fix horribly broken comment. The submitter of the associated code sentsheldonh1999-07-211-3/+4
| | | | me the right comment and I bastardized it. :-(
* XFree86 3.3.4 seems to require "XWINHOME" to be set for the setup tooljkh1999-07-202-2/+4
| | | | to work (fnark).
* Make bcd2int work (resume time reporting now works.)green1999-07-201-3/+5
| | | | | PR: 12613 Submitted by: Michael Constant <mconst@not.there.com>
* Make wall_cmos do something.green1999-07-201-4/+13
| | | | PR: 12614
* The matcd driver is acting strange (returning a successful open evenjkh1999-07-202-2/+6
| | | | when it fails). Disable it in sysinstall for now.
* Fix a bad dhcp keyword; it's host-name not server-name.jkh1999-07-201-3/+3
|
* Add slovakian ftp mirror.jkh1999-07-202-2/+6
| | | | Submitted by: "Tomas TPS Ulej" <tps@ti.sk>
* More Alpha ifdefage.jkh1999-07-204-4/+28
|
* Make memcontrol's internal help actually work. No substitute for a realmsmith1999-07-201-3/+19
| | | | | manpage, but at least now you can get syntax help without resorting to reading the source.
* Activate kgzip.rnordier1999-07-191-1/+2
|
* This commit was generated by cvs2svn to compensate for changes in r48905,rnordier1999-07-1910-0/+1066
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * kgzip is a kzip(8) replacement able to compress and link bootablernordier1999-07-1910-0/+1066
| | | | | | | | | | | | | | | | 32-bit binaries in both ELF and a.out format. Development sponsored by Global Technology Associates, Inc. Reviewed/tested by: abial
* | Catch an XFree86 3.3.4 update I missed.jkh1999-07-191-4/+4
| |
* | Update for XFree86 3.3.4jkh1999-07-194-106/+106
| |
* | Wait for dhclient in a far saner fashion.jkh1999-07-191-4/+9
| | | | | | | | Submitted by: obrien
* | cleanup pass over new stuff.jkh1999-07-191-14/+5
| |
* | Another batch of fixes for dhcp support in sysinstall, now draggingjkh1999-07-198-89/+257
| | | | | | | | | | | | | | | | in some code from C. Stone to parse the lease information. This is still a WIP and this commit is largely intended to allow others to sync up; the dhclient code still only works when doing dhcp configuration post-install and requires a bit more work on the boot floppy before it will truly work in the minimal bootstrapping role.
* | Some additional optimizations for using DHCP.jkh1999-07-186-12/+21
| |
* | Miscellaneous fixes for dhcp client support.jkh1999-07-181-2/+3
| |
* | Fix a typobrian1999-07-172-4/+4
| | | | | | | | Submitted by: Rich Wood <rich@chugaboom.net>
* | Add in a hack to turn off unaligned access warnings for alpha.jkh1999-07-162-4/+12
| | | | | | | | Submitted by: msmith
OpenPOWER on IntegriCloud