Monday, November 19, 2018

RMAN commands

rman target sys/opera10g
show all;
crosscheck backup;
delete noprompt expired backup;
crosscheck archivelog all;
delete noprompt expired archivelog all;

Friday, October 19, 2018

PPTP Bruit Force

/ip firewall filter
add action=drop chain=input comment="pptp brute force drop 1/4 - complete comunication DROP" disabled=no \
src-address-list=pptp_blacklist_DROP
add action=add-dst-to-address-list address-list=pptp_blacklist_DROP address-list-timeout=10m chain=output comment="pptp brute force drop 2/4" \
content="bad username or password" disabled=no dst-address-list=pptp_blacklist_stage_2 protocol=gre
add action=add-dst-to-address-list address-list=pptp_blacklist_stage_2 address-list-timeout=1m chain=output comment="pptp brute force drop 3/4" \
content="bad username or password" disabled=no dst-address-list=pptp_blacklist_stage_1 protocol=gre
add action=add-dst-to-address-list address-list=pptp_blacklist_stage_1 address-list-timeout=1m chain=output comment="pptp brute force drop 4/4" \
content="bad username or password" disabled=no protocol=gre

Wednesday, September 26, 2018

Linux


After changing ip address config
$ sudo ip addr flush interface-name
$ sudo systemctl restart networking

Monday, September 24, 2018

Unifi install in Ubuntu 16.04

https://community.ubnt.com/t5/UniFi-Wireless/UniFi-Installation-Scripts-UniFi-Easy-Update-Scripts-Works-on/td-p/2375150

Thursday, September 20, 2018

NEC SV9300

Name assign - CM77-Y1
EXT create - CM1X -YY00
Digital- F+ext no.
CO - D + trunk no.
Analoge - ext no.

Checking before delete-
CM12- Station data
01and 04

Trunk Data
CM30
CM77 trunk route name
CM35 assign trunk name -03

Initial trunk access assign
CM20
Code - A081

Wednesday, August 29, 2018

Oracle Transaction code and AR re-link

select trx_code,description,AR_NAME_ID from trx$_codes where resort='STRAND' and trx_code='9041'


Update trx$_codes set AR_NAME_ID='2739737' where resort='STRAND' and trx_code='9041'