[pptp-server] PoPToP on RedHat 7.2

Michael Jennings mej at kainx.org
Thu May 2 10:44:54 CDT 2002


On Wednesday, 01 May 2002, at 10:42:37 (-0400),
Jason Staudenmayer wrote:

> input
> ACCEPT     tcp  ------  0.0.0.0/0            0.0.0.0/0             * ->
> 1723
> ACCEPT     gre  ------  0.0.0.0/0            0.0.0.0/0             n/a
> 
> output
> ACCEPT     tcp  ------  0.0.0.0/0            0.0.0.0/0             1723 ->
> *
> ACCEPT     gre  ------  0.0.0.0/0            0.0.0.0/0             n/a

Using these rules, or the iptables equivalents to be precise, I get
the following:

pptpd[12125]: CTRL: Client 11.22.33.44 control connection started
pptpd[12125]: CTRL: Starting call (launching pppd, opening GRE)
kernel: CSLIP: code copyright 1989 Regents of the University of California
kernel: PPP generic driver version 2.4.1
pppd[12126]: pppd 2.4.1 started by root, uid 0
pppd[12126]: Using interface ppp0
pppd[12126]: Connect: ppp0 <--> /dev/pts/0
kernel: PPP BSD Compression module registered
kernel: PPP Deflate Compression module registered
pppd[12126]: CCP terminated by peer
pppd[12126]: Compression disabled by peer.
pppd[12126]: LCP terminated by peer
pppd[12126]: Modem hangup
pppd[12126]: Connection terminated.
pppd[12126]: Exit.
pptpd[12125]: GRE: read error: Bad file descriptor
pptpd[12125]: CTRL: PTY read or GRE write failed (pty,gre)=(-1,-1)
pptpd[12125]: CTRL: Client 11.22.33.44 control connection finished

Looking better, at least.... :-)

On Wednesday, 01 May 2002, at 21:30:50 (-0500),
Chris Tooley wrote:

> I'm not positive this has anything to do with it but I had a similar
> problem when I wasn't getting the mppe stuff in the kernel
> correctly.  What did you do to compile the kernel modules for your
> kernel?

It's the stock RH 7.2 kernel.  Here are the PPP options from the
config:

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_PPPOE is not set
# CONFIG_SYNCLINK_SYNCPPP is not set
CONFIG_WANPIPE_PPP=y
CONFIG_WANPIPE_MULTPPP=y
CONFIG_ISDN_PPP=y
CONFIG_ISDN_PPP_VJ=y
CONFIG_ISDN_PPP_BSDCOMP=m

On Wednesday, 01 May 2002, at 21:58:57 (-0500),
Joey Coco wrote:

> What type of client is connecting to this poptop server, and what
> does your options file look like??

It's the Microsoft VPN client.  I don't know anything more specific
than that, but I could find out....

> I haved moved to the /dev/pts system yet. Guess Redhat uses that by
> default now eh?

All Linux distros should, for many reasons, not the least of which is
pty ownerships and permissions. :)

On Thursday, 02 May 2002, at 10:09:30 (+0200),
R. de Vroede wrote:

> Did you get those wonderful RedHat RPM's from
> http://planetmirror.com/ppp-mppe/ ?

Nope, I got the pptpd RPM from rpmfind (Mandrake) and rebuilt it.

Thanks for all your help, fellas. :-)

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej at kainx.org>
n+1, Inc., http://www.nplus1.net/         Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "Oh Rosie, tout est blanc; tes yeux m'eclairent.  De t'avoir eue un
  instant, j'etais tellement fier.  Tout ce qu'il me reste a present;
  l'envie de tout foutre en l'air, et de recommencer la nuit...."
                                                     -- Francis Cabrel



More information about the pptp-server mailing list