Here's a one-liner I came up with for displaying request and response HTTP headers using tcpdump (which should work for your case too):
sudo tcpdump -A -s 10240 'tcp port 4080 and (((ip[2:2] - ((ip&0xf)<<2)) - ((tcp&0xf0)>>2)) != 0)' | egrep --line-buffered "^........(GET |HTTP\/|POST |HEAD )|^[A-Za-z0-9-]+: " | sed -r 's/^...........
As it says on the development page for jq "jq is written in C and has no runtime dependencies". So just download the file and put it in place with the following:
wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
chmod +x ./jq
cp jq /usr/bin
Any well-behaved device on an Ethernet LAN is free to ignore nearly any traffic, so PINGs, port scans, and the like are all unreliable. Devices are not, however, free to ignore ARP requests, afaik. Given that you specify you're scanning a local network, I find the least-fragile method of doing what you want is to try to connect to a remote address, then ...
As per the recommendation of MadHatter here. I will post my answer here as an addendum to the answers here so that it may be used in conjunction with the answers suggested here.
Taken from the following website
## Install yum utils ##
yum install yum-utils
## Package-cleanup set count as how many old kernels you want left ##
package-cleanup --oldkernels -...
From the TigerVNC manual. man Xvnc
Specify which security schemes to use separated by commas. At present only "None" and "VncAuth" are supported. The default is "VncAuth" - note that if you want a server which does not require a password, you must set this parameter to "None".
So -SecurityTypes None on the server is the ...
Since a device cannot ignore ARP requests, I like to use a tool named arp-scan. It is available in most repositories.
When you run the command with the --localnet switch it will give you an overview of your entire internal network.
sudo arp-scan --localnet
Gives me a list of all IP -and MAC addresses on my network. It is also possible to specify a network ...
An alternative is to add the CentOS repository to your yum configs. CentOS is in large part a derivative of RHEL. As such, most of its packages are compatible with RHEL.
Michael Cutler wrote a guide for installing CentOS packages on RHEL. Briefly:
# find out the release (version) of your RHEL
# ex: 5.0, 6.0, 6.3
# create a ...
If you don't have the xml for the running vm (eg. after transient migration), you can do
virsh dumpxml vm_name > vm_name.xml
virsh define vm_name.xml
virsh list --all --persistent
The VM should now be listed.
virsh dominfo vm_name
There should be a line with 'Persistent: yes'.
I don't know which version of nmap you are running in your Red Hat 6.5, but for recent releases, the correct (and faster) way I think it would be:
nmap -sn -n 172.16.128.0/25
This will list every host in your network (so, you could use any other IP from that subnet as it should be available).
Edit and note: The subnet you mention is 255.255.255.128, but ...
Adding to this question for future people who may come across it. If you are putting home directories on an NFS share, you will need to set the correct SELinux context. Assuming your nfs home directory is /nfshome, do the following:
[root@host /]# semanage fcontext -a -e /home /nfshome
[root@host /]# restorecon -vR /nfshome
I had the same issue after installing Gitlab 6.4 on RHEL 6.5. No matter what i did i could not SSH using public keys for the main system user (git). Again the SSH keys were fine, as were the permissions on ~/.ssh (700) an ~/.ssh/authorized_keys (600). The issue was that seliunx was "enforcing" and the contexts in the .ssh directory were wrong, probably ...
It's not the voltage regulation that causes the performance problem, but the debugging kernel interrupts that are being triggered by it.
Despite some misinformation on Redhat's part, all of the linked pages are referring to the same phenomenon. The voltage regulation happens with or without the Performance profile, likely due to the Turbo Boost feature ...
Part 1 -- fping
This tool pings everything in the network range specified, and shows those that answer via ICMP.
root@thionite:~# fping -a -g 10.28.1.0/24
Part 2 -- arp
Since fping talked with everything on the LAN, that will have caused an entry to be added to the system's ARP table. ...
My system works! :)
OPTIONAL: heirloom-mailx (in my case)
NOTE: You can use other mail agent and modify the script.
Now my configs:
As of September 2015 there are rsyslog7 packages available in RHEL6. The current version of rsyslog is 8.11, but this one is at least closer to current.
To install, you first have to remove your rsyslog package:
# rpm -e --nodeps rsyslog
# yum -y install rsyslog7
Here's how I fixed the issue, at least temporarily. I copied the /etc/yum.repos.d/redhat.repo file from another working rhel6 server. Then I replaced all of the instances of sslclientkey and sslclientcert with the .pem files on this server. Then I renamed the .repo file to avoid it being wiped out on update. By doing that, I am able to install all packages ...
Actually, the command string listed in the sudoers is requiring to be the exact match.
In your example, you put the command string /usr/bin/yum update in the sudoers configuration line, but the command you finally executes is yum -y update. (the difference is the extra parameter -y).
Then, the mismatch in command string caused the sudoers failed to hit ...
find / -mount -type f -ls
will list all files like with an output similar to ls -dils.
find / -mount -type f -printf "%s %h/%f\n"
will just print the size and the name.
The -mount (or -xdev) option tells find to not descend into other mounted file systems (which / usually has at least a few of) and type -f makes sure only files and not directories ...
In ldif syntax leading spaces are line wrapping markers. You are trying to add a dn of ou=People, dc=my_domain, dc=com ou: People objectclass: organizationalUnit with no attributes.
You should not need to build your own curl version, support for TLS 1.1 & 1.2 (with the --tlsv1.1 resp. --tlsv1.2 commandline switches)
has been backported and became available in 2014 from curl version 7.19.7-43 of the RHEL 6 rpm package.
Please read this Q&A how version numbers for software stay the same in Red Hat major releases, despite the ...
Are you aware that you type 4122 in the example?
You should try
The star implies that you listen on all addresses, and not localhost, which you cannot connect to from other machines.
You can also bind to a specific IP, but my guess is that * is what you want.
Yes, Red Hat backports security fixes and important bug fixes to all packages they offer in their repositories until the EOL of that particular RHEL version. New major features or drastic changes are not appearing in RHEL updates.
VMware tools, as installed via the vSphere client, will build against the currently-running kernel, not the latest kernel on the server.
If using a support OS (like RHEL6), you should avoid this entirely and use the VMware Operating System Specific Packages (OSPs), as they're managed via your package manager and can be updated independently of your ESXi ...
Red Hat requires a subscription to make use of their repositories, meaning you need to join their developer program or pay for a subscription.
If you don't actually need Red Hat specifically (or a service contract), you might instead try CentOS. It's pretty much the same thing as RHEL except with slightly slower updates, a few different default ...