Re: Re[2]: mpd-3.10 and MySQL

2002-12-25 Thread Archie Cobbs
Vadim A. Shklyaev wrote:
> One more question, some time back a man, who had made a RADIUS
> patch asked you, whether can he hook directly in AuthGetData in
> auth.c, and you answered that that would be incorrect. I
> wondering, why? As you can see, I have rewritten every place,
> where AuthGetData is called, but IMHO it would be easier to modify
> just auth.c. What is right?

AuthGetData() is the "right" place to do that, except that if your
operation blocks for a long time (e.g., while accessing some external
resource) then mpd itself will block too (mpd is event-driven, not
threaded), so any other links that might be doing negotiation, LCP
echoes, etc. will be delayed. In practice this is rarely a problem
unless you are doing lots of links simultaneously.

-Archie

__
Archie Cobbs * Packet Design * http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: ng_sppp

2002-12-25 Thread Julian Elischer
thanks I'll look at it when I get a moment..
in  the mean-while I think both ppp and mpd can talk ppp over sync links
as well, which gives us 3 ways to do it.. 2 of which are
in  the kernel (mpd uses the ng_ppp node to do it)
I guess the advantage of this method is that it's familiar to
people who use sppp.


On Wed, 25 Dec 2002, Roman Kurakin wrote:

> Hi,
> 
> I made a new netgraph module that allows to use sppp over netgraph 
> device drivers.
> I'd like to make it available for FreeBSD community.
> 
> It would be very good if some one from FreeBSD team will add it to 
> FreeBSD.
> 
> If you find any problems with it or if you have any suggestions, 
> please contact me.
> 
> It was checked with 5.0 DP2.
> 
> Best regards,
> Roman Kurakin
> 
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



Re: Mpd

2002-12-25 Thread Julian Elischer
you can configure as many bundles as you want.

On Wed, 25 Dec 2002, Christian Boesch wrote:

> How can I make 2 concurrent vpn connections with mpd?
> I first want to connect to my isp (over dsl) with mpd
> That works fine. Then I want to make a 2nd vpn connection
> To my company.
> Therefore I have a 2nd config section in my mpd.conf and mpd.links
> Files. But when I want to start the 2nd mpd session (mpd -b 2nd-session)
> I get an error that mpd is already running.
> I think the problem is that I cant config two bundles and that one
> Bundle cant contain 2 different usernames and passwords.
> Can someone help me?
> 
> Thanks and merry xmas!
> Chris
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



SUMMARY: Win XP with mpd

2002-12-25 Thread Sergey Matveychuk
>After installing mpd-3.10
>and using in mpd.conf:
>set iface mtu 1400
>XP works fine and fast.

>There is no some tuning on the WinXP client I was make.

It doesn't help for me :(
Ping still lost packets. Network "big" operation still very slow.

here is my cut off from my mpd.conf:
new -i ng0 ciam-pptp ciam
set iface disable on-demand
set iface idle 1800
set iface enable proxy-arp
set iface mtu 1400
set iface up-script /usr/local/etc/mpd/mpd-up.sh
set iface down-script /usr/local/etc/mpd/mpd-down.sh
set ipcp ranges 192.168.1.1/32 192.168.1.100/32
set ipcp dns 192.168.1.1
set bundle enable multilink
#   set link mtu 1400
set link disable pap
set link enable chap
#set link enable no-orig-auth
set link keep-alive 10 60
set bundle enable encryption
#set bundle enable crypt-reqd
set bundle enable compression
set ccp yes mppc
set ccp yes mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless

Can you help me?

Sem.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message



ng_sppp

2002-12-25 Thread Roman Kurakin
Hi,

   I made a new netgraph module that allows to use sppp over netgraph 
device drivers.
I'd like to make it available for FreeBSD community.

   It would be very good if some one from FreeBSD team will add it to 
FreeBSD.

   If you find any problems with it or if you have any suggestions, 
please contact me.

   It was checked with 5.0 DP2.

Best regards,
   Roman Kurakin



ng_sppp-1.0.tgz
Description: application/compressed


Mpd

2002-12-25 Thread Christian Boesch
How can I make 2 concurrent vpn connections with mpd?
I first want to connect to my isp (over dsl) with mpd
That works fine. Then I want to make a 2nd vpn connection
To my company.
Therefore I have a 2nd config section in my mpd.conf and mpd.links
Files. But when I want to start the 2nd mpd session (mpd -b 2nd-session)
I get an error that mpd is already running.
I think the problem is that I cant config two bundles and that one
Bundle cant contain 2 different usernames and passwords.
Can someone help me?

Thanks and merry xmas!
Chris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message