PPTPD Poptop strange error

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
sevensins
Havaldaar
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
Location: PAKISTAN
Contact:

PPTPD Poptop strange error

Post by sevensins »

AOA,

I installed potop on FC2. FC2 has a public IP and when I connect to it from internet I recv this

May 3 07:00:22 vpn pptpd[3022]: MGR: Manager process started
May 3 07:00:22 vpn pptpd[3022]: MGR: Maximum of 100 connections available
May 3 07:00:22 vpn bcrelay[3023]: Running as child
May 3 07:00:22 vpn bcrelay[3023]: Initial active interfaces: eth0(0/3/5) eth0:1(1/3/6) eth0:2(2/3/7)
May 3 07:00:30 vpn pptpd[3027]: CTRL: Client 202.52.204.23 control connection started
May 3 07:00:30 vpn pptpd[3027]: CTRL: Starting call (launching pppd, opening GRE)
May 3 07:00:30 vpn pppd[3028]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May 3 07:00:30 vpn kernel: CSLIP: code copyright 1989 Regents of the University of California
May 3 07:00:30 vpn kernel: PPP generic driver version 2.4.2
May 3 07:00:30 vpn pppd[3028]: pppd 2.4.3 started by root, uid 0
May 3 07:00:30 vpn pppd[3028]: Using interface ppp0
May 3 07:00:30 vpn pppd[3028]: Connect: ppp0 <--> /dev/pts/0
May 3 07:00:30 vpn pptpd[3027]: GRE: Bad checksum from pppd.
May 3 07:00:31 vpn udev[3037]: creating device node '/udev/ppp'
May 3 07:01:00 vpn pppd[3028]: LCP: timeout sending Config-Requests
May 3 07:01:00 vpn pppd[3028]: Connection terminated.
May 3 07:01:00 vpn pppd[3028]: Using interface ppp0
May 3 07:01:00 vpn pppd[3028]: Connect: ppp0 <--> /dev/pts/0
May 3 07:01:00 vpn pppd[3028]: tcflush failed: Bad file descriptor
May 3 07:01:01 vpn pppd[3028]: tcsetattr: Invalid argument (line 1016)
May 3 07:01:01 vpn pppd[3028]: Exit.
May 3 07:01:01 vpn pptpd[3027]: GRE: read(fd=6,buffer=804e5a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 3 07:01:01 vpn pptpd[3027]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 3 07:01:01 vpn pptpd[3027]: CTRL: Client 202.52.204.23 control connection finished



Any ideas as I am totally confused.... Ive googled and googled but to no avail.. would be gr8ful for any pointers..
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
securitykid
Naik
Posts: 70
Joined: Sat Oct 20, 2007 5:18 am

Post by securitykid »

I need to see the configuration

can you put the snap shot of your Poptop configuration?

Thanks
SecurityKID-ITdotCOM
Security Every Where! BUT where? :)
sevensins
Havaldaar
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
Location: PAKISTAN
Contact:

Post by sevensins »

sorry 4 the late reply..
now im getting this

------------------------------------
May 28 14:25:11 vpn pptpd[3702]: CTRL: Client 203.99.180.214 control connection started
May 28 14:25:12 vpn pptpd[3702]: CTRL: Starting call (launching pppd, opening GRE)
May 28 14:25:12 vpn pppd[3703]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
May 28 14:25:12 vpn pppd[3703]: pptpd-logwtmp: $Version$
May 28 14:25:12 vpn pppd[3703]: pppd options in effect:
May 28 14:25:12 vpn pppd[3703]: debug^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: logfile /var/log/pppd.log^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: dump^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: plugin /usr/lib/pptpd/pptpd-logwtmp.so^I^I# (from command line)
May 28 14:25:12 vpn pppd[3703]: auth^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: name pptpd^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: pptpd-original-ip 203.99.180.214^I^I# (from command line)
May 28 14:25:12 vpn pppd[3703]: 115200^I^I# (from command line)
May 28 14:25:12 vpn pppd[3703]: lock^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: local^I^I# (from command line)
May 28 14:25:12 vpn pppd[3703]: novj^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: novjccomp^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: ipparam 203.99.180.214^I^I# (from command line)
May 28 14:25:12 vpn pppd[3703]: defaultroute^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: proxyarp^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: netmask 255.255.0.0^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: 190.1.1.254:190.1.1.150^I^I# (from command line)
May 28 14:25:12 vpn pppd[3703]: nobsdcomp^I^I# (from /etc/ppp/options.pptpd)
May 28 14:25:12 vpn pppd[3703]: pppd 2.4.3 started by root, uid 0
May 28 14:25:12 vpn pppd[3703]: Using interface ppp0
May 28 14:25:12 vpn pppd[3703]: Connect: ppp0 <--> /dev/pts/8
May 28 14:25:42 vpn pppd[3703]: LCP: timeout sending Config-Requests
May 28 14:25:42 vpn pppd[3703]: Connection terminated.
May 28 14:25:42 vpn pppd[3703]: Using interface ppp0
May 28 14:25:42 vpn pppd[3703]: Connect: ppp0 <--> /dev/pts/8
May 28 14:25:42 vpn pppd[3703]: tcflush failed: Bad file descriptor
May 28 14:25:42 vpn pppd[3703]: tcsetattr: Invalid argument (line 1016)
May 28 14:25:42 vpn pppd[3703]: Exit.
May 28 14:25:42 vpn pptpd[3702]: GRE: read(fd=6,buffer=804e5a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
May 28 14:25:42 vpn pptpd[3702]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
May 28 14:25:42 vpn pptpd[3702]: CTRL: Client 203.99.180.214 control connection finished
------------------------------------------------------------------------------------

/etc/ppp/options.pptpd
name pptpd
+pap
+chap
proxyarp
debug
dump
lock
nobsdcomp
novj
novjccomp
nologfd
auth
netmask 255.255.0.0
defaultroute
logfile /var/log/pppd.log


/etc/pptpd.conf
option /etc/ppp/options.pptpd
logwtmp
localip 190.1.1.254
remoteip 190.1.1.150-250

plz any pointers, advice help....
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear sevensins,
Salam,

Below is my configuration its working fine for me.

/etc/pptpd.conf

Code: Select all

ppp /usr/sbin/pppd
option /etc/ppp/pptpd-options
debug
logwtmp
localip 192.168.0.1
remoteip 192.168.0.100-150
/etc/ppp/pptpd-options

Code: Select all

refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128 #or 40
ms-dns 202.63.197.6
proxyarp
lock
auth
require-mppe
Best Regards.
Farrukh Ahmed
sevensins
Havaldaar
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
Location: PAKISTAN
Contact:

Post by sevensins »

w salaam
thanx, i will try this and report back.. ;)
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
sevensins
Havaldaar
Posts: 117
Joined: Tue Apr 13, 2004 1:45 pm
Location: PAKISTAN
Contact:

Post by sevensins »

thanx a lot... its alive.... :)
Regards,

-----------------------------------------------------------------
A wise monkey never monkies w/ another monkey's monkey!
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear sevensins,
Salam,
sevensins wrote:thanx a lot... its alive.... :)
Pray For Me.

Best Regards.
Farrukh Ahmed
Post Reply