From owner-freebsd-net@FreeBSD.ORG Sun Oct 19 00:28:31 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CE6D106568E for ; Sun, 19 Oct 2008 00:28:31 +0000 (UTC) (envelope-from sandiegobiker@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 50B038FC08 for ; Sun, 19 Oct 2008 00:28:31 +0000 (UTC) (envelope-from sandiegobiker@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1055235rvf.43 for ; Sat, 18 Oct 2008 17:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BNahnxhfLuiX4ffbJ+H1xxmJnNzd4gCeIU1fMGT/18c=; b=blpboRClxq4BkZBBf9FR3uXvVpeot7MellDIhbRpmviM3dPBEXYs7fd4JazYtVIrjk jSuFr7yXh+PEbdLxekV2BhCvmZ0pmWwxJYr1waKAoCO/xwRu39EbeV5UPWySUroMIqWf 0oINDXu1j+5isQraZHe64tR19AXiwcG4xzvzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hzilZYNh3nx85wlcBvaSB9CgMkGy/9X2BryTux/yXW1JsPnYcpEAltruqVEC4OJE13 4trqLlV3MsdFw6hjaNSVPLslHCef8Ew1Qs/BXshDNIoYDTvqqRSE98KUVk1KpGA1MLVo NXGIuF3pnD6Bq8/1CL9fTEeS76YX8UM6XmNG8= Received: by 10.141.88.3 with SMTP id q3mr3669508rvl.46.1224376110686; Sat, 18 Oct 2008 17:28:30 -0700 (PDT) Received: by 10.141.37.19 with HTTP; Sat, 18 Oct 2008 17:28:30 -0700 (PDT) Message-ID: <27cb3ada0810181728w3f41e3d0pe2fca8102b0c7206@mail.gmail.com> Date: Sat, 18 Oct 2008 17:28:30 -0700 From: "Len Gross" To: "freebsd-net@freebsd.org" In-Reply-To: <27cb3ada0810181512qeab4020g912096848212ad86@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <27cb3ada0810181512qeab4020g912096848212ad86@mail.gmail.com> Subject: Re: Timers in drivers vs userland X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2008 00:28:31 -0000 Slight correction; I should have said more accurate usleep, not "timer." -- Len On Sat, Oct 18, 2008 at 3:12 PM, Len Gross wrote: > If I place a timer directly in a driver (like Ethernet) will it be > subject to less jitter and more consistency than if it were in > Userland? > > I know FreeBSD is not "real time," but I need to be able to run a > polling algorithm with about 1 ms accuracy. > > Thanks in advance. > > (Please tell me if there is a better list for this question.) > > -- Len > From owner-freebsd-net@FreeBSD.ORG Sun Oct 19 11:17:14 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 660061065687 for ; Sun, 19 Oct 2008 11:17:14 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.freebsd.org (Postfix) with ESMTP id F22588FC14 for ; Sun, 19 Oct 2008 11:17:13 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from [129.247.12.17] ([129.247.12.17]) by smtp-1.dlr.de with Microsoft SMTPSVC(6.0.3790.1830); Sun, 19 Oct 2008 13:17:11 +0200 Message-ID: <48FB1739.8020608@dlr.de> Date: Sun, 19 Oct 2008 13:17:13 +0200 From: Hartmut Brandt Organization: German Aerospace Center User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Eugene Grosbein References: <20081018092405.GA91929@svzserv.kemerovo.su> <48FA1A7C.5060801@dlr.de> <20081018184140.GA71679@svzserv.kemerovo.su> In-Reply-To: <20081018184140.GA71679@svzserv.kemerovo.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Oct 2008 11:17:11.0675 (UTC) FILETIME=[3B7354B0:01C931DC] Cc: net@freebsd.org Subject: Re: SNMP High Capacity Counters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2008 11:17:14 -0000 Eugene Grosbein wrote: > On Sat, Oct 18, 2008 at 07:18:52PM +0200, Hartmut Brandt wrote: > >>> I've just found that ports/net-snmp (version 5.4) built >>> WITH_MFD_REWRITES=yes supports IF-MIB, and in theory should show 64-bit >>> ifHC* counters but it does not. >>> >>> It seems agent/mibgroup/if-mib/data_access/interface_sysctl.c that obtains >>> interface statistics from the kernel. >>> The function netsnmp_arch_interface_container_load() has the following >>> code: >>> >>> /* get counters */ >>> entry->stats.ibytes.low = ifp->ifm_data.ifi_ibytes; >>> entry->stats.ibytes.high = 0; >>> entry->stats.iucast.low = ifp->ifm_data.ifi_ipackets; >>> entry->stats.iucast.high = 0; >>> entry->stats.imcast.low = ifp->ifm_data.ifi_imcasts; >>> entry->stats.imcast.high = 0; >>> >>> So, it always produce 32-bit quantities. My question is: >>> does FreeBSD/i386 kernel maintain 64-bit counters for interface statictics >>> these days? If yes, since what version? > >> It does not, because not all architectures have atomic 64-bit increments >> and adds. Implementing 64-bit counters on these architectures would >> require some kind of locking. This was discussed in the past. > > Yes, I've read archives and saw a discussion dated 2002 or 2003. > Some time has passed since than, generic CPU horsepower has changed. > And I'm sure IPFW maintains 64-bit counters for FreeBSD/i386 > without a problem. Yes, IPFW is additional feature and needs to be enables > explicitly. I run it since 2.2.8 in every kernel and had no problems with > (lots of) its 64-bit counters. Would (optionally) having > another pack of them hurt? I've read someone made a path for 64-bit > statictics counters in 2002. The problem is not the CPU horsepower. The problem is that you update these counters on each incoming packet. No problem for desktops, but if you want to route several 100kps this may hurt. I have no idea, how IPFW does it. Perhaps it just declares the variables as 64-bit and if the value is wrong because of a race condition, then it is just wrong. With SNMP I would not like to have wrong counters - people use these counters for accounting purposes. > >> You might look at the IF-MIB implementation of bsnmp (it is in the base >> system). It uses periodic polling to detect wraps of the 32-bit >> counters. The poll interval is tuned to the fastest interface in the >> system (given that all interfaces reported the correct speed). >> >> Note, that the netsnmp implementation is plain wrong - if the daemon >> does not support the HC counters it should never pretend to do. This is >> explicitely stated somewhere in the RFCs. > > It does really support them for Linux and Solaris. > They seem to have solved this problem somehow. > It would be very nice to have, say, kernel option to enable > the support. Just like options IPFIREWALL. I remember a mail from, I think, phk (cannot find it, though) where he described a method to handle, I think, geom statistics in a lockless way. The idea was to put a generation count at the begin and the end of the data area. The consumer would copy the entire area and compare the generation counts. If they are equal, the stats are ok, if they differ, you take another turn. You need of course the right memory barriers in the code so that neither the CPU nor the compiler reorders the increments and this will cost some cycles (no idea how many). I don't know what happened to this (never looked at the geom code) but it sounds usable for interface statistics too. Would be nice, though, to have this mechansim in the sysctl handler so that userspace needs not to care about this stuff. harti From owner-freebsd-net@FreeBSD.ORG Sun Oct 19 13:22:28 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 647BD106568F for ; Sun, 19 Oct 2008 13:22:28 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id B35638FC1C for ; Sun, 19 Oct 2008 13:22:27 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id m9JDMLk1099474; Sun, 19 Oct 2008 21:22:21 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id m9JDMKuL099473; Sun, 19 Oct 2008 21:22:20 +0800 (KRAST) (envelope-from eugen) Date: Sun, 19 Oct 2008 21:22:20 +0800 From: Eugene Grosbein To: Hartmut Brandt Message-ID: <20081019132220.GA97807@svzserv.kemerovo.su> References: <20081018092405.GA91929@svzserv.kemerovo.su> <48FA1A7C.5060801@dlr.de> <20081018184140.GA71679@svzserv.kemerovo.su> <48FB1739.8020608@dlr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48FB1739.8020608@dlr.de> User-Agent: Mutt/1.4.2.3i Cc: net@freebsd.org Subject: Re: SNMP High Capacity Counters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2008 13:22:28 -0000 On Sun, Oct 19, 2008 at 01:17:13PM +0200, Hartmut Brandt wrote: > The problem is not the CPU horsepower. The problem is that you update > these counters on each incoming packet. No problem for desktops, but if > you want to route several 100kps this may hurt. I have no idea, how IPFW > does it. Perhaps it just declares the variables as 64-bit and if the > value is wrong because of a race condition, then it is just wrong. With > SNMP I would not like to have wrong counters - people use these counters > for accounting purposes. IPFW defines its counters as u_int64_t and uses mtx_lock/mtx_unlock while updating. Basically, this means lots of locking for every packet for IPFW-enables system. I do not say we need 64 bit stats in kernel by default. Just optionally, for those that have no problem with pps but likes to have 64 bit ifHC*'s. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 06:48:11 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 350A1106567B; Mon, 20 Oct 2008 06:48:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0BC0B8FC1B; Mon, 20 Oct 2008 06:48:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (yongari@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9K6mAiE031535; Mon, 20 Oct 2008 06:48:10 GMT (envelope-from yongari@freefall.freebsd.org) Received: (from yongari@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9K6mAKJ031531; Mon, 20 Oct 2008 06:48:10 GMT (envelope-from yongari) Date: Mon, 20 Oct 2008 06:48:10 GMT Message-Id: <200810200648.m9K6mAKJ031531@freefall.freebsd.org> To: yongari@FreeBSD.org, freebsd-net@FreeBSD.org, yongari@FreeBSD.org From: yongari@FreeBSD.org Cc: Subject: Re: kern/128143: [rl] NIC Realtek 8139 doesn't work with RAM higher than 4GB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 06:48:11 -0000 Synopsis: [rl] NIC Realtek 8139 doesn't work with RAM higher than 4GB Responsible-Changed-From-To: freebsd-net->yongari Responsible-Changed-By: yongari Responsible-Changed-When: Mon Oct 20 06:46:47 UTC 2008 Responsible-Changed-Why: It looks like rl(4) requires bus_dma(9) cleanup. Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=128143 From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 11:06:55 2008 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B126E1065684 for ; Mon, 20 Oct 2008 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0D88FC14 for ; Mon, 20 Oct 2008 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9KB6tsS082739 for ; Mon, 20 Oct 2008 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KB6ti7082735 for freebsd-net@FreeBSD.org; Mon, 20 Oct 2008 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Oct 2008 11:06:55 GMT Message-Id: <200810201106.m9KB6ti7082735@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/128181 net [fxp] panic in fxp_add_rfabuf o conf/128030 net [request] Isn't it time to enable IPsec in GENERIC? o bin/128001 net wpa_supplicant(8), wlan(4), and wi(4) issues o kern/127928 net [tcp] [patch] TCP bandwidth gets squeezed every time t o kern/127834 net [ixgbe] [patch] wrong error counting o kern/127826 net [iwi] iwi0 driver has reduced performance and connecti o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from o kern/127724 net [rtalloc] rtfree: 0xc5a8f870 has 1 refs f bin/127719 net arp: Segmentation fault (core dumped) s kern/127587 net [bge] [request] if_bge(4) doesn't support BCM576X fami f kern/127528 net [icmp]: icmp socket receives icmp replies not owned by o bin/127192 net routed(8) removes the secondary alias IP of interface f kern/127145 net [wi]: prism (wi) driver crash at bigger traffic o kern/127102 net [wpi] Intel 3945ABG low throughput o kern/127057 net [udp] Unable to send UDP packet via IPv6 socket to IPv o kern/127050 net [carp] ipv6 does not work on carp interfaces [regressi o kern/126984 net [carp][patch] add carp userland notifications via devc o kern/126945 net [carp] CARP interface destruction with ifconfig destro o kern/126924 net [an] [patch] printf -> device_printf and simplify prob o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) o kern/126874 net [vlan]: Zebra problem if ifconfig vlanX destroy o bin/126822 net wpa_supplicant(8): WPA PSK does not work in adhoc mode o kern/126714 net [carp] CARP interface renaming makes system no longer o kern/126695 net rtfree messages and network disruption upon use of if_ o kern/126688 net [ixgbe] [patch] 1.4.7 ixgbe driver panic with 4GB and f kern/126564 net [ath] doesn't work with my PCI-E X1 wireless network a o kern/126561 net [nlm] [patch] NLM (rpclockd) RPC UNLOCK failure (stall o kern/126475 net [ath] [panic] ath pcmcia card inevitably panics under o kern/126469 net [fxp] [panic] fxp(4) related kernel panic o kern/126339 net [ipw] ipw driver drops the connection o kern/126214 net [ath] txpower problem with Atheros wifi card o kern/126075 net [in] Network: internet control accesses beyond end of o bin/125922 net [patch] Deadlock in arp(8) o kern/125920 net [arp] Kernel Routing Table loses Ethernet Link status o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o kern/125816 net [carp] [if_bridge] carp stuck in init when using bridg f kern/125502 net [ral] ifconfig ral0 scan produces no output unless in o kern/125258 net [socket] socket's SO_REUSEADDR option does not work o kern/125239 net [gre] kernel crash when using gre f kern/125195 net [fxp] fxp(4) driver failed to initialize device Intel o kern/125079 net [ppp] host routes added by ppp with gateway flag (regr o kern/124904 net [fxp] EEPROM corruption with Compaq NC3163 NIC o kern/124767 net [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 net [ieee80211] net80211 discards power-save queue packets o kern/124609 net [ipsec] [panic] ipsec 'remainder too big' panic with p o kern/124341 net [ral] promiscuous mode for wireless device ral0 looses o kern/124160 net [libc] connect(2) function loops indefinitely o kern/124127 net [msk] watchdog timeout (missed Tx interrupts) -- recov o kern/124021 net [ip6] [panic] page fault in nd6_output() o bin/124004 net ifconfig(8): Cannot assign both an IP and a MAC addres o kern/123968 net [rum] [panic] rum driver causes kernel panic with WPA. p kern/123961 net [vr] [patch] Allow vr interface to handle vlans o kern/123892 net [tap] [patch] No buffer space available o kern/123881 net [tcp] Turning on TCP blackholing causes slow localhost o kern/123858 net [stf] [patch] stf not usable behind a NAT o kern/123796 net [ipf] FreeBSD 6.1+VPN+ipnat+ipf: port mapping does not o bin/123633 net ifconfig(8) doesn't set inet and ether address in one o kern/123617 net [tcp] breaking connection when client downloading file o kern/123603 net [tcp] tcp_do_segment and Received duplicate SYN o kern/123559 net [iwi] iwi periodically disassociates/associates [regre o bin/123465 net [ip6] route(8): route add -inet6 -interfac o kern/123463 net [ipsec] [panic] repeatable crash related to ipsec-tool o kern/123429 net [nfe] [hang] "ifconfig nfe up" causes a hard system lo o kern/123347 net [bge] bge1: watchdog timeout -- linkstate changed to D o conf/123330 net [nsswitch.conf] Enabling samba wins in nsswitch.conf c o kern/123256 net [wpi] panic: blockable sleep lock with wpi(4) f kern/123200 net [netgraph] Server failure due to netgraph mpd and dhcp f kern/123172 net [bce] Watchdog timeout problems with if_bce o kern/123160 net [ip] Panic and reboot at sysctl kern.polling.enable=0 o kern/123066 net [ipsec] [panic] kernel trap with ipsec o kern/122989 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/122954 net [lagg] IPv6 EUI64 incorrectly chosen for lagg devices o kern/122928 net [em] interface watchdog timeouts and stops receiving p f kern/122839 net [multicast] FreeBSD 7 multicast routing problem p kern/122794 net [lagg] Kernel panic after brings lagg(8) up if NICs ar o kern/122780 net [lagg] tcpdump on lagg interface during high pps wedge o kern/122772 net [em] em0 taskq panic, tcp reassembly bug causes radix o kern/122743 net [panic] vm_page_unwire: invalid wire count: 0 o kern/122697 net [ath] Atheros card is not well supported o kern/122685 net It is not visible passing packets in tcpdump(1) o kern/122551 net [bge] Broadcom 5715S no carrier on HP BL460c blade usi o kern/122427 net [apm] [panic] apm and mDNSResponder cause panic during o kern/122319 net [wi] imposible to enable ad-hoc demo mode with Orinoco o kern/122290 net [netgraph] [panic] Netgraph related "kmem_map too smal f kern/122252 net [ipmi] [bge] IPMI problem with BCM5704 (does not work o kern/122195 net [ed] Alignment problems in if_ed o kern/122082 net [in_pcb] NULL pointer dereference in in_pcbdrop o kern/122068 net [ppp] ppp can not set the correct interface with pptpd o kern/122058 net [em] [panic] Panic on em1: taskq o kern/122033 net [ral] [lor] Lock order reversal in ral0 at bootup [reg o kern/121983 net [fxp] fxp0 MBUF and PAE o kern/121872 net [wpi] driver fails to attach on a fujitsu-siemens s711 s kern/121774 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/121706 net [netinet] [patch] "rtfree: 0xc4383870 has 1 refs" emit o kern/121624 net [em] [regression] Intel em WOL fails after upgrade to o kern/121555 net [panic] Fatal trap 12: current process = 12 (swi1: net o kern/121443 net [gif] LOR icmp6_input/nd6_lookup o kern/121437 net [vlan] Routing to layer-2 address does not work on VLA o kern/121298 net [em] [panic] Fatal trap 12: page fault while in kernel o kern/121257 net [tcp] TSO + natd -> slow outgoing tcp traffic o kern/121181 net [panic] Fatal trap 3: breakpoint instruction fault whi o kern/121080 net [bge] IPv6 NUD problem on multi address config on bge0 o kern/120966 net [rum] kernel panic with if_rum and WPA encryption p docs/120945 net [PATCH] ip6(4) man page lacks documentation for TCLASS o kern/120566 net [request]: ifconfig(8) make order of arguments more fr o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time o kern/120266 net [panic] gnugk causes kernel panic when closing UDP soc o kern/120232 net [nfe] [patch] Bring in nfe(4) to RELENG_6 o kern/120130 net [carp] [panic] carp causes kernel panics in any conste o kern/119945 net [rum] [panic] rum device in hostap mode, cause kernel o kern/119791 net [nfs] UDP NFS mount of aliased IP addresses from a Sol o kern/119617 net [nfs] nfs error on wpa network when reseting/shutdown f kern/119516 net [ip6] [panic] _mtx_lock_sleep: recursed on non-recursi o kern/119432 net [arp] route add -host -iface causes arp e o kern/119361 net [bge] bge(4) transmit performance problem o kern/119345 net [ath] Unsuported Atheros 5424/2424 and CPU speedstep n o kern/119225 net [wi] 7.0-RC1 no carrier with Prism 2.5 wifi card [regr o bin/118987 net ifconfig(8): ifconfig -l (address_family) does not wor o kern/118880 net [ip6] IP_RECVDSTADDR & IP_SENDSRCADDR not implemented a kern/118879 net [bge] [patch] bge has checksum problems on the 5703 ch o kern/118727 net [netgraph] [patch] [request] add new ng_pf module o kern/117448 net [carp] 6.2 kernel crash [regression] o kern/117423 net [vlan] Duplicate IP on different interfaces o bin/117339 net [patch] route(8): loading routing management commands o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap o kern/117043 net [em] Intel PWLA8492MT Dual-Port Network adapter EEPROM o kern/116837 net [tun] [panic] [patch] ifconfig tunX destroy: panic o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o kern/116328 net [bge]: Solid hang with bge interface o kern/116185 net [iwi] if_iwi driver leads system to reboot o kern/116077 net [ip] [patch] 6.2-STABLE panic during use of multi-cast o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f o kern/114839 net [fxp] fxp looses ability to speak with traffic o kern/114714 net [gre][patch] gre(4) is not MPSAFE and does not support o kern/113842 net [ip6] PF_INET6 proto domain state can't be cleared wit o kern/112722 net [udp] IP v4 udp fragmented packet reject o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 o bin/112557 net [patch] ppp(8) lock file should not use symlink name o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o kern/109733 net [bge] bge link state issues [regression] o kern/109470 net [wi] Orinoco Classic Gold PC Card Can't Channel Hop o kern/109308 net [pppd] [panic] Multiple panics kernel ppp suspected [r o bin/108895 net pppd(8): PPPoE dead connections on 6.2 [regression] o kern/108542 net [bce]: Huge network latencies with 6.2-RELEASE / STABL o kern/107944 net [wi] [patch] Forget to unlock mutex-locks o conf/107035 net [patch] bridge interface given in rc.conf not taking a o kern/106438 net [ipf] ipfilter: keep state does not seem to allow repl o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets s kern/105943 net Network stack may modify read-only mbuf chain copies o bin/105925 net problems with ifconfig(8) and vlan(4) [regression] o conf/102502 net [patch] ifconfig name does't rename netgraph node in n o kern/102035 net [plip] plip networking disables parallel port printing o kern/101948 net [ipf] [panic] Kernel Panic Trap No 12 Page Fault - cau o kern/100519 net [netisr] suggestion to fix suboptimal network polling o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel o kern/95288 net [pppd] [tty] [panic] if_ppp panic in sys/kern/tty_subr o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/95267 net packet drops periodically appear o kern/93378 net [tcp] Slow data transfer in Postfix and Cyrus IMAP (wo f kern/92552 net A serious bug in most network drivers from 5.X to 6.X o kern/92090 net [bge] bge0: watchdog timeout -- resetting s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an o kern/91594 net [em] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/10 o kern/87521 net [ipf] [panic] using ipfilter "auth" keyword leads to k s kern/86920 net [ndis] ifconfig: SIOCS80211: Invalid argument [regress o kern/86103 net [ipf] Illegal NAT Traversal in IPFilter s kern/81147 net [net] [patch] em0 reinitialization while adding aliase o kern/79895 net [ipf] 5.4-RC2 breaks ipfilter NAT when using netgraph o bin/79228 net [patch] extend arp(8) to be able to create blackhole r o kern/78090 net [ipf] ipf filtering on bridged packets doesn't work if p kern/77913 net [wi] [patch] Add the APDL-325 WLAN pccard to wi(4) o kern/77273 net [ipf] ipfilter breaks ipv6 statefull filtering on 5.3 s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match o kern/70904 net [ipf] ipfilter ipnat problem with h323 proxy support o kern/64556 net [sis] if_sis short cable fix problems with NetGear FA3 s kern/60293 net FreeBSD arp poison patch o kern/54383 net [nfs] [patch] NFS root configurations without dynamic s bin/41647 net ifconfig(8) doesn't accept lladdr along with inet addr s kern/39937 net ipstealth issue a kern/38554 net [patch] changing interface ipaddress doesn't seem to w o kern/35442 net [sis] [patch] Problem transmitting runts in if_sis dri o kern/34665 net [ipf] [hang] ipfilter rcmd proxy "hangs". o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c o conf/23063 net [PATCH] for static ARP tables in rc.network 185 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 17:37:40 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF922106566B for ; Mon, 20 Oct 2008 17:37:40 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B02528FC12 for ; Mon, 20 Oct 2008 17:37:40 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 7AB6C1A3C37; Mon, 20 Oct 2008 10:37:40 -0700 (PDT) Date: Mon, 20 Oct 2008 10:37:40 -0700 From: Alfred Perlstein To: freebsd-net@freebsd.org Message-ID: <20081020173740.GK22503@elvis.mu.org> References: <48F93051.6040808@nttmcl.com> <20081018090351.GA29876@verio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081018090351.GA29876@verio.net> User-Agent: Mutt/1.4.2.3i Subject: Re: Closing connection from an accept_filter(9) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 17:37:40 -0000 * David DeSimone [081018 02:25] wrote: > Eugene M. Kim wrote: > > > > Is it possible to close a connection from an accept filter, for > > example, in order to prevent an incoming connection with a malformed > > request body from ever reaching the userland? > > How would you propose to find out what is in the request body without > first accepting the connection? By writing a custom accept filter! :) -Alfred From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 17:39:38 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D153A106567E for ; Mon, 20 Oct 2008 17:39:38 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id BFB088FC16 for ; Mon, 20 Oct 2008 17:39:38 +0000 (UTC) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id A46A71A3C38; Mon, 20 Oct 2008 10:39:38 -0700 (PDT) Date: Mon, 20 Oct 2008 10:39:38 -0700 From: Alfred Perlstein To: Len Gross Message-ID: <20081020173938.GL22503@elvis.mu.org> References: <27cb3ada0810181512qeab4020g912096848212ad86@mail.gmail.com> <27cb3ada0810181728w3f41e3d0pe2fca8102b0c7206@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27cb3ada0810181728w3f41e3d0pe2fca8102b0c7206@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: "freebsd-net@freebsd.org" Subject: Re: Timers in drivers vs userland X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 17:39:38 -0000 Have you tried using rtprio? You'll have to be really careful though so as not to jam up the system using it. -Alfred * Len Gross [081018 17:28] wrote: > Slight correction; I should have said more accurate usleep, not "timer." > > -- Len > > On Sat, Oct 18, 2008 at 3:12 PM, Len Gross wrote: > > If I place a timer directly in a driver (like Ethernet) will it be > > subject to less jitter and more consistency than if it were in > > Userland? > > > > I know FreeBSD is not "real time," but I need to be able to run a > > polling algorithm with about 1 ms accuracy. > > > > Thanks in advance. > > > > (Please tell me if there is a better list for this question.) > > > > -- Len > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- - Alfred Perlstein From owner-freebsd-net@FreeBSD.ORG Mon Oct 20 18:01:15 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2368D1065671 for ; Mon, 20 Oct 2008 18:01:15 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADED8FC1B for ; Mon, 20 Oct 2008 18:01:14 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 225579720 for freebsd-net@freebsd.org; Mon, 20 Oct 2008 20:01:13 +0300 Message-ID: <48FCB959.1010105@FreeBSD.org> Date: Mon, 20 Oct 2008 20:01:13 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.16 (X11/20080726) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Routing table issue X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 18:01:15 -0000 I have noticed one strange issue on recent 7-STABLE/8-CURRENT: - this works: %route add 10.0.0.0/8 192.168.3.1 add net 10.0.0.0: gateway 192.168.3.1 %route add 10.0.0.0/9 192.168.3.2 add net 10.0.0.0: gateway 192.168.3.2 - this doesn't: %route add 0.0.0.0/0 192.168.3.1 add net 0.0.0.0: gateway 192.168.3.1 %route add 0.0.0.0/1 192.168.3.2 route: writing to routing socket: File exists add net 0.0.0.0: gateway 192.168.3.2: route already in table Who wants to explain me why 0.0.0.0/0 and 0.0.0.0/1 is now the same? PS: Same test on 6.2 works fine. -- Alexander Motin From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 12:36:05 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE845106567E for ; Tue, 21 Oct 2008 12:36:05 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id 11D498FC28 for ; Tue, 21 Oct 2008 12:36:04 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id D4059245260 for ; Tue, 21 Oct 2008 15:19:01 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id B991224525E; Tue, 21 Oct 2008 15:19:01 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.5 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_PASS autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id B3BD0244DA3 for ; Tue, 21 Oct 2008 15:00:44 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 8B05A16356D; Tue, 21 Oct 2008 12:00:20 +0000 (UTC) (envelope-from owner-freebsd-net@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id EF87910656D3; Tue, 21 Oct 2008 12:00:19 +0000 (UTC) (envelope-from owner-freebsd-net@freebsd.org) From: freebsd-net-request@freebsd.org To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-net@freebsd.org Errors-To: owner-freebsd-net@freebsd.org Message-Id: <20081021120019.EF87910656D3@hub.freebsd.org> Date: Tue, 21 Oct 2008 12:00:19 +0000 (UTC) X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua X-Mailman-Approved-At: Tue, 21 Oct 2008 13:12:06 +0000 Subject: freebsd-net Digest, Vol 290, Issue 2 X-BeenThere: freebsd-net@freebsd.org Reply-To: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 12:36:06 -0000 Send freebsd-net mailing list submissions to freebsd-net@freebsd.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-net or, via email, send a message with subject or body 'help' to freebsd-net-request@freebsd.org You can reach the person managing the list at freebsd-net-owner@freebsd.org When replying, please edit your Subject line so it is more specific than "Re: Contents of freebsd-net digest..." Today's Topics: 1. Re: Closing connection from an accept_filter(9) (Alfred Perlstein) 2. Re: Timers in drivers vs userland (Alfred Perlstein) 3. Routing table issue (Alexander Motin) ---------------------------------------------------------------------- Message: 1 Date: Mon, 20 Oct 2008 10:37:40 -0700 From: Alfred Perlstein Subject: Re: Closing connection from an accept_filter(9) To: freebsd-net@freebsd.org Message-ID: <20081020173740.GK22503@elvis.mu.org> Content-Type: text/plain; charset=us-ascii * David DeSimone [081018 02:25] wrote: > Eugene M. Kim wrote: > > > > Is it possible to close a connection from an accept filter, for > > example, in order to prevent an incoming connection with a malformed > > request body from ever reaching the userland? > > How would you propose to find out what is in the request body without > first accepting the connection? By writing a custom accept filter! :) -Alfred ------------------------------ Message: 2 Date: Mon, 20 Oct 2008 10:39:38 -0700 From: Alfred Perlstein Subject: Re: Timers in drivers vs userland To: Len Gross Cc: "freebsd-net@freebsd.org" Message-ID: <20081020173938.GL22503@elvis.mu.org> Content-Type: text/plain; charset=us-ascii Have you tried using rtprio? You'll have to be really careful though so as not to jam up the system using it. -Alfred * Len Gross [081018 17:28] wrote: > Slight correction; I should have said more accurate usleep, not "timer." > > -- Len > > On Sat, Oct 18, 2008 at 3:12 PM, Len Gross wrote: > > If I place a timer directly in a driver (like Ethernet) will it be > > subject to less jitter and more consistency than if it were in > > Userland? > > > > I know FreeBSD is not "real time," but I need to be able to run a > > polling algorithm with about 1 ms accuracy. > > > > Thanks in advance. > > > > (Please tell me if there is a better list for this question.) > > > > -- Len > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" -- - Alfred Perlstein ------------------------------ Message: 3 Date: Mon, 20 Oct 2008 20:01:13 +0300 From: Alexander Motin Subject: Routing table issue To: freebsd-net@freebsd.org Message-ID: <48FCB959.1010105@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed I have noticed one strange issue on recent 7-STABLE/8-CURRENT: - this works: %route add 10.0.0.0/8 192.168.3.1 add net 10.0.0.0: gateway 192.168.3.1 %route add 10.0.0.0/9 192.168.3.2 add net 10.0.0.0: gateway 192.168.3.2 - this doesn't: %route add 0.0.0.0/0 192.168.3.1 add net 0.0.0.0: gateway 192.168.3.1 %route add 0.0.0.0/1 192.168.3.2 route: writing to routing socket: File exists add net 0.0.0.0: gateway 192.168.3.2: route already in table Who wants to explain me why 0.0.0.0/0 and 0.0.0.0/1 is now the same? PS: Same test on 6.2 works fine. -- Alexander Motin ------------------------------ _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" End of freebsd-net Digest, Vol 290, Issue 2 ******************************************* From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 19:12:56 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16AC61065682; Tue, 21 Oct 2008 19:12:56 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id 7FCE48FC14; Tue, 21 Oct 2008 19:12:55 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id 827C9244C79; Tue, 21 Oct 2008 22:12:54 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id 68A10244C77; Tue, 21 Oct 2008 22:12:54 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.5 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_PASS autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id 459E7244C4A for ; Tue, 21 Oct 2008 22:12:50 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 3EEF11760D9; Tue, 21 Oct 2008 19:12:01 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 31F01106567B; Tue, 21 Oct 2008 19:11:58 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E25B106566B for ; Tue, 21 Oct 2008 19:11:47 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 476CD8FC14 for ; Tue, 21 Oct 2008 19:11:46 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by gxk9 with SMTP id 9so5795280gxk.19 for ; Tue, 21 Oct 2008 12:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=8TPvMEE3H4VQglFN5Otvcm1e3OB6q+Oyeabjfi+kcAc=; b=Pr0B7g8PddWzOx5kGMDwDGvjw21OwewNZOZ6AJVgEk3etikBnctcuitO214Eapx57o mQJNiCFMXgZ+inj2koKbuF5U5U9rX7oux/gDSOOi2528R5WaYSio6TswStJS8dJedqnJ xozZEygBHevvKb69cTLf2sIIlc/iI6OlfNNu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qy8yNupkBlpGDTGCqePnbPDR74sVhv4CJjRayWMjeEilJjjghq01Frr26SB6EA/rg8 t1WNlQ0txyfQuW0Ml2B6BOaigRY8HLnv3iVJ12H234hWzC34A+ybufume12rGT6PrFiZ H+QIDAWxpYNtxHskVxF+7D/kGMF3ouOOgMGFw= Received: by 10.64.181.19 with SMTP id d19mr7053854qbf.34.1224614930513; Tue, 21 Oct 2008 11:48:50 -0700 (PDT) Received: by 10.64.201.9 with HTTP; Tue, 21 Oct 2008 11:48:50 -0700 (PDT) Message-ID: Date: Tue, 21 Oct 2008 16:48:50 -0200 From: "Eduardo Meyer" To: freebsd-stable@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua Cc: Subject: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 19:12:56 -0000 Hello :) Please, follow: # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0 ifconfig: can't set link-level netmask or broadcast # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3 ifconfig: ether: bad value # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 # ifconfig rl0 ether 00:02:4f:0a:ce:f3 I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3" Won't allow me to do what I want. Any suggestions? I would like like to edit /etc/rc.local and any other kind of "workaround". Can rc.conf issue ifconfig twice for the same nic? Or can ifconfig accomplish this task by someway else other than issuing the command twice? Thank you. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 19:17:31 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03BE31065683 for ; Tue, 21 Oct 2008 19:17:31 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id AD1278FC08 for ; Tue, 21 Oct 2008 19:17:30 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so482973yxb.13 for ; Tue, 21 Oct 2008 12:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=8TPvMEE3H4VQglFN5Otvcm1e3OB6q+Oyeabjfi+kcAc=; b=Pr0B7g8PddWzOx5kGMDwDGvjw21OwewNZOZ6AJVgEk3etikBnctcuitO214Eapx57o mQJNiCFMXgZ+inj2koKbuF5U5U9rX7oux/gDSOOi2528R5WaYSio6TswStJS8dJedqnJ xozZEygBHevvKb69cTLf2sIIlc/iI6OlfNNu4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qy8yNupkBlpGDTGCqePnbPDR74sVhv4CJjRayWMjeEilJjjghq01Frr26SB6EA/rg8 t1WNlQ0txyfQuW0Ml2B6BOaigRY8HLnv3iVJ12H234hWzC34A+ybufume12rGT6PrFiZ H+QIDAWxpYNtxHskVxF+7D/kGMF3ouOOgMGFw= Received: by 10.64.181.19 with SMTP id d19mr7053854qbf.34.1224614930513; Tue, 21 Oct 2008 11:48:50 -0700 (PDT) Received: by 10.64.201.9 with HTTP; Tue, 21 Oct 2008 11:48:50 -0700 (PDT) Message-ID: Date: Tue, 21 Oct 2008 16:48:50 -0200 From: "Eduardo Meyer" To: freebsd-stable@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 19:17:31 -0000 Hello :) Please, follow: # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0 ifconfig: can't set link-level netmask or broadcast # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3 ifconfig: ether: bad value # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 # ifconfig rl0 ether 00:02:4f:0a:ce:f3 I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3" Won't allow me to do what I want. Any suggestions? I would like like to edit /etc/rc.local and any other kind of "workaround". Can rc.conf issue ifconfig twice for the same nic? Or can ifconfig accomplish this task by someway else other than issuing the command twice? Thank you. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 20:41:19 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A211065672; Tue, 21 Oct 2008 20:41:19 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 806C08FC26; Tue, 21 Oct 2008 20:41:19 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from albator.zen.inc (albator.zen.inc [192.168.1.5]) by smtp.zeninc.net (smtpd) with ESMTP id C5D272798B5; Tue, 21 Oct 2008 22:25:09 +0200 (CEST) Received: by albator.zen.inc (Postfix, from userid 1000) id 9FD0E731DE; Tue, 21 Oct 2008 22:25:09 +0200 (CEST) Date: Tue, 21 Oct 2008 22:25:09 +0200 From: VANHULLEBUS Yvan To: Eduardo Meyer Message-ID: <20081021202509.GA2736@zeninc.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: All mail clients suck. This one just sucks less. Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 20:41:19 -0000 On Tue, Oct 21, 2008 at 04:48:50PM -0200, Eduardo Meyer wrote: > Hello :) Hi. > Please, follow: > > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0 > ifconfig: can't set link-level netmask or broadcast > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3 > ifconfig: ether: bad value > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf > > ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3" > > Won't allow me to do what I want. Any suggestions? I would like like > to edit /etc/rc.local and any other kind of "workaround". Can rc.conf > issue ifconfig twice for the same nic? > > Or can ifconfig accomplish this task by someway else other than > issuing the command twice? For your information, I already filled PR bin/124004 some moths ago related to that issue. Yvan. From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 20:42:20 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3984E1065676; Tue, 21 Oct 2008 20:42:20 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id A4D3D8FC2C; Tue, 21 Oct 2008 20:42:19 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id A8B8E244C76; Tue, 21 Oct 2008 23:42:18 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id 8EE07244C73; Tue, 21 Oct 2008 23:42:18 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.5 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_PASS autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id B7C39244C4B for ; Tue, 21 Oct 2008 23:42:15 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 166111584F5; Tue, 21 Oct 2008 20:41:40 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 5ED7E10657AF; Tue, 21 Oct 2008 20:41:35 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A211065672; Tue, 21 Oct 2008 20:41:19 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 806C08FC26; Tue, 21 Oct 2008 20:41:19 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from albator.zen.inc (albator.zen.inc [192.168.1.5]) by smtp.zeninc.net (smtpd) with ESMTP id C5D272798B5; Tue, 21 Oct 2008 22:25:09 +0200 (CEST) Received: by albator.zen.inc (Postfix, from userid 1000) id 9FD0E731DE; Tue, 21 Oct 2008 22:25:09 +0200 (CEST) Date: Tue, 21 Oct 2008 22:25:09 +0200 From: VANHULLEBUS Yvan To: Eduardo Meyer Message-ID: <20081021202509.GA2736@zeninc.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: All mail clients suck. This one just sucks less. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 20:42:20 -0000 On Tue, Oct 21, 2008 at 04:48:50PM -0200, Eduardo Meyer wrote: > Hello :) Hi. > Please, follow: > > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0 > ifconfig: can't set link-level netmask or broadcast > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3 > ifconfig: ether: bad value > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf > > ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3" > > Won't allow me to do what I want. Any suggestions? I would like like > to edit /etc/rc.local and any other kind of "workaround". Can rc.conf > issue ifconfig twice for the same nic? > > Or can ifconfig accomplish this task by someway else other than > issuing the command twice? For your information, I already filled PR bin/124004 some moths ago related to that issue. Yvan. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 20:45:36 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43D821065684; Tue, 21 Oct 2008 20:45:36 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7D90C8FC1D; Tue, 21 Oct 2008 20:45:35 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 1244933C7F; Tue, 21 Oct 2008 22:45:33 +0200 (SAST) Date: Tue, 21 Oct 2008 22:45:33 +0200 From: John Hay To: Eduardo Meyer Message-ID: <20081021204532.GA83935@zibbi.meraka.csir.co.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 20:45:36 -0000 On Tue, Oct 21, 2008 at 04:48:50PM -0200, Eduardo Meyer wrote: > Hello :) > > Please, follow: > > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0 > ifconfig: can't set link-level netmask or broadcast > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3 > ifconfig: ether: bad value > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf > > ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3" > > Won't allow me to do what I want. Any suggestions? I would like like > to edit /etc/rc.local and any other kind of "workaround". Can rc.conf > issue ifconfig twice for the same nic? What about: ifconfig_rl0="ether 00:02:4f:0a:ce:f3" ipv4_addrs_rl0="192.168.2.12/24" John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 20:46:32 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 530A01065670; Tue, 21 Oct 2008 20:46:32 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id BECE68FC12; Tue, 21 Oct 2008 20:46:31 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id C0EEC244C35; Tue, 21 Oct 2008 23:46:30 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id A6D8D244C1E; Tue, 21 Oct 2008 23:46:30 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.5 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_PASS autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id BB640244C18 for ; Tue, 21 Oct 2008 23:46:26 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id DC9E7160E97; Tue, 21 Oct 2008 20:45:52 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 2780410656AF; Tue, 21 Oct 2008 20:45:51 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43D821065684; Tue, 21 Oct 2008 20:45:36 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [IPv6:2001:4200:7000:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7D90C8FC1D; Tue, 21 Oct 2008 20:45:35 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 1244933C7F; Tue, 21 Oct 2008 22:45:33 +0200 (SAST) Date: Tue, 21 Oct 2008 22:45:33 +0200 From: John Hay To: Eduardo Meyer Message-ID: <20081021204532.GA83935@zibbi.meraka.csir.co.za> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 20:46:32 -0000 On Tue, Oct 21, 2008 at 04:48:50PM -0200, Eduardo Meyer wrote: > Hello :) > > Please, follow: > > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0 > ifconfig: can't set link-level netmask or broadcast > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3 > ifconfig: ether: bad value > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf > > ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3" > > Won't allow me to do what I want. Any suggestions? I would like like > to edit /etc/rc.local and any other kind of "workaround". Can rc.conf > issue ifconfig twice for the same nic? What about: ifconfig_rl0="ether 00:02:4f:0a:ce:f3" ipv4_addrs_rl0="192.168.2.12/24" John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 20:59:13 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F7441065672 for ; Tue, 21 Oct 2008 20:59:13 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: from hal.rescomp.berkeley.edu (hal.Rescomp.Berkeley.EDU [169.229.70.150]) by mx1.freebsd.org (Postfix) with ESMTP id 388208FC13 for ; Tue, 21 Oct 2008 20:59:13 +0000 (UTC) (envelope-from ccowart@rescomp.berkeley.edu) Received: by hal.rescomp.berkeley.edu (Postfix, from userid 1225) id 4D09B3C0451; Tue, 21 Oct 2008 13:40:09 -0700 (PDT) Date: Tue, 21 Oct 2008 13:40:07 -0700 From: Christopher Cowart To: Eduardo Meyer Message-ID: <20081021204007.GS66228@hal.rescomp.berkeley.edu> Mail-Followup-To: Eduardo Meyer , freebsd-net@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="L2YZAWjVjAQ1Un1Q" Content-Disposition: inline In-Reply-To: Organization: RSSP-IT, UC Berkeley User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-net@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 20:59:13 -0000 --L2YZAWjVjAQ1Un1Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Eduardo Meyer wrote: > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 >=20 > I ask you some help, how can I accomplish both tasks with rc_ng? In=20 > /etc/rc.conf Somebody might have a hint for a single ifconfig command, but you can also create the file /etc/start_if.rl0 with any additional commands to be run by rc. This will get sourced automatically by rc _before_ the value of ifconfig_rl0 in /etc/rc.conf.=20 For example, in /etc/rc.conf, leave | ifconfig_rl0=3D"inet 192.168.2.12 netmask 255.255.255.0" And in /etc/start_if.rl0, add: | ifconfig rl0 ether 00:02:4f:0a:ce:f3 --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --L2YZAWjVjAQ1Un1Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iQIcBAEBAwAGBQJI/j4nAAoJEIGh6j3cHUNPYA0P/RI15ZzUOiBMJtb0A2HEsqp9 1BX4SSEBl3zI6iqgUFQCzPJCjElHs/zHczgferH+YyQ/+dlEIVK9PGx2/6KJadit /Kif3AlJ/3j/+gwmgggEniR86+bzUMmQ1ocHw1iADPpCqPfDg7hvpQv1J7bDa7ht LVPerTOXKEvQ1Dd1v53/TWTEXOgGANN/uaXUkg7GqwpOqUEjI+eNB+mxQWgYT6DH d/d6ZtVM7rd8E3CiykuUwZ8FF5r9M0UHFhUKtmCus3o0AWdh8llupOZjLCsV6jvb CZ73gW1H7CkT+O1jqyIWykI9hcSU613tyqyUKTLE5u51IL2vfzte8lYBs5P8/F5X IyXchfxpcpw4dd1fxG8HjtKCpoan5gjNuVyVEN3QrjmIc5qauMFYlg+chiAAOqNG s4HVU4GEMSboXP8O1ysX/ZItYr9nqrd5L8ytul1vO8HsMtxsR2kdXv4cnXWP+bsj nVqDuhkyyhXZzpHtpuYDYQaclO/7ywEqk8NPP0I1yP5Dj1QY3MsEOZNNR7Ults3K 1fc2tBIy5TmBMU8Ou7Zzu1TVVNsMyLqp1PbP+s9yPI2x270in/vn/ZmbYlyxT6yF pS0BYcb+5ZT1YuFrcssIgBbkI98jF6LRuoKy5co/qAs0H4X6PHCMX9lGRCgnQlg/ uesthG+soyotAeztiupW =S9oW -----END PGP SIGNATURE----- --L2YZAWjVjAQ1Un1Q-- From owner-freebsd-net@FreeBSD.ORG Tue Oct 21 21:25:45 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F857106567F for ; Tue, 21 Oct 2008 21:25:45 +0000 (UTC) (envelope-from tdcmystere@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 2FDC38FC24 for ; Tue, 21 Oct 2008 21:25:45 +0000 (UTC) (envelope-from tdcmystere@gmail.com) Received: by wa-out-1112.google.com with SMTP id n4so1394621wag.27 for ; Tue, 21 Oct 2008 14:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=RbYwkCnNb+ejQOJ1SkTcbH1GI4SwZVKN/S792UM8jUI=; b=L3DRF7B4LPnQxWxdxHAPSAS8YdCs1eby/8jvYptQ19bcz0QTaaurGWadCAuVJ0UEAX eNlXkUkD34pLEy+5pkPm3yKOhvA/6+iYLKdk3dzPRuYJcYBtYy0hOZV3QouGH89uzV5U z+FH+gS+vL4i44FC+xFEENravEKlVqzVT0M+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=nOflvjboUqukflwJjhDFPs3QlSmIV3cNe98vcjVbd2ByG45NA7jEn8UWtmUDKCWrDv GeFx6DVPK5mfoOyEMD43SDk+YJhBmugBsRmJ/rb49gNVcqpoUL+5r4oRc+Qj3c4TRAmD fFzchdxzZP+dZzBr6q++GCiuVPN80W7Uy6Zx4= Received: by 10.114.181.6 with SMTP id d6mr6859392waf.174.1224624344711; Tue, 21 Oct 2008 14:25:44 -0700 (PDT) Received: by 10.114.102.12 with HTTP; Tue, 21 Oct 2008 14:25:44 -0700 (PDT) Message-ID: Date: Tue, 21 Oct 2008 23:25:44 +0200 From: "Antipov Dima" To: "Eduardo Meyer" , freebsd-net@freebsd.org In-Reply-To: <20081021204007.GS66228@hal.rescomp.berkeley.edu> MIME-Version: 1.0 References: <20081021204007.GS66228@hal.rescomp.berkeley.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 21:25:45 -0000 and sysinstall not work for you? 2008/10/21 Christopher Cowart > Eduardo Meyer wrote: > > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > > > I ask you some help, how can I accomplish both tasks with rc_ng? In > > /etc/rc.conf > > Somebody might have a hint for a single ifconfig command, but you can > also create the file /etc/start_if.rl0 with any additional commands to > be run by rc. This will get sourced automatically by rc _before_ the > value of ifconfig_rl0 in /etc/rc.conf. > > For example, in /etc/rc.conf, leave > > | ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0" > > And in /etc/start_if.rl0, add: > > | ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > -- > Chris Cowart > Network Technical Lead > Network & Infrastructure Services, RSSP-IT > UC Berkeley > From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 04:20:08 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A2A61065679 for ; Wed, 22 Oct 2008 04:20:08 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.freebsd.org (Postfix) with ESMTP id 2CADC8FC1C for ; Wed, 22 Oct 2008 04:20:07 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.183]) by hub.org (Postfix) with ESMTP id 7A50411A2872 for ; Wed, 22 Oct 2008 01:01:40 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 67185-04 for ; Wed, 22 Oct 2008 01:01:40 -0300 (ADT) Received: from [192.168.1.2] (blk-224-204-104.eastlink.ca [24.224.204.104]) by hub.org (Postfix) with ESMTPA id EFCC311A2870 for ; Wed, 22 Oct 2008 01:01:39 -0300 (ADT) Date: Wed, 22 Oct 2008 01:01:39 -0300 From: "Marc G. Fournier" To: freebsd-net@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: tap devices ... restricting IP? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 04:20:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it possible to assign an IP to a tap device, used by something like QEMU, such that someone *inside* the QEMU environment can't modify? Or, if they do modify their own IP, the network inside of QEMU will break, as the internal IP doesn't match what is attached to tap? I'm not seeing anything to that effect in the tap manual, but the part talking about 'control' seems to indicate that you can do this ... - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkj+paMACgkQ4QvfyHIvDvPMRQCdH0hfp3Gp0N4bHwmAvgrNEOlh lRUAoKBA9xzk7umZ782fsODzGH9FpNpM =REoF -----END PGP SIGNATURE----- From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 04:53:33 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D1BB106567E for ; Wed, 22 Oct 2008 04:53:33 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [91.121.27.225]) by mx1.freebsd.org (Postfix) with SMTP id 8B2288FC14 for ; Wed, 22 Oct 2008 04:53:32 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: (qmail 10006 invoked by uid 503); 21 Oct 2008 20:09:40 -0000 Received: from unknown (HELO mail155.ha.ovh.net) (213.186.33.59) by 26.mail-out.ovh.net with SMTP; 21 Oct 2008 20:09:40 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 21 Oct 2008 20:09:02 -0000 Received: from unknown (HELO localhost) (maciej@suszko.eu@62.61.57.118) by ns0.ovh.net with SMTP; 21 Oct 2008 20:08:58 -0000 Date: Tue, 21 Oct 2008 22:08:57 +0200 From: Maciej Suszko To: "Eduardo Meyer" Message-ID: <20081021220857.6877d792@suszko.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/CUy8DMkN2QJNGNZiCzKYhEJ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Ovh-Tracer-Id: 3952471624263819418 X-Ovh-Remote: 62.61.57.118 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 04:53:33 -0000 --Sig_/CUy8DMkN2QJNGNZiCzKYhEJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Eduardo Meyer" wrote: > Hello :) >=20 > Please, follow: >=20 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask > 255.255.255.0 ifconfig: can't set link-level netmask or broadcast >=20 > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether > 00:02:4f:0a:ce:f3 ifconfig: ether: bad value >=20 > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 >=20 > I ask you some help, how can I accomplish both tasks with rc_ng? > In /etc/rc.conf >=20 > ifconfig_rl0=3D"inet 192.168.2.12 netmask 255.255.255.0 ether > 00:02:4f:0a:ce:f3" >=20 > Won't allow me to do what I want. Any suggestions? I would like like > to edit /etc/rc.local and any other kind of "workaround". Can rc.conf > issue ifconfig twice for the same nic? >=20 > Or can ifconfig accomplish this task by someway else other than > issuing the command twice? Use ifconfig_rl0_alias0 for second task. --=20 regards, Maciej Suszko. --Sig_/CUy8DMkN2QJNGNZiCzKYhEJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkj+NtkACgkQCikUk0l7iGqIMgCgg81MocPyMcp1G5KMsday18VV KXgAn2hgaDhI6voEfx8DZHLLf2tgHtBe =alyJ -----END PGP SIGNATURE----- --Sig_/CUy8DMkN2QJNGNZiCzKYhEJ-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 04:54:45 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCDD41065675; Wed, 22 Oct 2008 04:54:45 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (stalker.stu.cn.ua [195.69.76.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5283D8FC1E; Wed, 22 Oct 2008 04:54:45 +0000 (UTC) (envelope-from spamd@stu.cn.ua) Received: from stu.cn.ua (localhost [127.0.0.1]) by stu.cn.ua (Postfix) with ESMTP id 63A6D244C55; Wed, 22 Oct 2008 07:54:44 +0300 (EEST) Received: by stu.cn.ua (Postfix, from userid 58) id 49BC6244C3A; Wed, 22 Oct 2008 07:54:44 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on stalker.stu.cn.ua X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.5 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_PASS autolearn=ham version=3.2.5 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by stu.cn.ua (Postfix) with ESMTP id 5E873244C79 for ; Wed, 22 Oct 2008 07:54:41 +0300 (EEST) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E96F1178DC4; Wed, 22 Oct 2008 04:53:45 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 4E983106569D; Wed, 22 Oct 2008 04:53:43 +0000 (UTC) (envelope-from owner-freebsd-stable@freebsd.org) Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B95F01065674 for ; Wed, 22 Oct 2008 04:53:32 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [91.121.27.225]) by mx1.freebsd.org (Postfix) with SMTP id 20BB28FC0A for ; Wed, 22 Oct 2008 04:53:31 +0000 (UTC) (envelope-from maciej@suszko.eu) Received: (qmail 23858 invoked by uid 503); 21 Oct 2008 20:09:40 -0000 Received: from unknown (HELO mail155.ha.ovh.net) (213.186.33.59) by 26.mail-out.ovh.net with SMTP; 21 Oct 2008 20:09:40 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 21 Oct 2008 20:09:02 -0000 Received: from unknown (HELO localhost) (maciej@suszko.eu@62.61.57.118) by ns0.ovh.net with SMTP; 21 Oct 2008 20:08:58 -0000 Date: Tue, 21 Oct 2008 22:08:57 +0200 From: Maciej Suszko To: "Eduardo Meyer" Message-ID: <20081021220857.6877d792@suszko.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/CUy8DMkN2QJNGNZiCzKYhEJ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Ovh-Tracer-Id: 3952471624263819418 X-Ovh-Remote: 62.61.57.118 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-freebsd-stable@freebsd.org Errors-To: owner-freebsd-stable@freebsd.org X-Virus-Scanned: ClamAV using ClamSMTP on stalker.stu.cn.ua Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 04:54:46 -0000 --Sig_/CUy8DMkN2QJNGNZiCzKYhEJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "Eduardo Meyer" wrote: > Hello :) >=20 > Please, follow: >=20 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask > 255.255.255.0 ifconfig: can't set link-level netmask or broadcast >=20 > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether > 00:02:4f:0a:ce:f3 ifconfig: ether: bad value >=20 > # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 > # ifconfig rl0 ether 00:02:4f:0a:ce:f3 >=20 > I ask you some help, how can I accomplish both tasks with rc_ng? > In /etc/rc.conf >=20 > ifconfig_rl0=3D"inet 192.168.2.12 netmask 255.255.255.0 ether > 00:02:4f:0a:ce:f3" >=20 > Won't allow me to do what I want. Any suggestions? I would like like > to edit /etc/rc.local and any other kind of "workaround". Can rc.conf > issue ifconfig twice for the same nic? >=20 > Or can ifconfig accomplish this task by someway else other than > issuing the command twice? Use ifconfig_rl0_alias0 for second task. --=20 regards, Maciej Suszko. --Sig_/CUy8DMkN2QJNGNZiCzKYhEJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkj+NtkACgkQCikUk0l7iGqIMgCgg81MocPyMcp1G5KMsday18VV KXgAn2hgaDhI6voEfx8DZHLLf2tgHtBe =alyJ -----END PGP SIGNATURE----- --Sig_/CUy8DMkN2QJNGNZiCzKYhEJ-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 05:07:29 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F992106566B for ; Wed, 22 Oct 2008 05:07:29 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (mail.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 65F6F8FC1E for ; Wed, 22 Oct 2008 05:07:29 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id E92635B29; Tue, 21 Oct 2008 21:49:01 -0700 (PDT) To: "Marc G. Fournier" In-reply-to: Your message of "Wed, 22 Oct 2008 01:01:39 -0300." References: Comments: In-reply-to "Marc G. Fournier" message dated "Wed, 22 Oct 2008 01:01:39 -0300." Date: Tue, 21 Oct 2008 21:49:01 -0700 From: Bakul Shah Message-Id: <20081022044901.E92635B29@mail.bitblocks.com> Cc: freebsd-net@freebsd.org Subject: Re: tap devices ... restricting IP? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 05:07:29 -0000 On Wed, 22 Oct 2008 01:01:39 -0300 "Marc G. Fournier" wrote: > Is it possible to assign an IP to a tap device, used by something like QEMU, > such that someone *inside* the QEMU environment can't modify? Or, if they do > modify their own IP, the network inside of QEMU will break, as the internal IP > doesn't match what is attached to tap? > > I'm not seeing anything to that effect in the tap manual, but the part talking > about 'control' seems to indicate that you can do this ... This is not something the tap driver does for you. But you can use DHCP to give the qemu machine its own IP address + setup some firewall rules so that no other IP address can be sourced from the qemu machine. From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 08:39:30 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C25A1065671 for ; Wed, 22 Oct 2008 08:39:30 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from netasq.netasq.com (netasq.netasq.com [213.30.137.178]) by mx1.freebsd.org (Postfix) with ESMTP id A3CF88FC1B for ; Wed, 22 Oct 2008 08:39:29 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from [10.20.1.5] (unknown [10.0.0.126]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by netasq.netasq.com (Postfix) with ESMTP id C445C2C789 for ; Wed, 22 Oct 2008 10:18:51 +0200 (CEST) Message-Id: From: Fabien Thomas To: FreeBSD Net Content-Type: multipart/signed; boundary=Apple-Mail-71--604390568; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 22 Oct 2008 10:17:08 +0200 X-Mailer: Apple Mail (2.929.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Missing fix for fxp driver (FreeBSD 6.x) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 08:39:30 -0000 --Apple-Mail-71--604390568 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c.diff?r1=1.217.2.15;r2=1.217.2.16;f=h This fix is really necessary (dealock of the interface in case of cluster shortage) and not commited in 6.x (but commited in RELENG_5 RELENG_7 and HEAD) Regards, Fabien --Apple-Mail-71--604390568-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 09:20:09 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4372C1065680 for ; Wed, 22 Oct 2008 09:20:09 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id F32D38FC17 for ; Wed, 22 Oct 2008 09:20:08 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by gxk9 with SMTP id 9so6615650gxk.19 for ; Wed, 22 Oct 2008 02:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DVY/DWSxJU9mHZpK1o3lyV5F8y4WsoxYirQCsTca9AM=; b=owtDj3ghaPEIAH3VDmnBJzBlIUibcFJvRAElaSKUr4FpIkCQ+YLdvSf8nLtd2YSrTG DH/coGddIYm/L5NEIJ3PNhonBdTjnMAlpNqZWNBlezyKd7PJCl02DtYK01YATuf+LndK moMRwvvkvkajFeGrFAsNZQClwL/9Z02JYF72U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Uepbifl5l/VmDKozzueFku36ui3Hoe3e0ctzanmojcRh8kVJ19O0hP4+8wlsTtaxbf rgUGwb93wB6qr2D6G3PvTRxSoBb8m3h9Hxk5b4PCAneQwYOS+yMy/wcyRhYx4agjMDR/ xVV+8Goz3EtnbPVQ+34rHxtw59VtIGexu3s+o= Received: by 10.90.74.7 with SMTP id w7mr10074942aga.36.1224665828919; Wed, 22 Oct 2008 01:57:08 -0700 (PDT) Received: by 10.90.81.10 with HTTP; Wed, 22 Oct 2008 01:57:08 -0700 (PDT) Message-ID: Date: Wed, 22 Oct 2008 12:57:08 +0400 From: pluknet To: "Fabien Thomas" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: FreeBSD Net Subject: Re: Missing fix for fxp driver (FreeBSD 6.x) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 09:20:09 -0000 2008/10/22 Fabien Thomas : > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c.diff?r1=1.217.2.15;r2=1.217.2.16;f=h > > This fix is really necessary (dealock of the interface in case of cluster > shortage) and not commited in 6.x (but commited in RELENG_5 RELENG_7 and > HEAD) if_fxp.c r1.239, on which you point, was committed before 6.x was branched. -- wbr, pluknet From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 07:10:44 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25BCC1065679 for ; Wed, 22 Oct 2008 07:10:44 +0000 (UTC) (envelope-from olgaknysh@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id D6FE68FC29 for ; Wed, 22 Oct 2008 07:10:43 +0000 (UTC) (envelope-from olgaknysh@gmail.com) Received: by gxk9 with SMTP id 9so6524255gxk.19 for ; Wed, 22 Oct 2008 00:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pOEuVos0NzasSdD6gthhAJ1gxW/GhU8eP9xUrA8s0Xo=; b=SUP7RzrY6WShSiXOMvH9ZYk5ERopR3lZX7ZdhHKEcYWkwp+WkNNQdho2oQ/VvNhAbq UrLtftGHafROQhJtP502rurUovOpnbDOQoObL5rVoxc6bOiJZF+bR/fY6EXUs+yPPi+V 4tELUbwt3T224kkLKjTKgEGYsdD0G0MHWzt8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=v4ypOe7E4e2t23yFv1ecSrrCGkWDPSmNgua8B8OJKRVqMd0K9rtXLFc4oypnXtSHzJ WuToOUxkGGib96orYODmMKVG2DWqSBPjlFhxBXELCqDudJ++ASvrWalBHTUBkI21kTMS zb7HeO0pIDZmBV56+DGdK77SyuCYnmv57d6zE= Received: by 10.150.95.15 with SMTP id s15mr1061608ybb.219.1224657611282; Tue, 21 Oct 2008 23:40:11 -0700 (PDT) Received: by 10.150.91.8 with HTTP; Tue, 21 Oct 2008 23:40:11 -0700 (PDT) Message-ID: <9e5e0250810212340wf683dc8i68235bf6634b4614@mail.gmail.com> Date: Wed, 22 Oct 2008 06:40:11 +0000 From: "Olga Knysh" To: netgraph MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mailman-Approved-At: Wed, 22 Oct 2008 11:20:14 +0000 Subject: Problem with Netgraph X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 07:10:44 -0000 Hello Mr Coobs! My name is Olga Knysh. I am from Russia. I study at Lomonosov Moscow State University at Physics Department and work in the Lab of Information Technologies. I have read Mr Coobs article about Netgraph and I am trying to make a simple bridge between two netcards, which are mounted at one computer. Mr Coobs advised me to ask you. Here is a code: mkpeer xl0: tee divert left name [ID_tee]: tee0 connect xl1: tee0: upper right ngctl connect . myhook left2right After I turn the scipt on, I get a problem, I cant ping the computer, that works as a bridge. Could this be becoase of the fact, that the computer with the two cards has only one IP adress for only one card. And the information doesn't proceed to switched computer. Can You help me to solve this problem? Best regards, Olga. From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 12:47:52 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFAD01065683 for ; Wed, 22 Oct 2008 12:47:52 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from netasq.netasq.com (netasq.netasq.com [213.30.137.178]) by mx1.freebsd.org (Postfix) with ESMTP id 29A3F8FC16 for ; Wed, 22 Oct 2008 12:47:51 +0000 (UTC) (envelope-from fabien.thomas@netasq.com) Received: from [10.20.1.5] (unknown [10.0.0.126]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by netasq.netasq.com (Postfix) with ESMTP id DB99C2CF7A; Wed, 22 Oct 2008 14:47:50 +0200 (CEST) Message-Id: <0308873F-0ED4-4590-A2F1-51A4CD402EC5@netasq.com> From: Fabien Thomas To: Fabien Thomas In-Reply-To: Content-Type: multipart/signed; boundary=Apple-Mail-83--588254780; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 22 Oct 2008 14:46:04 +0200 References: X-Mailer: Apple Mail (2.929.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Net Subject: Re: Missing fix for fxp driver (FreeBSD 6.x) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 12:47:52 -0000 --Apple-Mail-83--588254780 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Sorry for the noise... I've made a mistake with my local patch vs cvsweb vs commit info that seems to fix the same problem but with another code. If i've to rewrite my initial mail: The fxp deadlock (fixed on head by this commit http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c.diff?r1=1.266;r2=1.267) can be easily reproduced and maybe can be MFC in 6.4 and 7.1 ? When the interface is in deadlock the only way to recover is to do a ifconfig up. Fabien > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/fxp/if_fxp.c.diff?r1=1.217.2.15;r2=1.217.2.16;f=h > > This fix is really necessary (dealock of the interface in case of > cluster shortage) and not commited in 6.x (but commited in RELENG_5 > RELENG_7 and HEAD) > > Regards, > Fabien --Apple-Mail-83--588254780-- From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 13:06:09 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FEAC1065682 for ; Wed, 22 Oct 2008 13:06:09 +0000 (UTC) (envelope-from damien.deville@netasq.com) Received: from netasq.netasq.com (netasq.netasq.com [213.30.137.178]) by mx1.freebsd.org (Postfix) with ESMTP id D57378FC22 for ; Wed, 22 Oct 2008 13:06:08 +0000 (UTC) (envelope-from damien.deville@netasq.com) Received: from barbar.netasq.com (unknown [10.0.0.126]) by netasq.netasq.com (Postfix) with ESMTP id 08DBA1D958 for ; Wed, 22 Oct 2008 14:49:17 +0200 (CEST) Message-ID: <48FF213B.9000303@netasq.com> Date: Wed, 22 Oct 2008 14:48:59 +0200 From: Damien Deville User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <48A2FBBD.1000503@netasq.com> In-Reply-To: <48A2FBBD.1000503@netasq.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: RELENG_7 crash in if_vlan X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: damien.deville@netasq.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 13:06:09 -0000 Hi, Is there any progress on the MFC on this bugfix http://svn.freebsd.org/viewvc/base?view=revision&revision=182413 before 7.1 being released ? The PR is available there http://www.freebsd.org/cgi/query-pr.cgi?pr=126850 Regards, Damien Damien Deville wrote: > Hi, > > On today's checkout of RELENG_7 it is possible to crash the system using > the following commands: > > ifconfig vlan0 create > ifconfig vlan0 -vlandev > > Crash is located in if_vlan.c in vlan_unconfig_locked() when > dereferencing a NULL pointer (ifv->ifv_trunk) to access parent interface > using PARENT macro. > > Damien -- Damien Deville R&D engineer damien.deville@netasq.com http://www.netasq.com NETASQ - We secure IT From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 14:03:34 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B189910656A1 for ; Wed, 22 Oct 2008 14:03:34 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.245]) by mx1.freebsd.org (Postfix) with ESMTP id 661D18FC30 for ; Wed, 22 Oct 2008 14:03:34 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so1084083hsz.11 for ; Wed, 22 Oct 2008 07:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=pTj3sd6r31eUx6pMzgelEdea/JrmP180iYVvAgxiNGE=; b=DknBMKkoj4DBfYvmi0P681x3LIlrmQwH62K2POv9x1QlO9w4ex94yaEkYqbV3bHuXe 84GHXR2sznvJjPcj+nhbYy18s46Dv1kl8OSzUD4WSM1bVhiIr7xn0noXPN/l377c0bTl XWAj+BTfEF6qzbxFhnhziQWZaUiv5VwEdtdQA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fzyBgoPlmago/GqMe4PHu89ZXWIJDV709GWzA0ow0PAy3+Ggpwlwh6XmB4dbOSBPqs H7CV0HotpmIXo5X/ZM3fwFrXm2SnYZcHhCxNrqMFhvWg5HyzTGa/IdY842qMrwDAfwya amwfQVJS0NOouaiFvxavtg5V1RoPBUGNoWCgY= Received: by 10.65.155.7 with SMTP id h7mr8335162qbo.96.1224684212783; Wed, 22 Oct 2008 07:03:32 -0700 (PDT) Received: by 10.64.201.9 with HTTP; Wed, 22 Oct 2008 07:03:32 -0700 (PDT) Message-ID: Date: Wed, 22 Oct 2008 12:03:32 -0200 From: "Eduardo Meyer" To: "Eduardo Meyer" , freebsd-net@freebsd.org In-Reply-To: <20081021204007.GS66228@hal.rescomp.berkeley.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081021204007.GS66228@hal.rescomp.berkeley.edu> Cc: Subject: Re: ifconfig won't allow me to change ether address and inet address in the same command X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 14:03:34 -0000 On Tue, Oct 21, 2008 at 6:40 PM, Christopher Cowart wrote: > Eduardo Meyer wrote: >> # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 >> # ifconfig rl0 ether 00:02:4f:0a:ce:f3 >> >> I ask you some help, how can I accomplish both tasks with rc_ng? In >> /etc/rc.conf > > Somebody might have a hint for a single ifconfig command, but you can > also create the file /etc/start_if.rl0 with any additional commands to > be run by rc. This will get sourced automatically by rc _before_ the > value of ifconfig_rl0 in /etc/rc.conf. > > For example, in /etc/rc.conf, leave > > | ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0" > > And in /etc/start_if.rl0, add: > > | ifconfig rl0 ether 00:02:4f:0a:ce:f3 > > -- > Chris Cowart > Network Technical Lead > Network & Infrastructure Services, RSSP-IT > UC Berkeley > Thank you Chris, I didnt know about /etc/start_if., would do for me, however I will use ip4_addrs_if to keep things in rc.conf :) Thank you :-) -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 14:12:20 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4AC51065672 for ; Wed, 22 Oct 2008 14:12:20 +0000 (UTC) (envelope-from dschulz@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 570458FC16 for ; Wed, 22 Oct 2008 14:12:20 +0000 (UTC) (envelope-from dschulz@gmail.com) Received: by gxk9 with SMTP id 9so7000444gxk.19 for ; Wed, 22 Oct 2008 07:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=MpO/Smw2PHABDJt2rDlzg/E958oV59mR1cuqEZPf20Q=; b=lQ9VGnIaJVtf8djbMgoAywQrJL0piabjll+Ab4bXqeQcfjTewPsYklr02MwBtxMO09 BDXOPOWut8YfThUJ8T3pCM1nx6kiV1+Cv6zR4/+yBMPloRP2Br7kLpoM6v4vO7brCL6I /uH6EGb36xSyyt6nj667lVWA8jZqjTOCWqM8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=d74B2b7vSZc+O3N28JXLUNul4CCVP8FYheNoU71eJ3ZXb93zIXoDMmhCtdsSaScjXd nc3EDAiTsmFdLp9m/KoHsGq19jR5BDRHA9y9B28PJKR3UOBBfswHP2PGXsrCtEg5xgEx 0z0CSPZWs2CF4yH04+jb7uVkOPK5vTNq8vG6s= Received: by 10.142.162.5 with SMTP id k5mr4347412wfe.260.1224683128580; Wed, 22 Oct 2008 06:45:28 -0700 (PDT) Received: by 10.142.52.1 with HTTP; Wed, 22 Oct 2008 06:45:28 -0700 (PDT) Message-ID: <47dcfe400810220645h603a6dcfpbc7d2da845a0b401@mail.gmail.com> Date: Wed, 22 Oct 2008 10:45:28 -0300 From: "Diego Schulz" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: xl0: watchdog timeout X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 14:12:20 -0000 Hi all, I'm having this annoying warning every now and then, $ dmesg | grep ^xl (snip) ... xl0: watchdog timeout xl0: link state changed to DOWN xl0: link state changed to UP (snip) ... What pciconf says is: $ pciconf -v -l xl0@pci0:2:5:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905 CX-TX-M Fast EtherLink for PC Management NIC' class = network subclass = ethernet xl1@pci0:2:6:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905 CX-TX-M Fast EtherLink for PC Management NIC' class = network subclass = ethernet dmesg also shows xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xd000-0xd07f mem 0xfea40000-0xfea4007f irq 21 at device 6.0 on pci2 xlphy1: <3c905C 10/100 internal PHY> PHY 24 on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto I'm running FreeBSD 7.1-PRERELEASE #2: Mon Oct 20 11:46:22 PYST 2008. My kernel configuration is in basically GENERIC, but I added the ALTQ thingy, that enables queuing capability with PF. Also, the "watchdog timeout" message first appeared running GENERIC, right away after I ended installing 7.0. I've updated kernel and world every 2-3 days since then, in the hope it will get fixed in RELENG_7 at some point in time ;) Hey.. its a 3Com! (cheap one, but 3Com at least).. should I replace the NICs for another brand/model? Any advice or suggestion will be greatly appreciated. Thanks in advance! From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 18:12:58 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED2041065679; Wed, 22 Oct 2008 18:12:58 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C34B88FC16; Wed, 22 Oct 2008 18:12:58 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (bz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9MICwTe041994; Wed, 22 Oct 2008 18:12:58 GMT (envelope-from bz@freefall.freebsd.org) Received: (from bz@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9MICvWN041990; Wed, 22 Oct 2008 18:12:57 GMT (envelope-from bz) Date: Wed, 22 Oct 2008 18:12:57 GMT Message-Id: <200810221812.m9MICvWN041990@freefall.freebsd.org> To: jeremie@le-hen.org, bz@FreeBSD.org, bz@FreeBSD.org, freebsd-net@FreeBSD.org From: bz@FreeBSD.org Cc: Subject: Re: bin/116643: [patch] [request] fstat(1): add INET/INET6 socket details as in NetBSD and OpenBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 18:12:59 -0000 Synopsis: [patch] [request] fstat(1): add INET/INET6 socket details as in NetBSD and OpenBSD State-Changed-From-To: feedback->open State-Changed-By: bz State-Changed-When: Wed Oct 22 18:12:03 UTC 2008 State-Changed-Why: Feedback received. Responsible-Changed-From-To: bz->freebsd-net Responsible-Changed-By: bz Responsible-Changed-When: Wed Oct 22 18:12:03 UTC 2008 Responsible-Changed-Why: Assign it bck to the masses; I think this needs further discussion. http://www.freebsd.org/cgi/query-pr.cgi?pr=116643 From owner-freebsd-net@FreeBSD.ORG Wed Oct 22 18:14:03 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0A961065674 for ; Wed, 22 Oct 2008 18:14:03 +0000 (UTC) (envelope-from dschulz@gmail.com) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.249]) by mx1.freebsd.org (Postfix) with ESMTP id AA3668FC16 for ; Wed, 22 Oct 2008 18:14:03 +0000 (UTC) (envelope-from dschulz@gmail.com) Received: by hs-out-0708.google.com with SMTP id 54so1125072hsz.11 for ; Wed, 22 Oct 2008 11:14:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=MpO/Smw2PHABDJt2rDlzg/E958oV59mR1cuqEZPf20Q=; b=p7/+Ug7v2X5Mz36vp7fgkKEfPUxYq2l6pL1XiaDArIdnSI8EYsksUrMT6EW4pDSqhA RulPi0gggI59J9EjpfSXxEF03ojUXjPhqjNKXe3E7wBxUgewr+C9vyF+QFnlKkXy+uGN 4jdYZPaVWvAx99nnGGpl0Ds2g310wg68Kt5CA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=H9JHy6SppwTmb8OLLJQJ7qKiJ53U1+IN72TQGIL1lByrDFXxIhpV2264/iDJT3sil7 p6jAQ4ENR6PU/mmCJtWBLRZyHoljBfZ9BTcJScN9gbXZ+7FzrkWBFoijZFe87PDTuu+0 pc+vc+qRTsLXzfHyeUADL9Nq1E9zSGNgKm1do= Received: by 10.142.44.11 with SMTP id r11mr4479629wfr.285.1224699242431; Wed, 22 Oct 2008 11:14:02 -0700 (PDT) Received: by 10.142.52.1 with HTTP; Wed, 22 Oct 2008 11:14:02 -0700 (PDT) Message-ID: <47dcfe400810221114t9422eaalf01b8b61caf9e4bd@mail.gmail.com> Date: Wed, 22 Oct 2008 15:14:02 -0300 From: "Diego Schulz" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: xl0: watchdog timeout X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 18:14:04 -0000 Hi all, I'm having this annoying warning every now and then, $ dmesg | grep ^xl (snip) ... xl0: watchdog timeout xl0: link state changed to DOWN xl0: link state changed to UP (snip) ... What pciconf says is: $ pciconf -v -l xl0@pci0:2:5:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905 CX-TX-M Fast EtherLink for PC Management NIC' class = network subclass = ethernet xl1@pci0:2:6:0: class=0x020000 card=0x100010b7 chip=0x920010b7 rev=0x74 hdr=0x00 vendor = '3COM Corp, Networking Division' device = '3C905 CX-TX-M Fast EtherLink for PC Management NIC' class = network subclass = ethernet dmesg also shows xl1: <3Com 3c905C-TX Fast Etherlink XL> port 0xd000-0xd07f mem 0xfea40000-0xfea4007f irq 21 at device 6.0 on pci2 xlphy1: <3c905C 10/100 internal PHY> PHY 24 on miibus1 xlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto I'm running FreeBSD 7.1-PRERELEASE #2: Mon Oct 20 11:46:22 PYST 2008. My kernel configuration is in basically GENERIC, but I added the ALTQ thingy, that enables queuing capability with PF. Also, the "watchdog timeout" message first appeared running GENERIC, right away after I ended installing 7.0. I've updated kernel and world every 2-3 days since then, in the hope it will get fixed in RELENG_7 at some point in time ;) Hey.. its a 3Com! (cheap one, but 3Com at least).. should I replace the NICs for another brand/model? Any advice or suggestion will be greatly appreciated. Thanks in advance! From owner-freebsd-net@FreeBSD.ORG Thu Oct 23 09:09:32 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9B871065673; Thu, 23 Oct 2008 09:09:32 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8100B8FC0C; Thu, 23 Oct 2008 09:09:32 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9N99WbY025245; Thu, 23 Oct 2008 09:09:32 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9N99Wfa025241; Thu, 23 Oct 2008 09:09:32 GMT (envelope-from remko) Date: Thu, 23 Oct 2008 09:09:32 GMT Message-Id: <200810230909.m9N99Wfa025241@freefall.freebsd.org> To: remko@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: bin/128295: ifconfig does not print TOE4 or TOE6 capabilities X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 09:09:32 -0000 Synopsis: ifconfig does not print TOE4 or TOE6 capabilities Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: remko Responsible-Changed-When: Thu Oct 23 09:09:32 UTC 2008 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=128295 From owner-freebsd-net@FreeBSD.ORG Thu Oct 23 13:30:30 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D339106566B for ; Thu, 23 Oct 2008 13:30:30 +0000 (UTC) (envelope-from kordex@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.191]) by mx1.freebsd.org (Postfix) with ESMTP id 24E358FC1A for ; Thu, 23 Oct 2008 13:30:30 +0000 (UTC) (envelope-from kordex@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so141369rne.12 for ; Thu, 23 Oct 2008 06:30:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=S/M7p5yr8YgInEy1qBMlwzAbC0o185soElty9/3u+tY=; b=fJ3d4CB4/LCJxWSr61+cySKRXQu0JHsuH/BE3TRaG5oda/97Ql1agrysewnrvwp4Y0 VOd0cRg1/YOKV9rsM2iO573hykbdfxLteM0H8uVizE1YMOYdaDYTU79z5LaRiGRNmaun Molz6F13LF8Lei7Bdwxff8I9e5PyrfMgXu670= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=hM+CLz4ad5VmqJHjz269Mq1lw7+m8wdWQ9fGTOnuLwGUFCYKbR4G9hMAYiSdUf0eS5 QCnwsB7mKh8cuSAUU+TszqRPTXmF4iKU+fpJPABWzuMjUh6bKtueK+kAQuICX4wN2/aS 9nQg1gp8N2uGD2UJVMSZLOJxjNQO7To8wEXNs= Received: by 10.187.226.7 with SMTP id d7mr63252far.65.1224766968607; Thu, 23 Oct 2008 06:02:48 -0700 (PDT) Received: by 10.187.207.12 with HTTP; Thu, 23 Oct 2008 06:02:48 -0700 (PDT) Message-ID: <8b8dd87a0810230602i39bbb291h6777f41022d3f0d4@mail.gmail.com> Date: Thu, 23 Oct 2008 16:02:48 +0300 From: "kordex -" To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: nfe driver bad performance on FreeBSD 7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 13:30:30 -0000 Same issue as http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2008-09/msg00278.html I got HP Pavilion dv6646eo laptop with same network chip. Max throughput is 800kB/s with scp. same with generic kernel. nfe0: flags=8843 metric 0 mtu 1500 options=8 ether 00:00:00:00:00:00 inet 192.168.1.200 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active lilian# MAC being all zeros is not done by me. It's BIOS doing that. I wonder if that can cause things like this. No PXE Boot for me :| Should I send this to warranty for that? lilian# uname -a FreeBSD lilian.xnet.kx 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Sat Sep 27 20:36:01 UTC 2008 root@lilian.xnet.kx:/usr/obj/usr/src/sys/LILIAN_KERN i386 lilian# dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #3: Sat Sep 27 20:36:01 UTC 2008 root@lilian.xnet.kx:/usr/obj/usr/src/sys/LILIAN_KERN Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-58 (1908.67-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x60f81 Stepping = 1 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 real memory = 2146828288 (2047 MB) avail memory = 2095497216 (1998 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) ACPI Error (dsopcode-0671): Field [I9MN] at 544 exceeds Buffer [IORT] size 464 (bits) [20070320] ACPI Error (psparse-0626): Method parse/execution failed [\\_SB_.PCI0.LPC0.PMIO._CRS] (Node 0xc4de7d40), AE_AML_BUFFER_LIMIT ACPI Error (uteval-0309): Method execution failed [\\_SB_.PCI0.LPC0.PMIO._CRS] (Node 0xc4de7d40), AE_AML_BUFFER_LIMIT can't fetch resources for \\_SB_.PCI0.LPC0.PMIO - AE_AML_BUFFER_LIMIT Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 25000000 Hz quality 900 cpu0: on acpi0 powernow0: on cpu0 acpi_throttle0: on cpu0 cpu1: on acpi0 powernow1: on cpu1 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: port 0x1d00-0x1dff at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) pci0: at device 1.3 (no driver attached) ohci0: mem 0xf2486000-0xf2486fff irq 18 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] ohci0: [ITHREAD] usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 10 ports with 10 removable, self powered ehci0: mem 0xf2488000-0xf24880ff irq 17 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb1: EHCI version 1.0 usb1: companion controller, 10 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: on usb1 uhub1: 10 ports with 10 removable, self powered ugen0: on uhub1 nfe0: port 0x30e0-0x30e7 mem 0xf2487000-0xf2487fff irq 20 at device 6.0 on pci0 miibus0: on nfe0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nfe0: [FILTER] pcm0: mem 0xf2480000-0xf2483fff irq 21 at device 7.0 on pci0 pcm0: [ITHREAD] pcib1: at device 8.0 on pci0 pci_link0: BIOS IRQ 15 for 7.5.INTA is invalid pci_link1: BIOS IRQ 10 for 7.5.INTB is invalid pci7: on pcib1 fwohci0: <1394 Open Host Controller Interface> irq 9 at device 5.0 on pci7 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:00:00:00:00:00:00 fwohci0: Phy 1394a available S400, 1 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwip0: on firewire0 fwip0: Firewire address: 00:00:00:00:00:00:00:00 @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode pci7: at device 5.1 (no driver attached) pci7: at device 5.2 (no driver attached) pci7: at device 5.3 (no driver attached) pci7: at device 5.4 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30c0-0x30cf at device 9.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x30f8-0x30ff,0x30ec-0x30ef,0x30f0-0x30f7,0x30e8-0x30eb,0x30d0-0x30df mem 0xf2484000-0xf2485fff irq 23 at device 10.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] pcib2: at device 11.0 on pci0 pci1: on pcib2 pcib3: at device 12.0 on pci0 pci3: on pcib3 pci3: at device 0.0 (no driver attached) pcib4: at device 13.0 on pci0 pci5: on pcib4 vgapci0: port 0x4000-0x407f mem 0xce000000-0xceffffff,0xd0000000-0xdfffffff,0xcc000000-0xcdffffff irq 19 at device 0.0 on pci5 acpi_video0: on vgapci0 pcib5: at device 14.0 on pci0 pci9: on pcib5 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 acpi_tz0: _CRT value is absurd, ignored (-72.6C) speaker0: port 0x61 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 pmtimer0 on isa0 orm0: at iomem 0xcd800-0xcefff,0xdf000-0xdffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 3 buttons and Z dir. ugen1: on uhub0 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) acpi_tz0: _CRT value is absurd, ignored (-72.6C) acd0: DVDR at ata0-master PIO4 ad4: 152627MB at ata2-master UDMA33 pcm0: pcm0: SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s2a KLD green_saver.ko: depends on splash - not available lilian# From owner-freebsd-net@FreeBSD.ORG Thu Oct 23 15:16:51 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D61106567B for ; Thu, 23 Oct 2008 15:16:51 +0000 (UTC) (envelope-from sclark@netwolves.com) Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6753E8FC08 for ; Thu, 23 Oct 2008 15:16:51 +0000 (UTC) (envelope-from sclark@netwolves.com) Received: from [205.201.149.100] (helo=[10.0.129.1]) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Kt1as-0003k6-ER; Thu, 23 Oct 2008 10:55:22 -0400 Message-ID: <49009059.5050304@netwolves.com> Date: Thu, 23 Oct 2008 10:55:21 -0400 From: Steve Clark User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20080707 X-Accept-Language: en-us, en MIME-Version: 1.0 To: quagga-users@lists.quagga.net, freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec79d2495b571df287539c95f65fa5906387350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 205.201.149.100 Cc: Subject: quagga 0.99.10 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 15:16:51 -0000 Hi, I am having a problem on FreeBSD 6.3-p5. I am using gre over vpn for ospf. When I do a tcpdump on the gre tunnel I immediately start seeing in the my ospfd log file the following: 2008/10/23 10:39:54 OSPF: *** sendmsg in ospf_write failed to 224.0.0.5, id 0, off 0, len 68, interface gre1, mtu 1412: Network is down 2008/10/23 10:40:04 OSPF: *** sendmsg in ospf_write failed to 224.0.0.5, id 0, off 0, len 68, interface gre1, mtu 1412: Network is down 2008/10/23 10:40:14 OSPF: *** sendmsg in ospf_write failed to 224.0.0.5, id 0, off 0, len 68, interface gre1, mtu 1412: Network is down and I lose my ospf routes in the routing table. If I exit tcpdump and do and ifconfig gre1 it shows it is up. And in fact in the tcpdump I see Hello packets from the other side. Even ospf thinks it is up date;sudo vtysh -c 'sh ip osp int gre1' Thu Oct 23 10:51:51 EDT 2008 gre1 is up ifindex 10, MTU 1412 bytes, BW 0 Kbit Internet Address 10.255.13.30/30, Peer 10.255.13.29, Area 0.0.0.2 MTU mismatch detection:disabled Router ID 10.254.150.1, Network Type POINTOPOINT, Cost: 10 Transmit Delay is 1 sec, State Point-To-Point, Priority 0 No designated router on this network No backup designated router on this network Multicast group memberships: OSPFAllRouters Timer intervals configured, Hello 10s, Dead 40s, Wait 40s, Retransmit 5 Hello due in 3.069s Neighbor Count is 1, Adjacent neighbor count is 0 >From log file: 2008/10/23 10:51:54 OSPF: *** sendmsg in ospf_write failed to 224.0.0.5, id 0, off 0, len 68, interface gre1, mtu 1412: Network is down Anyone have an idea on what is causing this? I also have this problem with 0.99.6 From owner-freebsd-net@FreeBSD.ORG Thu Oct 23 19:56:56 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42266106567A for ; Thu, 23 Oct 2008 19:56:56 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 08D428FC1A for ; Thu, 23 Oct 2008 19:56:55 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: (qmail 54621 invoked from network); 23 Oct 2008 19:30:14 -0000 Received: from unknown (HELO ?10.0.0.135?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 23 Oct 2008 19:30:14 -0000 Message-ID: <4900D086.2000703@acm.poly.edu> Date: Thu, 23 Oct 2008 15:29:10 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.16 (X11/20080727) MIME-Version: 1.0 To: Eugene Grosbein References: <47C428EC.3090909@acm.poly.edu> <20080226162307.GA80931@svzserv.kemerovo.su> <47C4439A.9050502@acm.poly.edu> <20080226175616.GC1509@heff.fud.org.nz> <47C4FB54.FF2F89EF@kuzbass.ru> <48C00372.8030600@acm.poly.edu> <20080904164949.GA76939@svzserv.kemerovo.su> In-Reply-To: <20080904164949.GA76939@svzserv.kemerovo.su> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Andrew Thompson Subject: Re: if_gif/if_bridge problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2008 19:56:56 -0000 Eugene Grosbein wrote: > On Thu, Sep 04, 2008 at 11:49:06AM -0400, Boris Kochergin wrote: > > >> Ahoy. I've been using the patch for a while, and, recently, when the >> load on the wireless network I needed it for has increased, I've started >> getting kernel panics that I think the patch is responsible for. The >> panics are usually foreshadowed by messages in the style of "Sep 3 >> 11:34:14 unique kernel: delayed m_pullup, m->len: 22 off: 38333 p: 97" >> in the kernel buffer. I like to think that I've eliminated the >> possibility of bad hardware by changing the motherboard, memory, and >> Ethernet controllers in the machine, and have tried both Eugene's >> original patchset and the one that was committed to 7-STABLE, with the >> same ill effects. Any ideas about what might be wrong, or shall I set >> about getting a backtrace? Thanks. >> > > Yes, you should. And I think you no more need my patches after > Andrew's fixes to gif(4). But if you need my changes to lagg(4), > you should now use version corrected to apply to recent RELENG_7: > ftp://www.kuzbass.ru/pub/freebsd/lagg-0.2.tgz > > There were no functional changes, only context changes after Anrew's commit. > > Eugene Grosbein > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > Pardon the delay, but here it is. Let me know if I can provide anything else. Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xc fault code = supervisor read, page not present instruction pointer = 0x20:0xc05bfb83 stack pointer = 0x28:0xe9f3f67c frame pointer = 0x28:0xe9f3f6a4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 25 (irq18: xl0) trap number = 12 panic: page fault cpuid = 1 Uptime: 20h30m4s Physical memory: 2551 MB Dumping 325 MB: 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:241 241 dumptid = curthread->td_tid; (kgdb) where #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:241 #1 0xc05583ef in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0558861 in panic (fmt=Could not find the frame base for "panic". ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc07c033d in trap_fatal (frame=0xe9f3f63c, eva=12) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc07bfee0 in trap_pfault (frame=0xe9f3f63c, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:812 #5 0xc07bf79d in trap (frame=0xe9f3f63c) at /usr/src/sys/i386/i386/trap.c:490 #6 0xc079ed4b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc05bfb83 in m_copym (m=0x0, off0=1500, len=20, wait=1) at /usr/src/sys/kern/uipc_mbuf.c:538 #8 0xc065c536 in ip_fragment (ip=0xc60fabe8, m_frag=0xe9f3f7a8, mtu=1500, if_hwassist_flags=0, sw_csum=769) at /usr/src/sys/netinet/ip_output.c:726 #9 0xc065bf35 in ip_output (m=0xc60fab00, opt=0x0, ro=0xc589dd24, flags=0, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:565 #10 0xc064c431 in in_gif_output (ifp=0xc58a9000, family=18, m=0xc60fab00) at /usr/src/sys/netinet/in_gif.c:228 #11 0xc06321c3 in gif_output (ifp=0xc58a9000, m=0xc60f9900, dst=0xc58b52a0, rt=0x0) at /usr/src/sys/net/if_gif.c:455 #12 0xc0631e29 in gif_start (ifp=0xc58a9000) at /usr/src/sys/net/if_gif.c:352 #13 0xc06297a9 in bridge_enqueue (sc=0xc58d6600, dst_ifp=0xc58a9000, m=0x0) at /usr/src/sys/net/if_bridge.c:1714 #14 0xc062b80e in bridge_broadcast (sc=0xc58d6600, src_if=0xc58a3400, m=0xc60f9900, runfilt=1) at /usr/src/sys/net/if_bridge.c:2394 #15 0xc062a5e4 in bridge_forward (sc=0xc58d6600, sbif=0xc56f3600, m=0xc60f9900) at /usr/src/sys/net/if_bridge.c:2018 #16 0xc062af00 in bridge_input (ifp=0xc58a3400, m=0xc614e700) at /usr/src/sys/net/if_bridge.c:2189 #17 0xc06324dd in gif_input (m=0xc614e700, af=18, ifp=0xc58a3400) at /usr/src/sys/net/if_gif.c:564 #18 0xc064c89e in in_gif_input (m=0xc614e700, off=20) at /usr/src/sys/netinet/in_gif.c:326 #19 0xc0653f85 in encap4_input (m=0xc614e700, off=20) at /usr/src/sys/netinet/ip_encap.c:191 #20 0xc065819f in ip_input (m=0xc614e700) at /usr/src/sys/netinet/ip_input.c:665 #21 0xc06346ba in netisr_dispatch (num=2, m=0xc614e700) at /usr/src/sys/net/netisr.c:185 #22 0xc0630918 in ether_demux (ifp=0xc56bc000, m=0xc614e700) at /usr/src/sys/net/if_ethersubr.c:834 #23 0xc06306e2 in ether_input (ifp=0xc56bc000, m=0xc614e700) at /usr/src/sys/net/if_ethersubr.c:692 #24 0xc0704874 in xl_rxeof (sc=0xc56ed000) at /usr/src/sys/pci/if_xl.c:2062 #25 0xc070531e in xl_intr (arg=0xc56ed000) at /usr/src/sys/pci/if_xl.c:2298 #26 0xc05328a0 in ithread_execute_handlers (p=0xc56ec2ac, ie=0xc55e3d00) at /usr/src/sys/kern/kern_intr.c:1036 #27 0xc0532a63 in ithread_loop (arg=0xc56f2430) at /usr/src/sys/kern/kern_intr.c:1121 #28 0xc0530b8c in fork_exit (callout=0xc05329e0 , arg=0xc56f2430, frame=0xe9f3fd38) at /usr/src/sys/kern/kern_fork.c:781 #29 0xc079edc0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205 From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 04:51:44 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7DBD1065672; Fri, 24 Oct 2008 04:51:44 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id B535E8FC2B; Fri, 24 Oct 2008 04:51:43 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id m9O4LONC046196; Fri, 24 Oct 2008 12:21:25 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id m9O4LNLa046194; Fri, 24 Oct 2008 12:21:23 +0800 (KRAST) (envelope-from eugen) Date: Fri, 24 Oct 2008 12:21:23 +0800 From: Eugene Grosbein To: Boris Kochergin Message-ID: <20081024042123.GA45452@svzserv.kemerovo.su> References: <47C428EC.3090909@acm.poly.edu> <20080226162307.GA80931@svzserv.kemerovo.su> <47C4439A.9050502@acm.poly.edu> <20080226175616.GC1509@heff.fud.org.nz> <47C4FB54.FF2F89EF@kuzbass.ru> <48C00372.8030600@acm.poly.edu> <20080904164949.GA76939@svzserv.kemerovo.su> <4900D086.2000703@acm.poly.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4900D086.2000703@acm.poly.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-net@freebsd.org, Andrew Thompson Subject: Re: if_gif/if_bridge problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 04:51:45 -0000 On Thu, Oct 23, 2008 at 03:29:10PM -0400, Boris Kochergin wrote: > #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:241 > 241 dumptid = curthread->td_tid; > (kgdb) where > #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:241 > #1 0xc05583ef in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > #2 0xc0558861 in panic (fmt=Could not find the frame base for "panic". > ) at /usr/src/sys/kern/kern_shutdown.c:563 > #3 0xc07c033d in trap_fatal (frame=0xe9f3f63c, eva=12) at > /usr/src/sys/i386/i386/trap.c:899 > #4 0xc07bfee0 in trap_pfault (frame=0xe9f3f63c, usermode=0, eva=12) at > /usr/src/sys/i386/i386/trap.c:812 > #5 0xc07bf79d in trap (frame=0xe9f3f63c) at > /usr/src/sys/i386/i386/trap.c:490 > #6 0xc079ed4b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #7 0xc05bfb83 in m_copym (m=0x0, off0=1500, len=20, wait=1) at > /usr/src/sys/kern/uipc_mbuf.c:538 > #8 0xc065c536 in ip_fragment (ip=0xc60fabe8, m_frag=0xe9f3f7a8, > mtu=1500, if_hwassist_flags=0, sw_csum=769) at > /usr/src/sys/netinet/ip_output.c:726 > #9 0xc065bf35 in ip_output (m=0xc60fab00, opt=0x0, ro=0xc589dd24, > flags=0, imo=0x0, inp=0x0) at /usr/src/sys/netinet/ip_output.c:565 > #10 0xc064c431 in in_gif_output (ifp=0xc58a9000, family=18, > m=0xc60fab00) at /usr/src/sys/netinet/in_gif.c:228 > #11 0xc06321c3 in gif_output (ifp=0xc58a9000, m=0xc60f9900, > dst=0xc58b52a0, rt=0x0) at /usr/src/sys/net/if_gif.c:455 > #12 0xc0631e29 in gif_start (ifp=0xc58a9000) at > /usr/src/sys/net/if_gif.c:352 > #13 0xc06297a9 in bridge_enqueue (sc=0xc58d6600, dst_ifp=0xc58a9000, > m=0x0) at /usr/src/sys/net/if_bridge.c:1714 > #14 0xc062b80e in bridge_broadcast (sc=0xc58d6600, src_if=0xc58a3400, > m=0xc60f9900, runfilt=1) at /usr/src/sys/net/if_bridge.c:2394 > #15 0xc062a5e4 in bridge_forward (sc=0xc58d6600, sbif=0xc56f3600, > m=0xc60f9900) at /usr/src/sys/net/if_bridge.c:2018 > #16 0xc062af00 in bridge_input (ifp=0xc58a3400, m=0xc614e700) at > /usr/src/sys/net/if_bridge.c:2189 > #17 0xc06324dd in gif_input (m=0xc614e700, af=18, ifp=0xc58a3400) at > /usr/src/sys/net/if_gif.c:564 > #18 0xc064c89e in in_gif_input (m=0xc614e700, off=20) at > /usr/src/sys/netinet/in_gif.c:326 > #19 0xc0653f85 in encap4_input (m=0xc614e700, off=20) at > /usr/src/sys/netinet/ip_encap.c:191 > #20 0xc065819f in ip_input (m=0xc614e700) at > /usr/src/sys/netinet/ip_input.c:665 > #21 0xc06346ba in netisr_dispatch (num=2, m=0xc614e700) at > /usr/src/sys/net/netisr.c:185 > #22 0xc0630918 in ether_demux (ifp=0xc56bc000, m=0xc614e700) at > /usr/src/sys/net/if_ethersubr.c:834 > #23 0xc06306e2 in ether_input (ifp=0xc56bc000, m=0xc614e700) at > /usr/src/sys/net/if_ethersubr.c:692 > #24 0xc0704874 in xl_rxeof (sc=0xc56ed000) at /usr/src/sys/pci/if_xl.c:2062 > #25 0xc070531e in xl_intr (arg=0xc56ed000) at /usr/src/sys/pci/if_xl.c:2298 > #26 0xc05328a0 in ithread_execute_handlers (p=0xc56ec2ac, ie=0xc55e3d00) > at /usr/src/sys/kern/kern_intr.c:1036 > #27 0xc0532a63 in ithread_loop (arg=0xc56f2430) at > /usr/src/sys/kern/kern_intr.c:1121 > #28 0xc0530b8c in fork_exit (callout=0xc05329e0 , > arg=0xc56f2430, frame=0xe9f3fd38) at /usr/src/sys/kern/kern_fork.c:781 > #29 0xc079edc0 in fork_trampoline () at > /usr/src/sys/i386/i386/exception.s:205 Very nice backtrace. If your system runs without patches, you should send PR with all details included (system version, interface configuration, backtrace and how-to-repeat recipe. Please report back PR number once you get it. Eugene Grosbein From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 13:22:19 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AD96106573D for ; Fri, 24 Oct 2008 13:22:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2F1C88FC36 for ; Fri, 24 Oct 2008 13:22:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTP id 8224D46B2A; Fri, 24 Oct 2008 09:22:18 -0400 (EDT) Date: Fri, 24 Oct 2008 14:22:18 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Marc G. Fournier" In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: tap devices ... restricting IP? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 13:22:19 -0000 On Wed, 22 Oct 2008, Marc G. Fournier wrote: > Is it possible to assign an IP to a tap device, used by something like QEMU, > such that someone *inside* the QEMU environment can't modify? Or, if they > do modify their own IP, the network inside of QEMU will break, as the > internal IP doesn't match what is attached to tap? > > I'm not seeing anything to that effect in the tap manual, but the part > talking about 'control' seems to indicate that you can do this ... Use a firewall to prevent receiving packets over the interface from any IP other than the one you are willing to accept. Think of a tap interface as simply being a normal ethernet interface hung off a network to the VM and treat it that way in the rules -- for example, dropping IP from addresses other than the designated one when received from the tap interface. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 14:30:31 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54E3A1065675 for ; Fri, 24 Oct 2008 14:30:31 +0000 (UTC) (envelope-from gizmen@blurp.pl) Received: from albion.azs.pwr.wroc.pl (albion.azs.pwr.wroc.pl [156.17.17.145]) by mx1.freebsd.org (Postfix) with ESMTP id 176308FC08 for ; Fri, 24 Oct 2008 14:30:30 +0000 (UTC) (envelope-from gizmen@blurp.pl) Received: from [10.8.1.27] (unknown [212.127.95.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by albion.azs.pwr.wroc.pl (Postfix) with ESMTPSA id EBA9C116C2 for ; Fri, 24 Oct 2008 16:12:05 +0200 (CEST) From: Bartosz Giza Organization: BLURP.pl To: freebsd-net@freebsd.org Date: Fri, 24 Oct 2008 16:12:04 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810241612.04764.gizmen@blurp.pl> Subject: does freebsd support so called Scalable I/O on intel NIC ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 14:30:31 -0000 Hi, i am looking for a good NIC from NIC to put on our quite busy router based on freebsd 6.3 (soon 7.x) I've found server NIC from intel and there is such a thing like scalable I/O on windows and linux. (from web page) "load balancing on multiple CPUs Increases performance on multi-processor systems by efficiently balancing network loads across CPU cores when used with Receive-Side Scaling from Microsoft or Scalable I/O on Linux*" Is such thing supported on freebsd ? And one more question. Does anybody has some data what is difference on desktop and server NIC from INTEL in pps or so. I wonder how faster could be those server NICs thanks From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 14:40:39 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A10B01065671 for ; Fri, 24 Oct 2008 14:40:39 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BFE458FC19 for ; Fri, 24 Oct 2008 14:40:38 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KtNq7-0003kq-2I for freebsd-net@freebsd.org; Fri, 24 Oct 2008 14:40:35 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Oct 2008 14:40:35 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Oct 2008 14:40:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Ivan Voras Date: Fri, 24 Oct 2008 16:40:58 +0200 Lines: 47 Message-ID: References: <200810241612.04764.gizmen@blurp.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF385824B6A8B7CB3ED271B83" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.17 (X11/20080925) In-Reply-To: <200810241612.04764.gizmen@blurp.pl> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: does freebsd support so called Scalable I/O on intel NIC ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 14:40:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF385824B6A8B7CB3ED271B83 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bartosz Giza wrote: > Hi, >=20 > i am looking for a good NIC from NIC to put on our quite busy router ba= sed=20 > on freebsd 6.3 (soon 7.x) > I've found server NIC from intel and there is such a thing like scalabl= e I/O=20 > on windows and linux. > (from web page) >=20 > "load balancing on multiple CPUs Increases > performance on multi-processor systems by efficiently > balancing network loads across CPU cores when used > with Receive-Side Scaling from Microsoft or Scalable > I/O on Linux*" >=20 > Is such thing supported on freebsd ? I don't think so - I've run into problems when IO handling is limited to a single CPU. There are apparently unofficial patches for this here: http://people.yandex-team.ru/~wawa/ but I haven't tried them yet. Other components of "scalable IO" are present - interrupt moderation, TSO= =2E --------------enigF385824B6A8B7CB3ED271B83 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJAd56ldnAQVacBcgRAlyrAKCI1k2afTDmeUqXNE0sG+z4Kw+FGACfUYOV 6WQz8u2wKKa2zrWV9/6TrJo= =Dtfr -----END PGP SIGNATURE----- --------------enigF385824B6A8B7CB3ED271B83-- From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 15:13:50 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 519BF106566C for ; Fri, 24 Oct 2008 15:13:50 +0000 (UTC) (envelope-from if@xip.at) Received: from chile.gbit.at (ns1.xip.at [193.239.188.99]) by mx1.freebsd.org (Postfix) with ESMTP id 970768FC1C for ; Fri, 24 Oct 2008 15:13:49 +0000 (UTC) (envelope-from if@xip.at) Received: (qmail 24203 invoked from network); 24 Oct 2008 16:47:06 +0200 Received: from unknown (HELO filebunker.xip.at) (86.59.10.180) by chile.gbit.at with (DHE-RSA-AES256-SHA encrypted) SMTP; 24 Oct 2008 16:47:06 +0200 Date: Fri, 24 Oct 2008 16:47:05 +0200 (CEST) From: Ingo Flaschberger To: freebsd-net@freebsd.org In-Reply-To: Message-ID: References: <200810241612.04764.gizmen@blurp.pl> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: does freebsd support so called Scalable I/O on intel NIC ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 15:13:50 -0000 Dear Bartosz, >> i am looking for a good NIC from NIC to put on our quite busy router based >> on freebsd 6.3 (soon 7.x) >> I've found server NIC from intel and there is such a thing like scalable I/O >> on windows and linux. >> (from web page) how "loaded" is your router? Bandwith (bbs) and Packets (pps) ? Kind regards, Ingo Flaschberger From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 22:48:43 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58C7B106569B for ; Fri, 24 Oct 2008 22:48:43 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from ape.monkeybrains.net (mail.monkeybrains.net [208.69.40.9]) by mx1.freebsd.org (Postfix) with ESMTP id 046498FC08 for ; Fri, 24 Oct 2008 22:48:42 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from [192.168.2.105] (adsl-76-227-19-157.dsl.pltn13.sbcglobal.net [76.227.19.157]) (authenticated bits=0) by ape.monkeybrains.net (8.14.1/8.14.1) with ESMTP id m9OMZaUh054997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 Oct 2008 15:35:37 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) Message-ID: <49024DDB.4090103@monkeybrains.net> Date: Fri, 24 Oct 2008 15:36:11 -0700 From: Rudy User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: Ingo Flaschberger References: <200810241612.04764.gizmen@blurp.pl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94, clamav-milter version 0.94 on pita.monkeybrains.net X-Virus-Status: Clean Cc: freebsd-net@freebsd.org Subject: Re: does freebsd support so called Scalable I/O on intel NIC ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 22:48:43 -0000 Ingo Flaschberger wrote: > Dear Bartosz, > >>> i am looking for a good NIC from NIC to put on our quite busy router >>> based >>> on freebsd 6.3 (soon 7.x) > how "loaded" is your router? > > Bandwith (bbs) and Packets (pps) ? > > Kind regards, > Ingo Flaschberger We have a 6.3-STABLE router that has worked flawlessly with our quad port Intel card... 100 - 200Mbps with occational peaks of 500 - 600Mbps, no problem. FYI, Our newer FreeBSD 7.0 router (with a slightly newer quad Intel Pro PT card) has watchdog timeouts... a couple of 1 or 2 second outages a day. Maybe 6.3 is better... any one else seeing watchdog timeouts with their emX? How many bbs are people getting out of their boxes in production? Rudy ---------------- MonkeyBrains.net Colo, IPv4, IPv6 From owner-freebsd-net@FreeBSD.ORG Fri Oct 24 23:18:03 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80B4C1065673 for ; Fri, 24 Oct 2008 23:18:03 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 529C18FC1A for ; Fri, 24 Oct 2008 23:18:03 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1019447rvf.43 for ; Fri, 24 Oct 2008 16:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=595bqgHRcigXHQ97HlfilAP6Dfw0Dy+g+qZ/4Y0Zqpw=; b=X/1zpCzOi/fkSF/CmYfI6NcRqnuXfB72Y1LDsxgsMvsiOL/DgG2sFyD4R8pZdK9EkO 2Xu1WrCJkq03EwF4JHRMubIrGzDIxlUg1AVTxMP05bE11YED42Y1+qJSRBx4bxSA3hTd HHmzvtUcpHPYT4SROHBJP47clRW2AlY21hZLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=uMrFCttYpZBL4LuMX2i2Utxuxyi7XWjGd+n6c6IOcph8G8yzXVV1XgK5VjRgNhjmK+ VNznaQOvKWy0atBosRLByqKzV7mGYfU2LK8gex1umV1xVTKw5C5+HOzIl+aIUm39fzGr NNNg7CyE2K8/CmTS6oqhBHC+Wd08b0bHfSGsQ= Received: by 10.140.191.14 with SMTP id o14mr1525615rvf.78.1224888738688; Fri, 24 Oct 2008 15:52:18 -0700 (PDT) Received: by 10.140.157.8 with HTTP; Fri, 24 Oct 2008 15:52:18 -0700 (PDT) Message-ID: <3c1674c90810241552v5fd3e58fvf6bd43ad94558b1e@mail.gmail.com> Date: Fri, 24 Oct 2008 22:52:18 +0000 From: "Kip Macy" Sender: mat.macy@gmail.com To: "Bartosz Giza" In-Reply-To: <200810241612.04764.gizmen@blurp.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810241612.04764.gizmen@blurp.pl> X-Google-Sender-Auth: 7cfc622440d29a50 Cc: freebsd-net@freebsd.org Subject: Re: does freebsd support so called Scalable I/O on intel NIC ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 23:18:03 -0000 It is simply a knob to adjust on all new server network cards. You could benefit from it on a predominantly UDP workload. I believe that tcp_input is still sufficiently serialized that it would not make sense for TCP workloads. -Kip On Fri, Oct 24, 2008 at 2:12 PM, Bartosz Giza wrote: > Hi, > > i am looking for a good NIC from NIC to put on our quite busy router based > on freebsd 6.3 (soon 7.x) > I've found server NIC from intel and there is such a thing like scalable I/O > on windows and linux. > (from web page) > > "load balancing on multiple CPUs Increases > performance on multi-processor systems by efficiently > balancing network loads across CPU cores when used > with Receive-Side Scaling from Microsoft or Scalable > I/O on Linux*" > > Is such thing supported on freebsd ? > > And one more question. Does anybody has some data what is difference on > desktop and server NIC from INTEL in pps or so. > I wonder how faster could be those server NICs > > thanks > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Sat Oct 25 08:32:30 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D01981065675 for ; Sat, 25 Oct 2008 08:32:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 61EEF8FC13 for ; Sat, 25 Oct 2008 08:32:30 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so736906tid.3 for ; Sat, 25 Oct 2008 01:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from :to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=NzdMn4jotgdIa30mMJwylyisrC/yfP9duDRxuRhlMHU=; b=bIiWoaOmo+lmxa0G4noVayv7sKaeGtuxt/SL5DdfkATOAPRULd6eNocgsQHY+x9N+l FJdSQah5l89t3eeL7hnphZ7g9Uyp/xY4KKjGLo4OA6ITeQz0NgnrIUYC9mB6CrUuw7f7 Uz8WFPmh5yvY7UfYg/5TuDFhUkeUcCSt4ryBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=I9CmTUAtfeXid5hcDwf6pAIqGk3PCiBBpM/8SO8kwatcUHdrT7fWqDaG6U/2Nc5XuF 0VRlx7IxWhQskcbWC4HZQTyaKn2+OkrYrZ1e3DrKNlmBBRolBI5ZbdySYFKj78l/GMpr ahkLzyZQbErNkZxAHmsSUOhVPvdgIeDOvSziI= Received: by 10.110.49.2 with SMTP id w2mr1910152tiw.56.1224923549253; Sat, 25 Oct 2008 01:32:29 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([211.53.35.84]) by mx.google.com with ESMTPS id j5sm1925957tid.11.2008.10.25.01.32.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Oct 2008 01:32:27 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m9P8USKJ060667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 25 Oct 2008 17:30:28 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m9P8URpM060666; Sat, 25 Oct 2008 17:30:27 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 25 Oct 2008 17:30:27 +0900 From: Pyun YongHyeon To: kordex - Message-ID: <20081025083027.GD59215@cdnetworks.co.kr> References: <8b8dd87a0810230602i39bbb291h6777f41022d3f0d4@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8b8dd87a0810230602i39bbb291h6777f41022d3f0d4@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-net@freebsd.org Subject: Re: nfe driver bad performance on FreeBSD 7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 08:32:30 -0000 On Thu, Oct 23, 2008 at 04:02:48PM +0300, kordex - wrote: > Same issue as > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/net/2008-09/msg00278.html > > I got HP Pavilion dv6646eo laptop with same network chip. Max throughput is > 800kB/s with scp. same with generic kernel. > > nfe0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:00:00:00:00:00 > inet 192.168.1.200 netmask 0xffffff00 broadcast 192.168.1.255 > media: Ethernet autoselect (100baseTX ) > status: active > lilian# > > MAC being all zeros is not done by me. It's BIOS doing that. I wonder if > that can cause things like this. No PXE Boot for me :| Should I send this to > warranty for that? > Don't use all zeroed ethernet address. You can assign fake ethernet address to nfe(4) with "ifconfig nfe0 ether 00:01:02:03:04:05". The problem is why nfe(4) got all zeord station address from controller. Does nve(4) also show the same ethernet address? > lilian# uname -a > FreeBSD lilian.xnet.kx 7.0-RELEASE FreeBSD 7.0-RELEASE #3: Sat Sep 27 > 20:36:01 UTC 2008 root@lilian.xnet.kx:/usr/obj/usr/src/sys/LILIAN_KERN > i386 > > > lilian# dmesg > Copyright (c) 1992-2008 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-RELEASE #3: Sat Sep 27 20:36:01 UTC 2008 > root@lilian.xnet.kx:/usr/obj/usr/src/sys/LILIAN_KERN > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-58 (1908.67-MHz 686-class > CPU) > Origin = "AuthenticAMD" Id = 0x60f81 Stepping = 1 > [...] > nfe0: port 0x30e0-0x30e7 mem > 0xf2487000-0xf2487fff irq 20 at device 6.0 on pci0 > miibus0: on nfe0 > rgephy0: PHY 1 on miibus0 > rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > nfe0: [FILTER] There was one report of MCP65's poor performance but he said it happens on 1000Mbps link only. Normally poor network performance comes from speed/duplex mismatch. Does link partner also agree on resolved speed/duplex of nfe(4)? Would you show me the output of "netstat -ndI nfe0"? nfe(4) in 8-CURRENT supports hardware MAC counters and the counters give us very valuable information to diagnose driver issues. Would you try latest CURRENT and show me the output of "sysctl dev.nfe.0.stats" after some network activities? -- Regards, Pyun YongHyeon From owner-freebsd-net@FreeBSD.ORG Sat Oct 25 11:32:16 2008 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2616A106566C; Sat, 25 Oct 2008 11:32:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F11258FC0A; Sat, 25 Oct 2008 11:32:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9PBWF4K060097; Sat, 25 Oct 2008 11:32:15 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9PBWFfQ060093; Sat, 25 Oct 2008 11:32:15 GMT (envelope-from linimon) Date: Sat, 25 Oct 2008 11:32:15 GMT Message-Id: <200810251132.m9PBWFfQ060093@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/128334: [request] use wpa_cli in the "WPA DHCP" situation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 11:32:16 -0000 Old Synopsis: rc.d/wpa_supplicant doesn't take 'wired' driver New Synopsis: [request] use wpa_cli in the "WPA DHCP" situation Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sat Oct 25 11:29:27 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=128334 From owner-freebsd-net@FreeBSD.ORG Sat Oct 25 19:08:51 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 321FC1065671 for ; Sat, 25 Oct 2008 19:08:51 +0000 (UTC) (envelope-from ck@yourserveradmin.com) Received: from tetrahedron.itechcraft.com (tetrahedron.itechcraft.com [72.34.45.195]) by mx1.freebsd.org (Postfix) with ESMTP id 174618FC1B for ; Sat, 25 Oct 2008 19:08:51 +0000 (UTC) (envelope-from ck@yourserveradmin.com) Received: from dodekaedr.techs.com.ua ([193.109.101.2]:1706 helo=[10.10.10.12]) by tetrahedron.itechcraft.com with esmtpa (Exim 4.69) (envelope-from ) id 1Kto6T-0003Og-Ca; Sat, 25 Oct 2008 21:43:13 +0300 Message-ID: <490368C0.1010704@yourserveradmin.com> Date: Sat, 25 Oct 2008 21:43:12 +0300 From: CK User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - tetrahedron.itechcraft.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - yourserveradmin.com Cc: mav@freebsd.org Subject: mpd - lcp protocol rejects X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 19:08:51 -0000 Hello Everyone, I'm running mpd 4.4 on 6.3-STABLE #4. Connecting with mpd to my ISP's VPN server running poptop. Everything is ok for some time, and then all of a sudden mpd starts throwing weird protocol rejects to log file and vpn connection stops working. mpd.conf: pptp: new -i ng0 pptp pptp set iface disable on-demand set iface disable proxy-arp set iface enable tcpmssfix set iface up-script /usr/local/etc/mpd4/if_up.sh set iface down-script /usr/local/etc/mpd4/if_down.sh set iface idle 0 set bundle disable multilink set bundle yes compression set bundle disable noretry set bundle enable crypt-reqd set auth authname "login_here" set link accept acfcomp protocomp set link accept chap set link keep-alive 10 60 set link max-redial 0 set link accmap 0x00000000 set ipcp yes vjcomp set ccp yes mppc set ccp yes mpp-compress set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless open mpd.links: pptp: set phys type pptp set pptp peer [ISP's vpn serv here] set pptp enable originate set pptp disable incoming set pptp enable windowing And lots of logs: Oct 19 03:06:10 tazek mpd: [pptp] PPTP call successful Oct 19 03:06:10 tazek mpd: [pptp] link: UP event Oct 19 03:06:10 tazek mpd: [pptp] link: origination is local Oct 19 03:06:10 tazek mpd: [pptp] LCP: Up event Oct 19 03:06:10 tazek mpd: [pptp] LCP: state change Starting --> Req-Sent Oct 19 03:06:10 tazek mpd: [pptp] LCP: SendConfigReq #1 Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACCMAP 0x000a0000 Oct 19 03:06:10 tazek mpd: MRU 1460 Oct 19 03:06:10 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:10 tazek mpd: [pptp] LCP: rec'd Configure Request #1 (Req-Sent) Oct 19 03:06:10 tazek mpd: ACCMAP 0x00000000 Oct 19 03:06:10 tazek mpd: AUTHPROTO CHAP MSOFTv2 Oct 19 03:06:10 tazek mpd: MAGICNUM 0b145760 Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: [pptp] LCP: SendConfigAck #1 Oct 19 03:06:10 tazek mpd: ACCMAP 0x00000000 Oct 19 03:06:10 tazek mpd: AUTHPROTO CHAP MSOFTv2 Oct 19 03:06:10 tazek mpd: MAGICNUM 0b145760 Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: [pptp] LCP: state change Req-Sent --> Ack-Sent Oct 19 03:06:12 tazek mpd: [pptp] LCP: SendConfigReq #2 Oct 19 03:06:12 tazek mpd: ACFCOMP Oct 19 03:06:12 tazek mpd: PROTOCOMP Oct 19 03:06:12 tazek mpd: ACCMAP 0x000a0000 Oct 19 03:06:12 tazek mpd: MRU 1460 Oct 19 03:06:12 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:12 tazek mpd: [pptp] LCP: rec'd Configure Ack #2 (Ack-Sent) Oct 19 03:06:12 tazek mpd: ACFCOMP Oct 19 03:06:12 tazek mpd: PROTOCOMP Oct 19 03:06:12 tazek mpd: ACCMAP 0x000a0000 Oct 19 03:06:12 tazek mpd: MRU 1460 Oct 19 03:06:12 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:12 tazek mpd: [pptp] LCP: state change Ack-Sent --> Opened Oct 19 03:06:12 tazek mpd: [pptp] LCP: auth: peer wants CHAP, I want nothing Oct 19 03:06:12 tazek mpd: [pptp] LCP: LayerUp Oct 19 03:06:12 tazek mpd: [pptp] CHAP: rec'd CHALLENGE #19 Oct 19 03:06:12 tazek mpd: Name: "pptpd" Oct 19 03:06:12 tazek mpd: Using authname "login_here" Oct 19 03:06:12 tazek mpd: [pptp] CHAP: sending RESPONSE len:63 Oct 19 03:06:12 tazek mpd: [pptp] CHAP: rec'd SUCCESS #19 Oct 19 03:06:12 tazek mpd: MESG: S=376C81163CF8923DF663DC2D672D8802BBDAAD3B Oct 19 03:06:12 tazek mpd: [pptp] LCP: authorization successful Oct 19 03:06:12 tazek mpd: [pptp] Bundle up: 1 link, total bandwidth 64000 bps Oct 19 03:06:12 tazek mpd: [pptp] IPCP: Open event Oct 19 03:06:12 tazek mpd: [pptp] IPCP: state change Initial --> Starting Oct 19 03:06:12 tazek mpd: [pptp] IPCP: LayerStart Oct 19 03:06:12 tazek mpd: [pptp] CCP: Open event Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Initial --> Starting Oct 19 03:06:12 tazek mpd: [pptp] CCP: LayerStart Oct 19 03:06:12 tazek mpd: [pptp] IPCP: Up event Oct 19 03:06:12 tazek mpd: [pptp] IPCP: state change Starting --> Req-Sent Oct 19 03:06:12 tazek mpd: [pptp] IPCP: SendConfigReq #1 Oct 19 03:06:12 tazek mpd: IPADDR 192.168.1.2 Oct 19 03:06:12 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:12 tazek mpd: [pptp] CCP: Up event Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Starting --> Req-Sent Oct 19 03:06:12 tazek mpd: [pptp] CCP: SendConfigReq #1 Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd: 0x01000041:MPPC, MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] IPCP: rec'd Terminate Ack #1 (Req-Sent) Oct 19 03:06:12 tazek mpd: [pptp] CCP: rec'd Configure Nak #1 (Req-Sent) Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] CCP: SendConfigReq #2 Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] CCP: rec'd Configure Ack #2 (Req-Sent) Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Req-Sent --> Ack-Rcvd Oct 19 03:06:14 tazek mpd: [pptp] IPCP: SendConfigReq #2 Oct 19 03:06:14 tazek mpd: IPADDR 192.168.1.2 Oct 19 03:06:14 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:14 tazek mpd: [pptp] IPCP: rec'd Terminate Ack #2 (Req-Sent) Oct 19 03:06:14 tazek mpd: [pptp] CCP: state change Ack-Rcvd --> Req-Sent Oct 19 03:06:14 tazek mpd: [pptp] CCP: SendConfigReq #3 Oct 19 03:06:14 tazek mpd: MPPC Oct 19 03:06:14 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:14 tazek mpd: [pptp] CCP: rec'd Configure Ack #3 (Req-Sent) Oct 19 03:06:14 tazek mpd: MPPC Oct 19 03:06:14 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:14 tazek mpd: [pptp] CCP: state change Req-Sent --> Ack-Rcvd Oct 19 03:06:15 tazek mpd: [pptp] CCP: rec'd Configure Request #1 (Ack-Rcvd) Oct 19 03:06:15 tazek mpd: MPPC Oct 19 03:06:15 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:15 tazek mpd: [pptp] CCP: SendConfigAck #1 Oct 19 03:06:15 tazek mpd: MPPC Oct 19 03:06:15 tazek mpd: 0x01000040:MPPE(128 bits), stateless Oct 19 03:06:15 tazek mpd: [pptp] CCP: state change Ack-Rcvd --> Opened Oct 19 03:06:15 tazek mpd: [pptp] CCP: LayerUp Oct 19 03:06:15 tazek mpd: Compress using: mppc (MPPE(128 bits), stateless) Oct 19 03:06:15 tazek mpd: Decompress using: mppc (MPPE(128 bits), stateless) Oct 19 03:06:15 tazek mpd: [pptp] IPCP: rec'd Configure Request #1 (Req-Sent) Oct 19 03:06:15 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid Oct 19 03:06:15 tazek mpd: IPADDR 172.16.30.42 Oct 19 03:06:15 tazek mpd: 172.16.30.42 is OK Oct 19 03:06:15 tazek mpd: [pptp] IPCP: SendConfigAck #1 Oct 19 03:06:15 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid Oct 19 03:06:15 tazek mpd: IPADDR 172.16.30.42 Oct 19 03:06:15 tazek mpd: [pptp] IPCP: state change Req-Sent --> Ack-Sent Oct 19 03:06:16 tazek mpd: [pptp] IPCP: SendConfigReq #3 Oct 19 03:06:16 tazek mpd: IPADDR 192.168.1.2 Oct 19 03:06:16 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:16 tazek mpd: [pptp] IPCP: rec'd Configure Nak #3 (Ack-Sent) Oct 19 03:06:16 tazek mpd: IPADDR ext_ip Oct 19 03:06:16 tazek mpd: ext_ip is OK Oct 19 03:06:16 tazek mpd: [pptp] IPCP: SendConfigReq #4 Oct 19 03:06:16 tazek mpd: IPADDR ext_ip Oct 19 03:06:16 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:16 tazek mpd: [pptp] IPCP: rec'd Configure Ack #4 (Ack-Sent) Oct 19 03:06:16 tazek mpd: IPADDR ext_ip Oct 19 03:06:16 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:16 tazek mpd: [pptp] IPCP: state change Ack-Sent --> Opened Oct 19 03:06:16 tazek mpd: [pptp] IPCP: LayerUp Oct 19 03:06:16 tazek mpd: ext_ip -> 172.16.30.42 Oct 19 03:06:16 tazek mpd: [pptp] IFACE: Up event Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #2 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x000b was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #3 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0xf679 was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #4 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x000f was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #5 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol CRYPT was rejected Oct 19 11:10:26 tazek mpd: [pptp] ECP: protocol was rejected by peer Oct 19 11:10:26 tazek mpd: [pptp] ECP: Close event Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #6 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x009f was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #7 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x8683 was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #8 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x0073 was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #9 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x7e56 was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #10 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x56f2 was rejected Oct 19 11:10:26 tazek mpd: [pptp] LCP: rec'd Protocol Reject #11 (Opened) Oct 19 11:10:26 tazek mpd: [pptp] LCP: protocol 0x0047 was rejected No errors between up event and protocol rejects. Help... I've found this post http://lists.freebsd.org/pipermail/freebsd-stable/2003-June/001878.html but patch is for older ng_ppp.c and I do not speak C well enough to write code for kernel modules. Also, saw some other guys having same problems - but no solutions. Maybe community has something to say? Please include me in CC because I'm not subscribed to the list. Thanks