Re: [Openvpn-devel] [PATCH] add --mark option to set SO_MARK sockopt

2011-08-31 Thread Alon Bar-Lev
Not only Mark is usable, there is also TOS, MSS and other flags that may be interesting. So having separate parameter for each makes configuration more complex. On Wed, Aug 31, 2011 at 9:38 PM, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 31/08/11 20:27, Alon B

Re: [Openvpn-devel] [PATCH] add --mark option to set SO_MARK sockopt

2011-08-31 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/08/11 20:27, Alon Bar-Lev wrote: > Maybe should extend the usage of parameter "socket-flags"? I considered that too, but that would require a bigger rewrite of the - --socket-flags parser. Currently it only is doing "boolean flags". And as - -

Re: [Openvpn-devel] [PATCH] add --mark option to set SO_MARK sockopt

2011-08-31 Thread Alon Bar-Lev
Maybe should extend the usage of parameter "socket-flags"? On Wed, Aug 31, 2011 at 9:05 PM, Heiko Hund wrote: > Signed-off-by: Heiko Hund > --- >  init.c    |    1 + >  openvpn.8 |    6 ++ >  options.c |   14 ++ >  options.h |    3 +++ >  socket.c  |   13 + >  socket.

Re: [Openvpn-devel] [PATCH] add --mark option to set SO_MARK sockopt

2011-08-31 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/08/11 20:05, Heiko Hund wrote: > Signed-off-by: Heiko Hund > --- > init.c|1 + > openvpn.8 |6 ++ > options.c | 14 ++ > options.h |3 +++ > socket.c | 13 + > socket.h |1 + > 6 files chang

[Openvpn-devel] [PATCH] add --mark option to set SO_MARK sockopt

2011-08-31 Thread Heiko Hund
Signed-off-by: Heiko Hund --- init.c|1 + openvpn.8 |6 ++ options.c | 14 ++ options.h |3 +++ socket.c | 13 + socket.h |1 + 6 files changed, 38 insertions(+), 0 deletions(-) diff --git a/init.c b/init.c index 0530b10..e8c9aab 100644 --- a