mirror of
https://github.com/bol-van/zapret.git
synced 2026-01-03 23:28:48 +03:00
openbsd: discovered how to apply divert-packet to outgoing only
This commit is contained in:
@@ -38,13 +38,7 @@
|
||||
|
||||
#define CTRACK_T_SYN 60
|
||||
#define CTRACK_T_FIN 60
|
||||
#ifdef __OpenBSD__
|
||||
// It looks like it's not possible to divert-packet only outgoing part of the connection
|
||||
// It's better to destinguish outgoings using conntrack. Do not purge conntrack entry too early
|
||||
#define CTRACK_T_EST 7200
|
||||
#else
|
||||
#define CTRACK_T_EST 300
|
||||
#endif
|
||||
|
||||
struct params_s params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user