[6bone] IPv6 port scanners?

Thomas Habets thomas@habets.pp.se
Mon, 20 May 2002 17:32:36 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 20 May 2002 13:49, you wrote:
> A fairly quick Google search turned up a page on Freshmeat listing
> halfscan6, "An IPv6 port scanner."

I love it when my programs pop up on mailing lists. :-)

> Disclaimer: I have not tried it myself, and have no idea about its
> quality!

Works on:
Linux x86
Linux sparc

Does not work on:
OpenBSD 3.0 sparc
NetBSD 1.5.2 alpha

Also, Linux seems to set the source address to what it wants even though I'm
sending them out a raw socket, which sucks since I've already calculated the
checksum. If anyone knows why, please tell me. Same goes for getting it to
work on OpenBSD, which doesn't deliver the packets to my AF_INET6/SOCK_RAW
socket.

In short: the argument to -s must match what Linux actually puts out as 
source, since I don't seem to have control over that. (at least not without 
going more raw).

But if you just want a connect() portscanner there are others. But I do
believe that mine is the only halfscan (synscan or whatever you want to call
it).

- ---------
typedef struct me_s {
  char name[]      = { "Thomas Habets" };
  char email[]     = { "thomas@habets.pp.se" };
  char kernel[]    = { "Linux 2.4" };
  char *pgpKey[]   = { "http://darkface.pp.se/~thompa/pubkey.txt" };
  char pgp[] = { "A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854" };
  char coolcmd[]   = { "echo '. ./_&. ./_'>_;. ./_" };
} me_t;

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE86RcbKGrpCq1I6FQRAjCbAKD9F9z4175KXxDluY+KTWfHbM6cIACeOyCB
IPln8sdTtisQrfVP+AsO0QM=
=LxZ4
-----END PGP SIGNATURE-----