Author |
Message |
|
Post subject: Parser domen pre blokovanie
Posted: 23.02.2018 - 21:00 #113305
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
Location: Banská Bystrica - Rudlová
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 25.02.2018 - 14:52 #113306
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
Location: Banská Bystrica - Rudlová
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 26.02.2018 - 20:42 #113307
|
|
Ucen
Joined: Okt 21, 2004
Posts: 792
|
|
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
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: Parser domen pre blokovanie
Posted: 26.02.2018 - 20:48 #113308
|
|
Ucen
Joined: Okt 21, 2004
Posts: 792
|
|
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 |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 26.02.2018 - 22:55 #113309
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
Location: Banská Bystrica - Rudlová
|
|
Dakujem za feedback, aspon niekto
Pozrieme sa na to, v piatok mame na toto z financnej spravy kontrolu.
Gyro. |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: Parser domen pre blokovanie
Posted: 26.02.2018 - 22:59 #113310
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
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. |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 26.02.2018 - 23:05 #113311
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
Location: Banská Bystrica - Rudlová
|
|
Uz ta chapem, ten kod co si ale poslal zmaze http, problem je s grepovanim... OK. |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 26.02.2018 - 23:09 #113312
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
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. |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 27.02.2018 - 06:22 #113313
|
|
Basic
Joined: Jan 21, 2004
Posts: 425
Location: Rimavska Sobota
|
|
Ked uz mas na to kontrolu tak sa rovno spytaj, preco pri pdf nemozu vygenerovat aj nieco pouzitelne a automatizovatelne. |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 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](modules/PNphpBB2/images/smiles/icon_smile.gif) |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 27.02.2018 - 16:30 #113315
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
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. |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 27.02.2018 - 16:31 #113316
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
Location: Banská Bystrica - Rudlová
|
|
Opera? Ten projekt este zije? |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 27.02.2018 - 17:11 #113317
|
|
Ucen
Joined: Okt 21, 2004
Posts: 792
|
|
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. |
Description: |
|
![](modules/PNphpBB2/images/icon_clip.gif) Download |
Filename: |
blacklist_mikrotik.txt |
Filesize: |
5.81 KB |
Downloaded: |
2129 Time(s) |
Description: |
|
![](modules/PNphpBB2/images/icon_clip.gif) Download |
Filename: |
blacklist_bind.txt |
Filesize: |
9.55 KB |
Downloaded: |
2021 Time(s) |
Description: |
|
![](modules/PNphpBB2/images/icon_clip.gif) Download |
Filename: |
blacklist.txt |
Filesize: |
2.05 KB |
Downloaded: |
2162 Time(s) |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 27.02.2018 - 18:18 #113318
|
|
Majster
![](./images/avatar/004.gif)
Joined: Feb 14, 2011
Posts: 2544
|
|
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???? |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Post subject: RE: Parser domen pre blokovanie
Posted: 01.03.2018 - 18:36 #113322
|
|
Majster
![](modules/PNphpBB2/images/avatars/gallery/Sample_1/565.gif)
Joined: Okt 22, 2003
Posts: 3321
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! |
|
|
|
|
![](./modules/PNphpBB2/templates/PNTheme/images/spacer.gif) |
|
Powered by PNphpBB2 © 2003-2005 The PNphpBB Group Credits |