Re: problem with pptp, using mpd

2009-10-22 Thread Alexander Motin
Mathieu L. wrote: > I am having trouble using mpd, I want to connect to a vpn with pptp > (vpn service provided by relakks.com). > > Here is my configuration: > > mpd.conf: > # > > default: > load relakks > > relakks: > create bundle static B1 > set

Re: rip_input

2009-10-22 Thread Julian Elischer
Arun Anirudhan wrote: When I make void rip_input_hook(struct mbuf *m, int off) to void rip_input_hook(struct mbuf *m) its showing error! the correct current definition is in sys/protosw.h 66 /* USE THESE FOR YOUR PROTOTYPES ! */ 67 typedef voidpr_input_t (struct mbuf *, int); <---

Re: rip_input

2009-10-22 Thread Julian Elischer
Arun Anirudhan wrote: Hello I have just started programming in Kernel Level in FreeBSD. I'm trying to hook rip_input and extract the fields in IP header. I just tried to print the ip_len. This is the code, but its not getting printed. what IS getting printed? Please help me... ---

Re: rip_input

2009-10-22 Thread Arun Anirudhan
When I make void rip_input_hook(struct mbuf *m, int off) to void rip_input_hook(struct mbuf *m) its showing error!! --- rip_input_hook.c:20: error: conflicting types for 'rip_input_hook' rip_input_hook.c:17: error: previous declaration of 'rip_input_hook' was here rip_input_hook.c: In f

rip_input

2009-10-22 Thread Arun Anirudhan
Hello I have just started programming in Kernel Level in FreeBSD. I'm trying to hook rip_input and extract the fields in IP header. I just tried to print the ip_len. This is the code, but its not getting printed. Please help me... - #include #include #include #in

Re: problem with pptp, using mpd

2009-10-22 Thread Artyom Viklenko
Mathieu L. wrote: Hello, I am having trouble using mpd, I want to connect to a vpn with pptp (vpn service provided by relakks.com). Here is my configuration: mpd.conf: # default: load relakks relakks: create bundle static B1 set iface route de

Network scripts gone wrong

2009-10-22 Thread Rui Paulo
I don't have time to debug this today, but it seems that latest 9.0 has problems with wireless devices: wlan0: Ethernet address: 00:0b:6b:2d:dc:d8 Starting Network: lo0 ath0 ath1 ath2 npe0 npe1. lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff00 ath0:

Re: kern/139204: DHCP server replies rejected, ARP entry lost before max_age

2009-10-22 Thread Nikolai Saoukh
The following reply was made to PR kern/139204; it has been noted by GNATS. From: Nikolai Saoukh To: bug-follo...@freebsd.org Cc: Subject: Re: kern/139204: DHCP server replies rejected, ARP entry lost before max_age Date: Thu, 22 Oct 2009 16:57:52 +0400 Looks like recent changes in C

FreeBSD 7.1 mbuf_cluster memory leak

2009-10-22 Thread Brendan Kennedy
Hi all, I'm having a problem with a crypto driver and netipsec/racoon. At high data rates (1Gig of traffic, 64bit packets) we seem to be leaking 'mbuf_cluster's. These are allocated/freed by either netipsec I think. At low data rates, 'mbuf_cluster's are not used, so we don't have this problem. I

problem with pptp, using mpd

2009-10-22 Thread Mathieu L.
Hello, I am having trouble using mpd, I want to connect to a vpn with pptp (vpn service provided by relakks.com). Here is my configuration: mpd.conf: # default: load relakks relakks: create bundle static B1 set iface route default set ip