Commit Graph

  • 1f12314ccc
    Merge bdd7035017 into d4e0a60119 ferryman0608 2024-03-29 22:36:09 +0800
  • bdd7035017
    Create Dockerfile ferryman0608 2024-03-29 22:34:50 +0800
  • 895156622e
    Merge d8d56e97ed into d4e0a60119 bdhhbdhh 2023-11-01 14:54:31 +0800
  • d8d56e97ed Added missing items to the array logMessages. bdhhbdhh 2023-11-01 06:47:03 +0000
  • e9041d5bb2 uncomment pr check Luiz Felipe F M Costa 2023-10-27 23:58:26 -0300
  • f6fd0c675d Add gh action Luiz Felipe F M Costa 2023-10-27 23:57:16 -0300
  • 867ff92caa Use ubi9-minimal for final build Luiz Felipe F M Costa 2023-10-27 23:39:29 -0300
  • 71d7998afe Add container build Luiz Felipe F M Costa 2023-10-26 12:33:29 -0300
  • 3f3557421e Remove travis CI Luiz Felipe F M Costa 2023-10-26 12:33:23 -0300
  • d4e0a60119 Fix a parsing bug in the rules that would ignore the very first rule. See #23. main Sam Hocevar 2021-03-02 15:25:34 +0100
  • af88e6fd4f Release version 0.73. v0.73 Sam Hocevar 2021-02-19 09:56:52 +0100
  • ff41723590 Improve error reporting. Fixes #15. Sam Hocevar 2021-02-19 09:12:29 +0100
  • d3dd35327f Do not log to syslog when running in the foreground. Addresses #15. Sam Hocevar 2021-02-19 08:52:46 +0100
  • 49bf544bad Fix another IPv6 parsing issue. Addresses #20. Sam Hocevar 2021-02-17 14:12:58 +0100
  • 1060048fe8 Refactor getaddrinfo error reporting. Sam Hocevar 2021-02-17 08:21:58 +0100
  • e3b47d086a Fix some hostnames (e.g. 123.example.com) being wrongfully parsed as IPv6. Sam Hocevar 2021-02-17 07:55:28 +0100
  • f91e34c3af Release version 0.72. v0.72 Sam Hocevar 2021-02-16 09:26:26 +0100
  • 5e8be95d8a Fix a configuration parsing bug. Sam Hocevar 2021-02-16 09:22:25 +0100
  • 7887c17096 Fix Mac OS X build. Sam Hocevar 2021-02-14 14:41:15 +0100
  • 432aa4d230 Release version 0.71. v0.71 Sam Hocevar 2021-02-14 12:12:53 +0100
  • b00f175fa4 Fix HTML documentation generation. Sam Hocevar 2021-02-14 12:09:26 +0100
  • 6a1e7e75a3 Prepare version 0.71. Sam Hocevar 2021-02-14 12:06:31 +0100
  • 7f76652af9 Improve documentation. Sam Hocevar 2021-02-14 12:05:29 +0100
  • bb0d64ed5d Refactor code to avoid duplication. Sam Hocevar 2021-02-14 11:54:48 +0100
  • 3b33f45925 Merge branch 'feature-ipv6-support' into main Sam Hocevar 2021-02-14 11:41:54 +0100
  • 878c804d32 Update changelog for upcoming version 0.71. Sam Hocevar 2021-02-14 11:39:04 +0100
  • f9f5aeda80 Properly release the lexer context after reading the configuration. Sam Hocevar 2021-02-14 11:20:37 +0100
  • 655584ad78 Fix a format string issue on Windows. feature-ipv6-support Sam Hocevar 2021-02-14 10:10:47 +0100
  • 4c5a7a1a22 Fix deny/allow rules to support IPv6 addresses. Sam Hocevar 2021-02-14 09:59:38 +0100
  • 7790a617d8 Remove all legacy IPv4 code. Sam Hocevar 2021-02-14 09:48:12 +0100
  • 7781e97734 Remove deprecated getAddress() function now that we use getaddrinfo() ubiquitously. Sam Hocevar 2021-02-14 09:18:49 +0100
  • 79bafee414 Allow connecting to remote IPv6 addresses. Sam Hocevar 2021-02-14 09:04:08 +0100
  • b7fcf65a97 Use getaddrinfo() to resolve source address. Sam Hocevar 2021-02-14 08:44:49 +0100
  • c9de417f2e Use sockaddr_storage for IPv6 compatibility. Sam Hocevar 2021-02-14 08:25:27 +0100
  • 26b0e63bf5 Get rid of useless fromProtocol struct member. Sam Hocevar 2021-02-14 08:24:08 +0100
  • f58db7ea8d Add a helper function to retrieve socket type from protocol. Sam Hocevar 2021-02-14 08:09:08 +0100
  • 7ef50421c0 Remove the protocolType enum in favour of IPPROTO_TCP/IPPROTO_UDP. Sam Hocevar 2021-02-14 08:06:02 +0100
  • 0ef4f1042f Add a helper function to retrieve port from addrinfo. Sam Hocevar 2021-02-14 07:52:51 +0100
  • f7cd21f91f Fix getaddrinfo() hint initialisation issues. Sam Hocevar 2021-02-14 07:51:46 +0100
  • a5905bbcea Fix Windows build. Sam Hocevar 2021-02-14 00:49:31 +0100
  • a1d2c297ba Merge branch 'main' into feature-ipv6-support Sam Hocevar 2021-02-13 23:11:35 +0100
  • 5a70f2bf4e Allow to build application with Visual Studio. Sam Hocevar 2021-02-13 23:02:03 +0100
  • 7e287f5913 Create log file if it does not exist already. Sam Hocevar 2021-02-13 21:52:15 +0100
  • 4f64342ed5 Allow listening on IPv6 addresses. Sam Hocevar 2021-02-13 21:37:11 +0100
  • 44f973d9fd Allow DNS labels to start with an underscore. Sam Hocevar 2021-02-13 18:43:33 +0100
  • a8ca595620 Merge branch 'master' into feature-ipv6-support Sam Hocevar 2021-02-13 12:52:44 +0100
  • 2f8fd87518 Allow hostnames to start with a ‘_’, e.g. ‘_http.example.com’. Sam Hocevar 2021-02-13 12:15:16 +0100
  • 04d1b74e24 Allow service names that contain dashes, e.g. snmp-trap. Sam Hocevar 2021-02-13 12:02:07 +0100
  • 2681d17eb4 Fix minor compilation warnings on mingw64. Sam Hocevar 2021-02-13 11:44:26 +0100
  • 8bde6f6259 Distribute COPYING file with source tarballs. Sam Hocevar 2021-01-08 18:41:05 +0100
  • ae9af9d030 Add GPLv2 license text. Fixes #19. Sam Hocevar 2021-01-08 18:39:12 +0100
  • ebd31cc72e Improve code readability by using enum typedefs. Sam Hocevar 2019-07-05 10:35:39 +0200
  • da497404ab Use uint64_t for data usage statistics. Sam Hocevar 2019-07-05 10:28:46 +0200
  • d9f661ee5d Use uint16_t for port numbers. Sam Hocevar 2019-07-05 10:08:09 +0200
  • 0ea83281e3 Merge branch 'master' into feature-ipv6-support Sam Hocevar 2017-11-28 09:33:48 +0100
  • a37e13c910 Forgot to put src/Makefile.am in source control, lol. Fixes #13. Sam Hocevar 2017-11-28 09:25:38 +0100
  • dd79add47d Merge bd34b7db76 into 9d140d8f87 ZiHang Gao 2017-11-28 08:01:04 +0000
  • bd34b7db76
    Fixed required file 'src/Makefile.in' not found ZiHang Gao 2017-11-28 15:51:03 +0800
  • 3e18951d7a Merge branch 'master' into feature-ipv6-support Sam Hocevar 2017-09-11 19:28:53 +0200
  • 9d140d8f87 Move C source files to an src/ subdirectory. Sam Hocevar 2017-09-11 19:25:26 +0200
  • b5f75eae99 Version 0.70. v0.70 Sam Hocevar 2017-09-09 19:28:12 +0200
  • be9f46e7f1 Rewrite a lot of the documentation. Sam Hocevar 2017-09-09 19:25:06 +0200
  • dd17267afe Start working on IPv6 support. Sam Hocevar 2017-09-08 19:42:18 +0200
  • 5d0e44c451 Support for source address binding. Sam Hocevar 2017-09-08 19:14:21 +0200
  • 173a738be0 Fix regression: hostnames in bind address were broken. Sam Hocevar 2017-09-08 19:12:53 +0200
  • 37437a5c5b Improve UDP connection handling. Sam Hocevar 2017-09-08 13:28:09 +0200
  • b833d456dd Fix “make dist” by adding a few missing filenames. Sam Hocevar 2017-09-08 13:10:53 +0200
  • f64f42ba81 Merge branch 'feature-udp-support'. Closes #8. Sam Hocevar 2017-09-08 13:02:13 +0200
  • efc3474d1b Add proper destination address when answering an UDP client. feature-udp-support Sam Hocevar 2017-09-08 12:56:29 +0200
  • f04eada6a9 Add UDP client timeout support. Sam Hocevar 2017-09-08 12:32:05 +0200
  • 17d17e233b Merge some code into a new net.c source file. Sam Hocevar 2017-09-07 17:13:58 +0200
  • 6750f65c35 Only call set FIONBIO on TCP sockets. Sam Hocevar 2017-09-07 17:04:05 +0200
  • 6bb27c18a6 Support multiple UDP clients with connection tracking. Sam Hocevar 2017-09-07 16:29:23 +0200
  • b5206eab4e Add \n to all syslog calls because on Windows it will use fprintf. Sam Hocevar 2017-09-07 13:26:04 +0200
  • 759cd83724 Use BUILT_SOURCES, not GENERATED_SOURCES. Sam Hocevar 2017-09-07 12:11:06 +0200
  • 577a3be97a Improve code clarity in get_gmtoff(). Sam Hocevar 2017-09-06 18:19:57 +0200
  • e35403e112 Minor #ifdef cleanup. Sam Hocevar 2017-09-06 18:17:33 +0200
  • ff3974440e Get rid of useless refuse() function. Sam Hocevar 2017-09-06 18:05:25 +0200
  • 79f2e14e22 Do not always try to write PID file in foreground mode. Sam Hocevar 2017-09-06 17:58:54 +0200
  • 00dec123da Use recvfrom() in UDP listening mode to get remote address. Sam Hocevar 2017-09-06 13:55:49 +0200
  • 6909d2c3de Move connection authorisation logic to a separate function. Sam Hocevar 2017-09-06 14:54:52 +0200
  • b0511c6ab9 Merge branch 'master' into feature-udp-support Sam Hocevar 2017-09-06 13:01:10 +0200
  • 7f9f97a963 Count configuration file lines for better error reporting. feature-peg-grammar Sam Hocevar 2017-09-06 12:57:05 +0200
  • 7b62e576cf Reorganise some code for clarity and add license headers. Sam Hocevar 2017-09-05 12:52:39 +0200
  • a613195ad9 Do not call listen() on UDP listeners. Sam Hocevar 2017-09-05 17:26:30 +0200
  • 33e8b8d7f9 Start playing around with UDP. Sam Hocevar 2017-09-05 01:45:00 +0200
  • 718f4cddf7 Implement a new parser using a PEG grammar. Sam Hocevar 2017-09-04 20:14:11 +0200
  • b3550b8e77 Release 0.63 seems ready. v0.63 Sam Hocevar 2017-07-19 19:23:24 +0200
  • 9cd2114bcb Rename CHANGES and README to CHANGES.md and README.md. Sam Hocevar 2017-07-19 19:15:45 +0200
  • 982c14f46f Properly handle FD_SET on Windows. Fixes #5. Sam Hocevar 2017-07-19 18:36:42 +0200
  • 8feb3e0513 Fix a memory corruption in the configuration file parsing. Fixes: #11. Sam Hocevar 2017-07-17 11:57:12 +0200
  • 96d60bcabb Remove old debug code. Not sure why it was there. Sam Hocevar 2017-07-05 15:06:24 +0200
  • 8b071acbe4 Fix a few issues in the Windows port. Sam Hocevar 2016-02-09 02:28:19 +0100
  • cb60037d58 Fix Windows cross-compilation. Sam Hocevar 2016-02-08 09:20:55 +0100
  • a259a67e2d Fix a probably harmless uninitialised memory access. Sam Hocevar 2016-02-08 02:49:24 +0100
  • c92c0cf4bb Stop passing server indices around. Sam Hocevar 2016-02-08 02:36:23 +0100
  • 53d670f9b1 Some cleaning up in includes and ifdefs. Sam Hocevar 2016-02-07 00:02:29 +0100
  • 86cba0ad56 Remove patternBad() and inline its code in its only caller. Sam Hocevar 2016-02-06 23:35:43 +0100
  • e3c2b09c01 Reformat and reorganise CHANGES file with newest entries on top. Sam Hocevar 2016-02-06 18:45:16 +0100
  • 65273124f3 Free all memory when quitting, and quit when SIGINT is received. Sam Hocevar 2016-02-06 18:40:02 +0100