On Tue, Mar 24, 2015 at 05:41:11AM +0100, Holger Glaess wrote:
> hi
> 
> i play a little bit with rdomain
> 
> if add my pppoe device to rdomain 1
> 
> # cat /etc/hostname.pppoe0
> rdomain 1
> rtlabel netcologne
> inet6 autoconf
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev msk0 authproto pap \
> authname 'foo@bar' authkey 'xyz' up
> dest 0.0.0.1
> !/sbin/route -T 1 add default -ifp pppoe0 0.0.0.1
> !/sbin/route -T 1 add -inet6 default -ifp pppoe0 ::0.0.0.1
> 
> 
> 
> the pf lines
> 
> pass in on $lan_if from any to $myserver rtable 1
> pass in on rdomain 1  proto tcp from <allow_ssh> to ($nc_pppoe:0) port 22
> rdr-to 192.168.131.250 port 22 rtable 0
> match out on $nc_pppoe nat-to ($nc_pppoe:0)
> 
> 
> 
> so , all works fine but if i connect to the system by ssh and do , for
> example , an tcpdump -n- r /var/log/pflog
> the whole machine crash to an kernel panik.

Please include the ddb output of show panic and tr so that we have an idea
where to start looking.

> this is reproducable and , looks like , just when you have an inbound
> connection ( rdr ) .
> 
> 
> the kernel-pppoe works well inside the rdomain he discover  properly the ip4
> and the ip6 address.
> 

-- 
:wq Claudio

Reply via email to