fmII
Sun, May 18th home | browse | articles | contact | chat | submit | faq | newsletter | about | stats | scoop 04:31 PDT
in
Section
login «
register «
recover password «
[Project] add release | add branch | add screenshot | broken links | change owner | email subscribers | update project | update branch (urls) [Project]

 netcat - Default branch
Section: Unix

 

Added: Tue, Nov 30th 1999 10:02 PDT (8 years, 5 months ago) Updated: Fri, Nov 26th 2004 03:09 PDT (3 years, 5 months ago)


About:
Netcat is a simple Unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable backend tool that can be used directly or easily driven by other programs time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.

Author:
Weld <weld (at) l0pht (dot) com> [contact developer]

Rating:
8.66/10.00 (11 votes)

Homepage:
http://www.securityfocus.com/tools/137
Tar/GZ:
http://www.securityfocus.com/data/tools/nc110.tgz

Trove categories: [change]
[Environment]  Console (Text Based)
[Intended Audience]  End Users/Desktop
[License]  Freeware, Public Domain
[Topic]  System :: Networking

Dependencies: [change]
No dependencies filed

 
» Rating: 8.66/10.00 (Rank N/A)
» Vitality: 0.00% (Rank 12075)
» Popularity: 8.32% (Rank 318)

project statsdownload stats
(click to enlarge graphs)
   Record hits: 185,529
   URL hits: 132,819
   Subscribers: 81

Projects depending on this project:
envbot


Other projects from the same categories:
Remote Tea
LPR via HTTP
Enas
Symbion SSL Proxy
Yong

Users who subscribed to this project also subscribed to:
Modular syslog
Novell Linux Kernel Debugger (NLKD)
Linux Intrusion Detection System
x11vnc
Cluster SSH


Add comment · Rate this project · Subscribe to new releases · Ignore this project · Email this project to a friend · Project record in XML

 Branches

Branch Version Last release License URLs
Default     Freeware Homepage Tar/GZ
IPv6
A cleaned up and revamped netcat with IPv6 support.
2.0-alpha4 26-Nov-2004 Public Domain Tar/GZ

 Articles referencing this project

 Comments

[»] IPv6 Port
by QuiGonGene - Sep 28th 2003 15:29:28

I had a problem compiling the IPv6 version on FreeBSD 5.0. Changed the following to make it work:

first_port = strtoul (argv[optind], &tail, 0);
if (first_port > USHRT_MAX || *tail || first_port == 0)
bail ("invalid port %s", argv[optind]);

last_port = strtoul (cp, &tail, 0);
if (last_port > USHRT_MAX || *tail || last_port == 0)
bail ("invalid port %s", cp);

Change USHRT_MAX to 65535, then compile. Works like a charm.

[reply] [top]


    [»] Re: IPv6 Port
    by Paolo Bonzini - Nov 26th 2004 02:14:34


    > Change USHRT_MAX to 65535, then compile.

    > Works like a charm.


    Or include limits.h. Silly me.

    [reply] [top]


[»] Compile error
by netAGENT - Jun 5th 2003 02:50:13

When I compile netcat on Linux it gives me this errors:

/tmp/cccUSCm5.o: In function `main':
/tmp/cccUSCm5.o(.text+0x1b1a): undefined reference to `res_init'
collect2: ld returned 1 exit status

[reply] [top]


    [»] Re: Compile error
    by jim barchuk - Jul 4th 2003 12:28:33


    > When I compile netcat on Linux it gives
    > me this errors:
    >
    > /tmp/cccUSCm5.o: In function `main':
    > /tmp/cccUSCm5.o(.text+0x1b1a): undefined
    > reference to `res_init'
    > collect2: ld returned 1 exit status
    >

    Check the comments a little down the page titled 'compile for linux.' The error you mention goes away by adding 'include resolv.h' to netcat.c

    [reply] [top]


      [»] Re: Compile error
      by FisherKing - Sep 18th 2003 02:16:34


      >
      > % When I compile netcat on Linux it gives
      > % me this errors:
      > %
      > % /tmp/cccUSCm5.o: In function `main':
      > % /tmp/cccUSCm5.o(.text+0x1b1a): undefined
      > % reference to `res_init'
      > % collect2: ld returned 1 exit status
      > %
      >
      >
      > Check the comments a little down the
      > page titled 'compile for linux.' The
      > error you mention goes away by adding
      > 'include resolv.h' to netcat.c
      >

      The debian guys have a whole bunch of patches for netcat
      get ftp://ftp.debian.org/debian/pool/n/netcat/netcat_1.10-23.diff.gz

      installation, in netcat dir:

      zcat ~/src/netcat_1.10-23.diff.gz | patch

      for i in `cat 00list` ; do cat $i.dpatch | patch;done

      [reply] [top]


[»] A patch for Netcat
by Claudio Scordino - Dec 7th 2002 06:43:07

We made a patch for Netcat that provides a TCP connection between Client and Server, and lets the Client the possibility to specify the file which it is interested in.
This patch is available at
http://utenti.quipo.it/claudioscordino/netcat.html

[reply] [top]


[»] Compil for Linux
by anamorphose - Jan 18th 2002 13:47:58

On redhat 7.2 :

include "resolv.h"

[reply] [top]


    [»] Re: Compil for Linux
    by lucipher - Jan 20th 2002 22:22:25


    > On redhat 7.2 :
    >
    > include "resolv.h"

    and do not forget to create a directory, in case you don't want to overwrite any Makefile's or README's you might have on the directory you'll extract the contents of nc*.tgz :-)

    --
    ''Where solitude ignites and dark shadows slain, O' er the soul between the flow from flat sillhouette to darkness again''

    [reply] [top]




© Copyright 2008 SourceForge, Inc., All Rights Reserved.
About freshmeat.net •  Privacy Statement •  Terms of Use •  Trademark Guidelines •  Advertise •  Contact Us • 
ThinkGeek •  Slashdot  •  ITMJ •  Linux.com •  NewsForge  •  SourceForge.net  •  Surveys •  Jobs •  PriceGrabber