Re: bce(4) sees all incoming frames as 2026 bytes in length

2009-04-29 Thread Niki Denev
On Wed, Apr 29, 2009 at 4:59 PM, pluknet wrote: > 2009/4/29 Nikolay Denev : >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hello, >> >> I have the following problem with the new bce(4) driver on a 7.2-PRERELEASE >> from a few days ago. >> When I run tcpdump on the bce interface on the m

Re: carp and vlan at the same time?

2008-05-30 Thread Niki Denev
On Fri, May 30, 2008 at 1:06 PM, Rudy <[EMAIL PROTECTED]> wrote: > Niki Denev wrote: >> >> I'm currently using carp over VLANs over lagg and if works without >> problems. >> So I think you should have no problems running carp over vlan interfaces. > >

Re: carp and vlan at the same time?

2008-05-30 Thread Niki Denev
Hi Rudy, On Fri, May 30, 2008 at 12:44 PM, Rudy <[EMAIL PROTECTED]> wrote: > > Dear NET, > > I have some questions! > > [1] vlan & carp > I have 10.3.1.1/24 10.3.2.1/25 and a 10.3.3.129/25 as gateway IPs each in > their own vlan. > How do I get CARP working, or are people using another method to

Re: lagg0.2 style vlans on lagg(4) interface

2008-05-23 Thread Niki Denev
On Thu, May 22, 2008 at 3:42 PM, Bruce M. Simpson <[EMAIL PROTECTED]> wrote: > Hi, > > It looks like this patch will cause gratuitous ARP to be queued even when > the interface is not IFF_UP, is this intentional? > > Niki Denev wrote: >> >> I thi

Re: lagg0.2 style vlans on lagg(4) interface

2008-05-21 Thread Niki Denev
On Thu, May 22, 2008 at 1:41 AM, Max Laier <[EMAIL PROTECTED]> wrote: > I think if_ether.c would be good, where arp_ifinit() is. > Here is what i've come up with (some comments after the patch) : diff -ur /usr/src/.zfs/snapshot/orig/sys/net/if.c /usr/src/sys/net/if.c --- /usr/src/.zfs/snapshot/or

Re: lagg0.2 style vlans on lagg(4) interface

2008-05-21 Thread Niki Denev
On Thu, May 22, 2008 at 12:32 AM, Max Laier <[EMAIL PROTECTED]> wrote: > On Wednesday 21 May 2008 23:22:52 Niki Denev wrote: >> On Thu, May 22, 2008 at 12:05 AM, Max Laier <[EMAIL PROTECTED]> wrote: >> > Looks good, though I'd probably move up the _INVOKE t

Re: lagg0.2 style vlans on lagg(4) interface

2008-05-21 Thread Niki Denev
On Thu, May 22, 2008 at 12:05 AM, Max Laier <[EMAIL PROTECTED]> wrote: > Looks good, though I'd probably move up the _INVOKE to before the ARPs are > sent out. Probably between twiddling the hardware and sending ARPs > (though that needs an else-case if the interface is still down). In fact > the

Re: lagg0.2 style vlans on lagg(4) interface

2008-05-21 Thread Niki Denev
On Wed, May 21, 2008 at 8:44 PM, Max Laier <[EMAIL PROTECTED]> wrote: >> It doesn't (and shouldn't have to). I'd simply add an >> EVENTHANDLER_INVOKE(ifaddr_event, ifp) to if_setlladdr() - we do that for >> INET[6] address already. Then vlan (and any other device interested in >> LLaddress change

Re: lagg0.2 style vlans on lagg(4) interface

2008-05-21 Thread Niki Denev
On Wed, May 21, 2008 at 8:44 PM, Max Laier <[EMAIL PROTECTED]> wrote: > On Wednesday 21 May 2008 19:31:46 Niki Denev wrote: >> If one tries to use lagg0.2 style vlans on lagg0 interface configured >> from rc.conf it does't work. >> The problem is that all of the cl

lagg0.2 style vlans on lagg(4) interface

2008-05-21 Thread Niki Denev
If one tries to use lagg0.2 style vlans on lagg0 interface configured from rc.conf it does't work. The problem is that all of the cloned interfaces (lagg0 , lagg0.2, etc) are created before any other interface configuration is done, and in this case lagg0 is created, then lagg0.2 is created. But be

Re: porting "nozomi" driver (Option N.V. GlobeTrotter 3G+ UMTS datacard) to FreeBSD 7.0R

2008-05-10 Thread Niki Denev
On Sat, May 10, 2008 at 12:34 PM, Matthias Apitz <[EMAIL PROTECTED]> wrote: > El día Saturday, May 10, 2008 a las 12:49:02AM +1000, Ian Smith escribió: > >> > Stevens explains further more that client and server could handshake to >> > omit the constant flag (7e) and adress field (ff) and reduce

Re: [PATCH] autoload if_vlan.ko on vlan creation

2008-04-30 Thread Niki Denev
On Wed, Apr 30, 2008 at 2:50 PM, Brooks Davis <[EMAIL PROTECTED]> wrote: > What is the practical use of this feature? If you don't have the > module loaded, the rc scripts won't even see the interface unless > you manually set network_interfaces which has been documented as a > deprecated conf

[PATCH] autoload if_vlan.ko on vlan creation

2008-04-30 Thread Niki Denev
Hi, I've noticed that autoloading of if_vlan.ko on vlan creation does not work in the case when the vlans are specified with the interface name. i.e. : fxp0.5 And the problem is that ifmaybeload() in ifconfig.c expects that all interfaces are in the format : if_${driver}${number}, which is not the

Re: FBSD 1GBit router?

2008-03-02 Thread Niki Denev
On Sun, Mar 2, 2008 at 5:11 PM, Ingo Flaschberger <[EMAIL PROTECTED]> wrote: > Dear Bareney, > > >> And back to 1x is not fast enough: > >> There are no 1gbit single port network cards that > >> support more than 1 > >> lane, even if you plug it into a 16 lane slot. > >> (and I'm not talking about

Re: FBSD 1GBit router?

2008-02-26 Thread Niki Denev
On Tue, Feb 26, 2008 at 3:43 AM, Andrew Snow <[EMAIL PROTECTED]> wrote: > > I can confirm that FreeBSD 7.0-RC1 can route packets at 1gbps. I used a > late-model Supermicro Xeon server which has two gigabit NICs on a > PCI-express "4x" lane. > > With the new em driver improvements in 7 it uses very

Re: Two interfaces sharing the same IP address: how to change default route's interface on link change?

2008-02-19 Thread Niki Denev
On Feb 20, 2008 12:16 AM, Jeremie Le Hen <[EMAIL PROTECTED]> wrote: > Hi list, > > I have two network interfaces that share the same IP address. I would > like tochange the default route's interface when the link changes. I > think it could be possible to hack up something with devd(8) or > net/i

Re: [PATCH] "/etc/rc.d/pf reload" fails if there are macros defined in pf_flags rcvar.

2008-01-31 Thread Niki Denev
On Jan 21, 2008 11:26 PM, Niki Denev <[EMAIL PROTECTED]> wrote: > > On Jan 21, 2008 11:42 AM, Niki Denev <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm using the pf_flags rc var to set macros for pf.conf files i use in > > redundant router configur

Re: tcp-md5 check for incomming connection

2008-01-30 Thread Niki Denev
On Jan 31, 2008 7:19 AM, Bruce M. Simpson <[EMAIL PROTECTED]> wrote: > The bigger issue w/tcp-md5 is getting security policy 'right'. > bz has more IPSEC hacking experience than I, so I defer to his advice in > this area. > > The way the socket option was originally specified was that once it was >

Re: [PATCH] "/etc/rc.d/pf reload" fails if there are macros defined in pf_flags rcvar.

2008-01-21 Thread Niki Denev
On Jan 21, 2008 11:42 AM, Niki Denev <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the pf_flags rc var to set macros for pf.conf files i use in > redundant router configuration. > This way i can have exactly the same pf.conf on all of the routers, > and still s

[PATCH] "/etc/rc.d/pf reload" fails if there are macros defined in pf_flags rcvar.

2008-01-21 Thread Niki Denev
Hi, I'm using the pf_flags rc var to set macros for pf.conf files i use in redundant router configuration. This way i can have exactly the same pf.conf on all of the routers, and still set host specific options as "hostid" used by pfsync via rc.conf The problem is that when i use "/etc/rc.d/pf rel

Re: question about captive wifi portal...

2008-01-14 Thread Niki Denev
On Jan 14, 2008 8:35 AM, Lyle Scott III <[EMAIL PROTECTED]> wrote: > I am experimenting more to make a small captive (wifi) portal system. > > I would like to use pf. I have been looking into authpf and it is a pretty > good fit for what i need... but the users won't be SSHing to get allowed. > >

Re: bgp router preferences

2008-01-12 Thread Niki Denev
On Jan 13, 2008 1:13 AM, Eric W. Bates <[EMAIL PROTECTED]> wrote: > I think I have finally given up on cisco. > > What are folks recommendations for a machine doing full bgp routes? > > I think I need to get a Sangoma card; but what is the current favorite > bgp routing software and how much RAM do

[PATCH] [bin/119542] netstat prints incorrectly host routes on bridge interfaces

2008-01-10 Thread Niki Denev
Hi, As mentioned in the PR : http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/119542 netstat needs a little fix to print correctly host routes on bridge interfaces. The attached patch in the PR and here fixes the problem. Regards, Niki --- usr.bin/netstat/route.c.orig 2008-01-11 04:14:54.0

Re: bridge and stp defaults

2007-12-17 Thread Niki Denev
On Dec 17, 2007 3:23 AM, Ivo Vachkov <[EMAIL PROTECTED]> wrote: > > On Dec 14, 2007 1:24 AM, Niki Denev <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Is there a reason that when adding member ports to a bridge stp is not > > enabled by default on them? >

Re: is carp on if_bridge possible?

2007-12-16 Thread Niki Denev
On Dec 16, 2007 4:03 PM, Han Hwei Woo <[EMAIL PROTECTED]> wrote: > > Hi Niki, > > I hope I'm understanding you correctly, but the reason you're running > if_lag is so that failover will occur even if there is a switch failure? > > If you enable preempt by setting: sysctl net.inet.carp.preempt=1,

Re: is carp on if_bridge possible?

2007-12-16 Thread Niki Denev
On Dec 14, 2007 12:37 PM, Niki Denev <[EMAIL PROTECTED]> wrote: > > On Dec 14, 2007 5:31 AM, Bruce M. Simpson <[EMAIL PROTECTED]> wrote: > > > > Niki Denev wrote: > > > Hello, > > > > > > Is this possible? > > > I've tried ad

Re: is carp on if_bridge possible?

2007-12-14 Thread Niki Denev
On Dec 14, 2007 5:31 AM, Bruce M. Simpson <[EMAIL PROTECTED]> wrote: > > Niki Denev wrote: > > Hello, > > > > Is this possible? > > I've tried adding IFT_BRIDGE next to IFT_ETHER and IFT_L2VLAN in ip_carp.c > > but this probably is not enough. Any id

is carp on if_bridge possible?

2007-12-13 Thread Niki Denev
Hello, Is this possible? I've tried adding IFT_BRIDGE next to IFT_ETHER and IFT_L2VLAN in ip_carp.c but this probably is not enough. Any ideas? Thanks, Niki ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net T

bridge and stp defaults

2007-12-13 Thread Niki Denev
Hi, Is there a reason that when adding member ports to a bridge stp is not enabled by default on them? Wouldn't it be more intuitive to be enabled by default these days? Regards, Niki ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mai

Re: Dump kernel routing table

2007-10-20 Thread Niki Denev
On 10/20/07, Netan <[EMAIL PROTECTED]> wrote: > On 10/19/07, Stephen Clark <[EMAIL PROTECTED]> wrote: > > > > Netan wrote: > > > > >Hello > > > > > >I am using the CURRENT release. I wish to dump the kernel routing table. > > I > > >think there was a sysctl interface in 4.x FreeBSD release to print

Re: FreeBSD as a gigabit router

2007-10-03 Thread Niki Denev
2007/10/4, Ivan Voras <[EMAIL PROTECTED]>: > Cristian KLEIN wrote: > > > Can anybody point me what the bottleneck of this configuration is? CPU was > > mostly idle and PCIe 1x should carry way more. Or is the experiment perhaps > > fundamentally flawed? > > A "generic" problem in your case might be

Re: FreeBSD as a gigabit router

2007-10-03 Thread Niki Denev
2007/10/3, Cristian KLEIN <[EMAIL PROTECTED]>: > Hi list, > > A few days ago I tested whether a FreeBSD 7 box is able to handle Gigabit > traffic. So I used a Cisco 7600 and added static routes from the router to the > box and from the box to the router, so that some packets would loop between > t

Re: faster /etc/services

2007-05-21 Thread Niki Denev
Edwin Groothuis wrote: > Hello, > > After the last patch I submitted with regarding to /etc/services, > I was asked if I could see if I could do something about the speed > of it. Personally I don't worry too much about it, my programs only > access getservbyname() only once per program :-) > > I

Re: CFT: new trunk(4)

2007-04-09 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Thompson wrote: > On Tue, Apr 03, 2007 at 09:37:57AM +0300, Niki Denev wrote: >>>> Andrew Thompson wrote: >>>>> Here is a patch to add OpenBSD's trunk(4) interface, and also includes >>>>>

Re: CFT: new trunk(4)

2007-04-09 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Thompson wrote: > On Tue, Apr 03, 2007 at 09:37:57AM +0300, Niki Denev wrote: >>>> Andrew Thompson wrote: >>>>> Here is a patch to add OpenBSD's trunk(4) interface, and also includes >>>>>

Re: CFT: new trunk(4)

2007-04-02 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Thompson wrote: > On Sat, Mar 31, 2007 at 04:42:14PM +0300, Niki Denev wrote: >> Andrew Thompson wrote: >>> Hi, >>> >>> >>> Here is a patch to add OpenBSD's trunk(4) interface, and also includes

Re: CFT: new trunk(4)

2007-03-31 Thread Niki Denev
Andrew Thompson wrote: > Hi, > > > Here is a patch to add OpenBSD's trunk(4) interface, and also includes > LACP support which came from agr(4) on NetBSD. Im interested in anyone > who wants to test this and in particular lacp mode if you have a switch > that supports it. > > http://people.fre

Re: ural(4) deassociates if no activity (possible wpa_supplicant problem)

2006-07-18 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niki Denev wrote: > Hello, > > I've noticed something very interesing while using a ural(4) usb wifi device. > > When i plug the usb device, and there is absolutely no network activity, > exactly > after five minutes th

ural(4) deassociates if no activity (possible wpa_supplicant problem)

2006-07-18 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I've noticed something very interesing while using a ural(4) usb wifi device. When i plug the usb device, and there is absolutely no network activity, exactly after five minutes the device deassociates from the access point. I've put some deb

Re: route labels in pf.conf

2006-02-20 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Niki Denev wrote: > Hi, > > on one 6.1-PRERELEASE box i found that pf.conf's manual page > mentions rtlabels : > [...] Filed as PR docs/93590 - --niki -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (MingW32) Comme

route labels in pf.conf

2006-02-19 Thread Niki Denev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, on one 6.1-PRERELEASE box i found that pf.conf's manual page mentions rtlabels : routeAny address whose associated route has label . See route(4) and route(8). But it seems that this is OpenBSD specific