In Windows 8.1 or even 7, if you use a lot the standby mode as I do, you may face an issue with your mouse which sometimes doesn’t work after Operative System is being awake from standby
To fix this issue go to control panel –> power options –> change plan settings –> Advanced –> USB Selective Suspend –> set to “Disable”
And you’re set
In Windows 8 or 8.1 if you change your xDSL connection or you add a new connection, your OS will set a new ID adding a number at the end, e.g. Network 2 or Network 3 and so on.
In Windows 8 or 8.1 is no longer available a GUI to change or delete these IDs, so you have to act through OS registry.
Open regedit with administrator level and go to HKLM
Then, look in each sub-folder of “profiles” and check the “ProfileName” you want rename, click with right button of your mouse and rename it.
Let’s not pretend that things will change if we keep doing the same things. A crisis can be a real blessing to any person, to any nation. For all crises bring progress.
Creativity is born from anguish, just like the day is born form the dark night. It’s in crisis that inventiveness is born, as well as discoveries made and big strategies. He who overcomes crisis, overcomes himself, without getting overcome. He who blames his failure to a crisis neglects his own talent and is more interested in problems than in solutions. Incompetence is the true crisis. The greatest inconvenience of people and nations is the laziness with which they attempt to find the solutions to their problems.
There’s no challenge without a crisis. Without challenges, life becomes a routine, a slow agony.
There’s no merit without crisis. It’s in the crisis where we can show the very best in us. Without a crisis, any wind becomes a tender touch. To speak about a crisis is to promote it. Not to speak about it is to exalt conformism. Let us work hard instead. Let us stop, once and for all, the menacing crisis that represents the tragedy of not being willing to overcome it.
Albert Einstein 1930
Sometimes even if you does not have any access to your networking devices, you may need to check what is actual maximum MTU of your connection.
Ping command and parameters -l and -f are very useful.
With -f you will set to do not fragment the packets and with -l you will set the packet size.
Here is an example of pinging http://www.google.com with a packet site 1500
You have noticed that response from ping command is “Packet needs to be fragmented”.
You can lower the packet size until the ping command will response correctly as below:
After several tentatives, you will reach the maximum packet size before to the “Packet needs to be fragmented” response.
Once you’ll have that value (e.g. 1421) you must add 28 (IP/ICMP header) so (1449) just the get the very perfect tuned maximum MTU.
#: free -m
verify actual RAM status
Force changed blocks to disk, update the super block.
#: echo 3 > /proc/sys/vm/drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.
To free pagecache: echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation, and dirty objects are not freeable, the user should run “sync” first in order to make sure all cached objects are freed.
#: free -m
Verify if memory has been freed
TDL3 is the worse rootkit for x64 windows systems.
His infection can cause several damages to the operative system, in recent days, a lot of companies has been infected.
If you use a x64 operative system as me, you can check if your system has been infected, open a command prompt (start -> run -> cmd)
And launch “diskpart”, then try the command: “lis dis”
If you showing the same as my picture, then you are not infected, if the command “lis dis” says that a disk does not exist, then you got TDL3 infection.
In this case, i suggest to run immediately a standalone program as DrWeb CureIt:
To Disable and Turn Off CD or DVD Burning Support and Stop Disc Tray from Auto Eject in Windows 7, just:
Run gpedit.msc (Group Policy Editor) from Start Search.
Expand Local Group Policy -> User Configuration -> Administrative Templates -> Windows Components.
Select Windows Explorer.
In the right pane, double click on Remove CD Burning features.
Select Enabled radio button to stop and disable all features in the Windows Explorer that allow users to use their CD writer to burn, and ability to auto eject disc tray. Click OK when done.
Restart computer or log off and log on again for the change to take effect.
To reset and re-enable the CD burning feature in Vista, simply choose back the setting to Not Configured or Disabled.
Some editions of Windows 7 doesn’t have Group Policy Editor. In this case, manually change the CD burning feature support in the registry. To do so, run Registry Editor (regedit), and then navigate to the following registry key:
In the right pane, if it’s not already existed, right click on a blank space, and select New to create a new DWORD (32-bit) Value. Name the new value name as NoCDBurning, and assign its value data to 1.
To reset and turn back on CD burning feature, delete the NoCDBurning value, or set its value data to 0.
After installing proftpd and you connect to the server as ftp client, the server displays a standard welcome message:
$ ftp localhost
Connected to localhost.
220 ProFTPD 1.2.8 Server (localhost) [127.0.0.1]
The line 220 ProFTPD 1.2.8 Server will be displayed to anyone who does an ftp connection to your server.
In case you don’t want everyone to see what FTP server software and expecially what version of the ftp server are you running, you can customize all these with ServerName and ServerIdent ProFTPD directives.
ServerIdent – Set the message displayed on connect
ServerIdent [ ServerIdent off|on [identification string]]
Default: ServerIdent on “ProFTPD [version] Server (server name) [hostname]”
The ServerIdent directive sets the default message displayed when a new client connects.
Setting this to off displays “[hostname] FTP server ready.” If set to on, the directive can take an optional string argument, which will be displayed instead of the default text.
Sites desiring to give out minimal information will probably want a setting like ServerIdent on “FTP Server ready.”, which won’t even reveal the hostname.
ServerIdent on “Welcome to FTP Server”
Another option is ServerName which configure the name displayed to connecting users:
ServerName [ ServerName “name”]
Default: ServerName “ProFTPD Server [version]”
The ServerName directive configures the string that will be displayed to a user connecting to the server.
Modify your proftpd.conf file (/usr/local/etc/proftpd.conf on FreeBSD or /etc/proftpd.conf on Linux) and modify ServerName and ServerIdent lines (or add them if they don’t exist) to whatever you wish and test it.
$ ftp localhost
Connected to localhost.
My FTP Server
If you want to install a port and portaudit reports vulnerabilities for this port, you can bypass portaudit by using DDISABLE_VULNERABILITIES feature.
$ cd /usr/ports/lang/php4
$ make -DDISABLE_VULNERABILITIES
Upgrade FreeBSD port even though portaudit reports vulnerability
For upgrading ports on FreeBSD, you can you use portupgrade.
In case that portupgrade tells that it cannot continue because the port has a vulnerability reported by portaudit, bypass the vulnerability check with portupgrade option: -m DISABLE_VULNERABILITIES=yes port_name
$ portupgrade -m DISABLE_VULNERABILITIES=yes [port name]
Sometimes we need to install some very old ports even if they have some vulnerabilities, and for this reason, I do not recommend using these methods unless you know what you’re doing.