What do you mean by mix?

|
X_BSD 2022-09-17 14:34:36
Also, what malware scanner should I install: rkhunter, chkrootkit, OSSEC?
n0madcoder 2022-09-17 14:37:14
X_BSD 2022-09-17 14:34:36
Also, what malware scanner should I install: rkhunter, chkrootkit, OSSEC?

I used chrootkit in the past, don’t know about the others

vanerka 2022-09-17 14:39:29
pflog0 is PROMISC by nature, from principle.
vanerka 2022-09-17 14:39:40
pkg audit -> upgrade those packages
vanerka 2022-09-17 14:39:57
unprotected console -> edit /etc/ttys and turn secure to insecure
X_BSD 2022-09-17 14:40:15
n0madcoder 2022-09-17 14:37:14
I used chrootkit in the past, don’t know about the others

Thank you.

vanerka 2022-09-17 14:40:18
but beware, it will require root password when booting to single user
vanerka 2022-09-17 14:40:34
multiple account with the same uid is most likely “root” and “toor”
X_BSD 2022-09-17 14:41:53
vanerka 2022-09-17 14:40:34
multiple account with the same uid is most likely “root” and “toor”

True. I found root and toor in the /etc/passwd.

X_BSD 2022-09-17 14:44:07
vanerka 2022-09-17 14:39:40
pkg audit -> upgrade those packages

Already did it. It appears to be python39. However, if I can’t upgrade i have to uninstall that package and install the newest version, but this will affect my xfce de.

X_BSD 2022-09-17 14:45:22
vanerka 2022-09-17 14:40:18
but beware, it will require root password when booting to single user

I dont think this will be a big issues since I’m the onlu user. Thank you for this information.

8mr 2022-09-17 15:51:53
python39 is already updated to python39-3.9.14 in ports…u can update from there
X_BSD 2022-09-17 18:30:53
8mr 2022-09-17 15:51:53
python39 is already updated to python39-3.9.14 in ports…u can update from there

I see. Thank you

8mr 2022-09-18 03:08:07
X_BSD 2022-09-17 18:30:53
I see. Thank you

welcome

GBReborn_bot 2022-09-18 09:39:08
Hi Peπe1mɑn!
X_BSD 2022-09-18 10:35:04
why vulnerable packages are updated/upgraded so slowly ?
eng_mohammed_alnahdi 2022-09-18 10:57:56
Hi guys,
In gnu/linux always make two partitions only, first one for UEFI and other for root (the hole system). About swap, i prefer to make it on file separate without partitions. Now I am reading Absolute FreeBSD book (Michael Lucas) and he adviced:

[quote from his book]
Now decide how you want this disk partitioned. The disk has 16GB of
space, which I’m dividing up as follows:
• 512KB freebsd-boot EFI boot partition
• 1GB swap
• 4GB emergency dump space.
• 1GB root (/)
• 512MB /tmp
• 2GB /var
• Everything else in /usr

The Question is: is it enough 1G for root? Where cache of package or package itself locate it in system?

krond 2022-09-18 11:10:41
Idea about making swap on root is a really bad one.
krond 2022-09-18 11:11:11
Please listen to a guy who like the idea and does a number of attempts yearly to see will it work.
krond 2022-09-18 11:12:58
Swap on ZFS can be really fast, it’s easy to create partition correctly (no cache, no hashsums, static allocation), but it’s really hard to convinve system memory should be freed while writing to ZFS. You can easily write under 1Gb, but then you’ll have ton of troubles partition never faces.
krond 2022-09-18 11:14:10
What Linux did to swap they kindda axed out a window in FS code to allow kernel work directly with disk. This works, but I can’t say it’s a clean approach.
eng_mohammed_alnahdi 2022-09-18 11:14:40
I am using Voidlinux, sometime i need to modify the size of swap.
krond 2022-09-18 11:17:05
Now for partitions… You can go with ZFS and forget about partition sizes to some extent, plus you’ll get compression and deduplication, which is neat for a small dirve like that.

On the other hand 1G for root is more then enough. Plus you are splitting areas where files are written into separate partitions. For example package cache goes to /var, all temporary allocations — to /tmp, etc.

krond 2022-09-18 11:17:44
Also if you have enough RAM or can increase SWAP — instead of /tmp give space to swap and use TMPFS, it’s really worth it.
eng_mohammed_alnahdi 2022-09-18 11:17:44
krond 2022-09-18 11:14:10
What Linux did to swap they kindda axed out a window in FS code to allow kernel work directly with disk. This works, but I can’t say it’s a clean approach.

I agree with you, many times there file stick on swap partition after clear cache from drop_catch file

eng_mohammed_alnahdi 2022-09-18 11:19:55
I really appreciate your help in this. Thank you.
Lo_zar 2022-09-19 19:34:49
hi all, can I migrate my zfs dataset from actually pool to pool on another disk but it’s contain a pool with dataset from archlinux?
krond 2022-09-19 19:35:37
zfs send/restore?
rob2g2 2022-09-19 19:47:00
be warned: do not mix encrypted datasets which you access from both linux and freebsd
Lo_zar 2022-09-19 19:50:04
No no. Actually I’m not use encrypted datasets
Chris100756 2022-09-19 20:35:41
rob2g2 2022-09-19 19:47:00
be warned: do not mix encrypted datasets which you access from both linux and freebsd

what do you mean by mix? is there some caveat by acessing an encrypted pool from linux and bsd? aside the zfs flags compatibility?

rob2g2 2022-09-19 20:37:29
access (read/write) from both sides
rob2g2 2022-09-19 20:38:03
I have been testing this since 2016 and have encountered many unreadable datasets
rob2g2 2022-09-19 20:39:11
e.g. write data on freebsd, then on linux, then on freebsd, then update on linux from openzfs-2.1.2 to openzfs-2.1.4, then write, then try to access from freebsd: I/O error, then try to access from linux: I/O error
Chris100756 2022-09-19 20:40:56
hm, interesting, I even had Arch Linux running with the git version of openzfs, must have been lucky so far 🤪
|