Re: FreeBSD max pipe size?

2014-11-18 Thread Jan Bramkamp
On 14.10.2014 00:13, Michael Sierchio wrote:
 On Mon, Oct 13, 2014 at 2:46 PM, Jack Barber j...@nyi.net wrote:
 
 I am trying to set up dummynet with FreeBSD 9.3 and a 10 GB Fibre over
 ethernet NIC (ix drivers).

 Dummynet appears to have a limit of 1.25 gigabits a second, and when I
 start setting extremely large pipe values I start running into:

IIRC dummynet stores the pipe bandwidth in bits per seconds in a 32 bit
integer. This limits dummynet to ca. 4.2Gb/s. I don't know if this
representation is exported as part of a KBI. If it is changing it to a
64 bit integer would break the KBI and will probably require someone to
push for the change in 11-CURRENT and a set of compatible APIs for
10-STABLE and maybe even 9-STABLE.

___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to freebsd-ipfw-unsubscr...@freebsd.org


Re: Questions about ipfw

2014-11-18 Thread Julian Elischer

On 11/15/14, 12:13 AM, Egoitz Aurrekoetxea wrote:

Good afternoon,

I wanted to formulate a couple of questions I’m doing my self some time ago.

1 - With Linux, Iptables and mod_conntrack_ftp you can allow only connecting to 
unprivileged port ranges for
ftp passive mode to ip addresses who have properly established a tcp/21 port 
connection. Is this possible in
FreeBSD with ipfw?.
I believe not, though you maybe able to use nat to achieve this as it 
has an ftp module. I
t requires understanding the protocol.. ipfw tries to not know about 
protocols.



2.- I am a client A connecting to public ip 1.1.1.1 (for example) of host B. I 
want this packets at B to be redirected to host C
but changing the source address of A from that packets with the ip address of 
B. Later when B receives back the answer of C
that packets from the answer to be redirected to A changing B destination ip 
address to A destination ip address. So when telnetting
from client A to host B for example to port 5000, really, to be telnetting host 
C port 5000 for example and work this telnet properly from A.

The most important question is number two. Could you help me please?.

this is possibly doable with the NAT module or divert+natd.
We generally do not change the source address, but there are options 
for nat for reverse nating that may help.





Best regards.
___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to freebsd-ipfw-unsubscr...@freebsd.org





___
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to freebsd-ipfw-unsubscr...@freebsd.org