Find the answer to your Linux question:

Search:

Type: Posts; User: postcd; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Block third party initiated connections while allowing outgoing?

    Hello, file sharing application is unable to connect third party servers via internet after i iptables blocked INPUT from all ips except mine IPs (by setting DROP policy on INPUT chain and then...
  2. How do you restore ipset blocklist at boot of the CentOS (7)?

    Hello,

    i know i can save ipset rules to a file (ipset save > /etc/sysconfig/ipsets), but i wonder what is the best way to make ipset automaticaly load such rules at boot time? Because at this...
  3. How do you discover which ipset blocklist contains particular IP?

    Hello,

    how do you discover which ipset blocklist contains particular IP?

    Usually when i want to see if some IP is banned by ipset, i do:

    ipset list|grep IP

    But it do nto tell me which...
  4. Thread: delete, empty

    by postcd
    Replies
    2
    Views
    1,964

    [not solved] UFW IP leak and allowing LAN connections IN/OUT

    Hello, on ubuntu 16.04.4 my default iptables 1.6 policy for the INPUT & OUTPUT chain is DROP and i would like to add ACCEPT/ALLOW rule for local LAN IPs (so i can connect to lan and other LAN devices...
  5. How to block multiple ports in iptables, ipset?

    Hello,

    on CentOS 6, iptables 1.4.7

    i can use rule to block IPs in my IPSet from accessing one port, example SSH:


    -A INPUT -p tcp --dport 22 -m set --match-set blocklist src -j DROP
    (note...
  6. Is advisable block based on tcpdump Refused output?

    Hello,

    the DNS server can log denied DNS queries and i can use fail2ban or configserver firewall to ban IPs with excessive denied log entries, but my CentOS 6 log file (/var/log/messages) is 2GB...
  7. nice and ionice applied on a bash script also apply on commands inside

    Hello,

    when i apply nice and ionice on a bash script (meaning i run bash script with certain nice or ionice priority)

    example via cronjob:

    $ cat /etc/cron.d/cronfile


    $ cat script.sh
  8. Yes, i googled and found no Linux app so far that...

    Yes, i googled and found no Linux app so far that can try to fix it. Will need to use chkdsk on Windows. Thanks
  9. Thx. I got input/output error on that file It...

    Thx.

    I got input/output error on that file
    It seems that sudden flash drive disconnection caused some damage on the destination drive filesystem (NTFS), because when i attempt to delete that half...
  10. Failed/interupted "mv", can i continue anyhow?

    Hello,

    in Lubuntu 16.4 i was moving (via GUI) a file from flash drive to a HDD and flash drive disconnected in the middle. The file at destination is like 20% size of the source.

    Is source file...
  11. Replies
    1
    Views
    907

    Can i discover load impact of an IP?

    Hello,

    my bash script detect excessive number of connections from an IP to port 80 and i would like my bash script to better decide whether this IP is contributing to the server overload (load...
  12. Is the Linux OS drive fully encrypted or can i do more?

    Hello,

    when i do "sudo lsblk" on Ubuntu 16.04.3 LTS
    cryptsetup 1.6.6, i see:


    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 37,3G 0...
  13. Anyone else can help in this please?

    Anyone else can help in this please?
  14. Please kindly quote exact explanation on how to...

    Please kindly quote exact explanation on how to do it and the link to exact page. I already used similar search queries before i composed this topic.
  15. IPset, how do i create whitelist for some IPs?

    Hello,

    my iptables 1.4.7 are running on CentOS 6 with kernel 2.6.32 and ipset 6.11

    my aim is to whitelist couple of IPs in iptables (no mater if they are blocked in previous or later iptables...
  16. iptables question, how fatal it is if it can not find IP Set?

    Hello,

    i am on CentOS 6, 2.6.32 kernel.
    and i installed "ipset" package.
    Now i created new ip set and populated it with IPs, i activated blocking of all IPs inside this set by executing:...
  17. OFFTOPIC POST habit, i do not read your posts...

    OFFTOPIC POST

    habit, i do not read your posts usually, i already told you that, you are writting it for someone else or maybe for yourself i assume.



    It means that i am not perfect to...
  18. OFFTOPIC POST for the Moderator This is a...

    OFFTOPIC POST for the Moderator



    This is a public accussation so i respond here making OT. This was roughly one PM for which i apologized to him and here i apologize again. Why i did it?...
  19. rsync failed to set times on a file/dir located on SSHFS mountpoint

    Hello,

    i wanted to ask how i need to modify my SSHFS mounting command so it allows rsync to properly sync files with it.

    Currently this is the error i receive:

    it shows for both files & dirs...
  20. If anyone else face this issue, try adding...

    If anyone else face this issue, try adding following lines to the top of your bash script:

    exec >/dev/null
    exec 2>/dev/null
  21. Ways to prevent cron e-mails from particular bash script

    Hello,

    i have a bash script in /etc/cron.daily/myscript

    and receiving e-mails each time this script run:


    I do not want to receive e-mails for this particular bash script.

    I know i can...
  22. thx, no i do not know how the commands should...

    thx, no i do not know how the commands should look like so the file is added to the correct path without any modification ("removing leading slash seems to be modification) so it works.

    this...
  23. How can i update/replace file in .tar archive?

    Hello,

    the command "tar -vuf archive.tar /path/to/updatedfile" says:



    so i assume i updated (replaced) file in archive by one on my HDD /path/to/updatedfile

    but when i extract the file...
  24. Is there anyone else who can help let me know, or...

    Is there anyone else who can help let me know, or let me know command to run in order to show more details in order to give more targeted information?
  25. Anyone else can help please?

    Anyone else can help please?
Results 1 to 25 of 497
Page 1 of 20 1 2 3 4