| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
one packet. Also check that the whole request has been recieved
before processing it.
The patch isn't the exact one from the PR, but a slight varient
suggested by Brian.
PR: 16086
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
Reviewed by: green
|
|
|
|
|
|
| |
proper places and make the fakeid parsing code a bit less stupid. Also,
remove an "Rflag" that snuck in there (-R wouldn't be accepted by it,
anyway).
|
|
|
|
|
|
| |
a size_t as its 3rd argument, which is 64-bits on the alpha. The 'len'
variable used was a int, which is only 32-bits. Use size_t as the type
for 'len' to work-around this.
|
|
|
|
|
|
| |
a fallback username.
Reviewed by: green
|
|
|
|
|
|
| |
requested in /etc/inetd.conf.
Reviewed by: shin
|
|
|
|
|
|
|
| |
with the MSG_EOF flag set instead of write(2).
Submitted by: David Malone <dwmalone@maths.tcd.ie>
Reviewed by: wollman
|
|
|
|
| |
auth stream tcp nowait root internal auth -d "Only fools trust ident"
|
| |
|
|
|
|
|
|
| |
Approved by: jkh
Submitted by: jhb
|
|
|
|
|
|
|
|
|
| |
Some inetd internal udp servers didn't worked with problem.
Also fix recvfrom() "fromlen" arg type from int * to socklen_t *.
Approved by: jkh
Submitted by: bde
|
|
|
|
|
|
|
| |
options.
PR: 17017
Submitted by: Doug Barton <Doug@gorean.org>
|
| |
|
|
|
|
|
|
| |
Approved by: jkh
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
|
|
|
|
|
|
| |
is defined
Approved-by: jordan
|
|
|
|
|
|
|
|
|
|
|
|
| |
Incorrect Address Family check is done for RPC services, and
fail to initialize it.
The error check is replaced to new one, which checks if IPv4
bind is enabled or not. (It is disabled when IPv6 numeric
addr is specified for -a bind address option.)
An review reqeust is once sent to des, but he quit MAINTAINER.
Approved by: jkh
|
| |
|
|
|
|
|
|
| |
Specified by: sheldonh
Reviewed by: des
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the committer (shin). While I don't have permission for this change
from the inetd maintainer (des), I assume that shin has permission
and I'm just fixing his contribution up for him.
Okay, I couldn't resist, I made some extra changes:
* Replace ".Tn FreeBSD" with .Fx
* Make the illegal TCPMUX and IPSEC sections legal subsections
of the IMPLEMENTATION NOTES section.
Requested by: shin
|
|
|
|
|
| |
usually, and print it only when debug is enabled.
(This always happens when kernel is configured without IPSEC option.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
-inetd
-rshd
-rlogind
-telnetd
-rsh
-rlogin
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
| |
inside error messages.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
garbage value for the username (hex garbage, that is), and the -d flag
provides a default username for fallback purposes if the user cannot be
looked up. That is very useful for the case where inetd auth is
running on a NAT box.
While I'm here updating the manpage, clean up an English error and a
few small nits.
|
|
|
|
|
|
|
|
|
| |
accept(2). This is a not really problem on -current as the accept race
is fixed, however it is a MFC candidate for -stable.
This could possibly be slightly more efficient and leave the listening
socket permanently in non-blocking mode, but I wasn't certain that I
could catch all the stream/wait (not nowait) mode implications.
|
| |
|
| |
|
|
|
|
|
|
| |
flamage between our beloved messrs Hearn and Feldman. Further commits go
through me. I urge the contestants to direct their energies at cleaning
up main() in inetd.c, which has over time become a crawling horror.
|
|
|
|
|
|
|
|
|
| |
I've taken time to write up comments for the ident code tonight,
so there should no longer be any confusion about the purpouse of
whatever is in there. Wow, me commenting code... who'd have thought
that would happen?
Reviewed by: DES
|
|
|
|
| |
those featured in the rest of the code.
|
|
|
|
|
|
|
| |
Got rid of an extra variable or two, while making corrections to
problems (that would probably not be a problem anyway, and worked.)
Partially Obtained from: David Malone <dwmalone@maths.tcd.ie>
|
|
|
|
| |
Document the auth -n flag.
|
|
|
|
| |
and addition of a -n .noident-checking flag.
|
|
|
|
| |
people having ants in their pants ;)
|
|
|
|
| |
excuse of providing the RFC numbers for the associated services.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
| |
service. This includes the -o "operating system" argument and the -t
"timeout" argument.
|
|
|
|
| |
;-)
|
|
|
|
| |
Add a warning for bogus -t arguments for the (debug) case.
|
| |
|
|
|
|
| |
Sorry, guys.
|
|
|
|
| |
service. It takes a number (w/ or w/out .usec) as an argument.
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Also, the previous commit failed to reference:
PR: 12731
Submitted by: dwmalone@maths.tcd.ie (David "Inetd" Malone)
|
| |
|
| |
|
|
|
|
|
|
|
| |
the Green Piece. :-)
In future, new builtin services are less likely to need to touch the
already tangled inetd.c .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|