Problem with setting up dial-up server with getty and ppp

2009-05-07 Thread Alexander Shikoff
Hello, I have a box with serial 8-port Digi Neo card installed. It was detected normally, e.g. I see that in dmesg and all devices (cuac[0-7] and ttyc[0-7] are present in /dev directory. Now I'm trying to setup dial-up server with getty and ppp. I have added to /etc/ttys: ttyc0 "/usr/libexec/g

Re: Problem with setting up dial-up server with getty and ppp

2009-05-08 Thread Alexander Shikoff
On Thu, May 07, 2009 at 02:27:51PM -0400, Brynet wrote: > Hi Alexander, Hello, before we continue I'd like to tell that I'm a kind of newbie in OpenBSD. I was using FreeBSD for last 5 years, many things in OpenBSD are almost the same as in FreeBSD (and vice versa) but also there are many differenc

Re: Problem with setting up dial-up server with getty and ppp

2009-05-08 Thread Alexander Shikoff
Hi Stuart, On Fri, May 08, 2009 at 10:35:35AM +, Stuart Henderson wrote: > On 2009-05-08, Alexander Shikoff wrote: > > I only have two serial ports on motherboard, I see them in dmesg: > > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > com1 at isa0 port 0x

Re: Problem with setting up dial-up server with getty and ppp

2009-05-08 Thread Alexander Shikoff
On Fri, May 08, 2009 at 01:33:28PM +0100, Stuart Henderson wrote: > On 2009/05/08 14:20, Alexander Shikoff wrote: > > Hi Stuart, > > > > > cuaU# for USB serial ports, cua## for ns16x50-like devices. think those > > > are the only choices for serial ports at the mo

Re: routing and pf at 10Gbps

2010-02-11 Thread Alexander Shikoff
On Fri, Jan 22, 2010 at 08:12:29PM +, Mike Williams wrote: > Hey all, > > I was hoping there are some heavy PF users here, who wouldn't mind sharing > some of their experiences? > So I've watched Hennings talk about PF performance, read the PDF, but I > haven't actually seen anyone saying th

Re: routing and pf at 10Gbps

2010-02-11 Thread Alexander Shikoff
On Thu, Feb 11, 2010 at 10:41:04PM -0800, Bryan Irvine wrote: > > > > Performance, cheapness, quality. You should choose only two of these. > > Do not play with totally-software routers, buy Juniper. > > > http://praetorianprefect.com/archives/2010/01/juniper-kernel-crash-scapy-code/ http://ptre

4.6: Troubles with forwarding between vlan interfaces

2009-10-29 Thread Alexander Shikoff
Hello, I'm trying to setup a router on OpenBSD 4.6 (amd64). I have only one physical port on it, so I've decided to use 802.1Q VLANs: vlan2 is used to connect to ISP, vlan663 - LAN. Here a configuration of interfaces: em0: flags=8843 mtu 1500 lladdr 00:e0:81:b1:8d:d7 priority: 0

Re: 4.6: Troubles with forwarding between vlan interfaces

2009-10-29 Thread Alexander Shikoff
I apologise. My mistake - misconfiguration of host in local network. On Thu, Oct 29, 2009 at 10:39:43PM +0200, Alexander Shikoff wrote: > Hello, > > I'm trying to setup a router on OpenBSD 4.6 (amd64). I have only one > physical port on it, so I've decided to use 802.1Q VLA

pf: NAT, ALTQ and pflow at the same time

2009-10-31 Thread Alexander Shikoff
Hello! My LAN (10.51.0.0/16) is behind OpenBSD router with pf. vlan2 - external interface, vlan621 - internal. In order to count traffic from Internet to LAN and vice versa with pflow I need to use states on internal interface vlan621. But when states are enabled then queues do not work. My cur

pf changes the order of filtering rules

2009-11-03 Thread Alexander Shikoff
Hello! I have strange behavior of pf on my 4.6 box. Filtering rules are present in pf.conf in next order: block in all pass in quick on $ext_if proto tcp from any to ($ext_if) port ssh pass out quick on $ext_if pass in quick on $ext_if no state pass in quick on vlan609 from vlan609:network to a

Re: pf changes the order of filtering rules

2009-11-03 Thread Alexander Shikoff
On Tue, Nov 03, 2009 at 02:49:36PM +0100, Paul de Weerd wrote: > On Tue, Nov 03, 2009 at 03:32:29PM +0200, Alexander Shikoff wrote: > | Hello! > | > | I have strange behavior of pf on my 4.6 box. > | > | Filtering rules are present in pf.conf in next order: > | block in all

Re: pf changes the order of filtering rules

2009-11-03 Thread Alexander Shikoff
On Tue, Nov 03, 2009 at 05:00:39PM +0300, Vadim Zhukov wrote: > > Does anyone know how to disable this? Thanks in advance! > > 1. Why do you want to disable this? Did you even noticed actual problems? > > 2. See pf.conf(5), particularly part about "ruleset-optimization" option. > But better you

Re: pf changes the order of filtering rules

2009-11-03 Thread Alexander Shikoff
On Wed, Nov 04, 2009 at 01:43:08AM +0200, Alexander Shikoff wrote: > On Tue, Nov 03, 2009 at 10:44:08PM +, Stuart Henderson wrote: > > On 2009-11-03, Alexander Shikoff wrote: > > > Because I need queuing for outgoing traffic on vlan* interfaces. > > > When keep st

Re: pf changes the order of filtering rules

2009-11-03 Thread Alexander Shikoff
On Tue, Nov 03, 2009 at 10:44:08PM +, Stuart Henderson wrote: > On 2009-11-03, Alexander Shikoff wrote: > > Because I need queuing for outgoing traffic on vlan* interfaces. > > When keep state is used then queues for outgoing traffic do not work. > > this (and variations