netcat


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):

Are you looking for FAQ: what is netcat and how do I use it?


Hate these ads?



From - Mon Aug 21 08:02:03 2000
Path: news.randori.com!news-feeder2.wcg.net!WCG!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newsfeed.stanford.edu!sn-xit-01!supernews.com!sn-inject-01!corp.supernews.com!not-for-mail
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us>
Newsgroups: comp.unix.sco.misc
Subject: Re: Netcat problem? - repost
Date: Sun, 20 Aug 2000 13:36:34 -0700
Organization: Committee To Maintain an Independent Xenix
Lines: 71 Message-ID: <uhf0qscrdf5diag6ikp76jn3qvttt2nioc@4ax.com> References: <m13QauO-000AmYC@egps.com>
Reply-To: jeffl@comix.santa-cruz.ca.us
X-Complaints-To: newsabuse@supernews.com
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: news.randori.com comp.unix.sco.misc:64724
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000



On Sun, 20 Aug 2000 19:37:28 GMT, Nachman Yaakov Ziskind
<awacs@egps.com> wrote:



>[reposting this b/c it doesn't show up in DejaNews. Also, now Jeff L. is 
>back :-)]














I was just about to leave for Doug's party, when your message
appeared.  If I'm late or miss something important, it's your fault.



>3) Netcat gives the following results:
>$ netcat -d 999 -h hp3 -p 9102
>
>debugl = 999
>hostname = hp3
>port = 9102
>gethostbyname()=0x404340
>socket()=3
>sin.sin_addr.s_addr=0x2882b8d0
>connect()=-1
>Connect to port 9102 on hp3: Connection refused



One of these days, I'll figure out what all that debug info means.
However, the connect()=-1 is fairly obvious.  Your print server was
lonely while you were gone, and has decided to not accept any of your
excuses as to why you were gone.  My cat does the same thing.



>even though I can happily telnet into the port and dump characters to each
>printer.



Ok.  So, if you talk to it nicely, it will cooperate.  My cat does the
same thing.



>In desperation, I switched the netcat symlink from pointing to:
>[...]       71566 May 12  1999 netcat.coff
>to point to:
>[...]      174740 May 12  1999 netcat.elf
>and now both netcat and the printing works.









You were using OSR5 with the COFF version?  OSR5 wants the ELF
version.  COFF is for 3.2v4.x.  As far as I know, both binaries are
static linked.  A change of binary flavour at this point is not a good
idea.  My cat doesn't like diet changes either.



>And I can reproduce it. I.e., netcat.coff *still* doesn't work. And I checked
>with a fresh copy from Jeff's webcite.



It's a web pile, not webcite.  You want me to miss Doug's party just
to test the COFF version of netcat on OSR5?  Surely you jest.
However, you may have found a problem as I didn't build the COFF
version.  Some un-named culprit sent it to me since I had to remove my
C compiler from my 3.2v4.2 system to regain some needed diskspace.
I'll test it after forum and after I clean up the mess my cat is sure
to leave because I'm gone.



>(presumably I broke some binary that was dynamically linked in ...?)



So, download a fresh copy.  Perhaps the binary on my web pile is
busted, corrupted, or trashed.  I'll do a CRC comparison later.



>What the hell?



I'd explain, but there's not enough time to explain how to get there
from here.  Suffice to say that hell is in the general downward
direction.  I'm teaching the cat to type.  Perhaps he can explain.




-- 
Jeff Liebermann   jeffl@comix.santa-cruz.ca.us
150 Felker St #D  Santa Cruz CA  95060
831-421-6491 pager   831-429-1240 fax
http://www.cruzio.com/~jeffl/sco/   SCO stuff








Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
2311150 1,022

/Bofcusm/508.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.



Twitter
  • Nov 20 07:43
    I took a random stab at the free upgrades and ordered a new cell phone. Didn't check features or reviews. Hope I don't hate it.
  • Nov 19 18:52
    We'll be spending just as much on holiday gifts as we did last year: exactly $0. Doing our part to help the retail stores as we always do.




card_image








Change Congress


Related Posts