index : yapofw

Yet Another POrt-ForWarder

Commit message (Expand)AuthorAgeFilesLines
* yapofw: exit if config cannot be parsedHEADmasterPeter Cai2020-11-191-0/+4
* stats: fix potential null pointer when no stats file is givenPeter Cai2020-11-191-0/+2
* Makefile: add debug CFLAGS to debug targetPeter Cai2020-11-191-0/+1
* Makefile: make $(GDB) a variablePeter Cai2020-11-181-1/+2
* tcp: make failover threshold a #definePeter Cai2020-11-182-3/+5
* tcp: implement connection timeoutPeter Cai2020-11-185-6/+27
* tcp: implement failover supportPeter Cai2020-11-184-11/+83
* Makefile: add debug using gdbPeter Cai2020-11-181-1/+4
* config: allocate memory for ending '\0'Peter Cai2020-09-071-2/+2
* stats: fix memory leakPeter Cai2020-08-221-1/+7
* tcp: handle POLLERR separatelyPeter Cai2020-08-211-2/+15
* tcp: close connections on POLLHUPPeter Cai2020-08-211-2/+3
* tcp: also handle POLLHUP and POLLERR as readPeter Cai2020-08-211-1/+4
* tcp: improve shutdown handling logicPeter Cai2020-08-211-13/+27
* tcp: handle POLLNVALPeter Cai2020-08-211-0/+6
* tcp: only write for positive read_lenPeter Cai2020-08-211-1/+1
* Makefile: add release target with -O3Peter Cai2020-08-201-2/+6
* tcp: add more temporary string buffersPeter Cai2020-08-201-4/+7
* tcp: make all global variables staticPeter Cai2020-08-201-4/+4
* loop: call after_poll hooks even on timeoutPeter Cai2020-08-201-1/+0
* implement UDP supportPeter Cai2020-08-205-1/+295
* Makefile: enable LTOPeter Cai2020-08-201-1/+2
* tcp: only write if we have just read or the dst is known to be writablePeter Cai2020-08-201-6/+10
* tcp: add new sessions to the headPeter Cai2020-08-191-6/+4
* tcp: add comments about tcp_sock_session_tPeter Cai2020-08-191-0/+21
* config: support comments prefixed with '#'Peter Cai2020-08-191-0/+2
* add a simple shell script to pretty-print the stat numbersPeter Cai2020-08-191-0/+25
* stats: implement deserializationPeter Cai2020-08-191-0/+23
* stats: also record protocol in persistent filePeter Cai2020-08-192-2/+9
* loop: add timeout to poll()Peter Cai2020-08-191-1/+1
* stats: change bytes to long longPeter Cai2020-08-192-3/+3
* implement serializing statsPeter Cai2020-08-195-8/+64
* use memset() instead of the legacy bzero()Peter Cai2020-08-193-9/+7
* loop: explain why we need the reverse mapPeter Cai2020-08-191-0/+2
* loop: refactor: provide direct detection of bitmaskPeter Cai2020-08-193-7/+8
* lay out the stats modulePeter Cai2020-08-195-3/+71
* tcp: print message before tearing down connectionPeter Cai2020-08-181-0/+3
* tcp: make code more portable by avoiding accept4()Peter Cai2020-08-181-1/+7
* address compiler warningsPeter Cai2020-08-183-7/+9
* Makefile: add generated dependenciesPeter Cai2020-08-182-1/+9
* tcp: more info for logsPeter Cai2020-08-181-5/+12
* tcp: remember to free the address objectPeter Cai2020-08-181-0/+3
* tcp: use struct sockaddr for both src and dstPeter Cai2020-08-182-3/+3
* config: avoid allocation when converting addr to stringPeter Cai2020-08-183-19/+12
* tcp: add more detailed error messagePeter Cai2020-08-182-1/+10
* loop: use a linked list to record empty slotsPeter Cai2020-08-182-5/+21
* yapofw: initialize the event loop with RLIMIT_NOFILEPeter Cai2020-08-181-1/+7
* loop: do not remove one fd multiple timesPeter Cai2020-08-181-0/+1
* loop: only use as much space of poll_fds as neededPeter Cai2020-08-181-11/+32
* refactor: switch to poll() instead of select()Peter Cai2020-08-185-144/+213