Piratpartiets mötesplattform


Svara
 
Ämnesverktyg Sök i det här ämnet Visningsalternativ
  (#1) Gammal
Mantas Inte uppkopplad
 
Inlägg: 2
Reg.datum: Nov 2006
Standard relakks on debian - not working - 2006-11-30, 13:58

Hello!

I"m having problems setting up relakks on a debian machine. I"ve setup everything pretty much the way tephlon has described (really good job, btw!), i am able to connect, but i cant get any traffic to go through the tunnel. Even a ping request. Of course since there is no traffic, the connection dies after few minutes.



syslog:

Citat:

Nov 30 14:30:27 srv01 pppd[23597]: pppd 2.4.3 started by root, uid 0

Nov 30 14:30:27 srv01 pppd[23597]: Using interface ppp0

Nov 30 14:30:27 srv01 pppd[23597]: Connect: ppp0 /dev/pts/0

Nov 30 14:30:27 srv01 pptp[23598]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated

Nov 30 14:30:27 srv01 pptp[23607]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 "Start-Control-Connection-Request"

Nov 30 14:30:27 srv01 pptp[23607]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply

Nov 30 14:30:27 srv01 pptp[23607]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established.

Nov 30 14:30:28 srv01 pptp[23607]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 "Outgoing-Call-Request"

Nov 30 14:30:28 srv01 pptp[23607]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply.

Nov 30 14:30:28 srv01 pptp[23607]: anon log[ctrlp_disp:pptp_ctrl.c:880]: Outgoing call established (call ID 0, peer"s call ID 38400).

Nov 30 14:30:28 srv01 pppd[23597]: MPPE 128-bit stateless compression enabled

Nov 30 14:30:28 srv01 pppd[23597]: Cannot determine ethernet address for proxy ARP

Nov 30 14:30:28 srv01 pppd[23597]: local IP address 83.233.169.133

Nov 30 14:30:28 srv01 pppd[23597]: remote IP address 83.233.168.5

Nov 30 14:30:28 srv01 pppd[23597]: primary DNS address 82.209.169.71

Nov 30 14:30:28 srv01 pppd[23597]: secondary DNS address 82.209.169.71

Nov 30 14:31:28 srv01 pptp[23607]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 5 "Echo-Request"

Nov 30 14:32:13 srv01 kernel: device ppp0 entered promiscuous mode

Nov 30 14:32:28 srv01 pptp[23607]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 12 "Call-Clear-Request"

Nov 30 14:32:28 srv01 pptp[23607]: anon log[pptp_conn_close:pptp_ctrl.c:425]: Closing PPTP connection

Nov 30 14:32:28 srv01 pptp[23607]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 3 "Stop-Control-Connection-Request"

Nov 30 14:32:28 srv01 pptp[23607]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection

Nov 30 14:32:58 srv01 pppd[23597]: No response to 4 echo-requests

Nov 30 14:32:58 srv01 pppd[23597]: Serial link appears to be disconnected.

Nov 30 14:32:58 srv01 pppd[23597]: Connect time 2.5 minutes.

Nov 30 14:32:58 srv01 pppd[23597]: Sent 639097188 bytes, received 0 bytes.

Nov 30 14:32:58 srv01 pppd[23597]: MPPE disabled

Nov 30 14:33:01 srv01 pppd[23597]: Connection terminated.

Nov 30 14:33:01 srv01 pppd[23597]: tcflush failed: Input/output error

Nov 30 14:33:01 srv01 kernel: device ppp0 left promiscuous mode

Nov 30 14:33:01 srv01 pppd[23597]: Modem hangup

Nov 30 14:33:01 srv01 pppd[23597]: Exit.


tcpdump -i ppp0:

Citat:

14:32:13.921573 IP 192.168.10.4 > 83.233.168.5: gre

14:32:13.921630 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390052 gre-ppp-p ayload

14:32:13.921683 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390053 gre-ppp-p ayload

14:32:13.921742 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390054 gre-ppp-p ayload

14:32:13.921809 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390055 gre-ppp-p ayload

14:32:13.922003 IP 192.168.10.4 > 83.233.168.5: gre

14:32:13.922193 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390057 gre-ppp-p ayload

14:32:13.922234 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390058 gre-ppp-p ayload

14:32:13.922274 IP 192.168.10.4 > 83.233.168.5: call 38400 seq 1390059 gre-ppp-p ayload

14:32:13.922412 IP 192.168.10.4 > 83.233.168.5: gre

14:32:13.922809 IP 192.168.10.4 > 83.233.168.5: gre

14:32:54.543509 IP 83.233.169.133 > 83.233.168.5: icmp 64: echo request seq 38

tcpdump: pcap_loop: recvfrom: Network is down




I definitely know its not a firewall issue, but that is pretty much it. I"d really appreciate some ideas what might be the problem.

Thanks!
   
Svara med citat
  (#2) Gammal
tephlon Inte uppkopplad
 
Inlägg: 18
Reg.datum: Jun 2006

Länk: #63076
Standard RE: relakks on debian - not working - 2006-12-01, 02:08

Hm, it seems you have routing problems. You should not see GRE traffic over ppp0, or talk to the Relakks server(s) over that interface. What does your routing table look like when you've set up the connection? A pure guess on my part is that you've set the default "gateway" to be ppp0, but forgotten to add a special route for the traffic to the Relakks server. If so, just issue route add -host 83.233.168.5 default gw 192.168.10.1 dev eth0 - if your usual default gateway is 192.168.10.1, your NIC is eth0, and that you're actually connecting to 83.233.168.5. This IP address is one of the six IP:s that pptp.relakks.com resolves to, and you'll probably use a different one each time you connect...



HTH
   
Svara med citat
  (#3) Gammal
Mantas Inte uppkopplad
 
Inlägg: 2
Reg.datum: Nov 2006

Länk: #63096
Standard RE: relakks on debian - not working - 2006-12-01, 15:02

Yes, I did forgot to add a route to pptp.relakks.com. I wasn't using the "routes" script you wrote in your previous post since i didn't wanted all the traffic to go through the tunnel, but today i tried it just for testing purposes, and it worked. It was pretty foolish of me to slip on this when everything was very well documented.

Thanks for your help and patience
   
Svara med citat
  (#4) Gammal
tephlon Inte uppkopplad
 
Inlägg: 18
Reg.datum: Jun 2006

Länk: #63131
Standard RE: relakks on debian - not working - 2006-12-01, 21:21

NP
   
Svara med citat
  (#5) Gammal
d0gi Inte uppkopplad
 
Inlägg: 1
Reg.datum: Mar 2007

Länk: #70614
Standard RE: relakks on debian - not working - 2007-03-25, 14:06

Sorry for hijacking the thread, but I"m also having problems with Relakks on Debian. I did get it working yesterday, it was up for three hours and then I rebooted After that, I haven"t been able to make it work. I have followed tephlon"s instructions carefully, but I just can"t get the tunnel to work. It stays on, but nothing goes through (or comes through, not really sure). I"m not running a firewall and the tunnel does work in Windows.



Here"s my routing table after launching the tunnel:





daemon.log:

Citat:
pptp[5579]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated

pptp[5584]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 "Start-Control-Connection-Request"

pptp[5584]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply

pptp[5584]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.

pptp[5584]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 "Outgoing-Call-Request"

pptp[5584]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.

pptp[5584]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer"s call ID 39040).

pptp[5584]: anon log[logecho:pptp_ctrl.c:676]: Echo Reply received.

(few more of these)

pptp[5584]: anon log[logecho:pptp_ctrl.c:678]: no more Echo Reply/Request packets will be reported.

pptp[5579]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 190 (expecting 189, lost or reordered)

pptp[5579]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 295 (expecting 294, lost or reordered)

pptp[5579]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 325 (expecting 324, lost or reordered)

pptp[5579]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 464 (expecting 463, lost or reordered)

pptp[5579]: anon log[decaps_gre:pptp_gre.c:407]: buffering packet 605 (expecting 604, lost or reordered)
and so on



tcpdump -i ppp0 while pinging ping.funet.fi:

Citat:
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes

13:07:10.076029 IP 83.233.170.130.1133 > 82.209.169.71.domain: 32435+ PTR? 2.4.168.192.in-addr.arpa. (42)

13:07:10.078271 IP 83.233.170.130.1134 > 82.209.169.71.domain: 30139+ PTR? 71.169.209.82.in-addr.arpa. (44)

13:07:15.073742 IP 83.233.170.130.1135 > 82.209.169.72.domain: 32435+ PTR? 2.4.168.192.in-addr.arpa. (42)

13:07:15.077664 IP 83.233.170.130.1136 > 82.209.169.72.domain: 30139+ PTR? 71.169.209.82.in-addr.arpa. (44)

13:07:20.073951 IP 83.233.170.130.1133 > 82.209.169.71.domain: 32435+ PTR? 2.4.168.192.in-addr.arpa. (42)

13:07:20.077934 IP 83.233.170.130.1134 > 82.209.169.71.domain: 30139+ PTR? 71.169.209.82.in-addr.arpa. (44)

13:07:25.074253 IP 83.233.170.130.1135 > 82.209.169.72.domain: 32435+ PTR? 2.4.168.192.in-addr.arpa. (42)

13:07:25.078246 IP 83.233.170.130.1136 > 82.209.169.72.domain: 30139+ PTR? 71.169.209.82.in-addr.arpa. (44)

13:07:30.079052 IP 83.233.170.130.1136 > 82.209.169.71.domain: 30773+ PTR? 130.170.233.83.in-addr.arpa. (45)

13:07:35.078981 IP 83.233.170.130.1137 > 82.209.169.72.domain: 30773+ PTR? 130.170.233.83.in-addr.arpa. (45)

13:07:38.172717 IP 83.233.170.130.1138 > 82.209.169.71.domain: 50916+ A? ping.funet.fi. (31)

13:07:40.079210 IP 83.233.170.130.1136 > 82.209.169.71.domain: 30773+ PTR? 130.170.233.83.in-addr.arpa. (45)

13:07:43.171468 IP 83.233.170.130.1139 > 82.209.169.72.domain: 50916+ A? ping.funet.fi. (31)

13:07:45.079503 IP 83.233.170.130.1137 > 82.209.169.72.domain: 30773+ PTR? 130.170.233.83.in-addr.arpa. (45)

13:07:48.171708 IP 83.233.170.130.1138 > 82.209.169.71.domain: 50916+ A? ping.funet.fi. (31)

13:07:50.080517 IP 83.233.170.130.1140 > 82.209.169.71.domain: 50805+ PTR? 72.169.209.82.in-addr.arpa. (44)

13:07:53.172018 IP 83.233.170.130.1139 > 82.209.169.72.domain: 50916+ A? ping.funet.fi. (31)

13:07:55.080185 IP 83.233.170.130.1141 > 82.209.169.72.domain: 50805+ PTR? 72.169.209.82.in-addr.arpa. (44)

13:07:58.172525 IP 83.233.170.130.1142 > 82.209.169.71.domain: 19957+ A? ping.funet.fi. (31)

13:08:00.080447 IP 83.233.170.130.1140 > 82.209.169.71.domain: 50805+ PTR? 72.169.209.82.in-addr.arpa. (44)

13:08:03.172700 IP 83.233.170.130.1143 > 82.209.169.72.domain: 19957+ A? ping.funet.fi. (31)

13:08:05.080755 IP 83.233.170.130.1141 > 82.209.169.72.domain: 50805+ PTR? 72.169.209.82.in-addr.arpa. (44)

13:08:08.172959 IP 83.233.170.130.1142 > 82.209.169.71.domain: 19957+ A? ping.funet.fi. (31)

13:08:13.173261 IP 83.233.170.130.1143 > 82.209.169.72.domain: 19957+ A? ping.funet.fi. (31)


and pinging an ip address:

Citat:
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes

13:10:29.736129 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 1, length 64

13:10:29.738919 IP 83.233.170.130.1143 > 82.209.169.71.domain: 25250+ PTR? 132.248.214.128.in-addr.arpa. (46)

13:10:30.737855 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 2, length 64

13:10:31.737932 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 3, length 64

13:10:32.737978 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 4, length 64

13:10:33.738051 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 5, length 64

13:10:34.738102 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 6, length 64

.

.

.

13:12:18.744603 IP 83.233.170.130 > 128.214.248.132: ICMP echo request, id 12310, seq 110, length 64


and ping says:

Citat:
PING 128.214.248.132 (128.214.248.132) 56(84) bytes of data.

--- 128.214.248.132 ping statistics ---

110 packets transmitted, 0 received, 100% packet loss, time 109008ms


Is there something I"m missing or is there a problem with Relakks? I"m not sure how I got it working yesterday, I really should"ve saved the routing table somewhere...
   
Svara med citat
Svara

Ämnesverktyg Sök i det här ämnet
Sök i det här ämnet:

Avancerad sökning
Visningsalternativ

Regler för att posta
Du får inte posta nya ämnen
Du får inte posta svar
Du får inte posta bifogade filer
Du får inte redigera dina inlägg

BB-kod är
Smilies är
[IMG]-kod är
HTML-kod är av


Liknande ämnen
Ämne Startat av Forum Svar Senaste inlägg
Debian pptp problems. greybox Relakks 1 2007-01-12 00:47
Relakks L2TP Linux Debian ph00 Relakks 1 2006-12-20 00:38
Unable to get L2TP working in WindowsXP SP2 Buzzzzzz Relakks 8 2006-09-08 15:53
So, is Relakks working for the US or not? Emmaisme In English 1 2006-08-21 16:56
PayPal is not working for party Donations !! thejon Forumgruppen/teknisk support 1 2006-06-01 07:04



Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Svensk översättning av: Anders Pettersson
vBulletin Skin developed by: vBStyles.com