Re: diald -vs- the portmonster

John G. Thompson (jgt10@livingston.com)
Mon, 30 Sep 1996 11:08:27 -0700 (PDT)

On Mon, 30 Sep 1996 thoth@purplefrog.com wrote:

[snip]
> The funkiest part is the diald-spawned PPPD would negotiate the connection
> with the remote end but never pass any IP packets (that I could tell). I
> could see the LCP, PAP, and IPCP packets logged in /var/log/debug and on the
> "console" of the portmaster. But any attempts to telnet either way would be
> futile.
>
> The routes look good. All the interfaces look proper. I'm mighty puzzled.
>
> My next step will be to turn on packet tracing on the PM (which I've never
> done before).

Command> set console
Command> set debug 0x51

Check the output for the LCP negotiation. Helpful diagrams in Chp 19 of
the config guide.

To stop the debugging output

Command> set debug

To Watch the actual packets via the packet trace facility you can setup a
packet filter and use the ptrace command as follows by replacing x.x.x.x
with the real ip address of your remote.

Command> add filter p
Command> set fil p 1 permit x.x.x.x/32 0.0.0.0/0
Command> set fil p 2 permit 0.0.0.0/0 x.x.x.x/32
Command> sho fil p

When your connection is ready for testing start the packet trace.

Command> set console
Command> pt p

The above filter will show all ip packets to and from the address x.x.x.x.
When you want to stop the output type...

Command> pt

JGT

--
John G. Thompson      Livingston Enterprises Inc.    Phone: (800) 458-9966
JOAT(MON)             6920-220 Koll Centre Pkwy.       Fax: (510) 426-8951
support@livingston.com Pleasanton, CA 94566      http://www.livingston.com