Skip to main content

Posts

Showing posts from August, 2014

Ping to many host/node in one command

We can use "for loop" in interactive command, here is the example: we want to ping host/node from 10.100.11. 1 until 10.100.11. 10 : We use "i" as a variable, values of "i" are 1 until 10. In the ping option, we use "-c 1" this means that we send ping packet only one (default in linux is continues until stopped). here is the result: [syam@borneo03 ~]$ for i in {1..10}; do ping 10.100.11.$i -c 1; done PING 10.100.11.1 (10.100.11.1) 56(84) bytes of data. 64 bytes from 10.100.11.1: icmp_seq=1 ttl=64 time=1.58 ms --- 10.100.11.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 1ms rtt min/avg/max/mdev = 1.587/1.587/1.587/0.000 ms PING 10.100.11.2 (10.100.11.2) 56(84) bytes of data. 64 bytes from 10.100.11.2: icmp_seq=1 ttl=64 time=1.09 ms --- 10.100.11.2 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 1ms rtt min/avg/max/mdev = 1.093/1.093/1.093/0.000 ms PING 10.100

Mikrotik Bruteforce Login Prevention

Reference: WIKI FTP Bruteforce prevention This configuration allows only 10 FTP login incorrect answer per minutes add chain=input protocol=tcp dst-port=21 src-address-list=ftp_blacklist action=drop comment="drop ftp brute forcers" add chain=output action=accept protocol=tcp content="530 Login incorrect" dst-limit=1/1m,9,dst-address/1m add chain=output action=add-dst-to-address-list protocol=tcp content="530 Login incorrect" address-list=ftp_blacklist address-list-timeout=3h SSH Bruteforce prevention This will prevent SSH bruteforcer to be banned for 10 days after repetitive attemps add chain=input protocol=tcp dst-port=22 src-address-list=ssh_blacklist action=drop comment="drop ssh brute forcers" disabled=no add chain=input protocol=tcp dst-port=22 connection-state=new src-address-list=ssh_stage3 action=add-src-to-address-list address-list=ssh_blacklist address-list-timeout=10d comment="" disabled=no add chain=input

Notes: about de novo assembly

De novo assembly [SFG standford]: http://sfg.stanford.edu/denovo.html A combined approach for de novo dna sequence assembly of very short reads (IPSJ transaction on Bioinformatics): https://www.jstage.jst.go.jp/article/ipsjtbio/4/0/4_0_21/_article to be continued...