ifconfig_lo0_alias0 does not work any more on 9-CURRENT

2009-12-07 Thread Vladimir Grebenschikov
Hi After upgrade RELENG_8 -> 9-CURRENT following line in rc.con does not work any more for me. (after boot no alias address on loop-back interface). ifconfig_lo0_alias0="127.0.0.2/32" console output while is usual, without errors, but does not shows required address: --- Starting Network: lo0

Re: ifconfig_lo0_alias0 does not work any more on 9-CURRENT - solved

2009-12-08 Thread Vladimir Grebenschikov
Hi Looks like now it is required to add 'inet ' prefix to ifconfig lines, for os <= 8.0 it was not required, although corrected line: ifconfig_lo0_alias0="inet 127.0.0.2/32" > After upgrade RELENG_8 -> 9-CURRENT following line in rc.con does not > work any more for me. (after boot no alias a

ppp vs mpd: ppp fails to keep connection, mpd works

2008-06-15 Thread Vladimir Grebenschikov
Hi I am trying to find why with same configuration ppp does not works with my CDMA modem (connected over usb) but mpd works. MPD log (it works as expected): ... [umodem0] link: UP event [umodem0] link: origination is remote [umodem0] LCP: Up event [umodem0] LCP: state change Starting --> Req-Sent

Re: cvs commit: src/sys/contrib/dev/ath COPYRIGHT README ah.h ah_desc.h ah_devid.h ah_soc.h version.h src/sys/contrib/dev/ath/public alpha-elf.hal.o.uu alpha-elf.inc alpha-elf.opt_ah.h ap30.hal.o.uu a

2008-09-08 Thread Vladimir Grebenschikov
On Wed, 2008-09-03 at 17:52 +0100, Rui Paulo wrote: > On Tue, Sep 02, 2008 at 11:08:00PM +0400, Vladimir Grebenschikov wrote: > > ? Thu, 28/08/2008 ? 00:22 +, Rui Paulo ?: > > > rpaulo 2008-08-28 00:22:59 UTC > > > > > > After that commit my wire

Re: cvs commit: src/sys/contrib/dev/ath COPYRIGHT README ah.h ah_desc.h ah_devid.h ah_soc.h version.h src/sys/contrib/dev/ath/public alpha-elf.hal.o.uu alpha-elf.inc alpha-elf.opt_ah.h ap30.hal.o.uu a

2008-09-11 Thread Vladimir Grebenschikov
On Tue, 2008-09-09 at 17:24 +0100, Rui Paulo wrote: > On Mon, Sep 08, 2008 at 06:19:06PM +0400, Vladimir Grebenschikov wrote: > > On Wed, 2008-09-03 at 17:52 +0100, Rui Paulo wrote: > > > On Tue, Sep 02, 2008 at 11:08:00PM +0400, Vladimir Grebenschikov wrote: > > >

net/mpd, net/mpd5 do not work on 8-CURRENT

2008-11-04 Thread Vladimir Grebenschikov
Hi These ports are still using set line discipline ioctl to configure ng_tty, but it is not work any more (with new ttys). src/modem.c: if (ioctl(m->fd, TIOCSETD, &ldisc) < 0) ... mpd log: [skylink] opening link "umodem0"... [umodem0] link: OPEN event [umodem0] LCP: Open event [umodem0] LCP: st

Re: HEADSUP: arp-v2 has been committed

2008-12-19 Thread Vladimir Grebenschikov
On Mon, 15 Dec 2008 06:34:13 GMT, Qing Li wrote: > > The arp-v2 changes have been committed into HEAD. > > Please report problems to me and Kip Macy. Wine is not build any more: ... cc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasi

Re: HEADSUP: arp-v2 has been committed

2008-12-19 Thread Vladimir Grebenschikov
On Mon, 2008-12-15 at 15:42 +0200, Giorgos Keramidas wrote: > On Mon, 15 Dec 2008 06:34:13 GMT, Qing Li wrote: > > Hi All, > > > > The arp-v2 changes have been committed into HEAD. > > Please report problems to me and Kip Macy. Nice, my host sends arp-reply about other hosts my host has MAC addr

IGMP+WiFi panic on recent kernel - in igmp_fasttimo()

2009-03-13 Thread Vladimir Grebenschikov
Hi Recent 8-CURRENT Fatal trap 12: page fault while in kernel mode fault virtual address = 0x14 fault code = supervisor read, page not present instruction pointer = 0x20:0xc05f7251 stack pointer = 0x28:0xc4a8db8c frame pointer = 0x28:0xc4a8dc24 code segment

IGMP+WiFi panic on recent kernel - in igmp_fasttimo()

2009-03-13 Thread Vladimir Grebenschikov
Hi Recent 8-CURRENT Fatal trap 12: page fault while in kernel mode fault virtual address = 0x14 fault code = supervisor read, page not present instruction pointer = 0x20:0xc05f7251 stack pointer = 0x28:0xc4a8db8c frame pointer = 0x28:0xc4a8dc24 code segment

Crash while disconnecting notebook from dock, network related

2009-03-27 Thread Vladimir Grebenschikov
Hi Recent 8-CURRENT kernel crashes on disconnection notebook from dock station. It happens sometimes. Most probably bug actually related to network stack, on dock disconnect following commands executed: /opt/bin/service netif stop em0; /opt/bin/service netif start ath0 (un-configure em0, confi

Re: How to change default source address?

2009-07-24 Thread Vladimir Grebenschikov
Hi > you could set up 2 routing tables and assign different apps to use > different tables Is it possible to select routing table by ipfw setfib X ? someting like: ipfw add setfib 1 ip from a.b.c.d to any out xmit em0 setfib 1 route add default 10.10.10.1 PS: you may need to compile kern

Re: How to change default source address?

2009-07-24 Thread Vladimir Grebenschikov
> >> you could set up 2 routing tables and assign different apps to use > >> different tables > > > > Is it possible to select routing table by ipfw setfib X ? > > > > someting like: > > > > ipfw add setfib 1 ip from a.b.c.d to any out xmit em0 > > setfib 1 route add default 10.10.10.1 > > n

net/haproxy - some ideas

2009-08-03 Thread Vladimir Grebenschikov
Hi Recently I've looked into net/haproxy port on FreeBSD. Contrary to recent Linux there is no splice() functionality, so all data move between sockets is done through user-space. First idea - to use ksocket netgraph node to accept connections, and send data to both directions, theoretically it

Re: Mpd-4.2 released.

2007-06-28 Thread Vladimir Grebenschikov
В ср, 27/06/2007 в 01:50 +0300, Alexander Motin пишет: > Julian Elischer wrote: > > There has been some talk about whether mpd should be put in the base > > system to replace our 3 other ppp implementations. I guess one step > > would be to see what the usage cases would be for replacing if_ppp a

Re: Crash with recent kernel on wireless

2008-04-26 Thread Vladimir Grebenschikov
On Fri, 2008-04-25 at 18:00 +0200, Roland Smith wrote: > On Fri, Apr 25, 2008 at 04:25:14PM +0400, Vladimir Grebenschikov wrote: > > Hi > > > > Recently I've upgraded 7-STABLE: Mar 11 -> Apr 24 > > > > Everything was fine until I've tried to c

Re: help:: configuring two network interfaces--message->>ifconfig: ioctl (SIOCAIFADDR): File exists

2004-09-07 Thread Vladimir Grebenschikov
В вт, 07/09/2004 в 10:38 +0300, Dmitriy V. Andrushko пишет: > > ifconfig_rl1="inet 192.168.10.1 netmask 255.255.255.0" > > ifconfig_rl0="inet 192.168.10.2 netmask 255.255.255.0" > > You can't have two network interfaces on the same subnet. You can > configure your net next way: > ifconfig_rl1

Re: Ability to live lock 5.3 via routing...

2004-11-10 Thread Vladimir Grebenschikov
В ср, 10/11/2004 в 06:38 -0800, Sean Chittenden пишет: > >> Pretty easy for me to reproduce. The machine live locks so I can't > >> get > >> anything out of it, serial console or otherwise. :( Imagine a > >> machine > >> with two NICs, fxp0 and fxp1 (though it could be any two NICs). The > >>

Re: route add -host ... -iface issues

2004-11-15 Thread Vladimir Grebenschikov
Ð ÐÐ, 15/11/2004 Ð 18:28 +0100, SÅawek Åak ÐÐÑÐÑ: > Hi, > > I'd like to ask why a static arp entry is added when direct route to host > is > added like this? > > route add -host target -iface interface > > The route(8) manpage says, that such route entry is for hosts directly >

Re: route add -host ... -iface issues

2004-11-15 Thread Vladimir Grebenschikov
Ð ÐÐ, 15/11/2004 Ð 18:28 +0100, SÅawek Åak ÐÐÑÐÑ: > Hi, > > I'd like to ask why a static arp entry is added when direct route to host > is > added like this? > > route add -host target -iface interface > > The route(8) manpage says, that such route entry is for hosts directly >

Re: in.c autoadding prefix route

2004-11-17 Thread Vladimir Grebenschikov
В чт, 11/11/2004 в 21:24 +0100, Max Laier пишет: > All, > > I know I have sent this a couple of times before, but never got anywhere. > This > time I am set to commit! > > The attached patch (http://people.freebsd.org/~mlaier/in.c.patch) derived > from > WIDE via OpenBSD in.c, rev 1.21 impro

PPTP connection over another PPTP connection

2004-11-19 Thread Vladimir Grebenschikov
Hi Does anybody knows Is subject possible with mpd ? I have tried both single mpd with two links and two mpd on different machines - no luck. Looks like one mpd does not allows receiving GRE packets inside its traffic. I see only following packets on internal link (that inside another link) [

Re: per-interface packet filters

2004-12-13 Thread Vladimir Grebenschikov
В вт, 14/12/2004 в 11:51 +0300, Gleb Smirnoff пишет: > I know this. We have a well commented firewall scripts, we store them at RCS, > we do many things to make our life easier. But my practice (and my collegues) > shows that per interface filters are easier to understand and maintain when > numbe

Re: per-interface packet filters

2004-12-13 Thread Vladimir Grebenschikov
В вт, 14/12/2004 в 13:54 +0100, Andre Oppermann пишет: > Vladimir Grebenschikov wrote: > > > > I know this. We have a well commented firewall scripts, we store them at > > > RCS, > > > we do many things to make our life easier. But my practice (and my >

Re: per-interface packet filters

2004-12-14 Thread Vladimir Grebenschikov
В вт, 14/12/2004 в 17:13 +0100, Andre Oppermann пишет: > > Yes, but is about "how netgraph interfere with ipfw" sometimes, netgraph > > filtering has nothing common with host filtering. > > Nontheless you need to call it from somewhere? Yes, If, for example, I do connection of two VPNs without

Re: per-interface packet filters

2004-12-14 Thread Vladimir Grebenschikov
В вт, 14/12/2004 в 17:56 +0100, Andre Oppermann пишет: > > > > Yes, but is about "how netgraph interfere with ipfw" sometimes, netgraph > > > > filtering has nothing common with host filtering. > > > > > > Nontheless you need to call it from somewhere? > > > > Yes, If, for example, I do connectio

Re: per-interface packet filters

2004-12-14 Thread Vladimir Grebenschikov
Ð ÐÑ, 14/12/2004 Ð 16:02 +0100, Andre Oppermann ÐÐÑÐÑ: > Vladimir Grebenschikov wrote: > > > > Ã ÃÃ, 14/12/2004 Ã 13:54 +0100, Andre Oppermann Ã: > > > It's about HOW to implement it. I think the ways proposed so far are > > > hackish, too complex and o

Invalid 'route change' functioning

2005-01-17 Thread Vladimir Grebenschikov
Hi I am try to do following thing - configure another interface with same address on same broadcast segment (but wired) and then change route entry from one interface to another: # ifconfig iwi0 iwi0: flags=8843 mtu 1500 inet 192.168.1.111 netmask 0xfe00 broadcast 192.168.1.255

Re: Invalid 'route change' functioning

2005-01-17 Thread Vladimir Grebenschikov
В пн, 17/01/2005 в 10:22 -0500, John Barbieri пишет: > Vladimir Grebenschikov wrote: > > >Hi > > > >I am try to do following thing - configure another interface with same > >address on same broadcast segment (but wired) and then change route > >

Re: Invalid 'route change' functioning

2005-01-17 Thread Vladimir Grebenschikov
В пн, 17/01/2005 в 18:05 +0200, Ruslan Ermilov пишет: > > Any ideas what wrong with 'route change' ? > > > The route(8) manpage says: > > : In a change or add command where the destination and gateway are not suf- > : ficient to specify the route (as in the ISO case where several interfaces > :

Re: [PATCH] 802.1p priority

2005-01-20 Thread Vladimir Grebenschikov
В чт, 20/01/2005 в 08:54 +0500, Boris Kovalenko пишет: > Hello! > > I want to implement 802.1p priority tagging for VLAN. I made this dirty > patch and wonder - it works for me. May somebody look at it and tell me > is this enough for BSD community or should I look and patch something more?

something wrong with either port net/iwi-firmare or iwi driver in tree on current

2005-12-08 Thread Vladimir Grebenschikov
Hi It is happens on fresh 7-CURRENT. $ man 4 iwi ... This driver requires firmware to be loaded before it will work. You need to install the net/iwi-firmware port before ifconfig(8) will work ... /usr/ports/net/iwi-firmware# make ===> iwi-firmware-2.4 iwi(4) support is already includ

Re: New version of iwi(4) - Call for testers

2006-03-15 Thread Vladimir Grebenschikov
В ср, 15/03/2006 в 04:41 +0100, Max Laier пишет: > All, > > the new version at: > http://people.freebsd.org/~mlaier/new_iwi/20060315.both.tgz > > should build for RELENG_6 and HEAD. Make sure to have the latest RELENG_6 > checkout with the taskqueue changes. > > This version supports version

iwi driver: ioctl[SIOCS80211, op 21, len 42]: Invalid argument

2006-09-19 Thread Vladimir Grebenschikov
Hi i am triing to connect Intel(R) PRO/Wireless 2200BG - iwi0 to WPA-EAP wireless network with PEAP: # wpa_supplicant -i iwi0 -c /usr/local/etc/wpa_supplicant.conf Trying to associate with SSID 'OFFICE-PEAP' ioctl[SIOCS80211, op 21, len 42]: Invalid argument Association request to the driver fail

Re: iwi driver: ioctl[SIOCS80211, op 21, len 42]: Invalid argument

2006-09-20 Thread Vladimir Grebenschikov
[ Charset ISO-8859-1 unsupported, converting... ] > Vladimir Grebenschikov wrote: > > Hi > > > > i am triing to connect Intel(R) PRO/Wireless 2200BG - iwi0 to WPA-EAP > > wireless network with PEAP: > > > > # wpa_supplicant -i iwi0 -c /usr/local/etc/wpa_

Re: Avoiding natd overhead

2006-10-21 Thread Vladimir Grebenschikov
В сб, 21/10/2006 в 00:47 -0600, Brett Glass пишет: > I'm working with a FreeBSD-based router that's using IPFW for > policy routing, traffic shaping, and transparent proxying and natd > for network address translation. IPFW does these things pretty well > (in fact, I don't know if another firewa

Re: Avoiding natd overhead

2006-10-22 Thread Vladimir Grebenschikov
В сб, 21/10/2006 в 16:08 -0600, Brett Glass пишет: > At 03:54 AM 10/21/2006, Vladimir Grebenschikov wrote: > > > 1. use PF for nat - it does aliasing in kernel space > > True, but it doesn't let me translate the packets and > then continue processing within the firewa

Re: My planned work on networking stack

2004-03-02 Thread Vladimir Grebenschikov
On вт, 2004-03-02 at 11:26 +0300, Gleb Smirnoff wrote: Hi > Currently I'm working on my Netflow implementation, and I have faced the > following problem: I've already got global routing in my routing table, but it > lacks AS (Autonomous System) information. The routing daemon (zebra in my case)

Re: My planned work on networking stack

2004-03-03 Thread Vladimir Grebenschikov
On вт, 2004-03-02 at 19:32 +, Bruce M Simpson wrote: > On Tue, Mar 02, 2004 at 07:09:02PM +0300, Gleb Smirnoff wrote: > > I do not insist that AS pathes in kernel are good idea. If you show me an > > other way to get AS information when constructing netflow exports in kernel, > > I'd be than