crack-attack-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [crack-attack-devel] IPv6 patch for crack-attack


From: A.O.
Subject: Re: [crack-attack-devel] IPv6 patch for crack-attack
Date: Mon, 16 May 2005 22:41:11 +0200

On Fri, 6 May 2005 15:48:18 -0400
Mike Frysinger <address@hidden> wrote:

> > > it's quiet common for apps that support both ipv4 and ipv6 to have
> > > '-4' and  '-6' options so you can specify whether you want to
> > > force ipv4 or ipv6 ...  also, i'm sure there's plenty of people
> > > around here who can help out with  autotools
> > > -mike
> >
> > This choice can be added, of course, but maybe it can be more useful
> > a --bind option for the server part, to make the server listen only
> > on a given address, if thare are many. The -6 and -4 switches would
> > be trivial to implement but using them it sounds to me like breaking
> > the concept of Address Family Independance.
> 
> the -4 and -6 options are used to force selection, not to force users
> to make  a selection :)  so both concepts should be accounted for in
> this schema

Well, i cleaned up the patch and changed some other things here
and there. I attach the new diff against today's CVS.

The port is now a char[NI_MAXSERV] variable (see getnameinfo(3)), the
variable host_name is used as before in client-mode, but is used to bind
the server to a given address or host name in server-mode when the new
--bind option is used.
To simulate the behaviour of the -4 and -6 options you can use
--bind 0.0.0.0 and --bind ::

As stated before i would like to avoid -4 and -6 options because using
them will make the assumption we are using IP (v4 and v6) while the
actual code should be general enough to work with every network protocol
that can use the socket interface (but i would not bet on that :)).
Anyway i will add them if that could make the users happy :)

I need help to show server address in the GUI, i'm definitely not 
a GUI-guy, sorry.

The new code needs some testing, expecially under Windows.
There are any chances it will be integrated in 1.1.5 ?

Regards,
   Antonio.

-- 
Public key: http://studenti.unina.it/~ospite/aopubkey.asc

Attachment: crack-attack_AF-independence.02.diff
Description: Text document

Attachment: pgp0KfHXNIAkf.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]