Welcome! Log In Create A New Profile

Advanced

Re: nginx API module #C

September 21, 2014 10:20AM
Вопрос про полинг судя по логам, есть деректива прописанная в корне вирт. сервера, предположим whitelist,
по наблюдениям, во время простоя nginx полит модули, если так правильно выразится...

вот кусок отладочного лога, адреса:
127.0.0.1 проверяется при старте на живучесть удаленного сервера - это правильно,
192.168.220.2 реальный адрес с которого заходят - это правильно,
1.2.4.3 это внешний адрес сервера nginx, и на это ресурс никто не заходит, но ... спарадически сыпятся запросы от модуля, другими словами к нему обращаются раз десять-пятнадцать раз подряд за одну секунду, это правильно? если да - то как с этим бороться?
модуль - фильтр, директива стоит в начале 'server', до 'location', отдает соответственно или return 444, или return NGX_OK

- cmd:11 127.0.0.1 -> whitelistng
- ipset-ng-daemon-parse, {"id":5111,"cmd":"test","ip":"127.0.0.1","tbl":"whitelistng"}
- cmd:11 127.0.0.1 -> whitelistng
- ipset-ng-daemon-parse, {"id":41466,"cmd":"test","ip":"192.168.220.2","tbl":"whitelistng"}
- cmd:11 192.168.220.2 -> whitelistng
- ipset-ng-daemon-parse, {"id":71919,"cmd":"test","ip":"192.168.220.2","tbl":"whitelistng"}
- cmd:11 192.168.220.2 -> whitelistng
- ipset-ng-daemon-parse, {"id":21699,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":82748,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":34179,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":50835,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":40587,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":8737,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":7298,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":74862,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":16467,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":54053,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":47238,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":4041,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":45420,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":96312,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":84102,"cmd":"test","ip":"1.2.4.3","tbl":"whitelistng"}
- cmd:11 1.2.4.3 -> whitelistng
- ipset-ng-daemon-parse, {"id":28902,"cmd":"test","ip":"192.168.220.2","tbl":"whitelistng"}
- cmd:11 192.168.220.2 -> whitelistng
- ipset-ng-daemon-parse, {"id":77165,"cmd":"test","ip":"192.168.220.2","tbl":"whitelistng"}
- cmd:11 192.168.220.2 -> whitelistng
Subject Author Posted

nginx API module #C

den68 September 15, 2014 07:34PM

Re: nginx API module #C

Maxim Dounin September 16, 2014 05:54AM

Re: nginx API module #C

den68 September 17, 2014 02:10AM

Re: nginx API module #C

Maxim Dounin September 17, 2014 08:20AM

Re: nginx API module #C

den68 September 18, 2014 09:50AM

Re: nginx API module #C

Maxim Dounin September 18, 2014 10:16AM

Re: nginx API module #C

den68 September 20, 2014 04:13AM

Re: nginx API module #C

den68 September 21, 2014 10:20AM

Re: nginx API module #C

den68 September 22, 2014 12:45PM

Re: nginx API module #C

Maxim Dounin September 25, 2014 08:48AM

Re: nginx API module #C

den68 September 26, 2014 06:07AM

Re: nginx API module #C

Maxim Dounin September 29, 2014 11:16AM

Re: nginx API module #C

den68 September 29, 2014 11:41AM

Re: nginx API module #C

den68 October 06, 2014 01:12AM

Re: nginx API module #C

Maxim Dounin October 06, 2014 07:18AM

Re: nginx API module #C

den68 October 27, 2014 06:58AM

Re: nginx API module #C

Maxim Dounin October 27, 2014 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready