summaryrefslogtreecommitdiffhomepage
path: root/src/sock.c
AgeCommit message (Expand)Author
2019-11-27Use gai_strerror() to report errors of getaddrinfo() and getnameinfo()Martin Kutschker
2013-11-16sock: add debug messages to opensock()Michael Adam
2013-11-09[BB#81] allow listening on multiple families when no Listen is provided in co...Michael Adam
2013-11-09sock: add a starting debug message to listen_sock()Michael Adam
2013-11-09sock: update introductory comment for listen_sock()Michael Adam
2013-11-09sock: set IPV6_V6ONLY on the socket before binding an IPv6 addressMichael Adam
2013-11-09sock: factor listening on one socket out of the gai-result-loop in listen_sock()Michael Adam
2013-11-09sock: in listen_sock(), move variable for setsockopt() into scopeMichael Adam
2013-11-09sock: log each result of getaddrinfo() in listen_sock()Michael Adam
2013-11-09sock: in listen_sock(), add a log message for when bind() has failedMichael Adam
2013-11-09sock: in listen_sock(), detect and log failure to call setsockopt()Michael Adam
2013-11-09sock: in listen_sock(), add debug message when socket() call failed.Michael Adam
2013-11-09sock: move listen() into the getaddrinfo result loop in listen_sock()Michael Adam
2013-11-09child: use a list of listen_fds instead of one single listenfd.Michael Adam
2013-11-09sock: add addr argument to listen_sock()Michael Adam
2013-11-09sock/child: remove global variable addrlen.Michael Adam
2010-03-09Revert "Revert "Pass address family when binding to outgoing socket""Mukund Sivaraman
2010-03-03Use AI_PASSIVE flag to make tinyproxy listen on wildcard interfaceMukund Sivaraman
2010-01-21Revert "Pass address family when binding to outgoing socket"Mukund Sivaraman
2010-01-10Pass address family when binding to outgoing socketMukund Sivaraman
2009-12-08Fix restarting of tinyproxy: call setsockopt with REUSEADDR _before_ calling ...Michael Adam
2009-12-07Move definition of "struct config_s" from main.h to conf.hMichael Adam
2009-11-17Use snprintf() with size of the portstr bufMukund Sivaraman
2009-11-09Close listenfd upon errorsMukund Sivaraman
2009-11-09Add IPV6 support to listen_sock()Mukund Sivaraman
2009-09-15Indent code to Tinyproxy coding styleMukund Sivaraman
2009-08-07Rename tinyproxy.[ch] to main.[ch]Mukund Sivaraman
2008-12-08Convert tabs to spacesMukund Sivaraman
2008-12-01Reformat code to GNU coding styleMukund Sivaraman
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman
2008-03-13Corrected datatype of salen to fix compiler warningMukund Sivaraman
2005-08-15* [Indent] Ran Source Through indentRobert James Kaes
2005-07-12* Specified Correct typedef in getsock_ip()Robert James Kaes
2004-04-27Added the "BindSame" configure directive from Oswald Buddenhagen.Robert James Kaes
2004-02-18Converted the various socket functions to work with both IPv4 and IPv6Robert James Kaes
2002-10-03#Style formatting change.Robert James Kaes
2002-05-31(getpeer_information): Fixed a problem retrieving the FQDN of a host because ...Robert James Kaes
2002-05-27(opensock): Changed a comment around to better state what the code is actuall...Robert James Kaes
2002-05-26Removed the DNS API calls and replaced them with the standardRobert James Kaes
2002-05-24Fixed some spelling mistakes, and removed the getpeer_ip() andRobert James Kaes
2002-05-23Changed the lookup_domain() function to use the new "dnsserver" API.Robert James Kaes
2002-04-24bind_address has been moved inside the config structure. Fixed up aRobert James Kaes
2002-04-22The "Bind" directive sets a binding address which the outgoing connectionsRobert James Kaes
2002-04-18Whoops. The previous include only had the code conditionally removed.Robert James Kaes
2002-04-18Removed the call to inet_aton() since the gethostbyname() function handlesRobert James Kaes
2002-04-18Removed the call to hstrerror() in the getpeer_string() function. It'sRobert James Kaes
2002-04-17Removed the LOOKUP_LOCK() and LOOKUP_UNLOCK() macros since I believe IRobert James Kaes
2002-04-16Tightened the lookup_domain() function.Robert James Kaes
2002-04-15Added a test to make sure the "whole_buffer" could be allocated.Robert James Kaes
2002-04-13Added additional error handling for the bind() and listen() system callsRobert James Kaes