How to stop Windows from TCP resetting on unrecognized SYN-ACK packets? - tcp

Is there a way to stop a Windows host computer from sending RST packets when a SYN-ACK has been received without a preliminary SYN from the host?
Is there a boolean registry entry for that? I prefer not to use external tools, but if it's the only solution please mention that.
However, for my purposes it's okay to disable that mechanism only for specific IP addresses, network interfaces or even specific ports if there's no other way.
I'm on Windows Server 2008 R2.

Syn attack protection on Windows Vista, Windows 2008, Windows 7, Windows 2008 R2, Windows 8/8.1, Windows 2012 and Windows 2012 R2:
As of Windows Vista and onwards (Vista/2008/Win 7/2008 R2/Windows 8/Windows 2012/Windows 2012 R2), syn attack protection algorithm has been changed in the following ways:
1) SynAttack protection is enabled by default and cannot be disabled!

Related

Accessing localhost website on LAN from VMware

Systems:
Windows Server 2008 R2
IIS 7.5
VMWare 10
i wanted to access the website hosted from other LAN machines.
Inside the machine there is a VMware 10 running windows server 2008 r2 and iis 7.5.
i set a bridged connection for the VM and using a static ip xxx.xxx.x.198 in windows server
I added a binding to my website (:122).
I added inbound and outbound rules in the firewall settings.
However, i managed to access the webpage from the host machine (windows 8) outside of the VM.
But i can't access the webpage from another machine.
Are you sure you've checked the firewall machines on both the guest and the host?

Network adapter not working after a couple of minutes Windows Server 2012

we have been trying to solve a strange problem for the last 2 days but after a lot of searching we are stuck at the same point. We previously had Windows Server 2012 and it was working great, no problems, but decided to upgrade to R2 and that's where all our problems started.
Server:
HP PorLiant ML310e Gen8
2 Network cards ( Broadcom NetExtreme Gigabit Ethernet )
Windows Server 2012 R2
Clients:
Windows 8.1 Pro
We use one of the network cards for the server and the other for a virtual machine in Hyper-V. When the server was updated, all users, groups and permissions where created and assigned, so every member of the network could join their computers with their new users and passwords (no problem here), but when clients try to access the shared folders of the network they are unable to do so. And they can't ping the server.
So, the deal is that when the server is just started (or restarted) every client can see the network directories, can ping the server, everything works just fine for 2 or 3 minutes, then the network falls apart and there is no way for us to bring it back up other than restarting the server, but again it only works for like 3 minutes.
If we try to ping the server's IP address we get the 'General Failure' Message.
We have tried:
Enabling and disabling network adapters
Changing the order of the network adapters
Hyper-V is not being started
Disabling Network Load Balancing (NLB)
Disabling Large Send Offload (LSO) both with netsh and in the card's properties
Change the network adapter static IP
Disabling IPv6
Disabling the 'Allow the computer to turn off this device to save power'
Also noted that the server is getting several IP addresses from the DHCP. We have Microsoft Dynamics CRM 2013, and SQL Server 2012 installed.
Can any of you guys please help us with this situation? we'll be very grateful :)
Thanks in advance!
Greetings!
Ok,so this was an ol' windows trick... no matter what configuration we tried, windows server kept taking down the network minutes after it was started, so we:
Completely uninstall both network adapters
Restarted the server
Did the standar network adapter configuration (static IP addres, network, gateway, set the virtual switching for Hyper-V)
And everything started working again. So we kept the same configuration as before; Windows just needed to install the network adapters again.
Greetings!

Windows server 2008 & Opendns

I have a problem, my network have a domain controller, File server, DHCP & DNS server configured on one machine, i would like to filter the internet content using opendns.
but there is some computer on the network should be excluded from this filltring.
Keys:
1. Computers get IP configuration by DHCP.
2. Computers DNS & Alternat is the local server (Could not be changed).
3. Client Computers are mixed (Windows XP SP3 & Windows 7).
4. Server OS windows server 2008 R2 64 bit.
Any ideas please?
Simply put the OpenDNS servers in the DNS Forwarders tab and configure your DHCP to deliver your Domain Controller IP addres as a DNS Server for your clients.

Access localhost on the main machine from VMware Workstation 8 for ASP.NET development test

I run an ASP.NET Development Server (that came with MS Visual Studio 2010) on my Windows 7 machine. I'm currently developing an ASP.NET C# web application and to test it on Windows 7 machine I need to navigate my web browser to an address like this:
http://localhost:59215/Default.aspx
I also have the VMware Workstation 8 installed on that Windows 7 with other OS as virtual machines. I need to try to load my web app from those virtual machines, but when I type the above address there I get "Cannot display page" error in a browser. Note that I can access internet from a virtual machine itself, but for some reason localhost on the main machine is not accessible.
Any ideas how to set this up?
OK, I got it!
For those who're interested, here's how:
Say, my developement URL on the host computer is:
http://localhost:59215/Default.aspx
Download this util, called tcpTrace and run it on a host machine. When it starts configure it as follows:
Listen to port #: 80
Destination Server: localhost
Destination Port #: 59215 (which will be different in your case)
Click OK and let tcpTrace run on the host computer.
On the virtual machine navigate the browser to the IP address of the host computer, for instance in my case:
http://192.168.0.4/Default.aspx
and it will work!
PS. To get an IP address on the host machine, run ipconfig there (in a command prompt window). Your IP will be presented in the "IPv4 Address" line for network you're connected on.
PS2. Also my Windows 7 (host) doesn't come with any third-party anti-virus or firewall. It has a built-in Windows firewall and MS Security Essentials as an AVP. So if your setup is different one needs to open the incoming port 80.
PS3. Speaking of the VMWare Workstation, the virtual machine's network adapter setting is set on "NAT: Used to share the host's IP address" as it came out-of-box when you install it.
localhost is the local machine (to the OS).
I'm not sure if the VS dev server will allow external connections, you may want to install IIS - either way, you'll have to open up the Windows Firewall to allow external connections.
I'm no VMWare user but each OS will have its own IP address(?) - and that's how you'd connect to the Windows 7/IIS image. http://the.ip.address.of.the.win7.image/

can't ping SQL server or connect to SQL server when using server name

I have SQL server running on a legacy Windows 2003 box on IP address 192.168.2.240. There seems to be a reference to the server with some old connection strings for a web application. I'm merely using it for comparison purposes because we just upgraded to Windows Server 2008, .NET 4.0 and Enterprise Library 5.0. The server is referenced with "SQL01" not the IP address. On the network where this IP address resides, I can ping "SQL01", but when I VPN to that network, I cannot. Why wouldn't this work over a VPN? This is a legacy server, and I don't know how it was setup. If anyone can explain where this name is configured, and how I can connect (or ping) "SQL01" instead of using the IP address, I'd like to be enlightened.
Try looking in your hosts file.

Resources