lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140521065605.0955afb7@samsung-9>
Date:	Wed, 21 May 2014 06:56:05 +0900
From:	Stephen Hemminger <stephen@...workplumber.org>
To:	netdev@...r.kernel.org
Subject: Fw: [Bug 76521] New: no-blocking socket can send data through
 non-existent local port



Begin forwarded message:

Date: Mon, 19 May 2014 18:21:19 -0700
From: "bugzilla-daemon@...zilla.kernel.org" <bugzilla-daemon@...zilla.kernel.org>
To: "stephen@...workplumber.org" <stephen@...workplumber.org>
Subject: [Bug 76521] New: no-blocking socket can send data through non-existent local port


https://bugzilla.kernel.org/show_bug.cgi?id=76521

            Bug ID: 76521
           Summary: no-blocking socket can send data through non-existent
                    local port
           Product: Networking
           Version: 2.5
    Kernel Version: 3.11.0-15
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: IPV4
          Assignee: shemminger@...ux-foundation.org
          Reporter: billhong1998@...il.com
        Regression: No

Created attachment 136811
  --> https://bugzilla.kernel.org/attachment.cgi?id=136811&action=edit
Run code to reproduce the issue

The attached code is a epoll network client supposed to test a network server
in high traffic case. Multiple threads create non-blocking sockets to simulate
heavy network load. Most sockets work well, but occasionally some sockets can
send data via non-existent local port, and can read data from the port as well.
Maybe I am not acquainted enough with epoll networking programming, and even
not sure if it is a bug in no-blocking i/o or epoll, and also not certain which
websites are the right place to discuss epoll or no-blocking i/o technologies.  

Anyone has any ideas would be greatly appreciated. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ