Is it possible to send a SYN packet in vb.net? And if so how?
Sponsored by: █ Sparkhost - Hosting Without Compromises! █ Hybrid Performance Web Hosting █ Spark Host Stream Hosting █ Hybrid IRC & IRCd Server Shell Accounts
Send Syn In Vb.net?
Started by
qazwsx
, Jan 14 2008 06:30 PM
5 replies to this topic
#1
Posted 14 January 2008 - 06:30 PM
#2
Posted 15 January 2008 - 09:59 AM
if your using Windows... i dont think you can anymore ..i read a year or two back that M$ was disabling raw socket access which i gather they have
option is move away from M$ to linux
option is move away from M$ to linux
#3
Posted 15 January 2008 - 11:48 PM
Hi
According to Microsoft[1,2], raw socket support exists, however
restricted to ICMP and IGMP protocols (and, maybe, UDP). I actually
created a raw socket ping in VB.NET, very similar to this one[3].
Anyway, a recent post[4] shows in C# that you actually can craft tcp
packages for raw sockets (I assume XPSP2 here). If this works in C#,
I don't see why it should not work for VB.NET. Be careful with the checksum,
which is not as trivial as with ICMP packages. I made one a while ago[5]
(in c, but you may be able to port it to VB.NET).
Cheers, and keep us updated.
[1] http://msdn2.microsoft.com/en-us/library/s...ype(VS.80).aspx
[2] http://technet.micro...y/bb457156.aspx (Restricted traffic over raw sockets)
[3] http://www.developer...o.uk/show/2857/
[4] http://www.dotnetmon...ets-on-a-socket
[5] http://antionline.co...904&postcount=6
According to Microsoft[1,2], raw socket support exists, however
restricted to ICMP and IGMP protocols (and, maybe, UDP). I actually
created a raw socket ping in VB.NET, very similar to this one[3].
Anyway, a recent post[4] shows in C# that you actually can craft tcp
packages for raw sockets (I assume XPSP2 here). If this works in C#,
I don't see why it should not work for VB.NET. Be careful with the checksum,
which is not as trivial as with ICMP packages. I made one a while ago[5]
(in c, but you may be able to port it to VB.NET).
Cheers, and keep us updated.
[1] http://msdn2.microsoft.com/en-us/library/s...ype(VS.80).aspx
[2] http://technet.micro...y/bb457156.aspx (Restricted traffic over raw sockets)
[3] http://www.developer...o.uk/show/2857/
[4] http://www.dotnetmon...ets-on-a-socket
[5] http://antionline.co...904&postcount=6
#4
Posted 16 January 2008 - 07:31 AM
thanks for the heads up on that secware... i remember reading about it long time back and am sure it was to do with sp2 with the restrictions being applied..you have filled in the missing pieces...cheers
#5
Posted 16 January 2008 - 07:49 AM
Thx 4 Linkz @ Info
Ill open it for input
507703
Ill open it for input
507703
#6
Posted 06 January 2009 - 09:35 PM
Hi
I believe the following article could help you; I used it to send raw packets on windows.
http://www.codeproje...IP/sniffer.aspx
I believe the following article could help you; I used it to send raw packets on windows.
http://www.codeproje...IP/sniffer.aspx
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












