Commit Graph

42 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Matthew Wild 5273af7c22 portmanager: Make maximum read size configurable, and default to 4KB 12 years ago
Kim Alvefur 99c908e11a portmanager: Also include the interface the service is listening on 13 years ago
Waqas Hussain 372de588be portmanager: Include port numbers the service is listening on in the info logs. 13 years ago
Matthew Wild 4624a05183 portmanager: import pairs() (thanks Maranda) 13 years ago
Marco Cirillo 7cd207a8f6 portmanager: add logic to allow specification of service default values for ssl config and / or overrides. 13 years ago
Matthew Wild 3e788bfa6e portmanager: Log error and fail to bind when port is invalid (not a number) 13 years ago
Kim Alvefur 077cfbe8a4 portmanager: Add use_ipv4 option, default to true. 13 years ago
Kim Alvefur 45fa794da0 portmanager: use_ipv6 defaults to true if luasocket has ipv6 support 13 years ago
Kim Alvefur 9f39499470 portmanager: Make sure foo_ports is a table 13 years ago
Matthew Wild 193b00e1ff portmanager: Return first service with the specified name from get_service() (instead of the array of possible services) (thanks xnyhps) 13 years ago
Matthew Wild c6fcddc614 portmanager: Support 'local_interfaces' config option (default for private listeners like components, telnet, etc.) (thanks mva) 14 years ago
Matthew Wild 30f0c3a465 portmanager: Remove unused import of 'pairs' 14 years ago
Kim Alvefur fe4e7ec80f portmanager: Show a friendly error message when initializing SSL fails (thanks MattJ for the entire patch that I fixed one line in) 14 years ago
Matthew Wild c7f054eae6 portmanager: Match service against service_info (:iter() doesn't match values) 14 years ago
Matthew Wild b402b8f4ae portmanager: Fix to deactivate services when they are unregistered (metatable:iter() wins) 14 years ago
Matthew Wild bf452927fd portmanager: Fix missing variable declaration 14 years ago
Matthew Wild 4cdc92746f portmanager: Remove unused import of 'package' 14 years ago
Matthew Wild 780b87057b portmanager: Support for per-port SSL certificates 14 years ago
Kim Alvefur 58b75f6431 portmanager: Import pairs 14 years ago
Matthew Wild 4773db2341 portmanager: Import ipairs (thanks Maranda) 14 years ago
Matthew Wild 5455ac9516 portmanager: Import tonumber (thanks Zash) 14 years ago
Matthew Wild 99d16ae139 portmanager: Ensure port is always a number (thanks Zash) 14 years ago
Matthew Wild 6bdcff0371 portmanager: Fix breakage (import ALL the functions) 14 years ago
Matthew Wild 0ed5d7e68c portmanager: Rename activate_service() to activate() (to match deactivate()) 14 years ago
Matthew Wild d468617f5d portmanager: Add module() definition 14 years ago
Matthew Wild 958ffcf343 portmanager: Explicitly import some libraries 14 years ago
Kim Alvefur 44f95451b2 portmanager: Fix selecting bind_interfaces from pre-0.9 config options. 14 years ago
Matthew Wild 64d127307a portmanager: Add get_service_at(interface, port) and close(interface, port) 14 years ago
Matthew Wild 60b203533d portmanager: Support 'default_port' in service options 14 years ago
Matthew Wild 0d6cb88a1e portmanager: Add get_registered_services() to the public API 14 years ago
Matthew Wild f0b8af1484 portmanager: Remove check for service_info.multiplex (now implemented in mod_net_multiplex) 14 years ago
Matthew Wild 373fb34e94 portmanager: Fix pre-0.9 compatibility by taking default_interface and default_port from the listener instead of service table 14 years ago
Matthew Wild eafbf7d47e portmanager: Allow services to specify their config option prefix 14 years ago
Matthew Wild 7366c85253 portmanager: Fire service-removed on unregister 14 years ago
Matthew Wild dd638dc717 portmanager: Fix log message when multiple services are configured to use the same port 14 years ago
Matthew Wild f70f82d6a7 portmanager: Support item-added/net-provider (global and shared modules only!) 14 years ago
Matthew Wild 0270a3a901 portmanager: Add unregister_service(), and allow multiple services with the same name (they get queued) 14 years ago
Matthew Wild 30314b5891 portmanager: Add get_active_services() 14 years ago
Matthew Wild 4c152e2f3b portmanager: Add get_service() 14 years ago
Kim Alvefur 25b408fcaf core.portmanager: Make sure the private flag takes precedence over global interfaces 14 years ago
Matthew Wild 1374dd0121 portmanager: Pass port to friendly_error_message() 14 years ago
Matthew Wild 29f37bbccc portmanager: One manager to, in the darkness, bind them 14 years ago