Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 15.07.2018 - 21:05


Parser domen pre blokovanie

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Page 1 of 3 123 >
Author Message
gyro
Post subject: Parser domen pre blokovanie  PostPosted: 23.02.2018 - 21:00 #113305
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
http://gyro.bbxnet.sk/parsovanie-zakaza ... ej-spravy/
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 25.02.2018 - 14:52 #113306
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
Komplet: https://github.com/bbxnet/dns-blacklist
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
bakula
Post subject: RE: Parser domen pre blokovanie  PostPosted: 26.02.2018 - 20:42 #113307
Ucen


Joined: Okt 21, 2004
Posts: 777

gyro wrote: ›Komplet: https://github.com/bbxnet/dns-blacklist


Preco tam mas toto:
if [ ${REMOVE_WWW} -eq 1 ]; then
site="${site#www.}"
Ked na zozname je napr. www.bwin.com tak predpokladam ze chcu blokovat len www.bwin.com a nie celu domenu bwin.com vcetne subdomen.
Nerobim si nadeje ze na financnej sprave vobec vedia co chcu, ale v tomto pripade blokujes viac ako ti prikazuje sudny prikaz co moze byt tiez problem.


Last edited by bakula on 26.02.2018 - 20:55; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
bakula
Post subject: Parser domen pre blokovanie  PostPosted: 26.02.2018 - 20:48 #113308
Ucen


Joined: Okt 21, 2004
Posts: 777

gyro wrote: ›http://gyro.bbxnet.sk/parsovanie-zakazanych-stranok-z-webu-financnej-spravy/


sed 's~.*http[s]*://~~g' > blacklist.txt
Toto tiez nie je 100% lebo tam nie je domena ktora nema pred sebou http[s] napr. www.pokeronlinehra.com (nema vpredu http...)
Inac pekna praca, po upravach to asi pouzijem aj ja. Dakujem
 
 View user's profile Send private message  
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 26.02.2018 - 22:55 #113309
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
Dakujem za feedback, aspon niekto Smile
Pozrieme sa na to, v piatok mame na toto z financnej spravy kontrolu.
Gyro.
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gyro
Post subject: Parser domen pre blokovanie  PostPosted: 26.02.2018 - 22:59 #113310
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
bakula wrote: ›
gyro wrote: ›http://gyro.bbxnet.sk/parsovanie-zakazanych-stranok-z-webu-financnej-spravy/


sed 's~.*http[s]*://~~g' > blacklist.txt
Toto tiez nie je 100% lebo tam nie je domena ktora nema pred sebou http[s] napr. www.pokeronlinehra.com (nema vpredu http...)
Inac pekna praca, po upravach to asi pouzijem aj ja. Dakujem

Nerozumiem celkom čo myslíš? Pripravujem blacklist súbor pre import do DNS konfigu a ten neznesie v názve domény HTTP či HTTPS.
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 26.02.2018 - 23:05 #113311
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
Uz ta chapem, ten kod co si ale poslal zmaze http, problem je s grepovanim... OK.
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 26.02.2018 - 23:09 #113312
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
grep 'www\|http' , ale ak poslu web bez http a aj www, tak potom co? Su to dementi, ako keby nemohli generovat normalny subor kokso.
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
krtko
Post subject: RE: Parser domen pre blokovanie  PostPosted: 27.02.2018 - 06:22 #113313
Basic


Joined: Jan 21, 2004
Posts: 419
Location: Rimavska Sobota
Ked uz mas na to kontrolu Smile tak sa rovno spytaj, preco pri pdf nemozu vygenerovat aj nieco pouzitelne a automatizovatelne.
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
deelite
Post subject: RE: Parser domen pre blokovanie  PostPosted: 27.02.2018 - 09:25 #113314
Basic


Joined: Apr 22, 2003
Posts: 358

Zaroven kontrole treba ukazat, ako lahko sa da v opere zapnut vpn a tiez ako lahko sa da zmenit dns Smile
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 27.02.2018 - 16:30 #113315
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
Jasne ze sa spytam a nie len to, ale co die dievcence co maju menej rokov ako ja budu vediet.
Kolega commitol na GIT novu verziu kde su zakomponovane pripomienky. Co sa tyka blokovania, pani z uradu nam povedala ze musis blokovat komplet domenu nie len subdomeny, takze v tomto smere je to v poriadku.
Gyro.
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 27.02.2018 - 16:31 #113316
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
Opera? Ten projekt este zije?
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
bakula
Post subject: RE: Parser domen pre blokovanie  PostPosted: 27.02.2018 - 17:11 #113317
Ucen


Joined: Okt 21, 2004
Posts: 777

gyro wrote: › pani z uradu nam povedala ze musis blokovat komplet domenu nie len subdomeny, takze v tomto smere je to v poriadku.

No sudny prikaz hovori jasne, tak ked to chcu pre celu domenu nech tam neuvadzaju www.
Pridavat to automaticky do bind-u si aj tak nedovolim, lebo sa nechcem dozit toho ze nam klaknu dns servre kvoli tomu ze niekto na financnej sprave napise chujovinu do pdf-ka (duplicita, blbe znaky atd.) a po rndc reload nepojde internet...
Ked sa niekomu nechce hrat zo scriptovanim v linuxe tak posielam v prilohe aktualny blacklist pre bind aj pre mikrotik.



blacklist_mikrotik.txt
 Description:

Download
 Filename:  blacklist_mikrotik.txt
 Filesize:  5.81 KB
 Downloaded:  233 Time(s)


blacklist_bind.txt
 Description:

Download
 Filename:  blacklist_bind.txt
 Filesize:  9.55 KB
 Downloaded:  188 Time(s)


blacklist.txt
 Description:

Download
 Filename:  blacklist.txt
 Filesize:  2.05 KB
 Downloaded:  183 Time(s)

 
 View user's profile Send private message  
Reply with quote Back to top
midnight_man
Post subject: RE: Parser domen pre blokovanie  PostPosted: 27.02.2018 - 18:18 #113318
Majster


Joined: Feb 14, 2011
Posts: 2512

A ti povedali čo ako pridu skontrolovat?

Sadnu si k vam do kancelarie a skusia postupne otvorit jednotlivé weby?

prvy krat pocujem ze na toto prišla niekomu kontrola????
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gyro
Post subject: RE: Parser domen pre blokovanie  PostPosted: 01.03.2018 - 18:36 #113322
Majster


Joined: Okt 22, 2003
Posts: 3279
Location: Banská Bystrica - Rudlová
Blokuje to tak aj Swan, ci je to spravne je na debatu, zdielam skorej tvoj nazor.

Co sa tyka obavy spadnutia DNS, NamedCheckConf/Zone to tam riesi predsa a ak zisti chybu tak zmenu neuskutocni.

Skusali sme aj duplicitu a zisti ju, zla syntax je samozrejmostou!
Pod do mna!
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Page 1 of 3 123 >
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)