[SOLVED] Using Wireshark to Troubleshoot Network Connectivity Issues: Expert Infos

Using Wireshark to Troubleshoot Network Connectivity Issues: Expert Infos

In addition to the “Follow TCP Stream,” “Decode As,” and “IO Graphs” features, Wireshark also includes a tool called “Expert Infos” that provides valuable information and insights about the packets being captured.

To use the “Expert Infos” feature, simply select the “Statistics” menu and then choose “Expert Infos.” This will open a new window that displays a list of all the packets being captured, along with any expert infos that are available.

Expert infos are messages generated by Wireshark that provide additional information about the packets being captured. There are three levels of expert infos: “Notes,” “Warnings,” and “Errors.” Notes provide general information about the packets, warnings indicate potential problems with the packets, and errors indicate serious problems with the packets.

You can use the “Expert Infos” feature to identify any issues with the packets being captured, such as problems with the protocol being used or errors in the packet contents. By using the “Expert Infos” feature in combination with other diagnostic tools, such as the “Follow TCP Stream” and “IO Graphs” features, you can gain a deeper understanding of the traffic on your network and identify potential problems.

With a little bit of practice and a thorough understanding

[SOLVED] Using Wireshark to Troubleshoot Network Connectivity Issues: IO Graphs

Using Wireshark to Troubleshoot Network Connectivity Issues: IO Graphs

In addition to the “Follow TCP Stream” and “Decode As” features, Wireshark also includes a useful tool called “IO Graphs” that allows you to visualize the traffic on your network in a graphical format.

To use the “IO Graphs” feature, simply select the “Statistics” menu and then choose “IO Graphs.” This will open a new window that allows you to customize the graph according to your needs.

You can use the “IO Graphs” feature to identify patterns in the traffic and see how different devices are interacting with each other. For example, if you see a sudden spike in the traffic on your network, you can use the “IO Graphs” feature to identify which device or devices are causing the spike and determine the cause.

You can also use the “IO Graphs” feature to identify any problems with the traffic on your network, such as slow performance or connectivity issues. By visualizing the traffic in this way, you can often identify the root cause of the problem and take the appropriate action to fix it.

With a little bit of practice and a thorough understanding of the features and techniques available in Wireshark, you can become an expert at troubleshooting network issues and keeping your network running smoothly.

[SOLVED]Using Wireshark to Troubleshoot Network Connectivity Issues: Decode As

Using Wireshark to Troubleshoot Network Connectivity Issues: Decode As

Another useful feature in Wireshark is the “Decode As” feature, which allows you to specify how Wireshark should interpret the contents of a packet. This can be especially helpful when dealing with protocols that are not natively supported by Wireshark, or when you want to see the contents of a packet in a different format.

To use the “Decode As” feature, first select the packet in the packet list that you want to decode. Then, right-click on the packet and select “Decode As” from the context menu. This will open a dialog box that allows you to specify how Wireshark should interpret the contents of the packet.

In the “Decode As” dialog box, you can choose the protocol that you want Wireshark to use when decoding the packet. For example, if you are dealing with a packet that uses a custom protocol that is not natively supported by Wireshark, you can choose the “Custom” option and specify the details of the protocol.

You can also use the “Decode As” feature to specify how Wireshark should interpret the contents of a packet when it is using a protocol that is natively supported by Wireshark. For example, if you want to see the contents of an HTTP packet in a different format, such as ASCII or Hex Dump, you can use the “Decode As” feature to specify the desired format.

By using the “Decode As” feature in combination with other diagnostic tools, such as the “Follow TCP Stream” and “IO Graphs” features, you can gain a deeper understanding of the traffic on your network and identify potential problems. With a little bit of practice and a thorough understanding of the features and techniques available in Wireshark, you can become an expert at troubleshooting network issues and keeping your network running smoothly.

[SOLVED]Using Wireshark to Troubleshoot Network Connectivity Issues: Filters

Using Wireshark to Troubleshoot Network Connectivity Issues: Filters

In addition to the “Follow TCP Stream” feature, Wireshark also includes a powerful set of filters that you can use to narrow down the packets being displayed and focus on specific issues.

To use filters in Wireshark, simply enter the filter criteria into the filter bar at the top of the packet list. You can use a wide range of criteria to filter the packets, including the source and destination addresses, the protocol being used, and various other packet attributes.

For example, if you want to see only packets that are being sent from a specific IP address, you can enter “ip.src == x.x.x.x” into the filter bar, where x.x.x.x is the IP address you want to filter for. You can also use logical operators, such as “and” and “or”, to create more complex filters.

Filters can be especially helpful when trying to identify the cause of connectivity issues, as they allow you to focus on specific packets or types of traffic that may be causing the problem.

Regenera

[SOLVED] Using Wireshark to Troubleshoot Network Connectivity Issues: Follow TCP Stream

Using Wireshark to Troubleshoot Network Connectivity Issues: Follow TCP Stream

One of the most useful features in Wireshark is the “Follow TCP Stream” feature, which allows you to view the full conversation between two devices as a single stream of data. This can be especially helpful when trying to troubleshoot connectivity issues, as it allows you to see the entire exchange of packets between the devices, rather than just individual packets.

To use the “Follow TCP Stream” feature, first select the packet in the packet list that you want to start the stream with. Then, right-click on the packet and select “Follow TCP Stream” from the context menu. This will open a new window showing the full conversation between the two devices as a single stream of data.

You can use the “Follow TCP Stream” feature to identify any problems with the exchange of packets between the devices. For example, if you see a large number of retransmissions or errors in the stream, it could indicate a problem with the connection. You can also use the “Follow TCP Stream” feature to see if any packets are being dropped or blocked, which can also cause connectivity issues.

[SOLVED]Troubleshooting Network Connectivity Issues

Troubleshooting Network Connectivity Issues with Wireshark

Network connectivity issues can be frustrating, but there are a few steps you can take to try and resolve them. One powerful tool that can help troubleshoot these issues is Wireshark, a network protocol analyzer.

To use Wireshark to troubleshoot connectivity issues, start by capturing network traffic on the device experiencing the issue. This will allow you to see all of the packets being sent and received by the device, and you can use Wireshark’s various filters and analysis tools to identify any potential problems.

First, try to identify the source of the problem. Is it limited to a specific device or network segment, or is it affecting the entire network? This can help narrow down the potential causes.

Next, try to isolate the issue by performing some basic troubleshooting steps. For example, you can try rebooting the device or checking to make sure it has the correct IP address and DNS settings. You can also try connecting to the network using a different device to see if the issue is specific to one device or if it is a wider network issue.

If the issue persists, you can use Wireshark to help identify the cause. Look for any unusual patterns in the packets being sent and received, such as an excessive number of retransmissions or errors. You can also use Wireshark’s built-in analysis tools, such as the “Follow TCP Stream” feature, to get a more detailed look at the traffic flow.

By using Wireshark and other diagnostic tools, you can often identify and fix connectivity issues quickly and efficiently.

Enable Remote Desktop using CMD

To enable remote desktop.
• Open registry editor by running regedit from Run.
• Go to the node HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server
• Change the data of the value fDenyTSConnections to 0.
We can enable remote desktop from windows command line by running the following command.
reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 0 /f
To disable remote desktop we need to run the below command.
reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server” /v fDenyTSConnections /t REG_DWORD /d 1 /f
Reboot or logoff is not required after running the above command. I have tested this on Windows XP and Windows 7 and it has worked fine. It would work fine on Windows Vista too.

Quickly find AD user password expiration date

Knowing when a password should expire is sometimes useful information.
To find out all users password expiration date, open up powershell on the DC and run:

Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} –Properties “DisplayName”, “msDS-UserPasswordExpiryTimeComputed” | Select-Object -Property “Displayname”,@{Name=”ExpiryDate”;Expression={[datetime]::FromFileTime($_.”msDS-UserPasswordExpiryTimeComputed”)}}

It will output for you a human readable list such as in the above post screenshot.
I have tested and can confirm that the above script is working on Server 2008, 2008 R2, 2012, 2012 R2, 2016 & 2019.

WPBakery Page Builder not working in chrome and shows console errors

Just a quick one, hoping it will help someone,

If you have a wordpress site with WPBakery Page Builder running on it, and find the frontend builder is not working, and if you also happen to use cloudflare – Rocket Loader™ is your issue.

Go to cloudflare and under speed –> Optimization –> turn off Rocket Loader™

Go back to WordPress and within a few mins, or the time your cache takes to update – your visual composer/WPBakery Page Builder will be working again.

Posted in

Force Active Directory replication on a domain controller

To force Active Directory replication, on the server which needs forced to update, run using elevated CMD:

repadmin /syncall /AeD

A = All Partitions
e = Cross Site (Enterprise)
D = Show server name in output.

This will initiate a pull replication.

OR if you are already on on your main DC, and need to update any other servers in the AD, you can do a push replication:

repadmin /syncall /APeD

A = All Partitions
e = Cross Site (Enterprise)
D = Show server name in output.
P = Push

The technet article with further info can be found here:

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc770963(v=ws.11)

Perhaps, you like me are trying to move away from the old CMD comandlines, and migrate into PowerShell – if that is the case, bad news -currently there is no update alternative for repadmin in powershell – the Get-ADReplication commands are great for troubleshooting but offer no easy interface for updating AD.