Mailinglist Archive: opensuse-security (334 mails)

< Previous Next >
Re: [suse-security] martian source messages
  • From: Thomas Schweiger <El_Don@xxxxxxxxxxxxxxx>
  • Date: Wed, 17 Sep 2003 23:50:19 +0200 (CEST)
  • Message-id: <Pine.LNX.4.56.0309172311360.2414@xxxxxxxxxxxxx>
Hola,

On Wed, 17 Sep 2003, Pep Serrano wrote:

> Hi Thomas,
>
> On Wednesday 17 September 2003 20:29, Thomas Schweiger wrote:
>
> > > I have an ADSL/Ethernet modem on ppp0:
> > > ppp0 Link encap:Point-to-Point Protocol
> > > inet addr:81.56.221.174 P-t-P:192.168.254.254
> > > Mask:255.255.255.255
> > ^^^^^^^^^^^^^^^
> > This looks strange. The P-t-P should be an IP of your ISP (your next
> > hop to the internet).
> > If you're using rp-pppoe there is a switch "DEFAULTROUTE=" in your
> > /etc/ppp/pppoe.conf. It have to be like this
>
> Yes, that's what I though. Isn't this IP reserved?

Yepp. It's a non routed private IP address.

> Indeed the PtP is my default route, and the gateway IP is the one that my ISP
> sends at the beginning of the connection.

I can't reproduce why your ISP should give you a private IP address as
your standard gateway. 192.168.x.x are not routed addresses.

> Here is my routing table:
> montblanc:/home/pep # netstat -nr
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt Iface
> 192.168.254.254 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
^^^^^^^^^^^^^^^
Here should be the P-t-P address of your ppp0 device.

> 10.0.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0
> 192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth1
> 0.0.0.0 192.168.254.254 0.0.0.0 UG 40 0 0 ppp0
^^^^^^^^^^^^^^^
and here again.

Something's definitly wrong with your routing table. Have a look to your
/etc/ppp/options. It should look like this

<!-- snip # grep -v ^# /etc/ppp/options | grep -v ^$ -->
noipdefault
noauth
crtscts
lock
modem
asyncmap 0
nodetach
lcp-echo-interval 30
lcp-echo-failure 4
lcp-max-configure 60
lcp-restart 2
idle 600
noipx
file /etc/ppp/filters
<!-- snap -->

> > <!-- snip # /etc/ppp/pppoe.conf -->
> > # Make the PPPoE connection your default route. Set to
> > # DEFAULTROUTE=no if you don't want this.
> > DEFAULTROUTE=yes
> > <!-- snap -->
> >
> > If your're using smpppd change it against the rp-ppppoe. (I hate smpppd)
> > ;-)
>
> I've been using the smppd since 8.0 and never had a problem before. What's so
> wrong with it?

>From time to time it happens that after a forced ISP-disconnect the
routing table for the ppp0 device isn't flushed (at least on about 40
proxies I have installed). And after the next dial in the default route
still has the previous value. So you haven't any route to the internet.

Slantje,
Thomas Schweiger

< Previous Next >
Follow Ups