summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* fixed build with -WallChristian Pointner2013-10-079-16/+34
| | | | | | | added build support for clang git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@67 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* configure cleanupChristian Pointner2011-03-101-12/+12
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@66 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* client info contains bytes received and transferred nowChristian Pointner2010-12-142-2/+9
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@60 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* listener info output on SIG USR1Christian Pointner2010-12-144-4/+8
| | | | | | | clients info output on SIG USR2 git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@59 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* fixed problematic usage of strndupChristian Pointner2010-12-121-1/+5
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@58 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* adde make file target for cfg_parser state graph pngChristian Pointner2010-12-111-0/+7
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@53 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* improved error handling at config parserChristian Pointner2010-12-111-11/+14
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@52 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* better debug output at parseconfigChristian Pointner2010-12-111-1/+1
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@51 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* improved error output on bind errorChristian Pointner2010-12-101-2/+4
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@50 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* updated default buffer size (10k vs. 1k)Christian Pointner2010-12-101-1/+1
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@48 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added async connectChristian Pointner2010-12-102-50/+91
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@46 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* deferring buffer allocation at client_add for easier error handlingChristian Pointner2010-12-101-29/+21
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@45 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* setting TCP_NODELAY option on socketsChristian Pointner2010-12-101-0/+13
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@44 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* re-reading the config file after sig-hupChristian Pointner2010-12-106-46/+116
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@43 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* listner_ vs listeners_Christian Pointner2010-12-094-84/+89
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@42 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* introduced listener statesChristian Pointner2010-12-093-49/+105
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@41 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* advanced new linesChristian Pointner2010-12-081-4/+11
| | | | | | | ipv4 and ipv6 case insensitive git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@40 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* parser now supports comments Christian Pointner2010-12-081-10/+14
| | | | | | | check for 0 length files (mmap doesn't likes 0 for lenght) git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@39 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* flex/bison vs ragelChristian Pointner2010-12-087-373/+267
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@38 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* fixed install targetChristian Pointner2010-12-052-17/+22
| | | | | | | | added initscript and default file referring to rinetd in manpage git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@31 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* cleaned parser a bitChristian Pointner2010-12-054-20/+29
| | | | | | | better warnings if local-port and config-file are specified git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@30 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* check wether config file was emptyChristian Pointner2010-12-053-0/+22
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@29 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* passive resolvon for listen sockets onlyChristian Pointner2010-12-033-6/+7
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@26 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added config file parserChristian Pointner2010-12-035-6/+380
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@24 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* removed useless source address resolving type optionChristian Pointner2010-12-025-12/+5
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@23 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* fixed handling of client readChristian Pointner2010-12-021-21/+23
| | | | | | | fixed memory error when removing client at recv or send error git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@22 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* fixed usage outputChristian Pointner2010-12-021-3/+3
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@21 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* temporary disabling install-etc targetChristian Pointner2010-12-021-2/+2
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@20 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added new options for resolv types (IPv4 vs IPv6)Christian Pointner2010-12-026-23/+66
| | | | | | | | manpage: new parameters manpage: added short description to each parameter git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@19 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* buffer size can now be configuredChristian Pointner2010-11-306-36/+78
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@18 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* only recv if buffer is not fullChristian Pointner2010-11-302-6/+9
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@17 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added length field to tcp_endpoint_tChristian Pointner2010-11-285-30/+26
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@15 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* replaced inet_ntop with getnameinfoChristian Pointner2010-11-281-28/+11
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@14 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* source address to connect from can now be specifiedChristian Pointner2010-11-288-9/+53
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@13 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* first minial version workingChristian Pointner2010-11-283-18/+89
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@12 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* one side of cleint connections works for recvChristian Pointner2010-11-275-39/+103
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@11 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added initial (not working) version of client listChristian Pointner2010-11-274-0/+205
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@10 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added REUSEADDR to listen socketsChristian Pointner2010-11-273-11/+73
| | | | | | | added accept handler git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@9 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* listening on tcp sockets works nowChristian Pointner2010-11-276-18/+141
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@8 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added tcp listener listChristian Pointner2010-11-267-3/+282
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@7 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added generic single linked listChristian Pointner2010-11-266-63/+187
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@6 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* moved version.h to config.h with additional infoChristian Pointner2010-11-253-10/+13
| | | | git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@5 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added cmd options for local and remote addr and portChristian Pointner2010-11-252-0/+36
| | | | | | | added cmd option for config file git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@3 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
* added inital version (working main lopp with signal handler)Christian Pointner2010-11-2414-0/+2072
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@2 e61f0598-a718-4e21-a8f0-0aadfa62ad6b