Re: DVB card

2004-09-18 Thread Vincent Jardin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would be interested in getting some feedbacks about people who are using these boards and these drivers too. If you need a DVB stack that supports IPv4/IPv6/Ethernet/MPLS over assymetric links, you can be in touched directly with me or 6WIND.

Re: [Xorp-users] MD5 Support

2004-08-13 Thread Vincent Jardin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Future Directions for XORP > -- > > As PF_KEY is somewhat standardized (RFC 2367 Informational) and well > documented (UNIX Network Programming Vol1 2e Fenner et al) this is a > portable way of achieving this across the BSDs.

Re: ia_netbroadcast

2004-05-18 Thread Vincent Jardin
> +> This said, how do you plan to handle the alias search, by > +> implementing a per-interface hash table containing the > +> addresses and broadcast addresses ? > > First I want to find all places that need fast processing and it probably > needs hash tables for IPs and broadcasts, but I'm not s

Re: Review request (ng_sppp)

2004-03-01 Thread Vincent Jardin
Hi, I am wondering why do we need a new PPP node. There are already so many implementations. If we need a Netgraph PPP support, mpd + ng_ppp seems to be enough, doesn't it ? Regards, Vincent On Monday 01 March 2004 18:11, Roman Kurakin wrote: > Hi, > > I just release new version (1.3) of

Re: Binding sockets to devices in FreeBSD

2004-02-19 Thread Vincent Jardin
Hi, You need to use sendto or sendmsg. For example, with IPv6, Quagga is sending IPv6 multicast packet on a per interface basis. The interface's ifindex is provided into the pktinfo structure. int ripng_send_packet (caddr_t buf, int bufsize, struct sockaddr_in6 *to, struct i

6WIND's DVB-ASI driver

2004-01-15 Thread Vincent Jardin
6WIND and ComputerModules provide a DVB-ASI driver for FreeBSD that supports the following boards: - http://www.computermodules.com/broadcast/broadcast-dvb.shtml - DVB Master III Rxâ - DVB Master III Txâ - DVB Master FDâ (I could not test this board) It is provided under the BSD L

Re: ng_nat vs natd vs ipnat?

2003-11-14 Thread Vincent Jardin
Sorry I did not. So maybe I should not answer. By the way, I think that a ng_nat would have quite the same perfomance than ipnat. Moreover I think that many ng_nat_xxx would be required in order to support the ALGs: - ng_nat_ftp - ng_nat_sip - ng_nat_h323 - ... ng_nat would be only the

ng_ip_input use case

2003-10-02 Thread Vincent Jardin
Hi, I read the man of ng_ip_input and the source code. However I do not understand what the use cases could be. Who is using it and what's for ? Thanks, Vincent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net

Re: adding if_dev member to struct ifnet

2003-09-29 Thread Vincent Jardin
Le Mardi 30 Septembre 2003 03:03, Brooks Davis a écrit : > [Previously posted to -net in another form.] > > I propose to add an if_dev member to struct ifnet. It would be of type > device_t and be defined to point to the device for the interface or NULL > if there is no device (or if there was not

KMAP ENTRY limit

2003-09-10 Thread Vincent Jardin
Hi, I get a FreeBSD 4.8 that reaches the limit of KMAP ENTRY whereas it remains enough free memory. How is computed this limit and how can it be increased ? $ vmstat -z ITEMSIZE LIMITUSEDFREE REQUESTS ... KMAP ENTRY: 48, 7933,130,168, 1037 (panic

Re: adding a teredo node into netgraph

2003-09-05 Thread Vincent Jardin
Hi, > contact me.. > > what is teredo? I have been working with Konstantin about it. It is an IPv6 over UDP/IPv4 migration service. It is supported by Windows XP + SP1 + Microsoft update. It can be used in order to cross some NATs. see http://www.ietf.org/internet-drafts/draft-huitema-v6ops-t

RTF_CLONING vs RTF_PRCLONING

2003-07-28 Thread Vincent Jardin
I do not understand the purpose of the flag PRCLONING. What is it for ? man rtalloc: RTF_PRCLONING routes are assumed to be managed by the protocol family and no resolution requests are made, but all routes generated by the cloning process retain a reference to the route from which they were g

Re: Netgraph, meta and socket PF_NG

2003-07-24 Thread Vincent Jardin
Le Jeudi 24 Juillet 2003 20:26, Julian Elischer a écrit : > you are correct > > My plan was to use the metadata part of recvmesg() > to transfer metadata but never implemented it and it has not been > needed. > I suggest that you write a very simple node (start with ng_sample.c) > that converts met

Netgraph, meta and socket PF_NG

2003-07-24 Thread Vincent Jardin
With the regular data, I would like to send an opaque data from a netgraph node to a userland program that has a NG_DATA/PF_NETGRAPH socket. This opaque data is the meta. How can it be performed ? Then, from the userland program, how to send data with an opaque to a NG_DATA/PF_NG socket ? Then

Re: ANNOUNCE: Multipath Patches for 4.8-STABLE Available

2003-07-01 Thread Vincent Jardin
What are the main differences between your patch and the Kame's one ? http://www.kame.net/dev/cvsweb2.cgi/kame/kame/sys/net/radix_mpath.c?rev=1.13&content-type=text/x-cvsweb-markup Regards, Vincent Le Mardi 1 Juillet 2003 14:56, Edward F. Tanzer a écrit : > Multipath route table. <[EMAIL PROTE

IP over DVB

2003-06-23 Thread Vincent Jardin
Hi, I am looking for an IP over DVB-S and MPE support on FreeBSD. I could only find a very old driver for FreeBSD 2: http://www-sop.inria.fr/rodeo/personnel/eduros/index-dvb.html Are there any better support for FreeBSD 4 or 5 ? Regards, Vincent

Re: problems adding interfaces with zebra

2003-06-14 Thread Vincent Jardin
> ifconfig: ioctl (SIOCAIFADDR): File exists > > Because the route is already installed locally as pointing to machine A via > interface B1. (.i.e. I have redistribute connected enabled) > > Short of killing ospfd and zebra how do I get around this ? It is a FreeBSD's issue. It can be repeated wit

Re: Does Netgraph in FBSD 5.x SMP requires GIANT lock?

2003-06-06 Thread Vincent Jardin
Maybe one giant2thread node could be introduced into the graphs. It could put the messages and the mbufs into a queue from a giant context, then they could be processed from a thread. Is it a possible architecture or do I forget something ? Regards, Vincent Le Jeudi 5 Juin 2003 13:38, Julian

Re: Does Netgraph in FBSD 5.x SMP requires GIANT lock?

2003-06-05 Thread Vincent Jardin
> > it should not require Giant. > However there are some locking 'holes' that come when locked resources > are accessed by external code that is executed from other contexts.. > e.g. many drivers do not know about the locks in their netgraph half, > and just 'do' what they want. Also there are ins

[netgraph] NGF_RESP

2003-06-05 Thread Vincent Jardin
Hi, I'm trying to understand how does NGF_RESP work and how can it be used ? According to ng_message.h, it is a flag that describes a response message, however are all the response messages synchronous to a request or could some messages be asynchronous ? If some messages could be asynchronous,

Re: Removal of netns

2003-03-04 Thread Vincent Jardin
Why does it need to be removed ? According to me, it would be the same mistake as the removal of netiso and netccitt. I did not know FreeBSD at this time, but nowadays, in order to get an OS that supports many stacks, we have to use NetBSD. BSD4.4 was designed in order to support many stacks, F

Re: [mpd] radius and dynamic bundles

2003-03-03 Thread Vincent Jardin
On Monday 03 March 2003 09:46, Michael Bretterklieber wrote: > Hi, > > Vincent Jardin schrieb: > > 1/ When Radius is used with mpd and the answer delay of the Radius server > > is high, how can some PAP or CHAP timeout be avoided ? > > you mean, that the client time

[mpd] radius and dynamic bundles

2003-03-02 Thread Vincent Jardin
1/ When Radius is used with mpd and the answer delay of the Radius server is high, how can some PAP or CHAP timeout be avoided ? 2/ mpd provides a command to create a bundle (new [-i ngX] ...), however there is no command in order to remove the bundles. Have you ever tried to add this feature ?

Re: support of iso networking

2003-02-19 Thread Vincent Jardin
Le Jeudi 20 Février 2003 00:00, Joseph T. Klein a écrit : > So how great a delta exists between NetBSD and FreeBSD? > Can't the NetBSD code be used as a starting point? I have been looking on this delta. I had been stuck on the handlers of the "user requests" ( xxx_usrreq() ) that are deeply diff

Re: New version of 802.1x netgraph code available

2003-02-18 Thread Vincent Jardin
Le Mardi 18 Février 2003 18:03, Sam Leffler a écrit : > > See everyone is asking for the same thing > > integration in the tree. > > > > Julian Elischer can sure help do this if > > not other people will surely try to help > > you either commit thru someone or give you > > commit powers :) > > I wo

Re: support of iso networking

2003-02-18 Thread Vincent Jardin
> > > > I looked at isisd patches for zebra and it seems that they use > > bpf even on NetBSD. Do you know any other netiso consumers? > > btw I have made patches for zebra port that add WITH_ISISD knob. > Anybody out there willing to test? Does your patch use the AF_ISO sockets on NetBSD or does

Re: support of iso networking

2003-02-18 Thread Vincent Jardin
> > are you talking about src/sys/netiso/ code? > it has been there but was removed about 7 years ago because nobody wanted > to maintain it. You can take a look at it via cvsweb. Now it is not possible to use easily an ISIS routing protocol with FreeBSD ;-( For example, the Zebra's isisd is usin

Re: New version of 802.1x netgraph code available

2003-02-17 Thread Vincent Jardin
It is a nice feature ;-) I hope it could be integrated into FreeBSD. What are the other possible use cases of the current code ? For example, how could this version be used with the EAP support of Windows's PPP (like MPD<->Windows EAP/PPP) ? Regards, Vincent Le Lundi 17 Février 2003 14:43,

Re: How to get interface's sockaddr_dl with the routing socket ?

2003-02-14 Thread Vincent Jardin
> What should the right fix be ? > I was wondering if > "ifpaddr = TAILQ_FIRST(&ifp->if_addrhead)->ifa_addr" > could be added within rt_ifannouncemsg() and rt_ifmsg() just before > rt_msg1() ? I have found the solution : rti_info[RTAX_IFP] (ie ifpaddr) should never be filled with RTM_IFANNOUNCE b

How to get interface's sockaddr_dl with the routing socket ?

2003-02-13 Thread Vincent Jardin
Most of the userland program gets the informations about the interfaces via the Kernel sysctl_iflist() function. When a new interface is added, it is announced by the routing socket with a RTM_IFANNOUNCE message. However the structure if_announcemsghdr does not provide information about the inte

mpd 3.11 and radius

2003-02-11 Thread Vincent Jardin
Does the new Radius support of mpd 3.11 provide accounting ? Regards, Vincent To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: A question about 6to4...

2003-01-31 Thread Vincent Jardin
Le Vendredi 31 Janvier 2003 15:52, Antonio Gonzalez Castro a écrit : > Hi... > > I've recently configured a 6to4 router. I have compiled the kernel > with stf device support, modified the rc.conf and configured the rtadvd. > But the others hosts can not access the IPv6 net if I don't add a >

Re: MPD and Cisco PIX

2003-01-26 Thread Vincent Jardin
> pptp0: connecting to CISCO_PUBLIC_IP:1723 > [vpn] device is now in state OPENING > pptp0: connected to CISCO_PUBLIC_IP:1723 > pptp0: attached to connection with CISCO_PUBLIC_IP:1723 > [vpn] exec: /sbin/ifconfig ng1 10.10.6.101 CISCO_PUBLIC_IP netmask > [vpn] error writing len 12 frame to bypass

Re: New OC3 ATM driver

2003-01-22 Thread Vincent Jardin
Le Mercredi 22 Janvier 2003 22:59, Matthew N. Dodd a écrit : > On Wed, 22 Jan 2003, Vincent Jardin wrote: > > According to me, both SAR cannot be supported by a same driver because > > there are too much differences between the two in order to be integrated > > within the

Re: New OC3 ATM driver

2003-01-22 Thread Vincent Jardin
two in order to be integrated within the same driver. Regards, Vincent > > On Fri, 3 Jan 2003, Vincent Jardin wrote: > > Prosum just releases an ATM driver for FreeBSD 3.x and 4.x It has some > > nice features: > > - CBR support > > - VBR support > > >

Re: kld && inetsw.pr_protocol overriding + old reuse

2003-01-13 Thread Vincent Jardin
It is not very simple. However Netgraph/ng_socket.c does something similar. net_add_domain is called from ngs_mod_event(). However, it is not possible to remove this module because the feature to remove a domain is missing. switch (event) { case MOD_LOAD: /* Regi

Re: rt_refcnt and rtentry protection ??

2003-01-08 Thread Vincent Jardin
> > So long as the route is marked RTF_UP, it cannot be deleted. In a > single-threaded kernel, it is not possible for this code to be > preempted, so there is no means by which the route flags could be > changed. (RTF_UP is unset when and only when the route is deleted > from the radix tree.) I

Re: rt_refcnt and rtentry protection ??

2003-01-08 Thread Vincent Jardin
> > The roadmap for locking up the IP stack looks like roughly like ifaddr > ref counts, ifnet list, routing radix tree, ARP, ifaddr uses, and rtentry. However, it seems that the rtentries' rt_refcnt are not used like ifaddr, ifnet, ... It looks like something dirty has been done a long time ago

rt_refcnt and rtentry protection ??

2003-01-08 Thread Vincent Jardin
/* * Lookup or enter a new address in arptab. */ static struct llinfo_arp * arplookup(addr, create, proxy) u_long addr; int create, proxy; { register struct rtentry *rt; static struct sockaddr_inarp sin = {sizeof(sin), AF_INET }; const char *why = 0;

New OC3 ATM driver

2003-01-03 Thread Vincent Jardin
Prosum just releases an ATM driver for FreeBSD 3.x and 4.x It has some nice features: - CBR support - VBR support It supports the HARP stack. The last release of the driver is available on their web site: http://www.prosum.fr/atm155_E.html It works very well with the Prosum's OC3 board ;-

Re: Recursive encapsulation could panic the Kernel

2002-12-17 Thread Vincent Jardin
> > In -current mbufs can be tagged (see m_tag* in sys/mbuf.h); this'll let you > do what you want. I've been slow to MFC them to -stable because there are > some issues with copying packet headers that I want to resolve first. > I thought about m_ext too. I agree that the m_tag looks better. How

Recursive encapsulation could panic the Kernel

2002-12-16 Thread Vincent Jardin
Hi, With FreeBSD, there are many ways to create a recursive local encapsulation loop within the IPv4 and IPv6 stack. For example, this problem shows up when : - Netgraph with pptp is used or Netgraph with an ng_iface over UDP or any more complex Netgraph topologies... - gre interfaces - gi

Re: passive mode ftp server, need stateful ipfw rule.

2002-12-09 Thread Vincent Jardin
> > One pragmatic solution is to adjust the range of random tcp ports > chosen to a fairly narrow one, and then allow the setup from any to > that port range. > > The real answer is to get rid of ftp, and use something better. For > replacing anonymous ftp, http works just as well. scp, sftp or h

a ng_pppoe bug ?

2002-11-23 Thread Vincent Jardin
Hi, I am wondering if it is a bug of ng_pppoe. The objects that have the structure sess_neg hold a pointer on the last sent packet. struct sess_neg { struct mbuf *m; /* holds cluster with last sent packet */ unionpacket *pkt; /* points within the above cluster */

Netgraph support with the Sangoma's boards

2002-11-17 Thread Vincent Jardin
According to Google, there is not support of Netgraph with the Sangoma's boards. In fact, I am wondering if I could use the Sangoma's boards like the if_sr and if_ar drivers that have a nice Netgraph hook. Vincent To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" i

rn_walktree_from bug or feature ?

2002-11-12 Thread Vincent Jardin
The function rn_walktree_from() accesses to the array xm, however when a default IPv4 route is removed (RTM_DELETE), rn has the following values: rn->rn_bmask = 0x80h xm = { 0, 0, 0, 0 } rn->offset = 4 Then, sometimes the following test: if (!(rn->rn_bmask & xm[rn->rn_offset])) break;

MPD and MRU

2002-11-04 Thread Vincent Jardin
Hi, It looks like it is not possible to configure any MRU values with MPD, due to LCP_MRU_MARGIN (=20). For example, on the PPPoE links, the values between 1473 to 1491 are not possible. ... link.c: case SET_MRU: case SET_MTU: val = atoi(*av); name = ((intptr_t)arg == SET_M

Re: mpd radius - request for review

2002-11-03 Thread Vincent Jardin
Hi, I have not tested your code yet. However, according to me the radius code should be into link.c and not bund.c For example, it is important in order to support the accounting of the multilink ppp sessions, isn'it ? Vincent Le Dimanche 3 Novembre 2002 15:34, Michael Bretterklieber a écrit :

Re: Netgraph TCP/IP

2002-10-17 Thread Vincent Jardin
I do not think that you need a raw IP netgraph node. Something similar already exists. Why not use the ng_ksocket in order to open a raw IP socket under your TCP node ? Vincent Le Jeudi 17 Octobre 2002 20:59, vous avez écrit : > Steve Tremblett wrote: > > A while back someone was fishing for a

Re: which L2TP server ?

2002-10-15 Thread Vincent Jardin
There is a new L2TP project from Roaring Penguin. It supports both LAC and LNS features: http://sourceforge.net/projects/rp-l2tp It requires pppd. It has been written for Linux, however it should support FreeBSD easily. Vincent Le Mardi 15 Octobre 2002 14:15, Alessandro de Manzano a écrit : >

Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-04 Thread Vincent Jardin
It looks like your BSD kernel is not compiled with the IPv6 support. Le Vendredi 4 Octobre 2002 15:51, "Vladimir B. " Grebenschikov a écrit : > Hi > > I have tried to install fresh zebra (from ports) on 4.7-RC2 > > have a problem - zebra turns on promiscuity mode on interface, > it is completely

Re: [zebra 15605] BGP/MPLS VPN using the mpls-linux patch and zebra ldp patch

2002-10-04 Thread Vincent Jardin
> > I've overly simplified much of what is here, and I'm sure I've missing > items. So as you can see there is still a lot of work to do. If anyone > else is working on related items, please let me know. Did you check the AYAME's work on MPLS ? They have a MPLS stack for NetBSD. Moreover they h

Re: MPLS on FreeBSD

2002-09-24 Thread Vincent Jardin
Did you check the Ayame's MPLS support ? It is written for NetBSD, however, it could be ported to FreeBSD. Moreover they have added the LDP support for Zebra. The source code is available on http://www.ayame.org/Download.php Vincent Le Mercredi 25 Septembre 2002 00:45, PSI, Chan Yoon a écrit :

IP[6]FW and active FTP

2002-09-19 Thread Vincent Jardin
Hi, I am wondering howto support non passive FTP sessions with IPFW or IP6FW. It looks that IPFilter supports this feature, but what's about the regular FreeBSD Firewall ? I would prefer to use ipfw because I do not want to change my IPFW rules. Thanks, Vincent To Unsubscribe: send mail to