Tobias Brunner
83674787d5
forecast: Only reinject packets that are marked or from the configured interface
...
This seems to avoid broadcast loops (i.e. processing and reinjecting the
same broadcast packet over and over again) as the packets we send via
AF_PACKET socket are neither marked nor from that interface.
2019-03-14 11:56:20 +01:00
Tobias Brunner
1b67166921
Unify format of HSR copyright statements
2018-05-23 16:32:53 +02:00
Tobias Brunner
525cc46cab
Change interface for enumerator_create_filter() callback
...
This avoids the unportable 5 pointer hack, but requires enumerating in
the callback.
2017-05-26 13:56:44 +02:00
James Laird-Wah
094a4d15cf
forecast: Mark correct port in UDP NAT-T rule
...
Closes strongswan/strongswan#62 .
2017-02-08 09:54:02 +01:00
Andreas Steffen
b12c53ce77
Use standard unsigned integer types
2016-03-24 18:52:48 +01:00
Tobias Brunner
7d22a75b12
forecast: Compare the complete rules when deleting them
...
Same as the change in the connmark plugin.
References #1229 .
2016-03-10 17:26:38 +01:00
Tobias Brunner
28649f6d91
libhydra: Remove empty unused library
2016-03-03 17:36:11 +01:00
Tobias Brunner
8394ea2a42
libhydra: Move kernel interface to libcharon
...
This moves hydra->kernel_interface to charon->kernel.
2016-03-03 17:36:11 +01:00
Tobias Brunner
444565325a
forecast: Fix alignment when adding rules
...
Basically the same issue as with the connmark plugin.
Fixes #1212 .
2016-03-03 17:20:37 +01:00
Tobias Brunner
a2ec3b0546
Fixed some typos, courtesy of codespell
2015-03-25 12:00:20 +01:00
Tobias Brunner
98632af672
forecast: Explicitly cast sockaddr to fix compiler warning
...
On Travis we compile with -Werror.
2015-02-23 12:35:50 +01:00
Tobias Brunner
89b60e9fd7
configure: Use pkg-config to detect libiptc used by connmark/forecast
...
This ensures the library is available. On Debian/Ubuntu it is a dynamic
library provided by the iptables-dev package.
2015-02-23 12:35:28 +01:00
Martin Willi
e5ad2e6614
forecast: Add the broadcast/multicast forwarding plugin called forecast
2015-02-20 16:34:55 +01:00