DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th January 2009
zomo zomo is offline
Port Guard
 
Join Date: Sep 2008
Posts: 25
Default vlans and pfstat

Hi

Currently I have 2 nic's.
I'm generating stats with pfstat, logging download rate from users behind NAT. If I make some vlans on my $LAN interface, am I will still be able to generate the stats for users on vlans? From openbsd manual:
Code:
"..Statistics can only be gathered for one interface at a time.."
Vlans are physical interface ? Someone tries this?
Reply With Quote
  #2   (View Single Post)  
Old 8th January 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

Quote:
Originally Posted by zomo View Post
Vlans are physical interface ?
No, they are a pseudo-device. See vlan(4).
Quote:
Someone tries this?
I have not, but I don't believe it matters to PF whether the loginterface is physical or pseudo. PF merely sees the interface tables and communicates with the interface driver. There can only be a single loginterface defined.

If you wish to conduct your own research, the source to PF as well as vlan (and other interfaces) may be found in src/sys/net.
Reply With Quote
  #3   (View Single Post)  
Old 8th January 2009
zomo zomo is offline
Port Guard
 
Join Date: Sep 2008
Posts: 25
Default

I hope data from vlans are going through lan interface so it can be gather by pfstat, but that its just a hope. I cant check this right now cause I'm waiting for hp switch.

Regards...
Reply With Quote
  #4   (View Single Post)  
Old 9th July 2009
badguy badguy is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: MD, USA
Posts: 59
Default

can i get a link to a good "HOWTO" on installation and set up of pfstat?

tnx
Reply With Quote
  #5   (View Single Post)  
Old 9th July 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

Installation: FAQ 15 (ports/packages) and the pkg_add(8) man page.

I'm not aware of any "how to" for this utility. However, if you use:
$ pkg_info -L pfstat
you will see what files were (or will be) installed, including a man page and example configuration.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pfstat fopen failed: ? Calderon FreeBSD General 3 7th May 2009 08:52 AM
ports/sysutils/pfstat; undefined reference to `gdImagePng' chris FreeBSD Ports and Packages 2 5th July 2008 06:31 PM
Configuring VLANs under FreeBSD Popof FreeBSD General 5 13th May 2008 04:08 PM


All times are GMT. The time now is 08:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick