[5679] in bugtraq

home help back first fref pref prev next nref lref last post

Re: 44BSD port of land.c

daemon@ATHENA.MIT.EDU (Peter)
Sat Nov 22 03:28:33 1997

Date: 	Sat, 22 Nov 1997 08:00:52 +0000
Reply-To: deviant@unixnet.org
From: Peter <deviant@UNIXNET.ORG>
X-To:         blast <blast@BRODER.COM>
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <Pine.BSI.3.96.971121105621.1489C-100000@pillbox.broder.com>

On Fri, 21 Nov 1997, blast wrote:

> For those of you who don't have all the "fancy" LINUX
> networking includes, here is a port to 44BSD flavors.
> Should compile fine on FreeBSD, NetBSD, OpenBSD, BSDi, etc.
> Enjoy.
> -blast

This seems to work, as long as you've got NetCat:

-----
#!/bin/bash
nc -s $1 -p $2 $1 $2
-----

where $1 is the host, and $2 is the port (139,23, 25, whatever)

I've tested this against several of the reported box types, and it seems
to perform as Aleph's list says, so I'm assuming it works.

 -- Peter
   PGP KeyID = 4920E659 Fingerprint = 49868A89662AF7F7 777E813ED64EAACE

The only constant is change.

home help back first fref pref prev next nref lref last post