Completing removal of ATM support

2023-03-02 Thread Brooks Davis
Prior to FreeBSD 12, I removed most ATM support, but left NgATM and ng_atmllc. The time is to remove them is almost certainly past. I aim to commit deprecation notices shortly and follow up with removal after a week or so. If you find they are useful (in production) on systems without support fo

RFC: removing ndis(4)

2020-12-02 Thread Brooks Davis
I'd like to propose that we remove the ndis(4) driver prior to FreeBSD 13. It was a clever idea in the early 2000's when the market was flooded with 10/100 NICs with Windows-only drivers, but that hasn't been the case for ages and the driver has had no meaningful maintenance in ages[0]. I'd be a

Re: additional ifreq accessors?

2020-04-07 Thread Brooks Davis
On Tue, Apr 07, 2020 at 07:32:37PM +0200, Hans Petter Selasky wrote: > On 2020-04-07 19:26, Poul-Henning Kamp wrote: > > > > In message <20200407172151.gb72...@spindle.one-eyed-alien.net>, Brooks > > Davis writes: > > > >> My question for t

additional ifreq accessors?

2020-04-07 Thread Brooks Davis
In r331797 I added a public accessor for the ifru_data member of struct ifreq (using a union to access the right version of the struct depending on the caller's ABI and creating a pointer from the 32-bit version's integer representation). I've also recently exposed versions for ifru_buffer. All n

Re: DHCPv6 client in base

2019-10-14 Thread Brooks Davis
On Tue, Oct 15, 2019 at 06:41:36AM +0800, Ben Woods wrote: > On Sat, 12 Oct 2019 at 1:45 am, Brooks Davis wrote: > > > DHCP is one of the most exposed attack surfaces in existence. We expect > > it to take input from explicitly untrustworthy networks and perform > > ac

Re: DHCPv6 client in base

2019-10-11 Thread Brooks Davis
On Fri, Oct 11, 2019 at 08:32:59AM +0800, Ben Woods wrote: > On Mon, 7 Oct 2019 at 8:53 am, Ben Woods wrote: > > > On Thu, 16 May 2019 at 2:25 am, Hiroki Sato wrote: > > > >> wrote > >> in <001e01d50b49$176104d0$46230e70$@gmail.com>: > >> > >> dr> Has anyone ever thought or considered integra

FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-10 Thread Brooks Davis
I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers as previous approved in FCP-101. The following drivers are slated for removal from FreeBSD-HEAD (to be FreeBSD-13): ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe Since the previous announcement dme(4) h

Re: Reminder: FCP-101: pending removal of some 10/100 Ethernet drivers

2019-02-01 Thread Brooks Davis
On Fri, Feb 01, 2019 at 04:00:50AM -0800, Rodney W. Grimes wrote: > > On Thu, Jan 31, 2019 at 11:43:44PM +, Brooks Davis wrote: > > > We are currently planning to remove the following less-popular 10/100 > > > Ethernet drivers in the March/April timeframe: > > &g

Reminder: FCP-101: pending removal of some 10/100 Ethernet drivers

2019-01-31 Thread Brooks Davis
We are currently planning to remove the following less-popular 10/100 Ethernet drivers in the March/April timeframe: ae, bm, cs, de, dme, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe All of these drivers generate warnings in FreeBSD 12 and to the best of my knowledge, none have cleared th

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-24 Thread Brooks Davis
On Wed, Oct 24, 2018 at 06:54:01AM -0700, Rodney W. Grimes wrote: > > On Wed, Oct 24, 2018 at 05:19:33AM -0700, Rodney W. Grimes wrote: > > > And I have read case law that boiled down to the presents vs absence > > > of a comma > > > > If we are now going to evaluate all proposed changes to FreeBS

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-23 Thread Brooks Davis
On Tue, Oct 23, 2018 at 04:26:45PM -0700, Rodney W. Grimes wrote: > > On Tue, Oct 23, 2018 at 5:07 PM Rodney W. Grimes < > > freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > > > On Tue, Oct 23, 2018 at 11:33:35PM +0200, Julian H. Stacey wrote: > > > > > > I'd also suggest that rl stands in stark

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-23 Thread Brooks Davis
On Tue, Oct 23, 2018 at 04:06:48PM -0700, Rodney W. Grimes wrote: > > On Tue, Oct 23, 2018 at 11:33:35PM +0200, Julian H. Stacey wrote: > > > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, > > > > smc, > > > > sf, tl, tx and vr drivers, which nobody has mentioned in this th

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-23 Thread Brooks Davis
On Tue, Oct 23, 2018 at 11:33:35PM +0200, Julian H. Stacey wrote: > > I'd also suggest that rl stands in stark contrast to the cs, wb, sn, smc, > > sf, tl, tx and vr drivers, which nobody has mentioned in this thread, and > > which I doubt are in use in any FreeBSD system of any age today. > > vr

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-08 Thread Brooks Davis
On Sun, Oct 07, 2018 at 11:25:48AM +0200, Andrea Venturoli wrote: > On 10/4/18 3:07 PM, Warner Losh wrote: > > > At the root of this problem is the community's long resistance to having > > data reported back to the project data about the machines running FreeBSD. > > Absent any real and significa

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-05 Thread Brooks Davis
On Fri, Oct 05, 2018 at 04:18:22PM +0100, Jamie Landeg-Jones wrote: > Remember, it's not simply deprecating cards less than 1Gig. > > I have a card that is 10/100 only, but works fine with the gigabit alc driver: > > alc0: port 0x2000-0x207f mem > 0xe050-0xe053 irq 16 at device 0.0 on p

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Brooks Davis
On Thu, Oct 04, 2018 at 11:21:03AM -0500, Kevin Day wrote: > > > > On Oct 4, 2018, at 7:58 AM, Warner Losh wrote: > > > > On Thu, Oct 4, 2018 at 6:53 AM Luciano Mannucci > > wrote: > > > >>> While I have no objection for general direction, I have doubts about > >> removal > >>> of ste(4) and

Re: FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-04 Thread Brooks Davis
s a person who has edited every driver in the tree multiple times in the last year (mostly in an external tree), I will consider this process successful even if we keep the majority of listed drivers in the tree. On Wed, Oct 03, 2018 at 09:05:16PM +, Brooks Davis wrote: > >>> Pl

FCP-0101: Deprecating most 10/100 Ethernet drivers

2018-10-03 Thread Brooks Davis
list. The full FCP-0101 is included below. -- Brooks --- authors: Brooks Davis state: feedback --- # FCP 101: Deprecation and removal of 10/100 Ethernet drivers Deprecate most 10 and 10/100Mbps Ethernet drivers and remove them before FreeBSD 13. ## Problem Statement Each network driver create

Re: removal of token-ring infrastructure coming soon

2018-03-28 Thread Brooks Davis
On Wed, Mar 28, 2018 at 09:16:23AM -0700, Rodney W. Grimes wrote: > > On Tue, Mar 27, 2018 at 04:56:32PM -0700, Rodney W. Grimes wrote: > > > > I have posted a revision which removes support for token-ring networking > > > > from the tree. There have been no such devices for some time. > > > > >

Re: removal of token-ring infrastructure coming soon

2018-03-28 Thread Brooks Davis
On Tue, Mar 27, 2018 at 04:56:32PM -0700, Rodney W. Grimes wrote: > > I have posted a revision which removes support for token-ring networking > > from the tree. There have been no such devices for some time. > > > > https://reviews.freebsd.org/D14875 > > > > Arcnet coming soon? > and probably

removal of token-ring infrastructure coming soon

2018-03-27 Thread Brooks Davis
I have posted a revision which removes support for token-ring networking from the tree. There have been no such devices for some time. https://reviews.freebsd.org/D14875 -- Brooks signature.asc Description: PGP signature

Re: Calling nxge(4) users

2018-03-26 Thread Brooks Davis
On Sun, Mar 25, 2018 at 01:09:27PM -0700, Rodney W. Grimes wrote: > > The nxge(4) driver for the Neterion Xframe-I and Xframe-II 10GbE > > adapters has obvious bugs (by inspection) and it doesn't appear the > > company exists any more. We'd like to see if there are any significant > > users of thi

Calling nxge(4) users

2018-03-25 Thread Brooks Davis
The nxge(4) driver for the Neterion Xframe-I and Xframe-II 10GbE adapters has obvious bugs (by inspection) and it doesn't appear the company exists any more. We'd like to see if there are any significant users of this device and plan to remove it from FreeBSD-12 if not. -- Brooks signature.asc

Re: The fate of ngatm

2017-05-01 Thread Brooks Davis
On Sun, Apr 30, 2017 at 12:47:51AM +0800, Julian Elischer wrote: > On 28/4/17 2:00 am, Brooks Davis wrote: > > As previous threatened, I've removed support for NATM (as well as a > > remarkable number of remnants of the old ATM framework). One piece > > that still rema

The fate of ngatm

2017-04-27 Thread Brooks Davis
As previous threatened, I've removed support for NATM (as well as a remarkable number of remnants of the old ATM framework). One piece that still remains is the ngatm framework in netgraph. This includes the ng_ccatm(4), ng_sscfu(4), ng_sscop(4), and ng_uni(4) nodes. These don't attach to physic

Re: Impending NATM removal

2017-04-07 Thread Brooks Davis
; >> not support newer variants of ProSUM cards). I also have clients that > >> still use ATM and prosum cards and FreeBSD. My guess is that > >> > >> they're not the only ones. Just my 5cents. The other thing is that > >> ATM/NATM infrastructure in Fre

Impending NATM removal

2017-04-06 Thread Brooks Davis
As previously threatened, I plan to remove NATM support next week. This includes the drivers en(4), fatm(4), hatm(4), and patm(4). None of these devices have been manufactured in the last 20 years so it is time to move on. The planned commit can be seen at https://reviews.freebsd.org/D9883 -- B

Re: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4)

2017-02-21 Thread Brooks Davis
ge- > From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org] On > Behalf Of Brooks Davis > Sent: Saturday, February 18, 2017 2:33 AM > To: freebsd-sta...@freebsd.org; freebsd-net@freebsd.org > Subject: Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4) > >

Calling ATM NIC users: en(4), fatm(4), hatm(4), patm(4)

2017-02-17 Thread Brooks Davis
Our current ATM stack supports a small number of NICs that were current in the late 90s[0]. None of them have been manufactured in a long time and while you can buy hatm(4) devices on e-bay, it's increasingly difficult to find a motherboard that will accept them. I'd like to propose removing supp

Re: Vale port naming

2016-04-04 Thread Brooks Davis
On Mon, Apr 04, 2016 at 10:37:48PM +, Brooks Davis wrote: > On Mon, Apr 04, 2016 at 11:29:31AM +, Matt Churchyard via freebsd-net > wrote: > > From the little information I can find on the net it seems that valeX:Y is > > the format for a port on a vale switch. >

Re: Vale port naming

2016-04-04 Thread Brooks Davis
On Mon, Apr 04, 2016 at 11:29:31AM +, Matt Churchyard via freebsd-net wrote: > From the little information I can find on the net it seems that valeX:Y is > the format for a port on a vale switch. > Some examples use vale0:1, others use a letter such as valeA:0. The only > details I can find i

Re: Looking for input on "locally patch tcpdump or merge in latest release from upstream?"

2015-05-28 Thread Brooks Davis
On Thu, May 28, 2015 at 10:26:18AM -0700, Xin Li wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 05/28/15 10:21, Patrick Kelsey wrote: > > Yes, I'll give it a go. I haven't yet done a dry-run to see how > > hairy it might be, so no predictions there. > > Great! Please feel fre

Re: [BUG?] dhclient sends packets with source IP address that has been deleted

2015-04-07 Thread Brooks Davis
On Mon, Apr 06, 2015 at 08:13:56PM -0700, Yuri wrote: > I am observing what dhclient sends to the server. Source IP of the > packet it sends is the previous DHCP lease. This address doesn't exist > any more, because I manually deleted it with 'ifconfig em0 remove ' > command. Yet, when I rerun d

Re: System doesn't detect unplugged network cable and doesn't set interface up properly with DHCP

2012-07-13 Thread Brooks Davis
On Fri, Jul 13, 2012 at 08:41:23AM -0400, John Baldwin wrote: > [ Adding Brooks, IIRC, he imported the current dhclient ] > > On Friday, July 13, 2012 5:48:30 am Peter Jeremy wrote: > > On 2012-Jul-12 13:41:39 -0700, Yuri wrote: > > >I have the simplest possible DHCP setup: ifconfig_re0="DHCP" in

Re: Use of network_interfaces in rc.conf

2012-03-16 Thread Brooks Davis
On Thu, Mar 15, 2012 at 08:49:55PM -0400, Eric W. Bates wrote: > On 3/15/2012 7:27 PM, Kevin Oberman wrote: > > 2012/3/14 Eugene Grosbein: > >> 15.03.2012 06:33, hiren panchasara ?: > >> > >>> network_interfaces is basically historic rudiment > >>> used in 2.2.x FreeBSD version and al

Re: Abstracting struct ifnet

2012-02-20 Thread Brooks Davis
On Thu, Feb 16, 2012 at 08:16:22PM -0800, Marcel Moolenaar wrote: > All, > > Juniper is in the final phases of creating a clean separation > between FreeBSD and Junos, so as to make upgrades of FreeBSD > easier. This also allows Juniper to track -current and be more > active FreeBSD contributors.

any is vfs.nfsrv.nfs_privport=0 by default

2011-02-28 Thread Brooks Davis
vfs.nfsrv.nfs_privport controls wither or not NFS enforces the traditional RPC semantics that require that requests come from "privileged" ports. By default this check is disabled. Hardening guides typically suggest this be enabled, usually via the rc.conf knob nfs_reserved_port_only=YES. I'm tr

Re: vlan(4) interfaces have wrong interface type in sockaddr_dl address

2010-08-03 Thread Brooks Davis
On Tue, Aug 03, 2010 at 12:17:27PM -0400, John Baldwin wrote: > On Tuesday, August 03, 2010 10:29:11 am John Baldwin wrote: > > Currently vlan(4) interfaces have an interface type of IFT_ETHER instead of > > IFT_L2VLAN in the sockaddr_dl that is returned by getifaddrs(3). If you do > > a > > ro

Re: rc(8) script -- waiting for the network to become usable

2010-04-27 Thread Brooks Davis
On Mon, Apr 26, 2010 at 01:08:15AM -0700, Jeremy Chadwick wrote: > Foremost, sorry for the cross-post, but more eyes in this case means > overall more discussion. Secondly, please keep me CC'd as I'm not on > either -rc or -net. > > I recently proposed addition of a new script to the rc framework

Re: Hi. Regarding "automatic vlan creation"

2010-01-11 Thread Brooks Davis
On Thu, Oct 29, 2009 at 11:17:27AM +0200, Artis Caune wrote: > 2009/10/29 Brooks Davis : > >> btw, wouldn't it be nice not to bother with loader.conf when using > >> . syntax? > >> This patch will load if_vlan automatically in this case: > > > > Sor

Re: Hi. Regarding "automatic vlan creation"

2009-10-28 Thread Brooks Davis
On Thu, Oct 29, 2009 at 12:31:49AM +0200, Artis Caune wrote: > 2009/10/28 Brooks Davis : > > On Wed, Oct 28, 2009 at 03:18:41PM +0100, Sebastian Hyrwall wrote: > >> Hi > >> > >> Now that FreeBSD has support for writing ??, cloned_interfaces="em0.100"

Re: Hi. Regarding "automatic vlan creation"

2009-10-28 Thread Brooks Davis
On Wed, Oct 28, 2009 at 03:18:41PM +0100, Sebastian Hyrwall wrote: > Hi > > Now that FreeBSD has support for writing , cloned_interfaces="em0.100" > instead of having to create for example a vlan0 and then specify vlandev > etc in ifconfig. What is the correct ifconfig-line in rc.conf for this?

Re: RFC: interface description

2009-08-14 Thread Brooks Davis
On Fri, Aug 14, 2009 at 10:49:24AM -0700, Li, Qing wrote: > > > > My point has always been - if I have to add/do an ioctl I can always > > also use a library call that will read it from a .txt, .xml, .db file > > or whatever and I don't have to go to the kernel, handle all the > > string length pr

Re: Wireless mesh networking

2009-05-26 Thread Brooks Davis
On Tue, May 26, 2009 at 08:06:25PM +1000, Ian Smith wrote: > On Sun, 24 May 2009, Rui Paulo wrote: > > Hi, > > If anyone is interested in testing out wireless mesh networking under > > FreeBSD, the project has now reached a point where you can transfer > > packets between mesh nodes. > > Alway

Re: Dynamic loading of network kernel modules?

2009-03-24 Thread Brooks Davis
On Wed, Mar 18, 2009 at 01:33:06PM -0400, David Horn wrote: > On Wed, Mar 18, 2009 at 12:26 PM, Oliver Fromme > wrote: > > David Horn wrote: > > ?> Oliver Fromme wrote: > > ?> > > > ?> > ?network_interfaces="bge0 lo0" > > ?> > > ?> Ah. ?Ok, now I am understanding your scenario. > > ?> > > ?> I th

Re: howto determine network device unit number? device.hints?

2009-01-15 Thread Brooks Davis
On Thu, Jan 15, 2009 at 08:07:35PM +0200, Yony Yossef wrote: > > Eygene Ryabinkin wrote: > > > ... > > > I wanted to stress only one point: simple 'kldunload ' and > > > 'kldload ' makes devices to flip for Yony's case. > > This means > > > that unless some PCI hotplug stuff is here (which I don't

Re: Getting WPA2-PSK

2008-12-19 Thread Brooks Davis
On Fri, Dec 19, 2008 at 05:33:17PM -0500, Jordy Dickinson wrote: > On Fri, Dec 19, 2008 at 11:46 AM, Brooks Davis wrote: > > > On Fri, Dec 19, 2008 at 03:04:55PM +, Rui Paulo wrote: > > > > > > On 19 Dec 2008, at 14:19, Jordy Dickinson wrote: > > > >

Re: Getting WPA2-PSK

2008-12-19 Thread Brooks Davis
On Fri, Dec 19, 2008 at 03:04:55PM +, Rui Paulo wrote: > > On 19 Dec 2008, at 14:19, Jordy Dickinson wrote: > >> Hey, I've never used a mailing list before, so forgive me if I'm not doing >> this right. >> >> I'm trying to set up my network card, but I keep getting this error >> message. >>

Re: dhclient doing DISCOVER with bad IP checksum - bge

2008-12-02 Thread Brooks Davis
On Mon, Dec 01, 2008 at 12:27:58AM -0800, Jonathan Feally wrote: > Sorry for the cross-post, but this could be either lists problem. > > I have 2 boxes running 7-STABLE as of 20081130, both i386 SMP. One is > running ISC DHCPD 3.0.x from recent ports, and the other dhclient from make > world. >

Re: How to make two vlans on one interface working with dhclient

2008-08-21 Thread Brooks Davis
On Wed, Aug 20, 2008 at 03:13:00PM +0200, Popof Popof wrote: > Hi, > I have a FreeBSD 6.0 box andi need to configure it in a way that I must use > 2 vlans under one interface and both of them will get an address thanks to > dhclient. > > So in order to make this job I created vlans: > > ifconfig

Re: SOLVED: lo0 not in ioctl( SIOCGIFCONF )

2008-07-22 Thread Brooks Davis
On Tue, Jul 22, 2008 at 07:16:24AM +, Jens Rehsack wrote: > Brooks Davis wrote: >> On Mon, Jul 21, 2008 at 10:36:34PM +, Jens Rehsack wrote: >>> Brooks Davis wrote: >>>> On Mon, Jul 21, 2008 at 09:30:39PM +0000, Jens Rehsack wrote: >&g

Re: lo0 not in ioctl( SIOCGIFCONF )

2008-07-21 Thread Brooks Davis
On Mon, Jul 21, 2008 at 10:36:34PM +, Jens Rehsack wrote: > Brooks Davis wrote: >> On Mon, Jul 21, 2008 at 09:30:39PM +, Jens Rehsack wrote: >>> Brooks Davis wrote: >>>>> Hi, >>>>> >>>>> maybe this question is better asked in

Re: lo0 not in ioctl( SIOCGIFCONF )

2008-07-21 Thread Brooks Davis
On Mon, Jul 21, 2008 at 09:30:39PM +, Jens Rehsack wrote: > Brooks Davis wrote: >>> Hi, >>> >>> maybe this question is better asked in this list ... >>> >>> I was searching why ports/net/p5-Net-Interface was not working as >>> expe

Re: lo0 not in ioctl( SIOCGIFCONF )

2008-07-21 Thread Brooks Davis
> Hi, > > maybe this question is better asked in this list ... > > I was searching why ports/net/p5-Net-Interface was not working as > expected and found some reasons. Most of them I can answer by implementing > some test code as attached, but now I'm wondering why em0 is shown twice > and lo0 is

Re: FreeBSD NAT-T patch integration

2008-06-25 Thread Brooks Davis
On Wed, Jun 25, 2008 at 04:30:36PM -0400, Scott Ullrich wrote: > On Wed, Jun 25, 2008 at 4:24 PM, Julian Elischer <[EMAIL PROTECTED]> wrote: > > do you have the ability to test this? > > Absolutely. Is this the only thing from preventing it being merged into > HEAD? No. It's a large and compl

Re: if_vlan subinterfaces at boot

2008-06-16 Thread Brooks Davis
On Mon, Jun 16, 2008 at 09:22:32PM -0400, Steve Bertrand wrote: > Steve Bertrand wrote: >> Brooks Davis wrote: > >>> On Mon, Jun 16, 2008 at 08:27:47PM -0400, Steve Bertrand wrote: >>>>> Is there any way to create, and assign addresses to a if_vlan >>&g

Re: if_vlan subinterfaces at boot

2008-06-16 Thread Brooks Davis
On Mon, Jun 16, 2008 at 08:27:47PM -0400, Steve Bertrand wrote: >> Is there any way to create, and assign addresses to a if_vlan >> sub-interface (eg: em6.3) via rc.conf at boot? > > Sorry for the noise... > > cloned_interfaces="em6.3" > ifconfig_em6.3="inet x.x.x.x netmask x.x.x.x" > > ...seem

Re: ssh window

2008-06-13 Thread Brooks Davis
On Fri, Jun 13, 2008 at 01:02:07PM +0200, Kris Kennaway wrote: > Brooks Davis wrote: >> On Thu, Jun 12, 2008 at 06:30:05PM -0700, Peter Losher wrote: >>> Randy Bush wrote: >>>> this has been a cause of great pain for a lng time. >>>> >>>

Re: ssh window

2008-06-12 Thread Brooks Davis
On Thu, Jun 12, 2008 at 06:30:05PM -0700, Peter Losher wrote: > Randy Bush wrote: >> this has been a cause of great pain for a lng time. >> >>http://www.psc.edu/networking/projects/hpn-ssh/ >> >> as openssh seems not to be fixing it (and i do not consider a 2mb fixed >> buffer to be fixed

Re: [PATCH] autoload if_vlan.ko on vlan creation

2008-04-30 Thread Brooks Davis
On Wed, Apr 30, 2008 at 02:01:21PM -0400, Niki Denev wrote: > Hi, > > I've noticed that autoloading of if_vlan.ko on vlan creation does not > work in the case when the vlans are specified with the interface name. > i.e. : fxp0.5 And the problem is that ifmaybeload() in ifconfig.c > expects that al

Re: Regarding if_alloc()

2008-04-22 Thread Brooks Davis
On Tue, Apr 22, 2008 at 10:38:31AM -0700, vijay singh wrote: > > > - Original Message > From: Robert Watson <[EMAIL PROTECTED]> > To: Brooks Davis <[EMAIL PROTECTED]> > Cc: vijay singh <[EMAIL PROTECTED]>; freebsd-net@freebsd.org > Sent: Sunday,

Re: Regarding if_alloc()

2008-04-18 Thread Brooks Davis
On Thu, Apr 17, 2008 at 06:35:23PM -0700, vijay singh wrote: > Hi all. How do we avoid a race in populating the ifindex_table? Id > this is a TODO, as it seems from the code below, would it be > acceptable if I wrote a patch and reused the ifnet_lock [IFNET_WLOCK, > IFNET_WUNLOCK]? Locking if_inde

Re: 802.1x for wired networks

2008-04-09 Thread Brooks Davis
On Wed, Apr 09, 2008 at 03:05:31PM +0200, Guido van Rooij wrote: > What is the best way to be able to have a FreeBSD system connect > via 802.1x to a wired network? Wap_supplicant seems to insist on > calling 80211 ioctl's and thus fails. > > I found the open1x project, but did not find it in the

Re: 7.0 - ifconfig create is not working as expected?

2008-03-29 Thread Brooks Davis
On Sat, Mar 29, 2008 at 02:23:20PM +0100, Miroslav Lachman wrote: > Hi, > > I was using following command in FreeBSD 6.2: > > # ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0 > > In FreeBSD 7.0 I got an error: > > # ifconfig lo1 create inet 172.16.16.2 netmask 255.255.255.0 > ifconf

Re: Duplicate interface name

2008-03-17 Thread Brooks Davis
On Mon, Mar 17, 2008 at 01:24:13PM +0200, Yehonatan Yossef wrote: > > Hi, > > I'm porting a 10GigE driver to FreeBSD 6.3. My card has 2 ports. > Loading the driver brings up two new interfaces, problem is they have > the same name. > > How do I configure the interface numbering? Generating the

Re: VLAN trunking and fragmentation

2008-03-12 Thread Brooks Davis
On Thu, Mar 13, 2008 at 11:13:14AM +1300, Andrew Thompson wrote: > On Wed, Mar 12, 2008 at 12:38:06PM -0700, Sean Chittenden wrote: > >> interface ethernet 1/g1 > >> switchport mode trunk > >> switchport trunk allowed vlan add 10 > >> exit > > > > I think this is an issue with default VLAN membersh

Re: dhclient conflict between /sbin/devd and /etc/rc.d/netif ?

2008-02-11 Thread Brooks Davis
On Mon, Feb 11, 2008 at 06:51:58PM +1100, Robert Jenssen wrote: > Hi Brooks and all, > > On Mon, 11 Feb 2008 12:06:26 pm you wrote: > > On Mon, Feb 11, 2008 at 11:37:21AM +1100, Robert Jenssen wrote: > > > Hi, > > > Every so often I have trouble connecting rt2560 based PCI wireless > > > network

Re: dhclient conflict between /sbin/devd and /etc/rc.d/netif ?

2008-02-11 Thread Brooks Davis
On Mon, Feb 11, 2008 at 01:23:57PM +1100, Robert Jenssen wrote: > Hi, > > Thanks for the prompt reply. By "owned", I meant that "ps -ajx" > shows /sbin/devd as the process group leader. For example, at the moment on > my system: > > [root etc]ps -axj | grep devd > root5727 1 5727

Re: dhclient conflict between /sbin/devd and /etc/rc.d/netif ?

2008-02-10 Thread Brooks Davis
On Mon, Feb 11, 2008 at 11:37:21AM +1100, Robert Jenssen wrote: > Hi, > Every so often I have trouble connecting rt2560 based PCI wireless network > card to my wireless router/access point. Typically I get: > > # sudo /etc/rc.d/netif restart ral0 > Starting wpa_supplicant. > ral0: no link ...

Re: network interface monitoring?

2008-01-24 Thread Brooks Davis
On Thu, Jan 24, 2008 at 10:58:33AM -0500, Yousif Hassan wrote: > Thank you to all who responded. > > The suggestion was made to use devd or ifstated. Both sound like > excellent tools, but I'm currently being tripped up by a core problem - > both tools rely on the kernel to notify userland of lin

Re: network interface monitoring?

2008-01-23 Thread Brooks Davis
On Wed, Jan 23, 2008 at 04:50:22PM -0500, Yousif Hassan wrote: > Net-gurus: > > I hope this is the right list to write to regarding this question (feel > free to redirect me to ports@ if that sounds more appropriate). > > I'm looking for a facility to automatically detect network interface > carr

Re: Coordinating TCP projects

2007-12-20 Thread Brooks Davis
On Wed, Dec 19, 2007 at 01:09:13PM +, Robert Watson wrote: > > I'd like for us to create a wiki page tracking these various projects, and > pointing at per-project resources. Once the discussion has settled a bit, > I can take responsibility for creating such a page, but will need everyone

Re: rh0

2007-11-06 Thread Brooks Davis
On Tue, Nov 06, 2007 at 08:08:35AM -0800, Randy Bush wrote: > it is alleged that rh0 is processed in 6.2 (< > http://www.6journal.org/archive/0284/01/IPv6_RH_security-csw07.pdf>). > is this true. is rh0 processed in 7 and -current? 6.2-RELEASE with no patches does process rh0 like basicly e

Re: [PATCH]: implementation of SIOCGIFINDEX in linuxulator

2007-11-05 Thread Brooks Davis
On Mon, Nov 05, 2007 at 04:34:59PM +0100, Roman Divacky wrote: > hi > > I implemented SIOCGIFINDEX in linuxulator and I would like you > to review the patch.. the implementation is trivial, just mapping > it to the native fbsd call. > > the patch can be found here: http://www.vlakno.cz/~rdivacky/

Re: UDP catchall

2007-11-01 Thread Brooks Davis
On Wed, Oct 31, 2007 at 09:53:56AM -0700, Julian Elischer wrote: > It's possible using ipfw to mostly implement this, and with an upcoming > change, possible to completely implement this. > > the "uid" function of ipfw can act as a "does there exist a socket to which > this packet would go?" tes

Re: UDP catchall

2007-10-29 Thread Brooks Davis
On Sat, Oct 27, 2007 at 04:21:23AM +0100, Bruce M. Simpson wrote: > Matus Harvan wrote: > > Hi, > > > > I was wondering if I could get some feedback about the patch and > > whether others think it could be committed. > > > > The UDP catchall patch as submitted here clashes with the blackhole

Re: ifconfig patch

2007-09-20 Thread Brooks Davis
On Fri, Sep 21, 2007 at 11:54:27AM +1200, Andrew Thompson wrote: > Hi, > > > I have been digging into why the edsc module wasnt being loaded by > ifconfig and now have a patch. > > A few printfs showed the problem. > > # ifconfig edsc0 create > ifmaybeload(edsc0) > trying to find if_edsc or eds

Re: dhclient multiple aliases limitation

2007-08-28 Thread Brooks Davis
On Tue, Aug 28, 2007 at 03:51:25PM -0500, Sean C. Farley wrote: > I currently have a setup on a laptop where I have two aliases that I > always want present. I would like to setup two aliases in > /etc/dhclient.conf to handle having the Ethernet cable plugged in after > boot, but dhclient has

Re: Merging rc.d/network_ipv6 into rc.d/netif

2007-04-05 Thread Brooks Davis
On Thu, Apr 05, 2007 at 06:46:44PM +0300, Mike Makonnen wrote: > On Tue, Apr 03, 2007 at 06:14:23PM -0500, Brooks Davis wrote: > > > - You can now do things like: > > > # Start/Stop IPv6 on all interfaces > > > /etc/rc.d/netif (start|stop) ip6 > > >

Re: Merging rc.d/network_ipv6 into rc.d/netif

2007-04-03 Thread Brooks Davis
I keep forgetting to do a review so a few comments now and hopefully a fuller review later. On Thu, Mar 29, 2007 at 09:29:06PM +0300, Mike Makonnen wrote: > Hello folks, > > Ever since rc.d was brought into the tree we all agreed IPv6 needed > to be integrated better. Well, I've finally gotten ar

Re: kern/110720: [net] [patch] support for interface descriptions

2007-03-24 Thread Brooks Davis
On Sat, Mar 24, 2007 at 06:37:59PM +0100, Hartmut Brandt wrote: > On Sat, 24 Mar 2007, Eugene Grosbein wrote: > > EG>On Sat, Mar 24, 2007 at 11:30:44AM +0100, Andre Oppermann wrote: > EG> > EG>> Harti Brandt wrote: > EG>> >Nice feature, although it would be nice to align the maximum length > with

Re: Generic ioctl and ether_ioctl don't agree

2007-03-14 Thread Brooks Davis
On Wed, Mar 14, 2007 at 01:20:23PM +0300, Yar Tikhiy wrote: > Hi folks, > > Quite a while ago I noticed that our ioctl handlers get the ioctl > command via u_long, but ether_ioctl()'s command argument is int. > This disarray dates back to 1998, when ioctl functions started to > take u_long as the

Re: icsphy(4) for nfe(4) - better Microsoft Xbox support

2007-02-07 Thread Brooks Davis
On Wed, Feb 07, 2007 at 09:46:36PM +0100, Rink Springer wrote: > On Wed, Feb 07, 2007 at 09:39:38PM +0100, Ed Schouten wrote: > > I just compiled and installed a kernel with the new nfe(4) driver and > > DEVICE_POLLING enabled. Below are the results of some scp(1) transfers: > > scp(1) isn't reall

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Brooks Davis
On Fri, Dec 22, 2006 at 12:43:29PM -0300, Fabr?cio Barros Cabral wrote: > Hello everybody! > > I'm developing a network application which needs *to intercept* a packet > (not just *copy* a packet, like libpcap does), move this packet into my > application (userland), do some checking in the packet

Re: Reentrant problem with inet_ntoa in the kernel

2006-11-04 Thread Brooks Davis
On Sat, Nov 04, 2006 at 02:46:30AM +, MQ wrote: > 2006/11/3, Brooks Davis <[EMAIL PROTECTED]>: > > > >On Fri, Nov 03, 2006 at 09:46:47AM +, MQ wrote: > >> 2006/11/2, Brooks Davis <[EMAIL PROTECTED]>: > >> > > >> >O

Re: Reentrant problem with inet_ntoa in the kernel

2006-11-04 Thread Brooks Davis
Max Laier <[EMAIL PROTECTED]>: > > > >Hello "MQ", > > > >your email client is seriously mis-configured, could you please look into > >this as it is a bit annoying. > > > >On Friday 03 November 2006 10:46, MQ wrote: > >> 2006/11/2, Brooks D

Re: Reentrant problem with inet_ntoa in the kernel

2006-11-03 Thread Brooks Davis
On Fri, Nov 03, 2006 at 09:46:47AM +, MQ wrote: > 2006/11/2, Brooks Davis <[EMAIL PROTECTED]>: > > > >On Thu, Nov 02, 2006 at 08:26:27AM +, . wrote: > >> Hi, > >> > >> I am confused by the use of inet_ntoa function in the kernel. >

Re: Reentrant problem with inet_ntoa in the kernel

2006-11-02 Thread Brooks Davis
On Thu, Nov 02, 2006 at 08:26:27AM +, . wrote: > Hi, > > I am confused by the use of inet_ntoa function in the kernel. > > The function inet_ntoa in the /sys/libkern/inet_ntoa.c uses a static array > static char buf[4 * sizeof "123"]; > to store the result. And it returns the address of the a

Re: Instructing dhclient to set hostname of client

2006-10-24 Thread Brooks Davis
On Tue, Oct 24, 2006 at 09:16:07AM +0200, Harti Brandt wrote: > On Mon, 23 Oct 2006, Joe Holden wrote: > > JH>Andrey V. Elsukov wrote: > JH>> Doug Barton wrote: > JH>>> If you're talking about a laptop where you're not sure what the DHCP > JH>>> server is going to send you, then I have this in /et

Re: Sub-interfaces.

2006-10-21 Thread Brooks Davis
On Sat, Oct 21, 2006 at 11:59:45PM +0200, Peter Ankerst?l wrote: > I've looked all over the web for some tutorials on how to create > sub-interfaces i FreeBSD.. > Something like fxp0.1 > > Should I use ng_ ? If you mean vlan interfaces, "ifconfig fxp0.1 create" should actually work if the vlan m

Re: IPMI & portrange

2006-09-26 Thread Brooks Davis
On Tue, Sep 26, 2006 at 01:53:44PM -0700, John Polstra wrote: > On 26-Sep-2006 Danny Braniss wrote: > > This keeps bitting me every other upgrade, IPMI on some > > hosts, if enabled, will steal packets to port 623 or 664, so > > the current solution is either set net.inet.ip.portrange.lowlast

Re: Spam on this mailing list

2006-09-20 Thread Brooks Davis
On Wed, Sep 20, 2006 at 11:30:11AM -0700, Ross Finlayson wrote: > Folks, I think it's time to reconfigure this mailing list so that > only subscribers can post to it. (Frankly, I was suprised that this > isn't already done; most mailing lists these day so this.) The spam filter was temporarily

Re: kern/102035: [plip] plip networking disables parallel port printing

2006-09-03 Thread Brooks Davis
On Sat, Sep 02, 2006 at 10:20:22PM -0700, Doug Barton wrote: > Your approach is interesting, but I'm not sure I like the idea of adding a > new semantic to the defaults file. > > Would you consider instead modifying network6_interface_setup in > network.subr to not automatically configure a plip i

Re: Intel em receive hang and possible pr #72970

2006-08-31 Thread Brooks Davis
On Thu, Aug 31, 2006 at 01:38:40PM -0700, Jack Vogel wrote: > On 8/31/06, Rob Watt <[EMAIL PROTECTED]> wrote: > > >After poking around in various group/pr postings the most similar problem > >that we found was PR #72970. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=72970 > > > >Does it seem tha

Re: possible patch for implementing split DNS

2006-08-29 Thread Brooks Davis
On Tue, Aug 29, 2006 at 02:02:22PM +0200, Oliver Fromme wrote: > Julian Elischer wrote: > > I need some processes to look elsewhere for DNS information from where > > the rest > > of the system looks.. This patch seems to me a simple solution. > > We over-ride where the resolver looks for reso

Re: conf/102502: [patch] ifconfig name does't rename netgraph node in network.subr

2006-08-28 Thread Brooks Davis
Synopsis: [patch] ifconfig name does't rename netgraph node in network.subr Responsible-Changed-From-To: freebsd-rc->freebsd-net Responsible-Changed-By: brooks Responsible-Changed-When: Mon Aug 28 12:49:02 UTC 2006 Responsible-Changed-Why: While the proposed workaround is in network.subr, it's no

Re: Zeroconfig and Multicast DNS

2006-08-25 Thread Brooks Davis
On Fri, Aug 25, 2006 at 10:35:03AM +0900, JINMEI Tatuya / [EMAIL PROTECTED]@C#:H wrote: > >>>>> On Thu, 24 Aug 2006 13:42:29 -0500, > >>>>> Brooks Davis <[EMAIL PROTECTED]> said: > > >> Um...I'm not sure if this is even possible. Let&#

Re: Zeroconfig and Multicast DNS

2006-08-24 Thread Brooks Davis
On Thu, Aug 24, 2006 at 03:21:41PM -0700, Chuck Swiger wrote: > On Aug 24, 2006, at 3:10 PM, Fredrik Lindberg wrote: > >>Queries to 254.169.in-addr.arpa MUST return NXDOMAIN (or RCODE 3, > >>to choose a non-BIND specific term). > > > >We're talking about mDNS here, not DNS. I would argue that bec

Re: Zeroconfig and Multicast DNS

2006-08-24 Thread Brooks Davis
On Fri, Aug 25, 2006 at 12:06:31AM +0200, Fredrik Lindberg wrote: > Brooks Davis wrote: > > > >It just occured to me that the daemon could handle this without any > >interaction with dhclient or the static interface configuration. In the > >mode where you only want an

Re: Zeroconfig and Multicast DNS

2006-08-24 Thread Brooks Davis
On Thu, Aug 24, 2006 at 11:51:55PM +0200, Fredrik Lindberg wrote: > Pat Lashley wrote: > > > >The problem with that is that we want to support the use of both on the > >same link. So we'd either need to allow more than one keyword, or have > >'DHCP', 'LLA', 'LLA+DHCP', etc. Neither of those is ve

  1   2   3   4   >