Netdev List
 help / color / mirror / Atom feed
* driver for pptp
@ 2006-06-03  7:06 xeb
  2006-06-14 13:18 ` Harald Welte
  0 siblings, 1 reply; 3+ messages in thread
From: xeb @ 2006-06-03  7:06 UTC (permalink / raw)
  To: netdev

Hello.
I have developed the driver for Point-to-Point Tunneling Protocol (PPTP).
This driver works in pair with plugin for pppd.
It is enough to use pppd's plugin for start of the client.
Also there is a server (based on pptpd) which uses this driver.
By results of my testing the speed of transfer has increased on >50% and cpu usage has decreased on >50% in comparison with original pptpd and pptpclient.
I have published the project on http://accel-pptp.sourceforge.net/
There is more then 65 downloads but no any bug report (and no any positive result report).
I think the driver still requires testing.

Hope this driver will go to a kernel tree and will make linux more productive.


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: driver for pptp
@ 2006-06-15  9:49 xeb
  0 siblings, 0 replies; 3+ messages in thread
From: xeb @ 2006-06-15  9:49 UTC (permalink / raw)
  To: netdev

Thanks for critique.

>Please read Documentation/SubmittingPatches (and CodingStyle) and submit your kernel patch to netdev.

OK.


>1) why wasn't it possible to use the PPPoX infrastructure of the kernel which is already being used by PPPoE ?  Or at least model it somehow similar to the existing PPPoE/PPPoX infrastructure?

I agree, I will rebuild module.


>2) why are you using a timer for asynchronous processing of GRE frames?
   First of all, why does it have to happen asynchronously at all?
   Secondly, why using a timer when there's nothing time related (or do
   I miss something)?  If deferred, out-of-context execution is
   required, there are other primitives such as tasklets.

Because it is the mechanism of processing reordered packets. On timeout (i.e. there was a loss of packets) buffered packets continue to be processed. It for reduction of traffic if client is under firewall which may reorder packets.


>3) you conflict with the ip_gre.c genric GRE encapsulation driver.  this
   is because both want to reigster a proto handler for GRE.  Ideally,
   there needs to be another demultiplex between the GRE protocl and its
   users.  The code registered for GRE would look at the packet and
   determine whether e.g. it is a PPTP GRE packet and then pass it on to
   the pptp module.

I contacted to the developer ip_gre.c and it has told too most but while there are no results.


4) your code doesn't look nonlinear skb clean

Please give me more comments.


5) why did you chose to implement  /dev/pptp rather than a socket family
   like the existing pppox/pppoe code?

I agree, I will rebuild module.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-15  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-03  7:06 driver for pptp xeb
2006-06-14 13:18 ` Harald Welte
  -- strict thread matches above, loose matches on Subject: below --
2006-06-15  9:49 xeb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox