Discussion:
pptpd + pppd w/ mppe possible?
(too old to reply)
Stephen Jones
2007-02-14 07:29:01 UTC
Permalink
I've run into a problem where I have clients that have no other
choice but to use Microsoft's 'mppe'.
The only way I've found that this can be done is by using an LKM.
I've built the mppe module but
am unable to load it in a kernel with LKM/KSYMS support.

# modload -d -v mppe.o
ld -R /dev/ksyms -e mppe_lkmentry -o mppe -Ttext 0x0 mppe.o
.text: addr = 0x0 size = 0x1d20 align = 0x10
.shstrtab: addr = 0x0 size = 0x48 align = 0x1
.symtab: addr = 0x0 size = 0x20a78 align = 0x8
.strtab: addr = 0x0 size = 0x12c42 align = 0x1
.rodata: addr = 0x1d20 size = 0x2a3 align = 0x1
.data: addr = 0x12000 size = 0x98 align = 0x8
.data section forced to offset 0x1fc8 (was 0x12000)
.got: addr = 0x12098 size = 0x198 align = 0x8
.sbss: addr = 0x12230 size = 0x4 align = 0x4
.bss: addr = 0x12234 size = 0x4 align = 0x1
modload: reserving 16384 bytes of memory
modload: can't reserve memory: Operation not permitted

# modstat
Type Id Offset Loadaddr Size Info Rev Module
Name



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Manuel Bouyer
2007-02-14 10:13:04 UTC
Permalink
Post by Stephen Jones
I've run into a problem where I have clients that have no other
choice but to use Microsoft's 'mppe'.
The only way I've found that this can be done is by using an LKM.
I've built the mppe module but
am unable to load it in a kernel with LKM/KSYMS support.
# modload -d -v mppe.o
ld -R /dev/ksyms -e mppe_lkmentry -o mppe -Ttext 0x0 mppe.o
.text: addr = 0x0 size = 0x1d20 align = 0x10
.shstrtab: addr = 0x0 size = 0x48 align = 0x1
.symtab: addr = 0x0 size = 0x20a78 align = 0x8
.strtab: addr = 0x0 size = 0x12c42 align = 0x1
.rodata: addr = 0x1d20 size = 0x2a3 align = 0x1
.data: addr = 0x12000 size = 0x98 align = 0x8
.data section forced to offset 0x1fc8 (was 0x12000)
.got: addr = 0x12098 size = 0x198 align = 0x8
.sbss: addr = 0x12230 size = 0x4 align = 0x4
.bss: addr = 0x12234 size = 0x4 align = 0x1
modload: reserving 16384 bytes of memory
modload: can't reserve memory: Operation not permitted
Is is probably because you're at securelevel 1. modules can only be loaded
at securelevel 0. If you add it to /etc/lkm.conf and reboot, it should load.
--
Manuel Bouyer, LIP6, Universite Paris VI. ***@lip6.fr
NetBSD: 26 ans d'experience feront toujours la difference
--

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...