Podrška #20023
Zatvorenbuild tomato 1.27 sa pppd CONFIG_PPP_MPPE_MPPC=y
0%
Fajlovi
Povezani tiketi 1 (0 otvoreno — 1 zatvoren)
Izmjenjeno od Ernad Husremović prije oko 15 godina
ovaj patch treba primjeniti http://redmine.bring.out.ba/attachments/1670/tomato123-vpn-src.patch.zip
Izmjenjeno od Ernad Husremović prije oko 15 godina
uh ja sam ovo zezno skroz
pppd je kod postojećeg tomato-a 2.4.5
tako da ovim radim praktično downgrade
kod ovog 2.6 bringout tomato-a pptp-1.7.1 dok je na ovm patch-u 1.7.0
Izmjenjeno od Ernad Husremović prije oko 15 godina
- Naslov promijenjeno iz build tomato 1.27 sa pppd 2.4.4 u build tomato 1.27 sa pppd CONFIG_PPP_MPPE_MPPC=y
ovdje nalazim http://www.gitorious.org/tomato-vpn-snmp/tomato-vpn-snmp/commit/d65753e7682ae969b1a3879d01dbc7e858c83fc7
release/src/linux/linux/crypto/Config.in (120 / 0) 1 # 2 # Cryptographic API Configuration 3 # 4 mainmenu_option next_comment 5 comment 'Cryptographic options' 6 7 if [ "$CONFIG_INET_AH" = "y" -o \ 8 "$CONFIG_INET_AH" = "m" -o \ 9 "$CONFIG_INET_ESP" = "y" -o \ 10 "$CONFIG_INET_ESP" = "m" -o \ 11 "$CONFIG_INET6_AH" = "y" -o \ 12 "$CONFIG_INET6_AH" = "m" -o \ 13 "$CONFIG_INET6_ESP" = "y" -o \ 14 "$CONFIG_INET6_ESP" = "m" -o \ 15 "$CONFIG_PPP_MPPE_MPPC" = "y" -o \ <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 16 "$CONFIG_PPP_MPPE_MPPC" = "m" ]; then 17 define_bool CONFIG_CRYPTO y 18 else
Izmjenjeno od Ernad Husremović prije oko 15 godina
http://www.viajes-abaco.com/m400a/config.htm
# # Wan interfaces # # CONFIG_WAN is not set # CONFIG_FDDI is not set # CONFIG_HIPPI is not set CONFIG_PLIP=m CONFIG_PPP=m CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=m CONFIG_PPP_SYNC_TTY=m CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=m CONFIG_PPP_MPPE_MPPC=m CONFIG_PPPOE=m CONFIG_SLIP=m CONFIG_SLIP_COMPRESSED=y CONFIG_SLIP_SMART=y CONFIG_SLIP_MODE_SLIP6=y
Izmjenjeno od Ernad Husremović prije oko 15 godina
evo šta kod nas stoji
CONFIG_PPP=y CONFIG_PPP_MULTILINK=y CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=y CONFIG_PPP_SYNC_TTY=y CONFIG_PPP_DEFLATE=m CONFIG_PPP_BSDCOMP=y CONFIG_PPP_MPPE=m CONFIG_PPPOE=y CONFIG_PPPOL2TP=y CONFIG_PPTP=m
Izmjenjeno od Ernad Husremović prije oko 15 godina
... CONFIG_PPP_MPPE_MPPC is used only when mppe-mppc useflag is enabled;
Izmjenjeno od Ernad Husremović prije oko 15 godina
About MPPE and MPPC¶
http://mppe-mppc.alphacron.de/
MPPE stands for Microsoft Point-to-Point Encryption. It is a protocol designed for transfering encrypted datagrams over point-to-point links. See RFC3078 and RFC3079 for details.
MPPC stands for Microsoft Point-to-Point Compression. It is a protocol designed for transfering compressed datagrams over point-to-point links. The MPPC algorithm uses an LZ based algorithm with a sliding window history buffer. See RFC2118 for details.
Although the module's source code is completely free, MPPC itself is patented algorithm. Patent for Microsoft PPC is holded by the Hifn Inc. This is obvious ;-). Furthermore, MPPE uses RC41 encryption algorithm which itself isn't patented, but RC4 is trademark of RSA Data Security Inc. To avoid legal problems, US citizens shouldn't use this module.
OK, you have been warned, now you can do whatever you want.
MPPE/MPPC violate Compression Control Protocol: when decompression error occurs, receiver sends CCP ResetReq, sender resets the compressor but doesn't send CCP ResetAck which it should do if it would be fully CCP compliant. In my opinion it's very funny - probably guys from Hifn Inc. didn't want to pay royalties to Motorola which holds patent on this "technology". ;-) I love software patents. ;-)
Why have I written this module?
Besides Stac LZS, MPPC seems to be the most common compression algorithm used in (remote/network) access servers. On the one hand Internet Service Providers often set up their AS to support only the two mentioned algorithms and on the other hand AS often support only those algorithms - in my opinion this is result of implementation MPPC/MPPE and LZS in silicon. See http://www.hifn.com if you want to know more or if you want to buy such a chip. So they are de facto standards; Hifn's marketroids call them even industry standards. :-) At the client side, MPPE/MPPC is of course supported by Microsoft operating systems.
Some day, digging in the Net, I found MPPE implementation at http://mirror.binarix.com/ppp-mppe/.[2] I thought that it would be good to complete that code with MPPC and make it freely available. So I wrote MPPC part and added support for 56 bit keys in MPPE.
Izmjenjeno od Ernad Husremović prije oko 15 godina
Izmjenjeno od Ernad Husremović prije oko 15 godina
Izmjenjeno od Ernad Husremović prije oko 15 godina
tomato branch 26-mppe-mppc¶
bringout@desk-c2:~/devel/git/upstream/tomato/release/src-rt/linux/linux-2.6$ patch -p1 < ../mppc.patch
patching file drivers/net/Kconfig Hunk #1 succeeded at 2944 with fuzz 2 (offset 527 lines). patching file drivers/net/Makefile Hunk #1 FAILED at 105. 1 out of 1 hunk FAILED -- saving rejects to file drivers/net/Makefile.rej patching file drivers/net/ppp_generic.c Hunk #1 succeeded at 19 with fuzz 1. Hunk #2 succeeded at 101 (offset -4 lines). Hunk #3 succeeded at 632 (offset -1 lines). Hunk #4 FAILED at 1109. Hunk #5 FAILED at 1157. Hunk #6 FAILED at 1720. Hunk #7 succeeded at 1825 (offset 70 lines). Hunk #8 succeeded at 2503 with fuzz 1 (offset 65 lines). 3 out of 8 hunks FAILED -- saving rejects to file drivers/net/ppp_generic.c.rej patching file drivers/net/ppp_mppe_mppc.c patching file include/linux/ppp-comp.h Hunk #4 succeeded at 200 with fuzz 1 (offset 9 lines).
Izmjenjeno od Ernad Husremović prije oko 15 godina
root@router-wan-sa-1:/tmp/home/root# uname -a
Linux router-wan-sa-1 2.6.22.19 #1 Thu Mar 18 14:29:56 CET 2010 mips
Izmjenjeno od Ernad Husremović prije oko 15 godina
Izmjenjeno od Ernad Husremović prije oko 15 godina
http://yablochkin.net.ru/mppc/
bringout@desk-c2:~/devel/git/upstream/tomato/release/src-rt/linux/linux-2.6$ patch -p1 < ~/linux-2.6.22-mppe-mppc.patch.v1.0
patching file crypto/api.c patching file crypto/digest.c patching file drivers/net/Kconfig Hunk #1 succeeded at 2930 (offset 144 lines). patching file drivers/net/Makefile Hunk #1 succeeded at 121 with fuzz 2 (offset 4 lines). patching file drivers/net/ppp_generic.c Hunk #6 succeeded at 634 (offset 5 lines). Hunk #7 succeeded at 1024 (offset 5 lines). Hunk #8 succeeded at 1133 (offset 34 lines). Hunk #9 succeeded at 1216 (offset 34 lines). Hunk #10 succeeded at 1613 (offset 34 lines). Hunk #11 succeeded at 1787 (offset 34 lines). Hunk #12 succeeded at 2465 (offset 34 lines). Hunk #13 succeeded at 2862 (offset 34 lines). patching file drivers/net/ppp_mppe.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file drivers/net/ppp_mppe.c.rej patching file drivers/net/ppp_mppe.h patching file drivers/net/ppp_mppe_mppc.c patching file include/linux/crypto.h patching file include/linux/ppp-comp.h
Izmjenjeno od Ernad Husremović prije oko 15 godina
međutim pppd patch uglavnom nije uspio:
bringout@desk-c2:~/devel/git/upstream/tomato/release/src/router/pppd$ patch -p1 < ../ppp-2.4.4-mppe-mppc-1.1.patch
patching file include/linux/ppp-comp.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 4 out of 4 hunks ignored -- saving rejects to file include/linux/ppp-comp.h.rej patching file include/net/ppp-comp.h Hunk #1 succeeded at 195 with fuzz 2 (offset -60 lines). patching file pppd/ccp.c Hunk #1 FAILED at 62. Hunk #2 FAILED at 106. Hunk #3 FAILED at 221. Hunk #4 succeeded at 350 (offset 26 lines). Hunk #5 FAILED at 478. Hunk #6 FAILED at 579. Hunk #7 FAILED at 611. Hunk #8 FAILED at 648. Hunk #9 FAILED at 669. Hunk #10 FAILED at 683. Hunk #11 FAILED at 840. Hunk #12 FAILED at 855. Hunk #13 FAILED at 865. Hunk #14 FAILED at 987. Hunk #15 FAILED at 996. Hunk #16 FAILED at 1096. Hunk #17 FAILED at 1106. Hunk #18 FAILED at 1115. Hunk #19 FAILED at 1281. Hunk #20 FAILED at 1388. Hunk #21 FAILED at 1419. Hunk #22 FAILED at 1856. Hunk #23 FAILED at 1877. Hunk #24 FAILED at 1961. Hunk #25 FAILED at 1989. Hunk #26 FAILED at 2049. Hunk #27 FAILED at 2156. Hunk #28 FAILED at 2164. Hunk #29 succeeded at 2634 (offset 454 lines). 27 out of 29 hunks FAILED -- saving rejects to file pppd/ccp.c.rej patching file pppd/ccp.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file pppd/ccp.h.rej patching file pppd/chap_ms.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file pppd/chap_ms.c.rej patching file pppd/pppd.8 Hunk #1 succeeded at 649 with fuzz 2 (offset 22 lines). Hunk #2 FAILED at 809. Hunk #3 FAILED at 994. 2 out of 3 hunks FAILED -- saving rejects to file pppd/pppd.8.rej
Izmjenjeno od Ernad Husremović prije oko 15 godina
bringout@desk-c2:~/devel/git/upstream/tomato/release$ git diff HEAD^1 HEAD > mpppc.patch
Izmjenjeno od Ernad Husremović prije oko 15 godina
- Fajl mpppc.patch mpppc.patch dodano
Izmjenjeno od Ernad Husremović prije oko 15 godina
Izmjenjeno od Ernad Husremović prije oko 15 godina
sad treba probati buildati ovaj branch
Izmjenjeno od Ernad Husremović prije skoro 15 godina
- Status promijenjeno iz Dodijeljeno u Odbačeno