<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Need some configuration help...
From: ratz <ratz,AT,tac,DOT,ch>
Date: Mon, 4 Dec 2000 17:25:16 +0100
In-reply-to: <3A27D8A5.6E1D9F0F@tac.ch>

ratz wrote:
> 
> Hi,
> 
> Despite the fact of the SMP problem, I have now the problem, that a I can't 
>get
> what I did wrong in this configuration. Attached are the kernlog outputs 
>after
> inclusion and pinging the peer, the network config and the cipe config.
> 
> Please, if someone knows what's wrong there, I'd like to know.
> 
> Best regards,
> Roberto Nibali, ratz

Ok, I made some further investigations and some stuff is really behaving 
in a weird way. Let's have a look at the tcpdump while pinging:

14:43:46.220152 10.1.2.2.10000 > 1.0.0.0.10000:  udp 104
14:43:46.379483 10.1.2.1.10000 > 1.0.0.0.10000:  udp 104
14:43:47.220119 10.1.2.2.10000 > 1.0.0.0.10000:  udp 104
14:43:47.379471 10.1.2.1.10000 > 1.0.0.0.10000:  udp 104
14:43:48.220106 10.1.2.2.10000 > 1.0.0.0.10000:  udp 104
14:43:48.379467 10.1.2.1.10000 > 1.0.0.0.10000:  udp 104
14:43:49.220108 10.1.2.2.10000 > 1.0.0.0.10000:  udp 104
14:43:49.379471 10.1.2.1.10000 > 1.0.0.0.10000:  udp 104

Why the heck does he try to connect to 1.0.0.0 although ifconfig
and the routing table are correct?

Second weird observation (strace -v -t -f -F -T -i):

dynip seems to get set in a wrong way, if specified in the configfile.
Whatever you set for dynip (0|1) it will always be evaluated into dynip=yes!
However, if you don't specify dynip at all, it will be set to dynip=no.

508   [2ab424b6] execve("/etc/vpn/vpn-up", ["/etc/vpn/vpn-up", "vpncb0",
"10.1.2.1:10000", "507", "192.168.254.1", "192.168.254.2"], ["PWD=/root",
"PAGER=less", "HOSTNAME=zuc", "LS_OPTIONS=-N --color=tty -T 0", "ignoreeof=0",
"LESSKEY=/etc/lesskey.bin", "LESSOPEN=|lesspipe.sh %s",
"MANPATH=/usr/share/man", "PS1=\\h:\\w\\$ ", "PS2=> ", "LESS=-M -S -I",
"USER=root", "HISTCONTROL=ignoredups", "LS_COLORS=no=00:fi=00:di=01;34:l"...,
"MACHTYPE=i386-suse-linux", "MAIL=/var/mail/root", "LOGNAME=root", "SHLVL=1",
"MINICOM=-c on", "SHELL=/bin/bash", "PRINTER=lp", "HOSTTYPE=i386",
"OSTYPE=linux", "HOME=/root", "TERM=xterm",
"PATH=/sbin:/usr/sbin:/usr/bin:/b"..., "LESSCHARSET=latin1",
"SSH_TTY=/dev/ttyp0", "_=/usr/bin/strace", "debug=no", "ipaddr=192.168.254.1",
"ptpaddr=192.168.254.2", "mtu=1000", "metric=0", "cttl=0", 
"me=10.1.2.1:10000",
"peer=10.1.2.2:10000", "nokey=no", "socks=", "tokxc=0", "tokey=0",
"ipup=/etc/vpn/vpn-up", "ipdown=/etc/vpn/vpn-down", "arg=(none)", "maxerr=-1",
"tokxts=0", "ping=0", "toping=15", "dynip=yes"]) = 0

Ok, now I start pinging and surprise surprise:

507   [2ab399ed] time(NULL)             = 975938426
507   [2ab62062] recv(1, "\1", 64, 0)   = 1
507   [2ab55fc4] read(0, 
"D\305\16\270\24\331\255-\20\313\237\225\336\341\32\2",
16) = 16
507   [2ab62122] send(1,
"\2D\305\16\270\24\331\255-\20\313\237\225\336\341\32\2"..., 66, 0) = -1 
EINVAL
(Invalid argument)

Why???

Hope someone can help here with more experience.
Best regards,
Roberto Nibali, ratz

-- 
mailto: `echo NrOatSz,AT,tPacA,DOT,cMh | sed 's/[NOSPAM]//g'`





<< | Thread Index | >> ]    [ << | Date Index | >> ]