Eh, this is not "on the internet".

sl0 is used PRIOR to the connection being brought up. It catches IP packets
bound for the internet.

Diald "holds" these IP packets, dials up the ISP, then reconfigures your
machine to use the ppp link instead. Finally the held packet(s) are
forwarded up the PPP link.

Nothing is wrong.

The address "appears" because you have effectively announced it to the world
as being the address of YOUR side of the ppp link. The machine you connect
to is the otherside of the ppp link.

Type "ifconfig", before and after a connection, and you'll see that the
P-to-P value corresponds to this...

You could have choosen practically any address, IF you allowed diald to
dynamically grab the address the ISP gives you...

-JMS

-----Original Message-----
From: Chris Johnson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, September 24, 1998 10:18 AM
Subject: Re: [masq] Internal address showing up outside


>On Thu, Sep 24, 1998 at 10:21:57AM -0400, Jose M. Sanchez wrote:
>> Does this "fake slip connection" happen to correspond to the
>> address for "sl0" when you run ifconfig?
>
>Yes, that's the "fake SLIP connection" I'm talking about. Why does this
address
>end up on the Internet?
>
>Chris
>
>-----Original Message-----
>
>> > I set up masquerading and diald on a friend's computer recently. A
little
>> > while ago I did a netstat on a mail server that I administer, and saw a
>> > connection to a foreign address of 192.168.0.253. This connection was
from
>> > my friend's masquerading box, and 192.168.0.253 is what I used for one
of
>> > the addresses that diald employs for the fake SLIP connection that it
>> > maintains when the PPP connection isn't up.
>> >
>> > So the question is: how the hell did a packet with that address get
itself
>> > out of the box? This doesn't always occur with his setup -- in fact it
>> > normally doesn't.
>> >
>> > His setup is pretty generic, with minimal forwarding rules -- just the
>> > default deny policy and the rule to masquerade his 192.168.0.0 network.
>> > diald is set up to use 192.168.0.253 and 254 for its fake SLIP
connection.
>> >
>> > The only explanation I can conceive of is that diald (or pppd) isn't
>> > setting the local IP (which is dynamically supplied by the ISP)
correctly
>> > when the connection comes up, and that this may be a result of some
>> > confusion about the fake SLIP addresses being in the same network as
his
>> > internal class C (this is the first time I set up diald, and this
didn't
>> > occur to me at the time).
>> >
>> > Any ideas?
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>For daily digest info, email [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to