Michael Rash
272cd05dc6
Merge branch 'master' of https://github.com/mrash/fwknop
2016-05-11 22:05:35 -07:00
Michael Rash
dd319d5609
Merge pull request #218 from oneru/test-suite
...
Test suite: Adds workaround for tcp server test
2016-05-12 22:05:29 -04:00
Michael Rash
60a9cc203b
Merge branch 'master' of ssh://192.168.10.1/home/mbr/git/fwknop
2016-05-11 22:05:20 -07:00
Michael Rash
ba5f5e2424
add sha3_256 sha3_512 to man page docs
2016-05-12 22:23:54 -04:00
Jonathan Bennett
66eedd4f7f
Test suite: Adds workaround for tcp server test
2016-05-11 19:31:48 -05:00
Damien Stuart
7c84cadd43
Added missing parens on if statement (was causing compiler error on fw_util_iptables).
2016-05-10 22:43:11 -04:00
Michael Rash
23d70f1aa3
Merge pull request #216 from oneru/add-nat-validation
...
Add nat validation
2016-05-08 21:53:13 -04:00
Jonathan Bennett
b517fdad44
Add checks to avoid calling strlen on a null pointer
2016-05-08 00:41:45 -05:00
Jonathan Bennett
b088030ad5
Adds hostname validation for hostname in NAT on server
2016-05-07 23:21:01 -05:00
Jonathan Bennett
ddc422125f
Style changes, and avoid returning undefined value in fw_util functions
2016-05-07 22:36:39 -05:00
Jonathan Bennett
dc9ad5de4a
Adds a length modifier to is_valid_ipv4_addr
2016-05-07 21:59:48 -05:00
Michael Rash
d4ec9a0755
remove execute bit from file permissions
2016-05-07 09:14:30 -04:00
Jonathan Bennett
35db922853
Fix memory leak in free_last_stanza, found using asan
2016-05-05 22:52:51 -05:00
Jonathan Bennett
581a9638c6
Add handling for colon in include_keys
2016-05-05 13:20:29 -05:00
Jonathan Bennett
09cd579100
Fix include_keys log output
2016-05-05 13:20:01 -05:00
Jonathan Bennett
58bce15b1e
Exclude the CUnit tests themselves from lcov
2016-05-02 13:17:03 -05:00
Michael Rash
f42aeb39dc
[server] make sure exp buffer does not contain closing '*' chars (from @oneru)
2016-04-30 09:27:07 -04:00
Jonathan Bennett
c5043e0a3e
When --fw-flush is specified, set enable_fw to true
2016-04-24 00:10:35 -05:00
Jonathan Bennett
23e4fd6a2b
Adds more Doxygen documentation in preparation for 2.6.9
2016-04-11 11:28:40 -05:00
Jonathan Bennett
d939deb811
Spelling corrections, found using the codespell tool.
2016-04-10 12:03:59 -05:00
Jonathan Bennett
09177554bf
Adds configuration option for X-Forwarded-For
2016-04-09 11:03:16 -05:00
Jonathan Bennett
9d0e12a313
Adds option to insert new FW rules to top of chain
2016-04-08 21:37:10 -05:00
Michael Rash
17dd9de06f
Merge branch 'master' of ssh://github.com/mrash/fwknop
2016-02-26 21:43:42 -05:00
Michael Rash
5c00c422ff
Merge branch 'master' of ssh://moria/home/mbr/git/fwknop
2016-02-26 21:42:47 -05:00
Michael Rash
c5c58ee6a5
[server] bug fix for cmd open/close cycle to stop access.conf processing upon first successful match
2016-02-26 20:53:07 -05:00
Jonathan Bennett
8542655fd7
Check for non-null pointer value
...
If a base64 encoded key is provided twice, add_acc_b64_string() was using malloc to allocate a second key value without first freeing the previous value. This patch adds null checks, and frees the previous memory usage if needed.
2016-02-22 21:26:23 -06:00
Jonathan Bennett
785152a364
Modify server/access.c CUnit test to use the correct function.
...
add_port_list_ent() only supports one protocol/port entry at a time. The second entry was ignored.
2016-01-22 22:37:36 -06:00
Michael Rash
e76a7a8233
Merge pull request #190 from oneru/include_keys
...
Include keys
2016-01-16 21:35:00 -05:00
Michael Rash
29411dea8c
Merge branch 'master' of ssh://github.com/mrash/fwknop
2016-01-03 08:44:22 -05:00
Michael Rash
6247fe9e6a
Merge remote-tracking branch 'origin/dstuart_netfilter_queue'
2016-01-03 08:31:12 -05:00
Jonathan Bennett
32f35468f6
Add some documentation for the include directives
2016-01-02 17:28:50 -06:00
Jonathan Bennett
330663499f
Allows an access stanza to be ignored when a problem is caused in an include_keys stanza
2016-01-02 16:42:18 -06:00
Jonathan Bennett
09b7fc94da
Add %include_keys directive
2016-01-02 11:50:22 -06:00
Jonathan Bennett
3378ba2423
Add Doxygen headers for server files
2016-01-01 02:09:59 +00:00
Jonathan Bennett
669e448db5
Add ENABLE_NAT_DNS config option
2015-12-31 18:05:55 +00:00
Jonathan Bennett
748803aef7
Add length checks for nat_access messages
2015-12-31 04:40:41 +00:00
Jonathan Bennett
bc55f0f21f
Add count_characters and a CUnit test series for it.
2015-12-31 04:14:58 +00:00
Jonathan Bennett
56be13b3f6
Add dns resolution for nat access
2015-12-31 04:13:46 +00:00
Jonathan Bennett
d9f9cb8ad5
Add SHA3 and HMAC-SHA3 support
2015-12-30 20:32:52 +00:00
Michael Rash
fc1ef7f21f
Merge pull request #181 from vaygr/xff
...
X-Forwarded-For HTTP header support
2015-12-29 20:47:33 -05:00
Jonathan Bennett
b661dee583
Initial Doxygen config file and work on documenting libfko functions
2015-12-29 17:39:52 -06:00
Michael Rash
e3ae6747d9
doc updates
2015-12-24 16:08:35 -05:00
Michael Rash
a85b081f79
copyright update
2015-12-23 14:34:51 -05:00
Michael Rash
9c54d774f6
[docs] man page updates
2015-12-23 11:47:17 -05:00
Michael Rash
b7ccfc08ac
[server] fix minor dead code discovery made by Coverity
2015-12-21 11:39:14 -08:00
Michael Rash
c2737ee9f4
[server] chop_char() handles file string length
2015-12-21 00:12:12 -08:00
Michael Rash
2b881bc8eb
[server] chop_char() handles file string length
2015-12-21 00:10:55 -08:00
Damien Stuart
0d41b78d18
Merge branch 'master' into dstuart_netfilter_queue and resolved one conflict in cmd_opts.h
2015-12-21 00:12:11 -05:00
Damien Stuart
db28efae25
Added linking libnfnetlink. Tweaks to get NFQ working with firewalld.
2015-12-20 23:46:32 -05:00
Damien Stuart
ba611a2d2c
Many additions and modifications for support of capture via Netfilter Queue.
2015-12-20 21:58:31 -05:00