). Tuning
> that can be applied without rebooting will be tried first.
Is it still actual?
You didn't mention if you are using pf or other firewall.
I have similar problem with two boxes replicating zfs pools, when I
noticed input errors.
After some investigation turns ou
gt;
> ifconfig_em0.100="" or ifconfig_em0_100="" does not work.
You probably forgot to put if_vlan_load="YES" in /boot/loader.conf
ifconfig_em0_100="..." should work.
--
Artis Caune
Everything should be made as simple as possible, but not simpler.
device.vlan_id */
+ if (index(name, '.') != NULL)
+ strlcpy(ifname, "vlan", sizeof(ifname));
+
/* turn interface and unit into module name */
strcpy(ifkind, "if_");
strlcpy(ifkind
andomly loading the vlan code for any interface that had a dot in it.
You are right, forgot about 'ifconfig rename'.
> The real change we should make it to add device vlan to GENERIC. It's
> long past time for it to be in by default.
It's even better, what's need t
ch http://www.nic.lv/sofq/patch-netstat.txt which will:
- add new flag '-H' to print fields in script friendly format (just like zfs -H)
- add this flag to netstat man page
- fix space at the end of collisions/drops fields
- fix few style(9) entries
--
Artis Caune
Everything should
On Thu, Jul 10, 2008 at 5:27 PM, Archimedes Gaviola
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm running a FreeBSD-6.2 RELEASE system on an Intel Gigabit copper NIC
> but when it receive packets, I encounter some errors with netstat. Below is
> the netstat dump of my system. As what you can see, there
The following reply was made to PR kern/126714; it has been noted by GNATS.
From: "Artis Caune" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: kern/126714: [carp] CARP interface renaming makes system no longer
respond on the virtual IP address
Date:
econd and third hunks of
> the patch in the said PR, by the way, last hunk misses '{' after 'if'
> and has 'groupname' instead of 'new_name').
sorry for bad patch, my bad s/copy/coffee/
thanks for working on this.
--
Artis Caune
Eve
The following reply was made to PR kern/136618; it has been noted by GNATS.
From: Artis Caune
To: rea-f...@codelabs.ru
Cc: lini...@freebsd.org, bug-follo...@freebsd.org, freebsd-net@freebsd.org,
mla...@freebsd.org
Subject: Re: kern/136618: [pf][stf] panic on cloning interface without
2009/7/10 Eygene Ryabinkin
> No problems. Care to test both patches? If yes, please, report back
> any findings of any type.
>
Hi, patch works good on amd64, 8.0-BETA2, r195712
r...@freebsd ~# ifconfig carp0 name carp
ifconfig: ioctl (set name): File exists
--
Ar
The following reply was made to PR kern/136618; it has been noted by GNATS.
From: Artis Caune
To: Eygene Ryabinkin
Cc: freebsd-net@freebsd.org, bug-follo...@freebsd.org
Subject: Re: kern/136618: [pf][stf] panic on cloning interface without unit
number, e.g. `stf'
Date: Fri, 17 Jul
The following reply was made to PR bin/137641; it has been noted by GNATS.
From: Artis Caune
To: bug-follo...@freebsd.org, vladimir.shebalden...@gmail.com
Cc:
Subject: Re: bin/137641: ifconfig(8): various problems with
"vlan_device.vlan_id" syntax
Date: Mon, 10 Aug 2009 21:3
2009/8/10 Artis Caune :
> The following reply was made to PR bin/137641; it has been noted by GNATS.
>
> Hi,
>
> attached patch should fix automatic loading of if_vlan when creating
> interface as device.vlan_id and vlan module is not loaded.
Here is a patch.
I want to monitor pf tagged mbufs, but (without kld hacks) I can see
only IN or OUT direction, because PFIL insert hooks in reverse order.
Hack like this works, but is ugly:
# kldload mymodule
# mymodule -enable PFIL_OUT
# kldload pf
# pfctl -e
# mymodule -enable PFIL_IN
How about PFIL_HEAD, P
How come that ifconfig prints netmask in hex?
Isn't
"inet 127.0.0.1 netmask 255.0.0.0"
more readable than
"inet 127.0.0.1 netmask 0xff00"
why 'route get x.x.x.x' gives mask in decimal?
;))
Is it some posix standart or something historical or will it brake some
scripts?
I'm ok with he
auth 2b9097ce subscribe freebsd-hackers [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message
Hello freebsd-net!
We are trying to build freebsd traffic rate limiter, which will
work in bridge mode. It must forward frames as fast as possible.
When packet is received and it is not over rate limit, it is
forwarded to another interface.
The easiest way is to replace interface if_input functi
# kldload if_bridge
# ifconfig bridge0 create
# ifconfig bridge0 addm em0
# ifconfig bridge0 -learn em0
# ifconfig bridge0 span em1
# ifconfig bridge0 up
traffic on em0:
30 second output rate 680818000 bits/sec, 152697 packets/sec
# netstat -w1 -bd -I em1
input(em1)
Doug Barton wrote:
Javier Henderson wrote:
FWIW, I was running BIND 9.3.2 for a while and in awe at the amount of
memory it would use, and how it would go CPU bound after it hit any
operating system imposed memory quotas.
Many people have reported this problem, but no one has been able to
fol
I would like to hear some ideas about how to synchronise information
over network between two or more kernel modules.
Topology:
We have to FreeBSD boxes, which sit between two cisco switches and do
traffic policy(shaping).
Switches are connected with GigaChannel link (two physical links) and
on 4.x you can replace IPFilter hook:
...
int
my_hook (const struct ip *ip, int ip_hl, struct ifnet *ifp, int out,
struct mbuf **m)
{
/* drop all ;) */
m_freem(*m);
*m = NULL;
return 1;
}
/* on load */
fr_checkp = my_hook;
/* on unload */
rf_checkp = NULL;
...
on 5.x (>501108) there
Thanks,
event handlers looks very trivial to implement.
My thoughts was:
userland read rules and check if interface exist with:
'if_nametoindex(interface)' call.
kernel stores rules without any knowledge about
interface name or direction, because I use seperate
decision tree for every interfac
I'm writing kld module for traffic shaping (5.x only).
It use PFIL hooks.
There will be seperate decision trees for
every interface + IN/OUT pair.
Let's say we have rules:
shape in on fxp0 ...
shape out on fxp0 ...
shape in on vlan0 ...
in this example we have 3 decision trees:
- rules w
I'm writing kld module for traffic shaping (5.x only).
It use PFIL hooks.
There will be seperate decision trees for
every interface + IN/OUT pair.
Let's say we have rules:
shape in on fxp0 ...
shape out on fxp0 ...
shape in on vlan0 ...
in this example we have 3 decision trees:
- rul
24 matches
Mail list logo