Re: why rtsold ?

2018-10-03 Thread Anton Yuzhaninov
On 9/29/18 10:20 PM, Victor Sudakov wrote: > When running FreeBSD as an IPv6 host im SLAAC mode, is > "rtsold_enable=YES" really necessary? I did not enable rtsold and IPv6 > still works fine only with rtsold is needed to write DNS server address from RDNSS RA option to /etc/resolv.conf man rtso

Re: Looking for a Wireless NIC with 802.11ac or 802.11n support

2018-03-03 Thread Anton Yuzhaninov
On 02/04/18 23:02, Victor Sudakov wrote: > I'm looking for an internal Wi-Fi NIC with support for > > 1. 802.11n or better 802.11ac > 2. HOSTAP mode > 3. 5 GHz band (better both 2GHz and 5GHz). Atheros AR9382: 1. supports 802.11a and 802.11n 2. works in hostap mode 3. works in 5 GHz band or in 2

Re: about that DFBSD performance test

2017-03-09 Thread Anton Yuzhaninov
On 03/08/17 10:03, Mateusz Guzik wrote: First and foremost there is general kernel scalability. Certain counters and most locks are purely managed with atomic operations. An atomic operation grabs the entire cacheline with the particular variable (64 bytes in total) in exclusive mode. Isn't pro

fe80::1%lo0

2017-01-11 Thread Anton Yuzhaninov
Hello, Why FreeBSD adds fe80::1%lo0 to the loopback interface? I know, that in IPv6 each interface should have a link-local address, but ::1 can be considered as link-local: https://tools.ietf.org/html/rfc4291#section-2.5.3 I think fe80::1 is unnecessary can be removed. For all practical pur

Re: question about fopen fd limit

2016-12-22 Thread Anton Yuzhaninov
On 12/22/16 10:57, 盛慧华 wrote: and even in BSD 10 , it seems this short limit still there , but other OS as debian , FILE strucnt's fileno is a int . * Certain members of __sFILE are accessed directly via macros or * inline functions. To preserve ABI compat, these members must not * be di

Re: surprise surprise (VM related) [lu...@freebsd.org: svn commit: r250911 - head/sys/kern]

2013-05-23 Thread Anton Yuzhaninov
On Wed, 22 May 2013 20:42:44, Luigi Rizzo wrote: LR> Using polling, a FreeBSD instance under qemu-kvm remains perfectly LR> responsive even when bombed with 10 Mpps over an emulated e1000, LR> and happily processes 1.7 Mpps through ipfw. Can you share qemu network configuration used in tests

ifconfig media for ixgbe

2013-05-16 Thread Anton Yuzhaninov
I'm testing Intel 82599EB network adapter. Sometimes link is lost. 1. /usr/src/sys/dev/ixgbe/README said When 82599-based SFP+ devices are connected back to back, they should be set to the same Speed setting via Ethtool. Results may vary if you mix speed settings. But manual speed settings for

Re: Enabling netmap in fbsd9.1

2013-05-07 Thread Anton Yuzhaninov
On Tue, 07 May 2013 00:45:15, C. L. Martinez wrote: CLM> According to fbsd 9.1 release notes, netmap is included in this release, CLM> but how do I need to do to enable this feature?. Do I need to recompile CLM> default kernel with 'device netmap' option enabled?. Only load kernel CLM> modules?. Y

Re: Carp configuration errors

2013-01-25 Thread Anton Yuzhaninov
However, whichever box comes up second is BACKUP for both. 1. Do your have sysctl net.inet.carp.preempt=1 ? With preempt=0 box comes up second should be in backup state. 2. For carp problem troubleshooting it is useful temporary increase carp logs verbosity: sysctl net.inet.carp.log=2 --

livelock with full loaded em(4)

2012-01-25 Thread Anton Yuzhaninov
eempted for a hour - sysctl all this time in running state but don't have a chance to be executed. -- Anton Yuzhaninov P. S. I tried to use EM_MULTIQUEUE, but this is don't help in my case. ___ freebsd-net@freebsd.org mailing list http://lists.f

livelock with full loaded em(4)

2012-01-24 Thread Anton Yuzhaninov
ysctl all this time in running state but don't have a chance to be executed. -- Anton Yuzhaninov P. S. I tried to use EM_MULTIQUEUE, but this is don't help in this case. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.or

connections in CLOSED state

2011-07-22 Thread Anton Yuzhaninov
5.1.54.35543 10.25.1.54.35544 CLOSED (kgdb) set $t = (struct tcpcb) *0xff01abfb8370 (kgdb) p $t->t_inpcb->inp_socket->so_count $18 = 0 > uname -srp FreeBSD 8.2-PRERELEASE-20110101 amd64 -- Anton Yuzhaninov ___ freebsd-net@freebs

Re: Workaround for mpd5 and 8.0 broken proxy arp?

2010-04-20 Thread Anton Yuzhaninov
/freebsd_ng_iface_and_proxy_arp.txt -- WBR, Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: net/mpd5: proxy arp don't work on FreeBSD 8

2010-03-03 Thread Anton Yuzhaninov
On Tue, 2 Mar 2010 11:13:16 + (UTC), Anton Yuzhaninov wrote: AY> This problem can be repeated without mpd: AY> AY> # ifconfig vlan408 AY> vlan408: flags=8844 metric 0 mtu 1500 AY> options=3 AY> ether 00:04:23:ba:2a:7a AY> inet 10.25.1.244 netmask

Re: net/mpd5: proxy arp don't work on FreeBSD 8

2010-03-02 Thread Anton Yuzhaninov
-an | grep 192.168.10.2 LOOS> ? (192.168.10.2) at 01:02:03:04:05:06 on vlan100 permanent published [vlan] Why same ip - 192.168.10.1 should be configuren on two different interfaces: vlan100 and ng0. It looks like ugly hack. -- WBR, Anton Yuzhaninov

Re: net/mpd5: proxy arp don't work on FreeBSD 8

2010-03-02 Thread Anton Yuzhaninov
On Mon, 1 Mar 2010 15:33:41 + (UTC), Anton Yuzhaninov wrote: AY> mdp can't add proxy arp record. From mpd logs: AY> Mar 1 15:10:34 x0001 mpd: [B-1] IFACE: Add address 10.25.1.240/32->10.25.1.241 to ng0 AY> Mar 1 15:10:34 x0001 mpd: [B-1] exec: /usr/sbin/arp -S 10.25.1.241

Re: net/mpd5: proxy arp don't work on FreeBSD 8

2010-03-01 Thread Anton Yuzhaninov
On Mon, 1 Mar 2010 23:33:27 +0100, Bernd Walter wrote: BW> On Mon, Mar 01, 2010 at 03:33:41PM +0000, Anton Yuzhaninov wrote: >> mdp can't add proxy arp record. From mpd logs: >> >> Mar 1 15:10:34 x0001 mpd: [B-1] IFACE: Add address >> 10.25.1.240/32->10.25.1.

net/mpd5: proxy arp don't work on FreeBSD 8

2010-03-01 Thread Anton Yuzhaninov
ed in used version) -- WBR, Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: Network Card

2009-04-21 Thread Anton Yuzhaninov
ow mainboard name. Than read specification for this mainboard. -- Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Re: kern/122743: [panic] vm_page_unwire: invalid wire count: 0

2008-12-01 Thread Anton Yuzhaninov
The following reply was made to PR kern/122743; it has been noted by GNATS. From: Anton Yuzhaninov <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: Subject: Re: kern/122743: [panic] vm_page_unwire: invalid wire count: 0 Date: Tue, 02 Dec 2008 02:00:40 +0300 It look

sysctl net.inet.tcp.syncache.count

2008-11-06 Thread Anton Yuzhaninov
negative? % uname -srp FreeBSD 7.1-PRERELEASE amd64 -- Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

bug in unix sockets garbage collector

2008-08-22 Thread Anton Yuzhaninov
this condition become always true: if (local_unp_rights) taskqueue_enqueue(taskqueue_thread, &unp_gc_task); It seems, that unp_rights decremented more often than incremented, or some race exist. -- Anton Yuzhaninov ___ freebsd

re TSO: data corruption

2008-03-22 Thread Anton Yuzhaninov
NT #7: Sat Mar 22 20:59:10 MSK 2008 amd64 -- WBR, Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: kern/93378: [tcp] Slow data transfer in Postfix and Cyrus IMAP (workaround known)

2008-03-08 Thread Anton Yuzhaninov
The following reply was made to PR kern/93378; it has been noted by GNATS. From: Anton Yuzhaninov <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Cc: Subject: Re: kern/93378: [tcp] Slow data transfer in Postfix and Cyrus IMAP (workaround known) Date: Sun, 09 Mar 2008 00

Re: RELENG_7: can't connect to Solaris

2007-10-25 Thread Anton Yuzhaninov
On 25.10.2007 20:59, Mike Silbersack wrote: On Thu, 25 Oct 2007, Anton Yuzhaninov wrote: As silby@ already pointed out to me, try changing TCP_MAX_WINSHIFT in src/sys/netinet/tcp.h to 4. With TCP_MAX_WINSHIFT 4 it works. I have a fix for this already in HEAD, I'll merge it to rel

Re: RELENG_7: can't connect to Solaris

2007-10-25 Thread Anton Yuzhaninov
On 25.10.2007 15:01, Rui Paulo wrote: On 25 Oct 2007, at 11:24, Anton Yuzhaninov wrote: I can't connect from FreeBSD 7 box to Solaris 9. While between FreeBSD6 and Solaris 9 tcp work fine. I run on FreeBSD, and it nod't work: $ fetch -o /dev/null http://mail6:8274 fetch

RELENG_7: can't connect to Solaris

2007-10-25 Thread Anton Yuzhaninov
and nothing about this connection logged. -- WBR, Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: faster /etc/services

2007-05-21 Thread Anton Yuzhaninov
. Connection to external daemon is additional overhead. Anyway, is there need to optimize getservbyname()? Is there any applications, which call getservbyname() on each connection/request? IMHO /etc/services can be kept in current state. -- WBR, Anton Yuzhaninov

Re[2]: kern/106722: [net] [patch] ifconfig may not connect an interface to known network

2007-03-16 Thread Anton Yuzhaninov
he new AO> attempt. New route should replace existing one only if it have administrative distance (in cisco terms) smaller than AD for existing route. Preference of network from locally configured interface is only particular case of this general principle. -- WBR, Anto

Re[2]: kern/106722: [net] [patch] ifconfig may not connect an interface to known network

2007-03-14 Thread Anton Yuzhaninov
e when the BMS> architecture changes (and it has to change). IMHO question is not related to multipathing. Kernel routes now don't contain administrative distance and it root of this problem. RTS_CONNECTED, RTS_STATIC is a hack adding some

Re: [PATCH] Re: is setsockopt SO_NOSIGPIPE work?

2007-03-01 Thread Anton Yuzhaninov
Thursday, March 1, 2007, 8:34:50 PM, Bruce M. Simpson wrote: BMS> Anton Yuzhaninov wrote: >> >> Thanks, with send() it works fine. >> I think it should be documented in setsockopt(2). BMS> Try this patch. The comment doesn't reflect what the code does. SIGPIPE BMS>

Re[2]: is setsockopt SO_NOSIGPIPE work?

2007-03-01 Thread Anton Yuzhaninov
Thursday, March 1, 2007, 6:29:42 PM, Ruslan Ermilov wrote: RE> On Thu, Mar 01, 2007 at 03:17:29PM +0300, Anton Yuzhaninov wrote: >> Is SO_NOSIGPIPE work? >> >> It try to set on socket option SO_NOSIGPIPE but anyway process >> received sigpipe. >> RE> It works

is setsockopt SO_NOSIGPIPE work?

2007-03-01 Thread Anton Yuzhaninov
uot;, strlen("\r\n")) < 0) warn("second write() failed"); close(c); } } Client connect, than disconnect. server print: SIGPIPE recivied a.out: second write() failed: Broken pipe Is SO_NOSIGPIPE broken, or something wrong in my code? system: 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Feb 19 17:07:12 MSK 2007 -- WBR, Anton Yuzhaninov

Re: Automatic TCP send and receive socket buffer sizing

2006-12-14 Thread Anton Yuzhaninov
turation, which increases the bandwidth delay product), but then PR> as there isn't any code to shrink the buffers. This would probably PR> need to be in the timers to notice the case of the sender PR> temporarily stopping sending - eg in a keepalive http socket (a PR> separate, but related issue). -- WBR, Anton Yuzhaninov

zero kern.ipc.nsfbufs on amd64

2006-11-23 Thread Anton Yuzhaninov
FreeBSD 6.0-RELEASE amd64 GENERIC Is this mean, that on amd64 nsfbufs have no limit? -- WBR, Anton Yuzhaninov.

rl nic don't work on Acer Aspire 3610

2006-11-15 Thread Anton Yuzhaninov
_tz0: error fetching current temperature -- AE_NO_HARDWARE_RESPONSE I try to boot without acpi, but it also don't work. How I can debug this problem? Under WinXP this network card work fine. dmesg output available here: http://citrin.ru/tmp/aspire3610/ -- WBR, Anton Yuzhaninov __

Re[2]: Avoiding natd overhead

2006-10-21 Thread Anton Yuzhaninov
>>nat EG> In RELENG_4 libalias uses hash table, not linear search. EG> Are you sure it switched to linear search? And why? Yes, I was mistaken. libalis use lookup tables linkTableOut and linkTableIn -- WBR, Anton Yuzhaninov

Re[2]: Avoiding natd overhead

2006-10-21 Thread Anton Yuzhaninov
artup. It better. ipnat uses hash table to fine entry in nat table - it mach faster in heavy loaded case. An next. As I can se libalias not limit maximum size of used memory. When users generate many simultaneous connections (e. g. worm or net scan), libalias may exhaust all kernel memory and so trigger panic. -- WBR, Anton Yuzhaninov

Re: CARP howto

2006-08-12 Thread Anton Yuzhaninov
Saturday, August 12, 2006, 8:30:00 PM, Mike Jakubik wrote: MJ> Does anyone know a good CARP howto for FreeBSD? I've googled around, but MJ> i cant find anything specific to FreeBSD. You can use CARP howto for OpenBSD. -- WBR, Anton Yuzhaninov

Re: Creating span port using netgraph

2006-01-29 Thread Anton Yuzhaninov
teface (xl? or ngeth0) no traffic F> is visible. Use ng_tee for connect to xl0, xl1... -- WBR, Anton Yuzhaninov ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: ifconfig description

2005-11-25 Thread Anton Yuzhaninov
Friday, November 25, 2005, 3:22:17 PM, bart wrote: b> I have couple of bsd routers with dozens vlans b> and missed ability to make comment on interface like cisco description You can use zebra (quagga) daemon for interface description: # sh int vlan17 Interface vlan17 is up, line protocol detect