summaryrefslogtreecommitdiff
path: root/socket.c
AgeCommit message (Expand)AuthorFilesLines
2003-08-22Made the UNUSED(parameter) macro calls read a little nicer.Wayne Davison1-1/+2
2003-08-04Instead of ignoring SIG_CHLD, reap zombies in the signal handler.Wayne Davison1-8/+9
2003-01-27Prevent the "Connection reset by peer" messages often seen from Cygwin.David Dykstra1-1/+4
2002-08-01The function passed to start_accept_loop() now takes 2 fd ints (forWayne Davison1-2/+2
2002-04-11Try to fix ctype issues by always calling these functions asMartin Pool1-1/+1
2002-04-09Doc.Martin Pool1-17/+20
2002-03-16Make sure that freeaddrinfo is called on all code paths leading awayMartin Pool1-3/+3
2002-03-16Doc: Note from Dave Dykstra that getaddrinfo calls must be paired withMartin Pool1-1/+4
2002-02-23With -vv, client shows a message when opening a daemon connection viaMartin Pool1-0/+4
2002-02-18Doc.Martin Pool1-0/+1
2002-02-18Fix error handling for failing to fork after accepting a connection --Martin Pool1-2/+2
2002-02-18If the daemon is unable to fork a child to accept a connection, printMartin Pool1-1/+12
2002-02-13Patch from Jos Backus <josb@cncdsl.com> to use HAVE_SOCKADDR_LEN ratherDavid Dykstra1-1/+1
2002-01-25The name resolution stuff is getting complicated -- split it out intoMartin Pool1-216/+0
2002-01-24Verbose messages for spoof check... doesn't work on old linux libc?Martin Pool1-4/+30
2002-01-24When doing a name->addr translation to check for spoofing, give theMartin Pool1-1/+1
2002-01-24Fix getpeername call.Martin Pool1-1/+1
2002-01-24Move both calls to getpeername into a common wrapper function thatMartin Pool1-22/+34
2002-01-24Another size_t warningMartin Pool1-1/+1
2002-01-24check_name: Print out name *before* clobbering it.Martin Pool1-5/+5
2002-01-24If name lookup fails, then show the relevant IP address in the error message.Martin Pool1-22/+17
2002-01-24Doc.Martin Pool1-8/+2
2002-01-24Show helper program with -v when opening connection.Martin Pool1-1/+10
2002-01-24Doc.Martin Pool1-7/+10
2002-01-24Fix constMartin Pool1-2/+2
2002-01-24Unbreak the old behavior of using UNKNOWN as a hostname if any of theMartin Pool1-4/+10
2002-01-24Fix inverted sense of error check.Martin Pool1-5/+6
2002-01-24Refactor client_name() into smaller functions.Martin Pool1-31/+75
2002-01-24Doc.Martin Pool1-1/+4
2002-01-23Just for variety we have some socklen_t fixes too.Martin Pool1-3/+5
2002-01-15Remove unused variable.Martin Pool1-1/+0
2002-01-15Oops, getaddrinfo returns an error code (not -1) for error. -Wall isMartin Pool1-1/+1
2002-01-11More comments about IPv6 stuff.Martin Pool1-5/+17
2001-12-18TypoMartin Pool1-1/+1
2001-12-18Refactor code for setting local address on outgoing connections. If aMartin Pool1-23/+38
2001-12-18Get rid of global_opts struct as suggested by Dave -- too manyMartin Pool1-40/+29
2001-12-14open_socket_in was attempting to try all the protocols returned fromDavid Dykstra1-0/+1
2001-12-05Some platforms don't have sa_family_t.Martin Pool1-1/+1
2001-12-05RFC2553 just says that sockaddr_storage has to have initial fieldsMartin Pool1-2/+8
2001-12-05Some platforms may have getaddrinfo() but not sockaddr_storage.Martin Pool1-4/+0
2001-12-05Change back to using sockaddr_storage rather than sockaddr_in. IfMartin Pool1-11/+19
2001-11-27Fix missing parameter in log call.Martin Pool1-1/+1
2001-11-26Remove kame cruftMartin Pool1-1/+1
2001-11-26Oops, no C++ comments.Martin Pool1-2/+0
2001-11-26Kill a function for jra.Martin Pool1-64/+1
2001-11-26Try to be better about handling the results of getaddrinfo(): whenMartin Pool1-17/+44
2001-11-26Put the new address family option into an options struct. We have tooMartin Pool1-19/+43
2001-11-26Remove highly suspicious redefinition of sockaddr structure -- thereMartin Pool1-18/+20
2001-11-24Improved error messages.Martin Pool1-8/+18
2001-11-23Merge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnamesMartin Pool1-112/+178