Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BAD problem with PPTP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Lucretia
n00b
n00b


Joined: 15 Oct 2002
Posts: 69

PostPosted: Thu Feb 27, 2003 10:00 pm    Post subject: BAD problem with PPTP Reply with quote

Hi,

I have PPTP configured and it does connect, but I get this message and cannot ping the local servers.

Start a tunnel to which server?: 1
Insecure dependency in system while running with -T switch at /usr/sbin/pptp-command line 795.

According to the FAQ I need to update my packages.

Can anyone help me to connect?

Thanks,
Luke.
Back to top
View user's profile Send private message
wdconinc
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2003
Posts: 80
Location: Ann Arbor, Michigan

PostPosted: Fri Feb 28, 2003 10:51 am    Post subject: Re: BAD problem with PPTP Reply with quote

Hi,

This worked for me:

Lucretia wrote:

Insecure dependency in system while running with -T switch at /usr/sbin/pptp-command line 795.


Try disabling taint-checking in the pptp-command perl-script. This means removing the T option in the first line of the file.
The first line should then be
#!/usr/bin/perl -w
instead of
#!/usr/bin/perl -wT

More info in 'man perlrun' and 'man perlsec'

greets
wouter
Back to top
View user's profile Send private message
Lucretia
n00b
n00b


Joined: 15 Oct 2002
Posts: 69

PostPosted: Fri Feb 28, 2003 7:31 pm    Post subject: Re: BAD problem with PPTP Reply with quote

wdconinc wrote:
Hi,

Try disabling taint-checking in the pptp-command perl-script. This means removing the T option in the first line of the file.
The first line should then be
#!/usr/bin/perl -w
instead of
#!/usr/bin/perl -wT


Ok, did that, now I get this:

Start a tunnel to which server?: 1
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet_route [-FC] flush NOT supported
route failed on add -net 192.168.0.0 ppp0 gw 192.168.7.1 at /usr/sbin/pptp-command line 795.

:x :x :x :x :x :x :x

Why is this such a pain to get configured properly?

Thanks,
Luke.
Back to top
View user's profile Send private message
wdconinc
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2003
Posts: 80
Location: Ann Arbor, Michigan

PostPosted: Wed Mar 05, 2003 1:35 pm    Post subject: Re: BAD problem with PPTP Reply with quote

Sorry for the late answer, I was in Paris for the weekend 8) :D

Lucretia wrote:
Start a tunnel to which server?: 1
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
[netmask N] [mss Mss] [window W] [irtt I]
[mod] [dyn] [reinstate] [[dev] If]
inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
inet_route [-FC] flush NOT supported
route failed on add -net 192.168.0.0 ppp0 gw 192.168.7.1 at /usr/sbin/pptp-command line 795.


Hmm, this is strange, my pptp-command has only 788 lines ?!? Anyway, maybe I have another version. Yep. Updating to 1.3.0-1...

Ok, this one looks bigger...

Hmm, I think I will not be able to help you again. I don't seem to have the inet_route command. I'm sorry...

greetz
wouter
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum