#8 buffering out-of-order packet

serious
closed-rejected
nobody
Core (10)
5
2006-05-05
2003-10-15
Anonymous
No

Hi,

I am going fine with connecting my linux box using the
sample expect script. But the problem comes when I try
connecting to a remote Digital box which is on a VPN
(on ppp). I get the following error in my logs.

Oct 14 21:54:06 n1066628-linux pptp[2010]: anon
log[decaps_gre:pptp_gre.c:397]: buffering out-of-order
packet 9304 (expecting 9303)

Does this error have to do anything with expect not
buffering things right. Please suggest / comment.

I am also attaching the log when I set the code to
debug mode:

Compaq Tru64 UNIX V5.1A (Rev. 1885) (xxxxxxxx) (pts/0)

login:
spawn id(3): Does `Trying x.x.x.x...\r\r\nConnected to
xxxxxx.\r\r\012Escape character is \'^]\'.\r\r\012See me '
match:
pattern #1: -re `(?-xism:login: $)'? YES!!
Before match string: `Trying
x.x.x.x...\r\r\nConnected to xxxxxx.\r\r\012Escape
character is \'^]\'.\r\r\012See Adrian.Morrisson@'
Match string: `login: '
After match string: `'
Matchlist: ()
Calling hook CODE(0x80ba688)...
Sending 'username\n' to spawn id(3)

Expect::print('Expect=GLOB(0x8291004)','tsg_prr\x{a}')
called at ./connect.pl line 30
main::__ANON__('Expect=GLOB(0x8291004)') called
at /usr/lib/perl5/site_perl/5.8.0/Expect.pm line 733

Expect::_multi_expect(15,'ARRAY(0x8309dc0)','ARRAY(0x830aa3c)')
called at /usr/lib/perl5/site_perl/5.8.0/Expect.pm line 536

Expect::expect('Expect=GLOB(0x8291004)',15,'ARRAY(0x80ba700)','ARRAY(0x8309b14)','ARRAY(0x8309bbc)','ARRAY(0x8309bf8)','-re','(?-xism:[4
Continuing expect, restarting timeout...

spawn id(3): Does `'
match:
pattern #1: -re `(?-xism:login: $)'? No.
pattern #2: -re `Password: $'? No.
pattern #3: -eof `'? No.
pattern #5: -re `(?-xism:[$#>:] $)'? No.

tsg_prr

spawn id(3): Does `username\r\n'
match:
pattern #1: -re `(?-xism:login: $)'? No.
pattern #2: -re `Password: $'? No.
pattern #3: -eof `'? No.
pattern #5: -re `(?-xism:[$#>:] $)'? No.

Password:
spawn id(3): Does `username\r\nPassword:'
match:
pattern #1: -re `(?-xism:login: $)'? No.
pattern #2: -re `Password: $'? No.
pattern #3: -eof `'? No.
pattern #5: -re `(?-xism:[$#>:] $)'? No.

No login.

Thanks

Premson.
Email: premson_pr@yahoo.com

Discussion

  • Roland Giersig
    Roland Giersig
    2006-05-05

    • status: open --> closed-rejected
     
  • Roland Giersig
    Roland Giersig
    2006-05-05

    Logged In: YES
    user_id=40438

    "buffering out-of-order" has nothing to do with Expect.