summaryrefslogtreecommitdiff
path: root/socket.c
Commit message (Expand)AuthorAgeFilesLines
* Make sure that freeaddrinfo is called on all code paths leading awayMartin Pool2002-03-161-3/+3
* Doc: Note from Dave Dykstra that getaddrinfo calls must be paired withMartin Pool2002-03-161-1/+4
* With -vv, client shows a message when opening a daemon connection viaMartin Pool2002-02-231-0/+4
* Doc.Martin Pool2002-02-181-0/+1
* Fix error handling for failing to fork after accepting a connection --Martin Pool2002-02-181-2/+2
* If the daemon is unable to fork a child to accept a connection, printMartin Pool2002-02-181-1/+12
* Patch from Jos Backus <josb@cncdsl.com> to use HAVE_SOCKADDR_LEN ratherDavid Dykstra2002-02-131-1/+1
* The name resolution stuff is getting complicated -- split it out intoMartin Pool2002-01-251-216/+0
* Verbose messages for spoof check... doesn't work on old linux libc?Martin Pool2002-01-241-4/+30
* When doing a name->addr translation to check for spoofing, give theMartin Pool2002-01-241-1/+1
* Fix getpeername call.Martin Pool2002-01-241-1/+1
* Move both calls to getpeername into a common wrapper function thatMartin Pool2002-01-241-22/+34
* Another size_t warningMartin Pool2002-01-241-1/+1
* check_name: Print out name *before* clobbering it.Martin Pool2002-01-241-5/+5
* If name lookup fails, then show the relevant IP address in the error message.Martin Pool2002-01-241-22/+17
* Doc.Martin Pool2002-01-241-8/+2
* Show helper program with -v when opening connection.Martin Pool2002-01-241-1/+10
* Doc.Martin Pool2002-01-241-7/+10
* Fix constMartin Pool2002-01-241-2/+2
* Unbreak the old behavior of using UNKNOWN as a hostname if any of theMartin Pool2002-01-241-4/+10
* Fix inverted sense of error check.Martin Pool2002-01-241-5/+6
* Refactor client_name() into smaller functions.Martin Pool2002-01-241-31/+75
* Doc.Martin Pool2002-01-241-1/+4
* Just for variety we have some socklen_t fixes too.Martin Pool2002-01-231-3/+5
* Remove unused variable.Martin Pool2002-01-151-1/+0
* Oops, getaddrinfo returns an error code (not -1) for error. -Wall isMartin Pool2002-01-151-1/+1
* More comments about IPv6 stuff.Martin Pool2002-01-111-5/+17
* TypoMartin Pool2001-12-181-1/+1
* Refactor code for setting local address on outgoing connections. If aMartin Pool2001-12-181-23/+38
* Get rid of global_opts struct as suggested by Dave -- too manyMartin Pool2001-12-181-40/+29
* open_socket_in was attempting to try all the protocols returned fromDavid Dykstra2001-12-141-0/+1
* Some platforms don't have sa_family_t.Martin Pool2001-12-051-1/+1
* RFC2553 just says that sockaddr_storage has to have initial fieldsMartin Pool2001-12-051-2/+8
* Some platforms may have getaddrinfo() but not sockaddr_storage.Martin Pool2001-12-051-4/+0
* Change back to using sockaddr_storage rather than sockaddr_in. IfMartin Pool2001-12-051-11/+19
* Fix missing parameter in log call.Martin Pool2001-11-271-1/+1
* Remove kame cruftMartin Pool2001-11-261-1/+1
* Oops, no C++ comments.Martin Pool2001-11-261-2/+0
* Kill a function for jra.Martin Pool2001-11-261-64/+1
* Try to be better about handling the results of getaddrinfo(): whenMartin Pool2001-11-261-17/+44
* Put the new address family option into an options struct. We have tooMartin Pool2001-11-261-19/+43
* Remove highly suspicious redefinition of sockaddr structure -- thereMartin Pool2001-11-261-18/+20
* Improved error messages.Martin Pool2001-11-241-8/+18
* Merge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnamesMartin Pool2001-11-231-112/+178
* Merge in the LIBSMB_PROG idea from samba, so that you can doMartin Pool2001-08-311-4/+136
* Check that gethostbyname does actually return AF_INET addresses, sinceMartin Pool2001-08-151-5/+21
* Use socklen_t for getpeername, since we hopefully now have it definedMartin Pool2001-08-151-1/+1
* Typo. Shouldn't depend on assert().Martin Pool2001-08-151-2/+5
* Better error messages for DNS.Martin Pool2001-08-151-10/+17
* don't need to lookup our own name in open_socket_in()Andrew Tridgell2001-08-081-17/+2