.IP "\-r ADDRESS, \-\-remote=ADDRESS"
Ask the peer at ADDRESS for connection reversal, using the local address for the target address of the reversal.
-.B
-.IP "\-L, \-\-listen"
-Listen for connection reversal requests.
-
.B
.IP "\-p PORT, \-\-port=PORT"
Use PORT as our external port for advertising for incoming requests.
.IP "\-w, \-\-write"
Write configuration to configuration file, useful in combination with autoconfiguration (\-a).
+.B
+.IP "\-W, \-\-watch"
+Watch for connection reversal requests.
+
+
.SH BUGS
Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet\-developers@gnu.org>
{'r', "remote", "ADDRESS",
gettext_noop ("which remote IP and port should be asked for connection reversal"),
GNUNET_YES, &GNUNET_GETOPT_set_string, &remote_addr },
- {'L', "listen", NULL,
- gettext_noop ("listen for connection reversal requests"),
- GNUNET_NO, &GNUNET_GETOPT_set_one, &listen_reversal },
{'p', "port", NULL,
gettext_noop ("port to use to advertise"),
GNUNET_YES, &GNUNET_GETOPT_set_uint, &adv_port },
{'w', "write", NULL,
gettext_noop ("write configuration file (for autoconfiguration)"),
GNUNET_NO, &GNUNET_GETOPT_set_one, &write_cfg },
+ {'W', "watch", NULL,
+ gettext_noop ("watch for connection reversal requests"),
+ GNUNET_NO, &GNUNET_GETOPT_set_one, &listen_reversal },
GNUNET_GETOPT_OPTION_END
};
*
* TODO:
* - TEST UPnPC/PMP-based NAT traversal
- * - implement STUN processing to classify NAT
+ * - implement STUN processing to classify NAT;
+ * basically, open port & try different methods.
* - implement "more" autoconfig
* - implement NEW logic for external IP detection
*/