History log of /freebsd/usr.bin/finger/net.c (Results 51 – 75 of 78)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 70ad88f3 28-Dec-2009 Ed Schouten <ed@FreeBSD.org>

Migrate finger(1) away from <utmp.h>.

Unfortunately it also uses lastlog, which means we must resort to local
extensions of the utmpx-interface. Because the user name and TTY name
are now nul-termin

Migrate finger(1) away from <utmp.h>.

Unfortunately it also uses lastlog, which means we must resort to local
extensions of the utmpx-interface. Because the user name and TTY name
are now nul-terminated, there is no need to copy around strings as
often.

show more ...


# 821df508 13-Dec-2009 Xin LI <delphij@FreeBSD.org>

Revert most part of 200420 as requested, as more review and polish is
needed.


# 6f2d3221 12-Dec-2009 Xin LI <delphij@FreeBSD.org>

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# f8871cc8 11-Apr-2007 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove T/TCP support, and the -T option which was needed to disable it.

MFC after: 3 weeks


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# a7526044 17-May-2004 Stefan Farfeleder <stefanf@FreeBSD.org>

Remove spurious semicolons. Outside of functions they are actually errors but
GCC doesn't warn about them without -pedantic.

Approved by: das (mentor)
PR: 56649
Reviewed by: md5


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0
# 8c9589bd 02-Dec-2002 Peter Pentchev <roam@FreeBSD.org>

Make a CR/LF sequence measure up to its name: the order of the CR and LF
characters was reversed, resulting in some network appliances, including
at least some NAS devices from Ascend, not recognizin

Make a CR/LF sequence measure up to its name: the order of the CR and LF
characters was reversed, resulting in some network appliances, including
at least some NAS devices from Ascend, not recognizing our finger(1)
request.

PR: 45914
Submitted by: J R Matthews <jrm@delta-e.com.au>
Approved by: re (rwatson)
MFC after: 2 weeks

show more ...


Revision tags: release/4.7.0_cvs
# f4ac32de 05-Sep-2002 David Malone <dwmalone@FreeBSD.org>

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

R

ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by: md5

show more ...


Revision tags: release/4.6.2_cvs, release/4.6.2
# 3daa8471 22-Jul-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

add -4 and -6 option to be able to specify an address family.

Requested by: matusita
MFC after: 1 week


Revision tags: release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# 9f5b04e9 10-Dec-2001 David Malone <dwmalone@FreeBSD.org>

Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though c

Style improvements recommended by Bruce as a follow up to some
of the recent WARNS commits. The idea is:

1) FreeBSD id tags should follow vendor tags.
2) Vendor tags should not be compiled (though copyrights probably should).
3) There should be no blank line between including cdefs and __FBSDIF.

show more ...


# 4e030ba6 02-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 fix, remove 'register' and use __FBSDID().


# 7a19d1bb 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


Revision tags: release/4.3.0_cvs, release/4.3.0
# 4c86f3ad 06-Feb-2001 Philippe Charnier <charnier@FreeBSD.org>

Spelling
Remove unused #includes


Revision tags: release/4.2.0
# 1e832bf8 23-Oct-2000 Ruslan Ermilov <ru@FreeBSD.org>

-Wall cleanup.

PR: 22187


Revision tags: release/4.1.1_cvs
# 2804330f 24-Sep-2000 Garrett Wollman <wollman@FreeBSD.org>

Don't assume ai0->ai_canonname will always be filled in. Print the
user-supplied host name if we can't get a canonical name.

Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)


# e45ccde7 22-Sep-2000 Garrett Wollman <wollman@FreeBSD.org>

Implement IPv6 support. Also restructure the way multi-homed hosts
are treated, regardless of protocol.


Revision tags: release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0
# dd5288f3 08-May-1999 David E. O'Brien <obrien@FreeBSD.org>

Impliment elements of TCP Wrappers's `safe_finger'.
* if run by root (or root process) drop privs
* ensure output size is not infinate (net finger only)
* ensure output lines are not infinate in leng

Impliment elements of TCP Wrappers's `safe_finger'.
* if run by root (or root process) drop privs
* ensure output size is not infinate (net finger only)
* ensure output lines are not infinate in length (net finger only)
* do not allow finger client to run longer than 3 minutes (net finger only)

show more ...


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# a716ad66 09-Jun-1998 Warner Losh <imp@FreeBSD.org>

Don't assume that hp->h_lenght == 4. Be conservative in its use.
Submitted by: J. Assange a long time ago.


Revision tags: release/2.2.6, release/2.2.5_cvs
# a32cbefa 01-Aug-1997 Garrett Wollman <wollman@FreeBSD.org>

So somebody actually found language in the FINGER RFC which requires
implementations to leave the client side open until the server closes.
While this is totally idiotic, it seems as if some servers

So somebody actually found language in the FINGER RFC which requires
implementations to leave the client side open until the server closes.
While this is totally idiotic, it seems as if some servers actually require
it (e.g., the one at mit.mit.edu). So, we bow to the weight of the bogus
standard and disable the initial close. Hopefully now fetch(1) can serve
the role of T/TCP demonstration application.

show more ...


# b14d8277 02-Jul-1997 Philippe Charnier <charnier@FreeBSD.org>

Add rcsid, usage(). Silent -Wall. Use warn(3).


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0
# df3f5d9d 11-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Merge from Lite2


# 0da30e9a 11-Mar-1997 Peter Wemm <peter@FreeBSD.org>

Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.


Revision tags: release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs
# 03801815 15-Mar-1996 Andras Olah <olah@FreeBSD.org>

Allow the user to disable the use of T/TCP by setting the -T option.
This option becomes useless when all TCP stacks are fixed out there.


# a0a47889 11-Mar-1996 Andrey A. Chernov <ache@FreeBSD.org>

Print 8bit chars from the net if current locale allows them


Revision tags: release/2.1.0_cvs
# 1e474c62 17-Dec-1995 Garrett Wollman <wollman@FreeBSD.org>

Implement client-side transaction TCP. This has little effect
if the server doesn't support it. (This is intended mostly as
an example.)


1234