| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| From: | "Leyendecker, Robert" <Robert DOT Leyendecker AT lsi DOT com> |
| To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
| Date: | Mon, 7 Dec 2009 23:11:59 -0500 |
| Subject: | SOCK_RAW raw socket and cygwin |
| Message-ID: | <8C8865ED624BB94F8FE50259E2B5C5B304593DB2E4@palmail03.lsi.com> |
| x-cr-puzzleid: | {FDA26F89-B353-41C2-8C5C-6ED53C3FF679} |
| x-cr-hashedpuzzle: | CBpp CRYD D5T0 ER5o E4tV GAX/ GpA5 GuRA GzRL HU/B HZLO HtHS IWUo Ifvy I4J9 JM2m;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{FDA26F89-B353-41C2-8C5C-6ED53C3FF679};cgBvAGIAZQByAHQALgBsAGUAeQBlAG4AZABlAGMAawBlAHIAQABsAHMAaQAuAGMAbwBtAA==;Tue, 08 Dec 2009 04:11:59 GMT;UwBPAEMASwBfAFIAQQBXACAAcgBhAHcAIABzAG8AYwBrAGUAdAAgAGEAbgBkACAAYwB5AGcAdwBpAG4A |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
I've written a linux app using IP packet with custom protocol (i.e. not udp= , not tcp, etc) using SOCK_RAW socket. I can compile app in cygwin and it o= pens sockets and reads and writes without any errors but wireshark shows no= data traversing the interface (not even local loopback). Is it possible t= o use a SOCK_RAW in cygwin for read and write of IP packets? I've seen some= prior discussion about raw sockets and proper admin privileges - I am admi= n of this machine so I should be able to set privileges as required. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |