summaryrefslogtreecommitdiff
path: root/socket.c
AgeCommit message (Expand)AuthorFilesLines
2005-11-10Got rid of a superfluous newline.Wayne Davison1-1/+0
2005-04-14Call logfile_close() and logfile_reopen() (tweaked function names).Wayne Davison1-3/+3
2005-04-05Changed the bind_address local variables to be named bind_addrWayne Davison1-14/+14
2005-03-01- Look for last '@' in a user@host spec.Wayne Davison1-1/+1
2005-02-18The daemon loop needs to call log_open() because it called log_close().Wayne Davison1-0/+3
2005-02-14John E. Malmberg convinced me to standardize on #ifs for definedWayne Davison1-6/+4
2005-01-31Tweaked one or more warning messages.Wayne Davison1-3/+3
2005-01-28Got rid of an unreachable free() call.Wayne Davison1-1/+0
2005-01-28Use "#if" (not "#ifdef") for configure-defined macros.Wayne Davison1-2/+2
2005-01-28No need to call log_open() in start_accept_loop() becauseWayne Davison1-3/+0
2005-01-27Added a missing newline to an error message.Wayne Davison1-1/+1
2004-09-16Actually, since the close calls shouldn't fail (now that listenerWayne Davison1-3/+1
2004-09-16- Set "listener" to -1 after we close it so that the error-handlerWayne Davison1-3/+7
2004-06-20Restored the code in the IPV6_V6ONLY section that checks theWayne Davison1-2/+6
2004-05-15Changed rprintf() calls that included strerror() to use rsyserr().Wayne Davison1-19/+13
2004-05-06Correct a typo.Wayne Davison1-1/+1
2004-05-06- Updated the comments for open_socket_in().Wayne Davison1-35/+34
2004-05-05If we need to set IPV6_V6ONLY but setsockopt() fails, close theWayne Davison1-14/+10
2004-04-14Moved (and expanded) a verbose message from clientserver.c to socket.cWayne Davison1-8/+9
2004-03-29In sigchild_handler(), finish with waitpid() before reinitializingWayne Davison1-1/+1
2004-03-16Changed HAVE_SOCKADDR_SIN_LEN to HAVE_SOCKADDR_IN_LEN.Wayne Davison1-1/+1
2004-02-27Use new HAVE_SOCKADDR_SIN_LEN define (replaces HAVE_SOCKADDR_LEN).Wayne Davison1-1/+1
2004-01-20Use new stringjoin() function.Wayne Davison1-2/+2
2004-01-03Fixed a size check in the new code.Wayne Davison1-1/+1
2004-01-03Added support for "Basic" authentication to our proxy, based on aWayne Davison1-67/+109
2004-01-02Applied a slightly-tweaked version of Oliver Braun's patch thatWayne Davison1-28/+68
2004-01-02Call bind() with the right ai_addr/ai_addrlen info.Wayne Davison1-6/+4
2004-01-02Tidied up a few things in preparation for changes.Wayne Davison1-78/+83
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