Re: timeout for iptables

2024-07-02 Thread Jeff Peng
Got the idea (nft) and thanks for all help. On 2024-07-03 04:22, Tim Woodall wrote: On Tue, 2 Jul 2024, Jeff Peng wrote: Hello gurus, Is there a tool for maintaining the timeout for iptables rules? for example, one IP would be blocked by my iptables for 24 hours, and another IP should be

timeout for iptables

2024-07-02 Thread Jeff Peng
Hello gurus, Is there a tool for maintaining the timeout for iptables rules? for example, one IP would be blocked by my iptables for 24 hours, and another IP should be blocked for one week. Thanks.

Shell UA

2024-07-01 Thread Jeff Peng
Do u know if there is a shell UserAgent that can be used to log in gmail? That might have to support JS and cookie. Thanks.

Re: LLM Local Documents ?

2024-06-24 Thread Jeff Peng
On 2024-06-25 11:49, jeremy ardley wrote: I've installed a desktop Large Language Model shell GPT4all does gtp4all have a shell only interface? my debian is remote server, has no desktop. regards.

Re: suggestion of upgrade to 12

2024-06-20 Thread Jeff Peng
that's nice to know. thanks for all your help. about dovecot: if you have dovecot installed from the dovecot repository, then be aware that dovecot does not (yet) provide a version for bookworm. if you have dovecot installed from the debian repository, then you should be fine. about debian:

suggestion of upgrade to 12

2024-06-19 Thread Jeff Peng
Hello, I am running a small mailserver with debian 11 for many years. It's quite solid. Though I have read this article: https://www.cherryservers.com/blog/debian-12-bookworm-release do you think there is any need for me to upgrade from 11 to 12? just for the newer software like postfix, doveco

network question

2024-06-18 Thread Jeff Peng
may I ask a network question? when my server is a vps who has floating IP (that means, the server's iP is an internal IP, the public ip is bond on provider's router/firewall devices), then my ssh client connecting to the server will never disconnect even if I changed my local gateway (for exam

Instant flush to file

2024-06-18 Thread Jeff Peng
Hi After write to file with bash shell like: echo … > file echo … >> file Is it possible the file get no update instantly? I ask this b/c some commands following echo cannot run well. Such as, echo … >> dove.db doveadm create mailbox from dove.db Sometimes it succeeds. Sometimes it fails.

Re: systemrescuecd -- a bit off Debian topics

2024-06-13 Thread Jeff Peng
Hi You can use gitlab issues to submit the question. https://gitlab.com/systemrescue/systemrescue-sources/-/issues regards. Does anybody know how to contact systemrescuece developers? Their web page https://www.system-rescue.org/ doesn't have a "contact" or "forum" button. My brother has imp

Re: systemctl vs service

2024-06-13 Thread Jeff Peng
On 2024-06-13 08:38, Greg Wooledge wrote: If all you want to do is stop and restart a service, they're both fine. If you want more features, it's worth learning systemctl. that's all right. I will check the doc of systemctl for more details. thanks.

systemctl vs service

2024-06-12 Thread Jeff Peng
Hello I was a bit confused, systemctl and service both are used for service control (start|stop|reload etc). what's the suggested way for using them? thanks & regards.

DNS query question

2024-06-11 Thread Jeff Peng
Hello list, I have made a successful query in one of my VPS as the following. ~$ dig 235.84.36.104.zen.spamhaus.org ; <<>> DiG 9.16.48-Ubuntu <<>> 235.84.36.104.zen.spamhaus.org ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2160 ;; flags: qr rd ra; Q

Re: date for week

2024-06-10 Thread Jeff Peng
thanks roberto. that's exactly what i am looking for. $ date +%a

date for week

2024-06-10 Thread Jeff Peng
Hello, I run the folllowing command, $ date +%w 2 While I expect the output should be: $ date +%such_a_option Tuesday or $ date +%such_a_option Tue does date command has this option? Thanks.

Re: kernel tuning for cloud VM

2024-06-09 Thread Jeff Peng
many java dev ecosystem (such as big data stacks) are in debian 11. it's hard to upgrade to 12 at this time. Thanks. Keep in mind that Debian 11 will be out of oldstable in about a year, with the release of 13/Trixie; and it will be out of security support in a few weeks, with the transition

kernel tuning for cloud VM

2024-06-08 Thread Jeff Peng
Hello I am using the VMs from big providers such as AWS and Azure. most of the VMs are 2core/4gb ram/100gb disk etc. They are used for running the regular web services (java, php etc), with debian 11 installed. Every VM I just use the default system configuration. Do I need to update some kern