Bandwidth limiting for eMule ports

Matthew Dillon dillon at apollo.backplane.com
Wed Jan 21 21:51:32 PST 2004


:
:
:    Oops... sorry, I gave bad advise.  I'm looking at the code.  It recognizes
:    'K' or 'k' so your specification was right.  It's the 'b' verses 'B' that
:    it's sensitive to, so if you say:  kbytes/sec it will think it's kbits/sec,
:    and if you say kBits/sec it will think it's kBytes/sec.  
:
:    One thing I have noticed, however, is that the ipfw pipes seem rather
:    sensitive to configuration changes, especially if there are packets
:    already in the pipe.  I've never been able to pin it down.
:
:						-Matt

    Cripes, wrong again.  Batting 0 tonight!

    It does understand 'by', so it will do 'kbytes' or 'kBytes' or
    'KBytes' properly.  It doesn't understand 'KBits'.... it will
    think 'KBits' are actually KBytes.  It also has no clue about
    MBits... it will think that means MBytes.

    The code is aweful.  I think I'm going to rewrite it for DFly.

						-Matt


More information about the freebsd-hackers mailing list