CARP interface

2021-02-11 Thread Cristian Cardoso
Hi I would like to clarify a doubt, if someone has this scenario in the use of CARP for the use of virtual ips in interfaces in FreeBSD. I have an interface where I have the 10.19.254.2/24 network and I am placing the virtual IP 10.19.254.3/32 in the CARP, this interface does not have a default gat

ipfw stateful rules and quick port re-use

2021-02-11 Thread Andriy Gapon
Recently we encountered an interesting issue at work. By accident our software started to quickly re-use a source TCP port when connecting to a remote system. That is, after a graceful shutdown of a connection (two FINs, etc), the software would quickly establish an identical connection by re-us

Re: ipfw stateful rules and quick port re-use

2021-02-11 Thread Michael Sierchio
Check the values of these sysctl MIBS net.inet.ip.fw.dyn_keep_states net.inet.ip.fw.dyn_keepalive net.inet.ip.fw.dyn_short_lifetime net.inet.ip.fw.dyn_udp_lifetime net.inet.ip.fw.dyn_rst_lifetime net.inet.ip.fw.dyn_fin_lifetime net.inet.ip.fw.dyn_syn_lifetime net.inet.ip.fw.dyn_ack_lifetime

[Bug 253172] Intel e1000 - Interface Stalls After Media Type is Changed

2021-02-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253172 --- Comment #3 from jcap...@blackberry.com --- Created attachment 222368 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222368&action=edit proposed patch after a bit more investigating, it looks like iflib_media_change should be

Re: CARP interface

2021-02-11 Thread Lutz Donnerhacke
On Thu, Feb 11, 2021 at 10:27:44AM -0300, Cristian Cardoso wrote: > I would like to clarify a doubt, if someone has this scenario in the > use of CARP for the use of virtual ips in interfaces in FreeBSD. > I have an interface where I have the 10.19.254.2/24 network and I am > placing the virtual IP

Re: CARP interface

2021-02-11 Thread Cristian Cardoso
At that moment I already deactivated the server. The configuration of rc.conf was the same as yours, the only difference was that I was using a static route for my internal network instead of the bird. The version of FreeBSD I used for testing is 12.2-RELEASE FreeBSD 12.2-RELEASE r366954 GENERIC a

Re: CARP interface

2021-02-11 Thread Muenz, Michael
Am 11.02.2021 um 17:36 schrieb Lutz Donnerhacke: On Thu, Feb 11, 2021 at 10:27:44AM -0300, Cristian Cardoso wrote: I would like to clarify a doubt, if someone has this scenario in the use of CARP for the use of virtual ips in interfaces in FreeBSD. I have an interface where I have the 10.19.254.