Nmap Development mailing list archives

Ncat broker mode code merged into ncat_listen.c


From: Shinnok <admin () shinnok com>
Date: Wed, 03 Aug 2011 00:25:30 +0300

Hi all,

I just finished the merge of ncat_broker.c code that was mostly a dupe
of ncat_listen.c into the latter, for code maintainability and
proliferation reasons.

This change has also enabled for the --broker combined with --sctp mode
to work, which was enabled in a following commit(r25541).

Pasting bellow the log message of the merge revision to trunk ncat:
------------------------------------------------------------------------
r25540 | shinnok | 2011-08-02 22:42:47 +0300 (Tue, 02 Aug 2011) | 8 lines

Merge back to trunk branch /nmap-exp/shinnok/ncat-broker-merge that
resolves the code duplication issue between the broker and listening
modes of Ncat by merging the broker code in ncat_broker.c to
ncat_listen.c and removing the ncat_broker.* files altogether. This is
because most of what was in the broker code(except the exclusive
functions pertaining to the chat mode) was almost an exact copy of
ncat_listen.c and this usually leads to maintenance hell.
------------------------------------------------------------------------

I have also added 4 new test cases to ncat-test.pl that check if broker
mode works as expected in tcp and sctp transport layers and further with
ssl on top in r25542.

Regards,
Shinnok
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: