pcap N listeners vs N devs

2015-05-19 Thread def
Hi! As bpf devices is a some limited resource, and as far as i know the kernal is like single-thread when performing filtering each packet thr many active bpf devices. So the question applying to ethernet trunk where one eth port spans multiple vlans, or i.e. multiple mpe.In terms of performance

ICMP sockets and PCB

2014-12-26 Thread def
Hi! Im using threads, and each thread setups raw socket with proto ICMP.This way thread verifying remote client liveness by sending icmp echo and receiving icmp reply.The issue is when icmp reply received, then each thread is notifying by select(), although each thread has its own socket and soc

bgpd vpnv4 route decision while importing prefix to rdomain

2013-10-30 Thread def
Hi! I have noticed that it seems like bgpd does not route decision if pt_entry has different RD. OpenBSD 5.2route-collection turned off.mpls-PE route-reflector advertises two prefixes with different RD and set of ATTR, both appeared in RIB-in as expected. Now, bgpd should import prefixes to rdom

Re: Re: RT TABLEID_MA­X si­ze

2013-02-01 Thread def
OK i get it! very useful info for lookups Tnx Claudio Птн 01 Фев 2013 22:08:48 +0400, Claudio Jeker написал: On Fri, Feb 01, 2013 at 07:39:46PM +0400, def wrote: > my fault... I thought that the size only 8 bits (not bytes as i said before), > it really seems to be enough in src.so w

Re: Re: Re: RT_TABLEID_MAX si­ze

2013-02-01 Thread def
unsigned integer 8 bytes only in the whole rdomain/socket environment?Or im missing something? Птн 01 Фев 2013 14:21:27 +0400, Claudio Jeker написал: On Fri, Feb 01, 2013 at 08:55:38AM +0400, def wrote: > Hi, Claudio > So, i have about 5000 VRF inside the BGP AS, and i exchenge all of tha

RT_TABLEID_MAX size

2013-01-29 Thread def
I very widely using functionality of rdomains and found out, that TABLEID limit is quite small. Whether it is possible to increase the size to be at least 2^32 as is in RFCs 4364 and 4360 which states that RD and BGP target extended community fields Assigned number subfield and Local Administrat