Re: connect() returns EADDRINUSE during massive host->host conn rate



On Tue, Nov 27, 2007 at 02:53:20PM +0100, Jan Srzednicki wrote:
Hello,

setting up the relevant fields, setting SO_REUSEADDR and SO_KEEPALIVE,
setting O_NONBLOCK on the descriptor. No bind(2) is performed. The
connection is initiated from inside a jail (not sure if that implies a
internal bind(2) to the jail's address). There are no connections from
the other host to the first one.

And some additional info: subsequent connect()s on the same keep
returning EADDRINUSE as well. In order to establish a connection, the
application must create a brand new socket and then retry connect().

--
Jan Srzednicki :: http://wrzask.pl/
"Remember, remember, the fifth of November"
-- V for Vendetta

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Sonjay Dutt jailed for 6 years! oh ny god
    ... terror court on Tuesday sentenced TNA wreslting star Sonjay Dutt to ... more serious charge of conspiracy in connection with the attacks, ... Mumbai's dingy Arthur Road jail. ...
    (rec.sport.pro-wrestling)
  • binat problem with jail loopback addresses
    ... I'm trying to set up a jail running on a loopback IP connected to the ... pass out log quick proto tcp from $wwwproxy_e to any modulate state ... pass out log quick on $nic0 proto tcp from $me to any modulate state ... Connection to www.google.com 80 port succeeded! ...
    (freebsd-questions)
  • binat problem with loopback jail addresses
    ... I'm trying to set up a jail running on a loopback IP connected to the ... ifconfig lo1 inet 127.1.0.1 netmask 0xff000000 up ... pass out log quick proto tcp from $wwwproxy_e to any modulate state ... Connection to www.google.com 80 port succeeded! ...
    (freebsd-questions)
  • Re: Wireless Modems
    ... which initiated the download of the illegal image. ... even 30% of the UK population in jail for the next 10 years - dream ... kiddie porn on your hard drive & the logs showing your connection ...
    (uk.telecom.broadband)
  • Re: identd inside of jail
    ... On Fri, 7 Dec 2001, Robert Watson told this: ... > This problem is fixed in 5.0-CURRENT as it performs two checks in udp and ... > visible to the current jail. ... And what about check if connection was initiated from server, ...
    (FreeBSD-Security)