Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 1996 14:23:18 -0400 (EDT)
From:      Brian Tao <taob@io.org>
To:        FREEBSD-CURRENT-L <freebsd-current@freebsd.org>
Subject:   "Invalid hostname" as a hostname?
Message-ID:  <Pine.NEB.3.92.961007140050.22072w-100000@zap.io.org>

next in thread | raw e-mail | index | archive | help
    I noticed today that the output from `w', `who' and `last' show
the string "invalid hostname" where the hostname/IP address would
normally appear.  As far as I can tell, the affected people are coming
in from a host whose IP address is known in our DNS (this machine is
behind a firewall, thus the RFC1918 addresses).  What's invalid about
"jazz.montreal.ican.net" as a hostname vs.  "freedom.montreal.ican.net"?


% w
 1:45PM  up 5 days,  1:11, 53 users, load averages: 3.55, 4.24, 3.68
USER     TTY FROM              LOGIN@  IDLE WHAT
phil     p0  10.1.1.80         1:05PM    25 ssh shine
q        p1  slurp             1:10PM    12 slogin trepan (ssh)
q        p2  slurp             1:18PM     3 slogin zap (ssh)
g2       p3  fall:0.0          1:42PM     - ssh crunch
batsy    p5  groovy.io.org    Thu06PM     9 ssh zot
jcolvin  p7  mosey:0.0         8:29AM  1:11 ssh mail.ican.net
rpbird   pa  roger.io.org     10:48AM     1 ssh -l roger ican.net
batsy    pb  groovy.io.org    Wed01PM  1:15 -tcsh (tcsh)
khaber   pc  trip:0.0          7:39AM     7 ssh trepan
jean     pd  stumble:0.0       9:16AM    44 ssh trepan
q        pe  stagger:0.0      10:13AM  2:21 -csh (tcsh)
taob     pf  cabal.io.org     Sat07PM     - w
g2       pg  fall:0.0          9:23AM    26 ssh io.org
batsy    pi  groovy.io.org    Wed01PM     9 ssh zot
khaber   pj  trip:0.0          7:40AM    25 ssh shine
g2       pn  fall:0.0          9:23AM  3:48 ssh crunch
jazzman  po  invalid hostname  9:40AM  1:01 /usr/local/bin/ssh mail
g2       pp  fall:0.0         11:18AM  2:01 ssh -l jake shine
g2       pq  fall:0.0          9:23AM  2:41 ssh trepan.io.org
boobie   pr  boobie           11:21AM  2:13 /usr/local/bin/ssh -l bobbi ican.net
q        ps  slurp            11:25AM     - slogin wave (ssh)
g2       pt  fall:0.0         12:16PM    11 ssh trepan
boobie   pv  boobie           11:32AM    48 /usr/local/bin/ssh -l cathy trepan
maddox   q1  duppy.montreal.i  8:37AM    10 /usr/local/bin/./ssh crunch
maddox   q2  duppy.montreal.i  8:39AM    10 /usr/local/bin/./ssh -l stephane shine
boobie   q3  boobie           11:34AM  1:57 /usr/local/bin/ssh -l cathy empress
maddox   q4  duppy.montreal.i  8:46AM     - /usr/local/bin/./ssh mail.ican.net
jcolvin  q5  nap.io.org        9:08AM  4:36 irc jc nap.io.org (irc-2.8.16beta)
g2       q6  fall:0.0         11:34AM    13 ssh zap
boobie   q7  boobie           11:34AM  2:09 /usr/local/bin/ssh -l boobie trepan
jcolvin  q8  mosey:0.0         8:09AM    35 ssh shine
jcolvin  qa  mosey:0.0         8:09AM    35 ssh crunch
jcolvin  qb  mosey:0.0         8:09AM  1:03 ssh trepan
jcolvin  qc  mosey:0.0         8:09AM  1:04 ssh trepan
syick    qd  syick            Fri04PM     5 /usr/local/bin/ssh -l syick trepan
jcolvin  qe  mosey:0.0         9:08AM  4:36 ssh nap.io.org
boobie   qf  boobie           11:50AM  1:54 /usr/local/bin/ssh -l cathy shine
jazzman  qg  invalid hostname 11:36AM    42 /usr/local/bin/ssh shine
phil     qh  10.1.1.80        12:40PM    22 ssh mail.ican.net
batsy    qi  groovy.io.org    12:24PM    53 ssh zap
phil     qj  10.1.1.80        12:48PM    21 ssh ican.net
khaber   Pl  trip:0:S.0        7:40AM    49 ssh trepan
khaber   Pm  trip:0:S.1        7:41AM    10 ssh crunch
bigmac   Qo  freedom.montreal  8:30AM    30 ssh shine
bigmac   Qp  freedom.montreal  8:36AM  1:15 ssh mail.ican.net
bigmac   Qq  freedom.montreal  8:37AM  5:08 -usr/local/bin/tcsh
bigmac   Qr  freedom.montreal  8:37AM  2:03 ssh trepan
bigmac   Qs  freedom.montreal  8:37AM    30 ssh crunch
twiggy   Qt  invalid hostname 11:08AM  1:01 /usr/local/bin/ssh shine
twiggy   Qu  invalid hostname 11:22AM    45 /usr/local/bin/ssh crunch
twiggy   Qv  invalid hostname 11:22AM     - /usr/local/bin/ssh mail
twiggy   R0  invalid hostname 11:26AM     8 /usr/local/bin/ssh trepan
twiggy   R1  invalid hostname 11:26AM     8 /usr/local/bin/ssh trepan

% last jazzman
jazzman   ttyqg    invalid hostname Mon Oct  7 11:36   still logged in
jazzman   ttypo    invalid hostname Mon Oct  7 09:40   still logged in
jazzman   ttypr    invalid hostname Fri Oct  4 22:26 - 23:57  (01:30)
jazzman   ttypa    10.2.120.26      Fri Oct  4 21:07 - 21:09  (00:01)
jazzman   ttypv    10.2.120.26      Fri Oct  4 16:42 - 21:23  (04:41)
jazzman   ttyq2    invalid hostname Fri Oct  4 16:26 - 21:23  (04:57)
jazzman   ttyq1    invalid hostname Thu Oct  3 09:05 - 15:57  (06:51)
jazzman   ttypp    invalid hostname Thu Oct  3 08:16 - 15:56  (07:40)
jazzman   ttyq4    10.2.120.26      Wed Oct  2 18:31 - 23:58  (05:27)
jazzman   ttyp3    10.2.120.26      Wed Oct  2 16:59 - 23:58  (06:59)
jazzman   ttyp3    10.2.120.26      Wed Oct  2 16:10 - 16:56  (00:46)
jazzman   ttyph    10.2.120.26      Wed Oct  2 16:06 - 16:56  (00:49)

wtmp begins Tue Oct  1 17:01

% fgrep jazzman /var/log/messages
Oct  2 16:06:48 nap login: login from 10.2.120.26 as jazzman
Oct  2 16:10:02 nap login: login from 10.2.120.26 as jazzman
Oct  2 16:59:03 nap login: login from 10.2.120.26 as jazzman
Oct  2 18:31:24 nap login: login from 10.2.120.26 as jazzman
Oct  3 08:16:05 nap login: login from jazz.montreal.ican.net as jazzman
Oct  3 09:05:20 nap login: login from jazz.montreal.ican.net as jazzman
Oct  4 16:26:36 nap login: login from jazz.montreal.ican.net as jazzman
Oct  4 22:26:41 nap login: login from jazz.montreal.ican.net as jazzman
Oct  7 09:40:01 nap login: login from jazz.montreal.ican.net as jazzman
Oct  7 11:36:44 nap login: login from jazz.montreal.ican.net as jazzman
--
Brian Tao (BT300, taob@io.org, taob@ican.net)
Senior Systems and Network Administrator, Internet Canada Corp.
"Though this be madness, yet there is method in't"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.92.961007140050.22072w-100000>