Commit 59481741 authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: ChangeLog:1.992
parent 909e7241
2008-09-26 Niels Mller <>
* src/ (COMMON_SOURCES): Moved queue.c here, from
* src/lshd.c (open_ports): Replaced by three new functions, to
support multiple listen ports.
(open_port): Look up a port using getaddrinfo, and bind one or
more sockets.
(open_interface): Bind all appropriate ports for a given
(open_all_ports): Open all configured ports on all interfaces.
(class lshd_interface): New class.
(class lshd_config): Use queues to handle multiple ports and
(parse_interface): New function.
(main_argp_parser): Handle --interface option. Accept multiple -p
(lshd_config_handler): Likewise. Added default port logic.
* src/testsuite/config/lshd.conf: Removed interface option, it is
set to localhost on the command line.
* src/testsuite/ Set $INTERFACE.
* src/channel.c (channel_open_new_v): Removed function, merged
into channel_open_new_type.
2008-09-02 Niels Mller <>
* src/lsh-transport.c (lsh_transport_lookup_verifier):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment