Nmap Development mailing list archives

Re: [nmap-svn] r31495 - in nmap-exp/d33tah/ncat-env-conninfo/ncat: . docs


From: Jacek Wielemborek <wielemborekj1 () gmail com>
Date: Tue, 23 Jul 2013 03:08:02 -0700 (PDT)

23/07/2013, 10:07:24 commit-mailer () nmap org commit-mailer () nmap org:
Author: david
Date: Tue Jul 23 10:07:24 2013
New Revision: 31495

Log:
Remove NCAT_SSL environment variable.

I'm not yet 100% we want this or if there are better ways to carry the
same information.

Modified:
   nmap-exp/d33tah/ncat-env-conninfo/ncat/docs/ncat.xml
   nmap-exp/d33tah/ncat-env-conninfo/ncat/ncat_core.c

Modified: nmap-exp/d33tah/ncat-env-conninfo/ncat/docs/ncat.xml
============================================================================
== --- nmap-exp/d33tah/ncat-env-conninfo/ncat/docs/ncat.xml   (original) 
+++
nmap-exp/d33tah/ncat-env-conninfo/ncat/docs/ncat.xml  Tue Jul 23 10:07:24
2013 @@ -480,8 +480,6 @@

               <listitem>NCAT_PROTO - the protocol name - TCP, UDP or
SCTP,</listitem>

-              <listitem>NCAT_SSL - set to "1" if we're using SSL. Not set
otherwise.</listitem> -
             </itemizedlist>
           </para>


Modified: nmap-exp/d33tah/ncat-env-conninfo/ncat/ncat_core.c
============================================================================
== --- nmap-exp/d33tah/ncat-env-conninfo/ncat/ncat_core.c     (original)
+++ nmap-exp/d33tah/ncat-env-conninfo/ncat/ncat_core.c        Tue Jul 23 10:07:24
2013 @@ -570,9 +570,6 @@
     _NCAT_SETENV("NCAT_REMOTE_ADDR", dest_addr);
     _NCAT_SETENV("NCAT_REMOTE_PORT", dest_port);

-    if (o.ssl)
-        _NCAT_SETENV("NCAT_SSL", "1");
-
     switch(o.proto) {
         case IPPROTO_TCP:
             _NCAT_SETENV("NCAT_PROTO", "TCP");

_______________________________________________
Sent through the svn mailing list
http://nmap.org/mailman/listinfo/svn

As I said, it could be useful in some cases - running an HTTP server, forming 
a URL for the websocket protocols needs... personally, I'd keep it.
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: