-
Notifications
You must be signed in to change notification settings - Fork 2
/
TODO
115 lines (76 loc) · 3.5 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
18th September 2006
https://sourceforge.net/tracker/?func=detail&atid=407155&aid=1560433&group_id=33063
Feature request, add code to attempt multiple IPs in a round-robin DNS
rotation.
12th September 2006
https://sourceforge.net/tracker/?func=detail&atid=407152&aid=1556506&group_id=33063
Add call-id as quirk or command-line option.
13th February 2006
pty write may block, which prevents read, according to patch #502930 on
SourceForge. Generally a lack of flow control. We don't implement flow
control well.
8th April 2005
On Thu, Apr 07, 2005 at 07:36:41AM -0700, Roark Hennessy wrote:
> I find in order to get the tunnel working I have to do a
> route add -host <target_vpn_addr> gateway <my-netgear-wireless-router> dev
+ethN
> Can this be done automatically in the config somewhere?
Not everybody needs this in order to get the tunnel working, it depends
on the configuration of the server, and it is problematic calculating
the correct route to add. However, the GUI PPTP client (pptpconfig)
does this automatically, and when done unnecessarily it seems harmless.
I'll take a patch that implements the same thing in C within pptp, so
that people who don't use the GUI get it done for them.
Here's what the pptpconfig.php program does;
- the IP address of the PPTP server is obtained from the name, using
gethostbyname(),
- the command "ip route get $ip | head -1" is executed, where $ip is the
IP address determined above, and the result of the command is stored;
it is a route specification of the path to the server before the
tunnel is started,
- in routing_start(), an "ip route add" command is done using the route
specification obtained above,
- when the tunnel is shutdown, an "ip route del" command is done using
the same route specification.
I would prefer that the patch implements this by embedding the
equivalent syscalls within the pptp program, rather than use system() or
popen() to execute the /usr/sbin/ip program.
I would also prefer that there be a command line option for disabling
the feature.
--
10th March 2005
- call manager is not being reused as it was designed to be; if a
tunnel is started within a minute of a tunnel being stopped, it does
not succeed; symptom is LCP ConfReq's without any traffic from the
server.
--
- finish --max-echo-wait
11th August 2004
- add two configurable timeouts for echo generation and echo reply timeout,
requested by Tobias Brox.
- ship .spec with tarball.
13th February 2004
- timeout connect earlier, with option to extend timeout.
20th May 2003
- GRE stats to a pipe or shared memory, for GUI to use
15th February 2003
- pptp.8 update man page for new options
- pptp.c long_options array should use NULL for second last arg, not 0
- pptp.c use getopt_long more simply, e.g. set flags in option array
1st May 2002
- log failure of write() to raw socket, as Ryan Murray
<[email protected]> has encountered an EPERM situation that was not
being logged.
12th February 2002
- clean up -T errors in pptp-command,
23rd December 2000
Things to do:
Autoconf/automake this beastie.
Fix do_gre_copy semantics to properly handle multiple calls.
Like the call manager, there should only be one gre-copy process
per connection. This process needs to funnel packets to different
output tty's, though, depending on the call-id embedded in the
GRE encapsulation. pptp.c must then be modified to use an
already-existing gre-copy process in the same way it uses an
already-existing call manager.
$Id: TODO,v 1.29 2006/09/18 01:50:05 quozl Exp $