Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 22:06:08 +0100 (CET)
From:      Riccardo.Veraldi@fi.infn.it
To:        <freebsd-alpha@freebsd.org>
Subject:   PPP bug?? I think it's something urgent.
Message-ID:  <Pine.NEB.4.33.0112102205500.29443-100000@dijkstra.fi.infn.it>

next in thread | raw e-mail | index | archive | help

Hello,
I have ppp crashing (Core dumps) when it is in tun mode and only in tun
mode it crashes.
It will crash when a connection from the inside LAN goes thru the gateway
to the external Internet. THe gateway is connected to internet with an
ADSL PPP connection (PPPoE). It's not possible for me to backtrace looking
the core dump with gdb, it does not work.

I have 2 NICs, dc0 and fxp0.
dc0 is the external one used by tun0, fxp0 is the one in my lan side.
If I open a web browser or a ssh connection from my inside LAN To outside
ppp will crash from time to time. It can crash several times in 1 hour...
so much that it is giving me a lots of troubles. I have 4.4-STABLE dated 7
December.

here is my rc.conf:
#PPPoE for ADSL
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
gateway_enable="YES"
ipfilter_enable="YES"
ipfilter_flags="-E"
ipfilter_program="/sbin/ipf"
ipfilter_rules="/etc/ipf.rules"
ipnat_enable="YES"
ipnat_flags="-CF"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"


here is my ipf.rules
block return-rst in quick proto tcp from any to any port = 6000
pass in all
pass out all

here is my ipnat.rules
map tun0 172.16.16.0/24 -> x.y.z.w/32 # x.y.z.w being my IP assigned me by the ISP


here is ppp.conf
default:
 set device PPPoE:dc0
 set speed sync
 set mru 1492
 set mtu 1492
 set authname xxx
 set authkey xxx
 set log local Phase tun command debug
 set dial
 set login
 delete all
 add default HISADDR
 enable dns
 nat enable yes
#iface-alias enable no

papchap:
 set authname xxx
 set authkey xxx

I hope someone could give me some hints.

thanks

Rick




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.33.0112102205500.29443-100000>