BadVPN – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | The lwIP PPP support is based from pppd 2.4.5 (http://ppp.samba.org) with |
2 | huge changes to match code size and memory requirements for embedded devices. |
||
3 | |||
4 | Anyway, pppd has a mature codebase for years and the average commit count |
||
5 | is getting low on their Git repository, meaning that we can follow what |
||
6 | is happening on their side and merge what is relevant for lwIP. |
||
7 | |||
8 | So, here is the pppd follow up, so that we don't get away too far from pppd. |
||
9 | |||
10 | |||
11 | == Patch fetched from from pppd Debian packages == |
||
12 | |||
13 | This has nothing to do with pppd, but we merged some good patch from |
||
14 | Debian and this is a good place to be. |
||
15 | |||
16 | - LCP adaptive echo, so that we don't send LCP echo request if we |
||
17 | are receiving data from peer, can be enabled by setting PPP_LCP_ADAPTIVE |
||
18 | to true. |
||
19 | |||
20 | - IPCP no/replace default route option, were added in the early stage of |
||
21 | the ppp port, but it wasn't really helpful and was disabled when adding |
||
22 | the new API ppp_set_default() call, which gives the lwIP user control over |
||
23 | which one is the default interface, it was actually a requirement if you |
||
24 | are doing PPP over PPP (i.e. PPPoL2TP, VPN link, over PPPoE, ADSL link). |
||
25 | |||
26 | - using rp-pppoe pppd exits with EXIT_OK after receiving a timeout waiting |
||
27 | for PADO due to no modem attached, bug reported to pppd bug tracker, fixed |
||
28 | in Debian but not in the latest (at the time when the port were started) |
||
29 | pppd release. |
||
30 | |||
31 | |||
32 | == Commits on pppd == |
||
33 | |||
34 | 2010-03-06 - Document +ipv6 and ipv6cp-accept-local |
||
35 | e7537958aee79b3f653c601e903cb31d78fb7dcc |
||
36 | |||
37 | Don't care. |
||
38 | |||
39 | |||
40 | 2010-03-06 - Install pppol2tp plugins with sane permissions |
||
41 | 406215672cfadc03017341fe03802d1c7294b903 |
||
42 | |||
43 | Don't care. |
||
44 | |||
45 | |||
46 | 2010-03-07 - pppd: Terminate correctly if lcp_lowerup delayed calling |
||
47 | fsm_lowerup |
||
48 | 3eb9e810cfa515543655659b72dde30c54fea0a5 |
||
49 | |||
50 | Merged 2012-05-17. |
||
51 | |||
52 | |||
53 | 2010-03-07 - rp_pppoe: Copy acName and pppd_pppoe_service after option parsing |
||
54 | cab58617fd9d328029fffabc788020264b4fa91f |
||
55 | |||
56 | Don't care, is a patch for pppd/plugins/rp-pppoe/plugin.c which is not part |
||
57 | of the port. |
||
58 | |||
59 | |||
60 | 2010-08-23 - set and reset options to control environment variables |
||
61 | for scripts. |
||
62 | 2b6310fd24dba8e0fca8999916a162f0a1842a84 |
||
63 | |||
64 | We can't fork processes in embedded, therefore all the pppd process run |
||
65 | feature is disabled in the port, so we don't care about the new |
||
66 | "environment variables" pppd feature. |
||
67 | |||
68 | |||
69 | 2010-08-23 - Nit: use _exit when exec fails and restrict values to 0-255 |
||
70 | per POSIX. |
||
71 | 2b4ea140432eeba5a007c0d4e6236bd0e0c12ba4 |
||
72 | |||
73 | Again, we are not running as a heavy process, so all exit() or _exit() calls |
||
74 | were removed. |
||
75 | |||
76 | |||
77 | 2010-08-23 - Fix quote handling in configuration files to be more like shell |
||
78 | quoting. |
||
79 | 3089132cdf5b58dbdfc2daf08ec5c08eb47f8aca |
||
80 | |||
81 | We are not parsing config file, all the filesystem I/O stuff were disabled |
||
82 | in our port. |
||
83 | |||
84 | |||
85 | 2010-08-24 - rp-pppoe: allow MTU to be increased up to 1500 |
||
86 | fd1dcdf758418f040da3ed801ab001b5e46854e7 |
||
87 | |||
88 | Only concern changes on RP-PPPoE plugin, which we don't use. |
||
89 | |||
90 | |||
91 | 2010-09-11 - chat: Allow TIMEOUT value to come from environment variable |
||
92 | ae80bf833e48a6202f44a935a68083ae52ad3824 |
||
93 | |||
94 | See 2b6310fd24dba8e0fca8999916a162f0a1842a84. |
||
95 | |||
96 | |||
97 | 2011-03-05 - pppdump: Fix printfs with insufficient arguments |
||
98 | 7b8db569642c83ba3283745034f2e2c95e459423 |
||
99 | |||
100 | pppdump is a ppp tool outside pppd source tree. |
||
101 | |||
102 | |||
103 | 2012-05-06 - pppd: Don't unconditionally disable VJ compression under Linux |
||
104 | d8a66adf98a0e525cf38031b42098d539da6eeb6 |
||
105 | |||
106 | Patch for sys-linux.c, which we don't use. |
||
107 | |||
108 | |||
109 | 2012-05-20 - Remove old version of Linux if_pppol2tp.h |
||
110 | c41092dd4c49267f232f6cba3d31c6c68bfdf68d |
||
111 | |||
112 | Not in the port. |
||
113 | |||
114 | |||
115 | 2012-05-20 - pppd: Make MSCHAP-v2 cope better with packet loss |
||
116 | 08ef47ca532294eb428238c831616748940e24a2 |
||
117 | |||
118 | This is an interesting patch. However it consumes much more memory for |
||
119 | MSCHAP and I am not sure if the benefit worth it. The PPP client can |
||
120 | always start the authentication again if it failed for whatever reason. |
||
121 | |||
122 | |||
123 | 2012-05-20 - scripts: Make poff ignore extra arguments to pppd |
||
124 | 18f515f32c9f5723a9c2c912601e04335106534b |
||
125 | |||
126 | Again, we are not running scripts. |
||
127 | |||
128 | |||
129 | 2012-05-20 - rp-pppoe plugin: Print leading zeros in MAC address |
||
130 | f5dda0cfc220c4b52e26144096d729e27b30f0f7 |
||
131 | |||
132 | Again, we are not using the RP-PPPoE plugin. |
||
133 | |||
134 | |||
135 | 2012-05-20 - pppd: Notify IPv6 up/down as we do for IPv4 |
||
136 | 845cda8fa18939cf56e60b073f63a7efa65336fc |
||
137 | |||
138 | This is just a patch that adds plugins hooks for IPv6, the plugin interface |
||
139 | was disabled because we don't have .so plugins in embedded. |
||
140 | |||
141 | |||
142 | 2012-05-20 - pppd: Enable IPV6 by default and fix some warnings |
||
143 | 0b6118239615e98959f7e0b4e746bdd197533248 |
||
144 | |||
145 | Change on Makefile for IPv6, warnings were already cleared during port. |
||
146 | |||
147 | |||
148 | 2012-05-20 - contrib: Fix pppgetpass.gtk compilation |
||
149 | 80a8e2ce257ca12cce723519a0f20ea1d663b14a |
||
150 | |||
151 | Change on Makefile, don't care. |
||
152 | |||
153 | |||
154 | 2012-05-20 - pppd: Don't crash if crypt() returns NULL |
||
155 | 04c4348108d847e034dd91066cc6843f60d71731 |
||
156 | |||
157 | We are using the PolarSSL DES implementation that does not return NULL. |
||
158 | |||
159 | |||
160 | 2012-05-20 - pppd: Eliminate some warnings |
||
161 | c44ae5e6a7338c96eb463881fe709b2dfaffe568 |
||
162 | |||
163 | Again, we are handling compilation warnings on our own. |
||
164 | |||
165 | |||
166 | 2012-05-20 - rp-pppoe plugin: Import some fixes from rp-pppoe-3.10 |
||
167 | 1817d83e51a411044e730ba89ebdb0480e1c8cd4 |
||
168 | |||
169 | Once more, we are not using the RP-PPPoE plugin. |
||
170 | |||
171 | |||
172 | 2013-01-23 - pppd: Clarify circumstances where DNS1/DNS2 environment variables are set |
||
173 | cf2f5c9538b9400ade23446a194729b0a4113b3a |
||
174 | |||
175 | Documentation only. |
||
176 | |||
177 | |||
178 | 2013-02-03 - ppp: ignore unrecognised radiusclient configuration directives |
||
179 | 7f736dde0da3c19855997d9e67370e351e15e923 |
||
180 | |||
181 | Radius plugin, not in the port. |
||
182 | |||
183 | |||
184 | 2013-02-03 - pppd: Take out unused %r conversion completely |
||
185 | 356d8d558d844412119aa18c8e5a113bc6459c7b |
||
186 | |||
187 | Merged 2014-04-15. |
||
188 | |||
189 | |||
190 | 2013-02-03 - pppd: Arrange to use logwtmp from libutil on Linux |
||
191 | 9617a7eb137f4fee62799a677a9ecf8d834db3f5 |
||
192 | |||
193 | Patch for sys-linux.c, which we don't use. |
||
194 | |||
195 | |||
196 | 2013-02-03 - pppdump: Eliminate some compiler warnings |
||
197 | 3e3acf1ba2b3046c072a42c19164788a9e419bd1 |
||
198 | |||
199 | pppdump is a ppp tool outside pppd source tree. |
||
200 | |||
201 | |||
202 | 2013-02-03 - chat: Correct spelling errors in the man page |
||
203 | 8dea1b969d266ccbf6f3a8c5474eb6dcd8838e3b |
||
204 | |||
205 | Documentation only. |
||
206 | |||
207 | |||
208 | 2013-02-03 - pppd: Fix spelling errors in man page |
||
209 | 9e05a25d76b3f83096c661678010320df673df6b |
||
210 | |||
211 | Documentation only. |
||
212 | |||
213 | |||
214 | 2013-02-03 - plugins/passprompt: Fix potential out-of-bounds array reference |
||
215 | 8edb889b753056a691a3e4b217a110a35f9fdedb |
||
216 | |||
217 | Plugin patch, we do not have plugins. |
||
218 | |||
219 | |||
220 | 2013-02-03 - chat: Fix *roff errors in the man page |
||
221 | a7c3489eeaf44e83ce592143c7c8a5b5c29f4c48 |
||
222 | |||
223 | Documentation only. |
||
224 | |||
225 | |||
226 | 2013-03-02 - pppd: Fix man page description of case when remote IP address isn't known |
||
227 | 224841f4799f4f1e2e71bc490c54448d66740f4f |
||
228 | |||
229 | Documentation only. |
||
230 | |||
231 | |||
232 | 2013-03-02 - pppd: Add master_detach option |
||
233 | 398ed2585640d198c53e736ee5bbd67f7ce8168e |
||
234 | |||
235 | Option for multilink support, we do not support multilink and this option |
||
236 | is about detaching from the terminal, which is out of the embedded scope. |
||
237 | |||
238 | |||
239 | 2013-03-11 - pppd: Default exit status to EXIT_CONNECT_FAILED during connection phase |
||
240 | 225361d64ae737afdc8cb57579a2f33525461bc9 |
||
241 | |||
242 | Commented out in our port, and already fixed by a previously applied Debian patch. |
||
243 | |||
244 | |||
245 | 2013-03-11 - pppstats: Fix undefined macro in man page |
||
246 | d16a3985eade5280b8e171f5dd0670a91cba0d39 |
||
247 | |||
248 | Documentation only. |
||
249 | |||
250 | |||
251 | 2013-05-11 - plugins/radius: Handle bindaddr keyword in radiusclient.conf |
||
252 | d883b2dbafeed3ebd9d7a56ab1469373bd001a3b |
||
253 | |||
254 | Radius plugin, not in the port. |
||
255 | |||
256 | |||
257 | 2013-06-09 - pppoatm: Remove explicit loading of pppoatm kernel module |
||
258 | 52cd43a84bea524033b918b603698104f221bbb7 |
||
259 | |||
260 | PPPoATM plugin, not in the port. |
||
261 | |||
262 | |||
263 | 2013-06-09 - pppd: Fix segfault in update_db_entry() |
||
264 | 37476164f15a45015310b9d4b197c2d7db1f7f8f |
||
265 | |||
266 | We do not use the samba db. |
||
267 | |||
268 | |||
269 | 2013-06-09 - chat: Fix some text that was intended to be literal |
||
270 | cd9683676618adcee8add2c3cfa3382341b5a1f6 |
||
271 | |||
272 | Documentation only. |
||
273 | |||
274 | |||
275 | 2013-06-09 - README.pppoe: Minor semantic fix |
||
276 | b5b8898af6fd3d44e873cfc66810ace5f1f47e17 |
||
277 | |||
278 | Documentation only. |
||
279 | |||
280 | |||
281 | 2013-06-10 - radius: Handle additional attributes |
||
282 | 2f581cd986a56f2ec4a95abad4f8297a1b10d7e2 |
||
283 | |||
284 | Radius plugin, not in the port. |
||
285 | |||
286 | |||
287 | 2013-06-10 - chat, pppd: Use \e instead of \\ in man pages |
||
288 | 8d6942415d22f6ca4377340ca26e345c3f5fa5db |
||
289 | |||
290 | Documentation only. |
||
291 | |||
292 | |||
293 | 2014-01-02 - pppd: Don't crash if NULL pointer passed to vslprintf for %q or %v |
||
294 | 906814431bddeb2061825fa1ebad1a967b6d87a9 |
||
295 | |||
296 | Merged 2014-04-15. |
||
297 | |||
298 | |||
299 | 2014-01-02 - pppd: Accept IPCP ConfAck packets containing MS-WINS options |
||
300 | a243f217f1c6ac1aa7793806bc88590d077f490a |
||
301 | |||
302 | Merged 2014-04-15. |
||
303 | |||
304 | |||
305 | 2014-01-02 - config: Update Solaris compiler options and enable CHAPMS and IPV6 |
||
306 | 99c46caaed01b7edba87962aa52b77fad61bfd7b |
||
307 | |||
308 | Solaris port, don't care. |
||
309 | |||
310 | |||
311 | 2014-01-02 - Update README and patchlevel for 2.4.6 release |
||
312 | 4043750fca36e7e0eb90d702e048ad1da4929418 |
||
313 | |||
314 | Just release stuff. |
||
315 | |||
316 | |||
317 | 2014-02-18 - pppd: Add option "stop-bits" to set number of serial port stop bits. |
||
318 | ad993a20ee485f0d0e2ac4105221641b200da6e2 |
||
319 | |||
320 | Low level serial port, not in the port. |
||
321 | |||
322 | |||
323 | 2014-03-09 - pppd: Separate IPv6 handling for sifup/sifdown |
||
324 | b04d2dc6df5c6b5650fea44250d58757ee3dac4a |
||
325 | |||
326 | Reimplemented. |
||
327 | |||
328 | |||
329 | 2014-03-09 - pppol2tp: Connect up/down events to notifiers and add IPv6 ones |
||
330 | fafbe50251efc7d6b4a8be652d085316e112b34f |
||
331 | |||
332 | Not in the port. |
||
333 | |||
334 | |||
335 | 2014-03-09 - pppd: Add declarations to eliminate compile warnings |
||
336 | 50967962addebe15c7a7e63116ff46a0441dc464 |
||
337 | |||
338 | We are handling compilation warnings on our own |
||
339 | |||
340 | |||
341 | 2014-03-09 - pppd: Eliminate some unnecessary ifdefs |
||
342 | de8da14d845ee6db9236ccfddabf1d8ebf045ddb |
||
343 | |||
344 | We mostly did that previously. Anyway, merged 2014-12-24. |
||
345 | |||
346 | |||
347 | 2014-08-01 - radius: Fix realms-config-file option |
||
348 | 880a81be7c8e0fe8567227bc17a1bff3ea035943 |
||
349 | |||
350 | Radius plugin, not in the port. |
||
351 | |||
352 | |||
353 | 2014-08-01 - pppd: Eliminate potential integer overflow in option parsing |
||
354 | 7658e8257183f062dc01f87969c140707c7e52cb |
||
355 | |||
356 | pppd config file parser, not in the port. |
||
357 | |||
358 | |||
359 | 2014-08-01 - pppd: Eliminate memory leak with multiple instances of a string option |
||
360 | b94b7fbbaa0589aa6ec5fdc733aeb9ff294d2656 |
||
361 | |||
362 | pppd config file parser, not in the port. |
||
363 | |||
364 | |||
365 | 2014-08-01 - pppd: Fix a stack variable overflow in MSCHAP-v2 |
||
366 | 36733a891fb56594fcee580f667b33a64b990981 |
||
367 | |||
368 | This fixes a bug introduced in 08ef47ca ("pppd: Make MSCHAP-v2 cope better with packet loss"). |
||
369 | |||
370 | We didn't merge 08ef47ca ;-) |
||
371 | |||
372 | |||
373 | 2014-08-01 - winbind plugin: Add -DMPPE=1 to eliminate compiler warnings |
||
374 | 2b05e22c62095e97dd0a97e4b5588402c2185071 |
||
375 | |||
376 | Linux plugin, not in the port. |
||
377 | |||
378 | |||
379 | 2014-08-09 - Update README and patchlevel for 2.4.7 release |
||
380 | 6e8eaa7a78b31cdab2edf140a9c8afdb02ffaca5 |
||
381 | |||
382 | Just release stuff. |
||
383 | |||
384 | |||
385 | 2014-08-10 - abort on errors in subdir builds |
||
386 | 5e90783d11a59268e05f4cfb29ce2343b13e8ab2 |
||
387 | |||
388 | Linux Makefile, not in the port. |
||
389 | |||
390 | |||
391 | 2014-06-03 - pppd: add support for defaultroute-metric option |
||
392 | 35e5a569c988b1ff865b02a24d9a727a00db4da9 |
||
393 | |||
394 | Only necessary for Linux, lwIP does not support route metrics. |
||
395 | |||
396 | |||
397 | 2014-12-13 - scripts: Avoid killing wrong pppd |
||
398 | 67811a647d399db5d188a242827760615a0f86b5 |
||
399 | |||
400 | pppd helper script, not in the port. |
||
401 | |||
402 | |||
403 | 2014-12-20 - pppd: Fix sign-extension when displaying bytes in octal |
||
404 | 5e8c3cb256a7e86e3572a82a75d51c6850efdbdc |
||
405 | |||
406 | Merged 2016-07-02. |
||
407 | |||
408 | |||
409 | 2015-03-01 - Suppress false error message on PPPoE disconnect |
||
410 | 219aac3b53d0827549377f1bfe22853ee52d4405 |
||
411 | |||
412 | PPPoE plugin, not in the port. |
||
413 | |||
414 | |||
415 | 2015-03-01 - Send PADT on PPPoE disconnect |
||
416 | cd2c14f998c57bbe6a01dc5854f2763c0d7f31fb |
||
417 | |||
418 | PPPoE plugin, not in the port. And our PPPoE implementation already does |
||
419 | that: pppoe_disconnect() calls pppoe_send_padt(). |
||
420 | |||
421 | |||
422 | 2015-08-14 - pppd: ipxcp: Prevent buffer overrun on remote router name |
||
423 | fe149de624f96629a7f46732055d8f718c74b856 |
||
424 | |||
425 | We never ported IPX support. lwIP does not support IPX. |
||
426 | |||
427 | |||
428 | 2015-03-25 - pppd: Fix ccp_options.mppe type |
||
429 | 234edab99a6bb250cc9ecd384cca27b0c8b475ce |
||
430 | |||
431 | We found that while working on MPPE support in lwIP, that's our patch ;-) |
||
432 | |||
433 | |||
434 | 2015-03-24 - pppd: Fix ccp_cilen calculated size if both deflate_correct and deflate_draft are enabled |
||
435 | 094cb8ae4c61db225e67fedadb4964f846dd0c27 |
||
436 | |||
437 | We found that while working on MPPE support in lwIP, that's our patch ;-) |
||
438 | |||
439 | |||
440 | 2015-08-14 - Merge branch 'master' of https://github.com/ncopa/ppp |
||
441 | 3a5c9a8fbc8970375cd881151d44e4b6fe249c6a |
||
442 | |||
443 | Merge commit, we don't care. |
||
444 | |||
445 | |||
446 | 2015-08-14 - Merge branch 'master' of git://github.com/vapier/ppp |
||
447 | 912e4fc6665aca188dced7ea7fdc663ce5a2dd24 |
||
448 | |||
449 | Merge commit, we don't care. |
||
450 | |||
451 | |||
452 | 2015-08-14 - Merge branch 'bug_fix' of git://github.com/radaiming/ppp |
||
453 | dfd33d7f526ecd7b39dd1bba8101260d02af5ebb |
||
454 | |||
455 | Merge commit, we don't care. |
||
456 | |||
457 | |||
458 | 2015-08-14 - Merge branch 'master' of git://github.com/pprindeville/ppp |
||
459 | aa4a985f6114d08cf4e47634fb6325da71016473 |
||
460 | |||
461 | Merge commit, we don't care. |
||
462 | |||
463 | |||
464 | 2015-08-14 - Merge branch 'no-error-on-already-closed' of git://github.com/farnz/ppp |
||
465 | 6edf252483b30dbcdcc5059f01831455365d5b6e |
||
466 | |||
467 | Merge commit, we don't care. |
||
468 | |||
469 | |||
470 | 2015-08-14 - Merge branch 'send-padt-on-disconnect' of git://github.com/farnz/ppp |
||
471 | 84684243d651f55f6df69d2a6707b52fbbe62bb9 |
||
472 | |||
473 | Merge commit, we don't care. |