disk encryption for linux

cryptsetup -s 512 -y luksFormat /dev/sda2
cryptsetup luksOpen /dev/sda2 slackcrypt


umount /mnt service udev stop lvchange -a n <LV-name> cryptsetup luksClose <LUKS-devicename> service udev start

BGP netscreen

Example: Enable BGP on the untrust VR and Ethernet 0/2 interface, which is peering to 1.1.1.1:

Via the CLI:

Enable BGP on the Untrust VR:

>Set vr untrust protocol bgp 65100

>set vr untrust-vr protocol bgp enable [Enter]             

Configure the BGP neighbor:

>set vrouter "untrust-vr" protocol bgp neighbor 1.1.1.1 remote-as 65100 local-ip 172.27.201.135/32 
outgoing-interface ethernet0/2

Enable BGP on the neighbor:

set vr untrust-vr protocol bgp neighbor 1.1.1.1 enable [Enter]

Enable BGP on the interface:

set interface e0/2 protocol bgp [Enter]

Continue reading “BGP netscreen”

GLIBC version – 9/7/6/5

CentOS Stream release 9:

strings /lib64/libc.so.6 | grep ^GLIBC_
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_2.22
GLIBC_2.23
GLIBC_2.24
GLIBC_2.25
GLIBC_2.26
GLIBC_2.27
GLIBC_2.28
GLIBC_2.29
GLIBC_2.30
GLIBC_2.31
GLIBC_2.32
GLIBC_2.33
GLIBC_2.34
GLIBC_PRIVATE
GLIBC_2.8
GLIBC_2.33
GLIBC_2.13
GLIBC_2.6
GLIBC_2.2.6
GLIBC_2.16
GLIBC_2.29
GLIBC_2.25
GLIBC_2.23
GLIBC_2.5

 

centos6.8:

strings /lib64/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_PRIVATE

RHEL5.5

[root@bogon ~]# strings /lib64/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_PRIVATE

 

CentOS Linux release 7.3.1611 (Core)

[root@~]# strings /lib64/libc.so.6 | grep GLIBC
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_PRIVATE

RHEL vs Fedora

Codename: Nahant (based on Fedora Core 3):  Red Hat Enterprise Linux 4

Codename: Tikanga (based on Fedora Core 6):  Red Hat Enterprise Linux 5

Codename: Santiago (based on a mix of Fedora 12, Fedora 13, and several modifications):  Red Hat Enterprise Linux 6

Codename: Maipo (based on a mix of Fedora 19, Fedora 20, and several modifications): Red Hat Enterprise Linux 7

Codename: Ootpa (is based on Fedora 28, upstream Linux kernel 4.18, systemd 239, and GNOME 3.28.): Red Hat Enterprise Linux 8