Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 19:05:19 +0300
From:      "Molokanov kaN5300 Ilya" <kan5300@gmail.com>
To:        nivo+kw+ports.bfa274@is-root.com
Cc:        ports@freebsd.org
Subject:   FreeBSD Port: poptop-1.3.0
Message-ID:  <op.tkriy5hqrnu7ei@localhost>

next in thread | raw e-mail | index | archive | help
Hello. I am small ISP admin from Russia. Sorry at first for my English.

So I am using poptop-1.3.0 without such string as debug in  
/usr/local/etc/pptpd.conf. Hereis my listings:

/etc/ppp/ppp.conf:

loop:
  set timeout 0
  set device /dev/ppp
  set login
  set ifaddr 10.10.254.254 10.10.1.1-10.10.253.253 255.255.0.0
  set server /tmp/loop "" 0177

loop-in:
  set timeout 0
  allow mode direct

pptp:
  load loop
  disable pap
  disable ipv6cp
  enable MSChapV2
  enable chap
  disable deflate pred1
  deny deflate pred1
  accept dns
  set dns 192.168.254.241 217.150.34.129
  set device !/etc/ppp/secure
  set radius /etc/radius.conf

/usr/local/etc/pptpd.conf:

listen 192.168.254.254
option /etc/ppp/ppp.conf
nobsdcomp
proxyarp
localip 10.10.254.254
remoteip 10.10.254.1-253
pidfile /var/run/pptpd.pid
+chapms-v2

With such config i have some flood in my /var/log/debug like this:

Dec 18 18:58:00 utm pptpd[29009]: GRE: accepting packet #45534
Dec 18 18:58:00 utm pptpd[29009]: GRE: accepting packet #45535
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8748
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8749
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8750
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8751
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8752
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8753
Dec 18 18:58:00 utm pptpd[34428]: GRE: accepting packet #3945
Dec 18 18:58:00 utm pptpd[34426]: GRE: accepting packet #8754
Dec 18 18:58:00 utm pptpd[34428]: GRE: accepting packet #3946

Ti avoid this i have to edit pptpgre.c:402

syslog(LOG_DEBUG, "GRE: accepting packet #%d", seq);

/*                      syslog(LOG_DEBUG, "GRE: accepting packet #%d",  
seq); */

I am new in FreeBSD. So, maybe i do thomething wrong or, maybe i can make  
some patch to ur port?

-- 
Molokanov kaN5300 Ilya



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tkriy5hqrnu7ei>