Оптимизайка

Оптимизайка
Рейтинг
396
Регистрация
11.03.2012
Интересы
Программирование, информационные технологии, наука
Dram:
Можно как то это

if ($bad_bot) {
return 444;
}
if ($bad_useragent) {
return 444;
}

свети в одно if? Чисто для красоты ради... NGINX

Sure:


set $test_bad $bad_bot$bad_useragent;
if ($test_bad ~ 1) {
return 444;
}
Angelys:
Подняли Windows на сервере, windows определил сетевой интерфейс

It's because the windows ignores NVM checksum, but the linux kernel does not. You can try:

1. update EEPROM with default settings, http://www.intel.com/content/www/us/en/support/software/manageability-products/000005790.html

2. use intel linux lan driver instead of redhat's module, http://www.intel.com/content/www/us/en/support/network-and-i-o/ethernet-products/000005480.html

3. patch redhat's module, http://superuser.com/questions/1104537/how-to-repair-the-checksum-of-the-non-volatile-memory-nvm-of-intel-ethernet-co

4. fix NVM checksum as described in 3)

5. contact your server vendor for specific tools to update LAN firmware

tysson:
интересно, но пока я не понял их бизнес-модели.

You pay 900K for the office and supervisor 😂

Jan 3 16:56:06 localhost kernel: e1000e 0000:00:19.0: The NVM Checksum Is Not Valid
Jan 3 16:56:06 localhost kernel: e1000e: probe of 0000:00:19.0 failed with error -5

https://bugzilla.redhat.com/show_bug.cgi?id=459202

http://mynixworld.info/2012/12/05/e1000e-the-nvm-checksum-is-not-valid/

Angelys, show the output of:

lspci

dmesg | grep net

grep net /var/log/messages

See certificate extensions (basic constraints). Basic Constraints identifies if the subject of certificates is a CA who is allowed to issue child certificates.

For a certificate that can be used to sign certificates, the info is in some sense duplicated:

X509v3 Basic Constraints: CA: TRUE --- Can sign certificates

X509v3 Key Usage: Key Cert Sign --- Can sign certificates

But "Basic Constraints" will also specify the maximum depth of valid certification chain.

Though it is duplicated, you need to specify both, according to RFC 3280.

miltorg:
Я посмотрел С++ - сокеты и 300 строк кода. И это чтоб получить HTML!!!???

Use libraries, like libcurl

danforth:
Да, но нужны именно веб-сокеты.

https://learn.javascript.ru/websockets

инструменты, которые позволяют отслеживать переходы по URL

https://developer.mozilla.org/ru/docs/Web/API/WindowEventHandlers/onhashchange

уметь определять компоненты, которые будут заменены, а какие будут оставлены.

https://en.wikipedia.org/wiki/JavaScript_templating

Всего: 4372