-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send SYN packet failed on Windows 10 #519
Comments
I have same exception on win11 I think this is a socket limitation Raw sockets not allowed to work on 10 and 11 |
@ahmedtalaat327 You're right. Confirmed by more than one ways. At last, I introduce |
I think its possible to send the UPD carrying the TCP sender. |
@WorstCodeWay I think this works |
@ahmedtalaat327 |
this is the same libtins yeah But using EthernetII instead of sending packet directly
|
Interesting! I tried very like this, but without raw payload field, and it didn’t work. I will try this later. Besides, in practice, you need target MAC address to fill the first parameter of EthernetII constructor, how will you get that? In my case, broadcast arp message may help. |
@WorstCodeWay ARP reply |
Hi, I new to socket, but I want to scan ports which are opened on other host or not. I find
libtins
can do this. Thanks for your work!I meet a problem when doing my work, the
libtins
complains cannot sent ip packet, where an exception that impliessocket_write_error
(error:10022 withinsendto
). I have looked intolibtins
sources, and found that socket is created normally, IP_HDRINCL is ok too. But it just cannot send packet.And I also have run the example codes
Scanner
for scanning, same problem.I need help, guys.
The text was updated successfully, but these errors were encountered: