Re: network tools

2005-09-04 Thread Chris
Many thanks for all the helpful replies, I feel I have something to work 
with now. Queuing sounds like it might do the trick, I'll give it a try.


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: network tools

2005-09-03 Thread Erik Nørgaard

Chris wrote:
Why don't the numbers support the experience? We have 1Mb/s download and 
128K upload (telewest cable). In theory even between us we weren't using 
all the bandwidth.


If I put a FreeBSD NAT/router box between the cable modem and the LAN 
what console based tools should I put on it to examine what's happening?


You want:

snort for packet sniffing and analysis
nmap for scanning your network to see if someone is running wierd apps.

You may want to configure your firewall with pf and queuing so limewire 
etc doesn't eat it all up. With pf, you can also monitor the state 
table, and you can also log suspicious traffic or traffic that causes 
problems. You need to use tcpdump to read the logfile.


IIRC, ethereal is a server/client program where the server runs on the 
trusted host where you want to monitor the traffic. It is good for 
getting the big picture of what is going on. Also, take a look at 
nagios. I have to say that I haven't used ethereal or nagios at all.


Cheers, Erik
--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: network tools

2005-09-03 Thread Lars Kristiansen



--On Saturday, September 03, 2005 12:01:56 AM +0100 Chris 
<[EMAIL PROTECTED]> wrote:



Hi

I share broadband with a couple of other people. One of them uses
limewire p2p software. When limewire is not running browsing feels fast
and ftp on my freebsd box says it's downloading at 115 to 120 kB/s. Even
when I have an ftp download going browsing doesn't seem very much
affected. I assume from this that my usage won't affect the other people
very much.

When limewire is running, even though it is throttled, ftp downloads run
at half speed or less and my experience of browsing is that it is
sluggish.

Today I had a download running at about 60kB/s and he said his (XP based)
limewire was showing 25kB/s download and 5kB/s upload. When he turned off
limewire my download speed went back to 120k.

Why don't the numbers support the experience? We have 1Mb/s download and
128K upload (telewest cable). In theory even between us we weren't using
all the bandwidth.


The following is clipped from ,
but other firewalls can do this to afaik.
Maybe that could be helpful when sharing adsl.


Assigning TCP ACK packets to a higher priority queue is useful on 
asymmetric connections, that is, connections that have different upload and 
download bandwidths such as ADSL lines. With an ADSL line, if the upload 
channel is being maxed out and a download is started, the download will 
suffer because the TCP ACK packets it needs to send will run into 
congestion when they try to pass through the upload channel. Testing has 
shown that to achieve the best results, the bandwidth on the upload queue 
should be set to a value less than what the connection is capable of. For 
instance, if an ADSL line has a max upload of 640Kbps, setting the root 
queue's bandwidth to a value such as 600Kb should result in better 
performance. Trial and error will yield the best bandwidth setting.





If I put a FreeBSD NAT/router box between the cable modem and the LAN
what console based tools should I put on it to examine what's happening?

I would very much appreciate any help as this is becoming a bit of an
issue here.

fwiw FreeBSD box.13dog.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun Aug 21
17:46:54 BST 2005.

Thanks

Chris


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: network tools

2005-09-03 Thread Rein Kadastik

Jonathan Chen wrote:


On Sat, Sep 03, 2005 at 12:01:56AM +0100, Chris wrote:

[...]
 

Today I had a download running at about 60kB/s and he said his (XP 
based) limewire was showing 25kB/s download and 5kB/s upload. When he 
turned off limewire my download speed went back to 120k.


Why don't the numbers support the experience? We have 1Mb/s download and 
128K upload (telewest cable). In theory even between us we weren't using 
all the bandwidth.
   



You're getting pretty close to maximum possible speed there on your
connection. A 1Mbit/s connection is about 128KByte/s, which would
explain your ftp download speedometer reading. Allowing for TCP
overhead, you're getting pretty good throughput.

 

I have one suspicion here. The Limwire does not show the actual speed 
but the speed that is available for the program. What I mean is that the 
Limwire protocol might create extra overhead and that explains "lost" 
bandwith (for example for transferring 5 KB data it must create 6 KB TCP 
packets but program sees that 5KB data is transferred).


Rein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: network tools

2005-09-02 Thread Jonathan Chen
On Sat, Sep 03, 2005 at 12:01:56AM +0100, Chris wrote:

[...]
> Today I had a download running at about 60kB/s and he said his (XP 
> based) limewire was showing 25kB/s download and 5kB/s upload. When he 
> turned off limewire my download speed went back to 120k.
> 
> Why don't the numbers support the experience? We have 1Mb/s download and 
> 128K upload (telewest cable). In theory even between us we weren't using 
> all the bandwidth.

You're getting pretty close to maximum possible speed there on your
connection. A 1Mbit/s connection is about 128KByte/s, which would
explain your ftp download speedometer reading. Allowing for TCP
overhead, you're getting pretty good throughput.

I'm unsure where you extra bandwidth goes when limewire is running.
Why don't you set up a caching name-server on your internal network
and see whether that helps.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: network tools

2005-09-02 Thread Kurt Buff
Chris wrote:
> Hi



> If I put a FreeBSD NAT/router box between the cable modem and the LAN
> what console based tools should I put on it to examine what's happening?
> 
> I would very much appreciate any help as this is becoming a bit of an
> issue here.
> 
> fwiw FreeBSD box.13dog.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun Aug
> 21 17:46:54 BST 2005.

If you must have a console app, you might want to try ngrep, but I'm not
terribly familiar with it.

I really recommend bringing your box up to 5-Stable, cvsup your ports
tree, and install ntop-3.1_1.

It has its own web server - doesn't depend on Apache - and you'll find
lots of information there, including graphs for total bandwidth used
over the last hour with 5 minute resolution, top 3 talkers for the same
period, same for last 24 hours with 1/2 hour resolution, and lots more.
Well worth the investment of time.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


network tools

2005-09-02 Thread Chris

Hi

I share broadband with a couple of other people. One of them uses 
limewire p2p software. When limewire is not running browsing feels fast 
and ftp on my freebsd box says it's downloading at 115 to 120 kB/s. Even 
when I have an ftp download going browsing doesn't seem very much 
affected. I assume from this that my usage won't affect the other people 
very much.


When limewire is running, even though it is throttled, ftp downloads run 
at half speed or less and my experience of browsing is that it is sluggish.


Today I had a download running at about 60kB/s and he said his (XP 
based) limewire was showing 25kB/s download and 5kB/s upload. When he 
turned off limewire my download speed went back to 120k.


Why don't the numbers support the experience? We have 1Mb/s download and 
128K upload (telewest cable). In theory even between us we weren't using 
all the bandwidth.


If I put a FreeBSD NAT/router box between the cable modem and the LAN 
what console based tools should I put on it to examine what's happening?


I would very much appreciate any help as this is becoming a bit of an 
issue here.


fwiw FreeBSD box.13dog.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun Aug 
21 17:46:54 BST 2005.


Thanks

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"