Questions about Optimizing network I/O

2014-07-01 Thread Vadim Lebedev
Hello, I'm looking for advice on optimizing a SOCKS proxy software which i modified to support TCP <=> UDP tunnelling. The modification of standard SOCKS protocol is pretty straightforward, i've added a command that tells to socks server that destination socket is a UDP socket so the server

Questions about Optimizing network I/O

2014-07-01 Thread Vadim Lebedev
Hello, I'm looking for advice on optimizing a SOCKS proxy software which i modified to support TCP = UDP tunnelling. The modification of standard SOCKS protocol is pretty straightforward, i've added a command that tells to socks server that destination socket is a UDP socket so the server

Re: Potenitial security hole in the kernel

2001-05-28 Thread Vadim Lebedev
Kurt, Maybe i'm missing something but it seems that during execution of the signal handler, user mode stack contains kernel mode context... Hence the security hole Vadim - Original Message - From: "Kurt Roeckx" <[EMAIL PROTECTED]> To: "Vadim Lebedev" <[

Re: Potenitial security hole in the kernel

2001-05-28 Thread Vadim Lebedev
Philip, The point is the panic will be executed in KERNEL and NOT user mode. Unless i'm missing something the sigcontext contains kernel mode and not user mode context. Vadim - Original Message - From: "Philip Blundell" <[EMAIL PROTECTED]> To: "Vadim Lebedev&qu

Potenitial security hole in the kernel

2001-05-28 Thread Vadim Lebedev
directly as i'm not subscibed to this list Vadim Lebedev - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Potenitial security hole in the kernel

2001-05-28 Thread Vadim Lebedev
directly as i'm not subscibed to this list Vadim Lebedev - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Potenitial security hole in the kernel

2001-05-28 Thread Vadim Lebedev
Kurt, Maybe i'm missing something but it seems that during execution of the signal handler, user mode stack contains kernel mode context... Hence the security hole Vadim - Original Message - From: Kurt Roeckx [EMAIL PROTECTED] To: Vadim Lebedev [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

Re: Potenitial security hole in the kernel

2001-05-28 Thread Vadim Lebedev
Philip, The point is the panic will be executed in KERNEL and NOT user mode. Unless i'm missing something the sigcontext contains kernel mode and not user mode context. Vadim - Original Message - From: Philip Blundell [EMAIL PROTECTED] To: Vadim Lebedev [EMAIL PROTECTED] Cc: [EMAIL

Re: Linux kernel modules development in C++

2000-10-03 Thread Vadim Lebedev
I'm attaching a module i'm using to write C++ drivers for linux 2.0.xx The following line goes into the Rules.make file %.o: %.cpp $(CC) -fno-exceptions -fno-rtti $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_DEBUG) -c -o $@ $< For me it is working really great the new.cpp file goes in my

Re: Linux kernel modules development in C++

2000-10-03 Thread Vadim Lebedev
I'm attaching a module i'm using to write C++ drivers for linux 2.0.xx The following line goes into the Rules.make file %.o: %.cpp $(CC) -fno-exceptions -fno-rtti $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_DEBUG) -c -o $@ $ For me it is working really great the new.cpp file goes in my