One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| //@version=4 | |
| study(title="CTO Line", shorttitle="CTO", overlay=true, resolution="") | |
| smma(src, length) => | |
| smma = 0.0 | |
| smma := na(smma[1]) ? sma(src, length) : (smma[1] * (length - 1) + src) / length | |
| smma | |
| v1 = smma(hl2, 15) | |
| m1 = smma(hl2, 19) | |
| m2 = smma(hl2, 25) | |
| v2 = smma(hl2, 29) |
| #! /bin/bash | |
| echo "DDos Detect by masusniper#0666"; | |
| interface=$(ip -o -4 route show to default | awk '{print $5}') | |
| dumpdir=/root/dumps | |
| echo -e "Using interface ${interface}" | |
| mkdir $dumpdir |
| Detecting and Mitigating DDOS Attacks | |
| #List all Finish (FIN) packets | |
| machine1 : sudo /usr/sbin/tcpdump -Nnn -i any -s0 'tcp[13] & 1 != 0' | |
| #List all SYN and SYN-ACK packets | |
| machine1 : sudo /usr/sbin/tcpdump -Nnn -i any -s0 'tcp[13] & 2 != 0' | |
| # | |
| dhcpv6 duid 00010001b6eb2b6c28a6dbeb0029 | |
| radius-server group isp | |
| radius-server shared-key-cipher %^%#EGiA1wr#mTZwG!ZJAI`Tpk<jJ[%S+YAas!R_O-B=%^%# | |
| radius-server authentication ip_radius_A 1812 weight 100 | |
| radius-server authentication ip_radius_B 1812 weight 0 | |
| radius-server accounting ip_radius_B 1813 weight 0 |
Content :