natd slow, eats up an entire CPU...

2011-11-27 Thread Mikhail T.
Hello! I recently upgraded a friend's computer to 8.2-STABLE and we are noticing some network performance problems... In particular, when a large file is being uploaded outside (via scp), two weird things happen: 1. Although it begins with a transfer rate of over 2Mb/s (as rep

Re: natd slow, eats up an entire CPU...

2011-11-28 Thread Mikhail T.
On 28.11.2011 00:27, Eugene Grosbein wrote: Do not use natd, use ipfw nat instead - it uses the same libalias but completely in kernel and avoids gigantic natd overhead. I guess, I'll have to research this new method... But I don't recall this being a problem with FreeBSD-7.x -- are there some k

Seeking recommendation on good USB network card

2012-02-27 Thread Mikhail T.
Hello! The on-motherboard Ethernet "card" in one of my computers stopped working suddenly... I'm too far away and don't want the local users to open up the machine to insert anything. Thus, I'd like to use an external USB nic. The OS is FreeBSD-8.2-stable/i386. Any recommendations? It can be

Should not libpcap be compiled with INET6 unconditionally?

2012-09-25 Thread Mikhail T.
On my systems, where I rebuild "world" by hand, I usually disable INET6 (WITHOUT_INET6 is documented in src.conf(5)) -- because it is still a waste on today's Internet with most ISPs. Unfortunately, this effectively disables tools like nmap, which use an expression like: Packet capture fi

Is it worth the effort to make proxy and server communicate via Unix socket?

2012-10-01 Thread Mikhail T.
In a fairly common setup today, a proxy (say, Varnish) runs on the same system as the actual "backend" server (such as Apache). Would it be worthwhile to alter them both to allow them to talk via a socket instead of via TCP (on the lo0 interface)? Or is the win just too negligible? Thanks!

smbfs slow compared to smbclient

2013-01-07 Thread Mikhail T.
Hello! I found this same question asked back in 2005, but never answered: http://lists.freebsd.org/pipermail/freebsd-questions/2005-September/098717.html Today, 7 years later, using FreeBSD-9.1 I observe, that copying a file to an SMB-server (a box with embedded Linux, actually), I get jus

Strange problem with sk0

2010-10-22 Thread Mikhail T.
Hello! I have a rather bizarre problem with my on-board sk interface... It only works, when tcpdump is running... Seriously. It negotiates with the switch (1000baseT/full-duplex) just fine, but, unless tcpdump has it open (and in "promiscuous" mode), no traffic seems to go through. It would

Is there an equivalent for Linux MSG_MORE flag for send(2) on FreeBSD?

2010-06-13 Thread Mikhail T.
Hello! I'm porting a piece of software, which uses MSG_MORE flag with send, from Linux. Is there a smart alternative for the flag on FreeBSD (other BSDs?), or should I just define it to zero? Thanks! -mi ___ freebsd-net@freebsd.org mailing list h

natd interferes with incoming RTSP/RTP

2009-04-11 Thread Mikhail T.
Hello! I'm trying to watch video via RTSP/RTP from a remote net-camera on my 7.0-STABLE/i386 from July 6th: vlc --verbose 2 rtsp://user:passw...@remote.example.com/nphMpeg4/g726-320x240 Things work fine, when my machine has the firewall disabled. Unfortunately, the machine is also in cha

Re: natd interferes with incoming RTSP/RTP

2009-04-12 Thread Mikhail T.
Paolo Pisati написав(ла): > Mikhail T. wrote: >> However, if I disable just one of the rules below -- 1300, the one >> diverting all traffic to natd -- the video works fine... So it is not >> any of the other rules, that are the problem, nor is it the remote >> server..

How to forward traffic out via a non-default interface?

2016-10-29 Thread Mikhail T.
Hello! I asked this question online already: http://superuser.com/q/1138996/247471?sem=2 if you have an answer, please, share it wherever you feel appropriate... have a fairly vanilla home LAN with an Internet provider-supplied router providing DHCP. The router uses many of its default sett