linux – What services and ports are required for NFSv4?

I've tried to find the definitive answer to this question, but the results obtained are contradictory because of the different versions of NFS.

I have configured NFSv4 by following https://help.ubuntu.com/community/NFSv4Howto and the following services are currently running on my machine:

  • rpc.mountd
  • rpcbind
  • nfsd
  • lockd

Which of these elements are needed to run an NFS server in v4 only? How can I disable the rest? Therefore, which ports should I open on my firewall?

PS: I am on Ubuntu 18.04

How to prevent the threats of the usb on Linux?

OS: archlinux

I am thinking of connecting to a restricted user with mount permissions and examine the behavior of the usb. But what if USB injected hardware that would inject code directly when I plug in the USB?

How to check generally and correctly usb under linux?

Cisco IOS: Is it possible to SSH on a Linux server with PubkeyAuthentication?

I am on a Cisco 2900 router running IOS version 15.4. I ran show ip ssh and get the following:

SSH enabled - version 2.0
Authentication methods: publickey, interactive keyboard, password
Authentication timeout: 120 seconds; New authentication attempts: 3
Minimum expected Diffie Hellman key size: 1024 bits
IOS keys in SECSH format (ssh-rsa, base64 encoded):
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAYQDexiovLMJlGyTplQW4EfbzBrcOve5HCsJ0fZ4RKxJQ
0w2oWA / BEMSABV5YEWkK6lhgt5ZqupeZxYGpIZMGwQa2qKJ6KLjWqp3tW99mUGigIhNhCA84giqjj3kN
Zdpb650 =

I placed the ssh-rsa line in my allowed_keys file on my linux server. I have tested the fact that authentication without password works from another Linux server and connects to the target server.

In my sshd_config on the server, I defined Password authentication not, ChallengeResponseAuthentication no, and PubkeyAuthentication yes. I have reviewed the sshd log (with the debug flags set) and I do not see any clear error message.

I receive the following error message when I try to connect with ssh -l root 10.10.34.77:

* 18 Feb 22: 20: 50.608:% SSH-3-AUTH_METH_ERR: The server does not support
password authentication or interactive keyboard

Due to the error above, I think the problem is that the Cisco 2900 is not configured to try PubkeyAuthentication (password and keyboard only) and I can not find a way to Activate up to now. ssh -o on the 2900 only supports the number of passwords options and I looked through all the available ip ssh? choice in config mode.

Can any one confirm or deny these results? Thank you

What are the main differences between Electron, AppImage and normal Linux applications? (And how to distinguish his packages)

Being a Windows user since 1996 (Win 95); Linux by only 5 years; with these new implementations on the web and because I missed the last two years of linux:

I have difficulties (do not install) but to find the differences when I have to download the good Linux package.

I want to install the default Linux package do not the new Electron or AppImage.

But when I come to this web page, it is written:

https://github.com/Automattic/simplenote-electron/releases/tag/v1.4.1

Note the & # 39; simpple-electron & # 39; before & # 39; / Release / & # 39 ;.

And, there are a lot of packages there.

So, if I want to download Visual Studio Code as an example, do I have different versions?

So, questions have come (lighten):

  • How do I know when I download the Regular Linux package ?

  • How to check it (if it is normal and not an electron, for example)?

  • Which location they install, if they install ?

  • And what are the main differences between them?

NOTE: The question seems a bit ambiguous, but always precisely!

bash – Sets the default command to execute for a specific file extension (Linux Mint)

I've created a bash file that converts .heic and .heif images to .jpg format. I have it set to run this bash file by making the .sh program the default program to use for this type of file in the "Open With" section of the context menu. However, it now runs this script for any type of unknown file. How can I configure it for only .heic and .heif files?

linux – impossible to boot after installing dualboot between LVM and the normal method

hi i have a problem trying to make my laptop dualboot, after installing ubuntu and fedora in my laptop there is no other choice in the & ldquo; Screen to choose how to enter safemode, memtest, or the operating system. I do not even know what operating system I enter, because the screen goes black 15min nothing happened after the underscore stops blinking. Maybe some of you can help me, I will explain what I have done so far.
1.Install Fedora using the LVM method
-My hard drive starts freespace so I take 200Mo to make / start the partition and become sda1
-I do 18gb to partition LVM and become sda2
-from the LVM partition, I create volgroup00 and divide the size into / swap and the root partition
– from here the startup screen always good, I can choose the operating system, the memtest or the safemode.
2.install Ubuntu using the normal method
-I do about 8 GB to make a swap partition again because the system seems can not recognize the first swap I make
-I do 15gb for root
-I restart my laptop with the sony logo displayed
-underscore blinks for 30 seconds, then the screen turns white. I hope this explanation can help you understand the situation and that I have a screenshot of the partitions I have created. sorry for my bad English
Partition on my laptop

linux – JMP-CALL-POP shellcode technique (segmentation error (core dumped))

I write this shellcode to create a shell on the box using the technique JMP-CALL-POP but I still have this error, I do not know why !!

Segmentation fault (core dumped)

my shellcode:

section .text

global _start

_début:

jmp short qan

sh:

pop esi
xor ebx, ebx
mov byte         [esi + 7], Al
mov dword        [esi + 8], esi
mov dword        [esi + 12], ebx

lea ebx, [esi]
lea ecx, [esi + 8]
lea edx, [esi+12]

xor eax, eax
mov bl, 11
int 0x80

qan:
call sh

shell: db # / bin / sh # AAAABBBB & # 39;

I had this error:
Segmentation fault (core dumped)

i checked by objdump for the null bytes and i found no: D

arg: elf32-i386 file format


Disassembling the .text section:

08048060 <_start>:
8048060: eb 1a jmp 804807c 

08048062 :
8048062: 5th pop esi
8048063: 31 db xor ebx, ebx
8048065: 88 46 07 mov BYTE PTR [esi+0x7]Al
8048068: 89 76 08 mov DWORD PTR [esi+0x8], esi
804806b: 89 5th 0c mov DWORD PTR [esi+0xc], ebx
804806e: 8d the lea ebx,[esi]
 8048070: 8d 4th 08 lea ecx,[esi+0x8]
 8048073: 8d 56 0c lea edx,[esi+0xc]
 8048076: 31 c0 xor eax, eax
8048078: b3 0b mov bl, 0xb
804807a: cd 80 int 0x80

0804807c :
804807c: e8 e1 ff ff ff call 8048062 

08048081 :
8048081: 2f das
8048082: 62 69 6th bound, QWORD PTR [ecx+0x6e]
 8048085: 2f das
8048086: 73 68 ja 80480f0 
 8048088: 23 41 41 and eax, DWORD PTR [ecx+0x41]
 804808b: 41 inc ecx
804808c: 41 inc ecx
804808d: 42 inc edx
804808e: 42 inc edx
804808f: 42 inc edx
8048090: 42 inc edx

so I try to test the other shellcode written by Vivek Ramachandran, the same error:

global _start
section .text

_début:
jmp short call_shellcode

shellcode:
; JMP - CALL - POP = ESI now contains the message
pop esi

; Zero the EBX register (will be used for the file name)
xor ebx, ebx

; Move BL (0x0) in [ESI+9] (the "A" in the message) to terminate null / bin / bash
mov byte [esi+9], bl

; Move ESI (location of / bin / bash) in [ESI+10] (the "BBBB" in the message)
mov dword [esi+10], esi

; Move EBX (0x00000000) in [ESI+10] (the "CCCC" in the message)
mov dword [esi+14], ebx

; Load the "/ bin / bash" string to zero terminal in EBX for the execve file name
lea ebx, [esi]

    ; Load the address of / bin / bash in ECX for execve argve
lea ecx, [esi+10]

    ; Load the address of the null bytes in EDX for execve envp
lea edx, [esi+14]

    ; Zero the EAX register
xor eax, eax

; Load 11 (sys_execve) in EAX
mov al, 0xb

; Call the interrupt 0x80 to execute the system call
int 0x80

call_shellcode:
call shellcode

; CALL places this at the top of the stack
db message "/ bin / bashABBBBCCCC"

Segmentation fault (core dumped)

Enoctus.com | Public Cloud Pool – Linux and Windows $ 5 p / m – London, NYC, LA | Unmeasured traffic | NewProxyLists

[​IMG]

We are a UK based web hosting provider whose main purpose is to provide a simple, easy to use and top quality website hosting experience. With 100% management and team management in the UK and the US, we have been able to achieve a tandem in the workflow with our customers. The heart of our business is customer service and satisfaction, not just the product. We work with customers from around the world, from start to finish, to make sure every goal is within reach of their new project.

So what's the problem?

– We invest in the success of our clients by providing professional services at an unbeatable price, which includes free premium domains and SSL certificates. Specifically, all our web hosting and reseller hosting plans are accompanied by a free .com, .net or .co.uk domain even on our cheapest package at $ 3.95 GBP, even when customers subscribe every month. No contract.

And not only…
* Networks and premium equipment in London, New York, Los Angeles, Frankfurt and Hong Kong.
* Protected DDoS
* Pure SSD on the hardware raid 10
* Included redundant, weekly backups on VPS
* LiveChat, Support Desk (monitored 24/7) and phone support
* 100% uptime guarantee

50% discount on the promo code Windows: GEEKS50

Windows and Linux Cloud Server Packages:

CLOUD-512$ 2.50 (with promotional code) p / m (Linux and Windows)

1 Intel Xeon Core
512MB DDR4 Dedicated RAM
12 GB RAID10 SSD storage
500 GB high speed bandwidth
DDOS protection
Weekly Backups Included

Order Linux
Windows order

CLOUD-1024$ 5 p / m (Linux and Windows)

1 Intel Xeon Core
1GB DDR4 Dedicated RAM
20 GB RAID10 SSD storage
1 TB high speed bandwidth
DDOS protection
Weekly Backups Included

Order Linux
Windows order

CLOUD-2048$ 10 p / m (Linux and Windows)

2 Intel Xeon cores
2 GB DDR4 Dedicated RAM
30GB RAID10 SSD storage
2 TB high speed bandwidth
DDOS protection
Weekly Backups Included

Order Linux
Windows order

CLOUD-4096$ 20 p / m (Linux and Windows)

3 Intel Xeon cores
4GB DDR4 Dedicated RAM
50 GB RAID10 SSD storage
3 TB high speed bandwidth
DDOS protection
Weekly Backups Included

Order Linux
Windows order

50% discount on the promo code Windows: GEEKS50
20% discount on the cloud pool of unmeasured bandwidth: CLOUDPOOL20

And more … We have packages with up to 32GB of dedicated RAM. Visit https://www.enoctus.com/pages/linux-servers.html

We accept all common payment methods – credit cards, PayPal, Bitcoin, Ethereum and bank transfers in the UK.

Refund policy within 30 days applies to all products, for whatever reason.

https://www.enoctus.com

[WTS] WebMoney, Perfect Money, Bitcoin and more QHoster options!

Windows 7 & 2003/2008 Server in minutes
Choose your payment option, choose the location of your server and get your best Windows VPS!

Instant configuration! Ready in 20 minutes!

Visit QHoster now.

Qhoster payment options:

WebMoney, Perfect Money, Bitcoin, NETELLER, Payza (formerly Alertpay), Skrill (formerly Moneybookers), Litecoin, Darkcoin (DRK), SolidTrust Pay, CashU, Ukash, Payer, OKPAY, EgoPay, Paysafecard, Paysafecard, Alipay, Money Union SOFORT Banking, QIWI, Alfa Click, Sberbank Rossii, Promsvyazbank (PSB), Svyaznoy, Przelewy24, Interac, Boleto Bancario, MercadoPago, PagSeguro, OneCard, DaoPay, Fortumo.

Billing period: 6 months, 12 months, 24 months, 36 months.

Learn more about payment options here:
http://www.qhoster.com/payment-methods.html

Windows RDP VPS

– Managed and scalable – Instant RDP VPS updates – CPU, RAM, etc.
– Full administrator access to your Windows RDP VPS
– Use Windows Server & 7 remotely, like on your desktop
– Choice: United Kingdom, United States, Canada, France, Germany, Netherlands, Switzerland and Switzerland

Windows VPS RDP (1)
1 processor core (Intel Xeon)
1 GB of dedicated memory
40 GB of disk space
Monthly bandwidth of 1 TB
1 Gbps Internet Port
1 IP (10 additional IPs)
Price $ 15.96 / month
ORDER HERE

Windows VPS RDP (2)
2 processor cores (Intel Xeon)
2 GB of dedicated memory
80 GB of disk space
Monthly bandwidth of 2 TB
1 Gbps Internet Port
1 IP (20 additional IPs)
Price $ 31.96 / month
ORDER HERE

Windows VPS RDP (3)
3 processor cores (Intel Xeon)
3 GB of dedicated memory
120 GB of disk space
3TB monthly bandwidth
1 Gbps Internet Port
1 IP (30 additional IPs)
Price $ 47.96 / month
ORDER HERE

Windows VPS RDP (4)
4 processor cores (Intel Xeon)
4 GB of dedicated memory
160 GB of disk space
4TB monthly bandwidth
1 Gbps Internet Port
1 IP (40 additional IPs)
Price $ 63.96 / month
ORDER HERE

Need Linux VPS? Check here: https://click.pstmrk.it/2ts/www.QHos…Awe/lF-7kUdPWS

Desiderate VPS instant managed? Here you are: http://www.qhoster.com/cpanel-managed-vps.html

Have questions?
Do not hesitate to contact us:
https://www.qhoster.com/clients/subm…tep=2&deptid=1

.

linux – How to mount Apple RAID on a Debian server?

I have two Samsung SSDs in a RAID 0 configuration. It was made with Disk Utility on Macos Mojave.

I would like to mount them on a Debian server but I can not understand how or if it is possible at all.

With fdisk, you can see that the system has recognized the disks without problems:

$ sudo fdisk -l

Disk / dev / sdc: 931.5 Gio, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 512 bytes
I / O size (minimum / optimal): 512 bytes / 512 bytes
Type of label: gpt
Disk Id: 76E787AB-7A53-4D33-9705-52298710C328

Device Start End Sectors Size Type
/ dev / sdc1 40 409639 409600 EFI 200M System
/ dev / sdc2 409640 1953262983 1952853344 931.2G Apple RAID
/ dev / sdc3 1953262984 1953525127 262144 Apple Start 128M

Disk / dev / sdd: 931.5 Gio, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical / physical): 512 bytes / 512 bytes
I / O size (minimum / optimal): 512 bytes / 512 bytes
Type of label: gpt
Disk Id: BC721127-206A-45A4-988C-F373D93CB62E

Device Start End Sectors Size Type
/ dev / sdd1 40 409639 409600 EFI 200M System
/ dev / sdd2 409640 1953262983 1952853344 931.2G Apple RAID
/ dev / sdd3 1953262984 1953525127 262144 Apple Start 128M 

How can I mount it so that it is available for the server?