Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Regarding not able to access UNIX.com site Post 302999011 by drl on Monday 12th of June 2017 10:47:04 AM
Old 06-12-2017
Hi, R. Singh .

I have been able to get to the site every time recently.

However, I have noticed messages about database errors, which then require me to wait -- perhaps 30 seconds -- then a reload allows the requested page to appear.

I have not tried to upload any images (nor any other kind of file).

I am connecting from a number of places in the state of Minnesota, USA (place depends on the ISP: CenturyLink).

Hope things get better for you ... cheers, drl

Last edited by drl; 06-12-2017 at 12:49 PM..
 

9 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Anti-Unix site running Unix

I just wanted to share this piece of news to all of you, comments are unnecessary :) http://news.com.com/2100-1001-872266.html (1 Reply)
Discussion started by: J.P
1 Replies

2. IP Networking

port access to site to site VPN

Setup a site to site VPN between two cisco routers. One of the site locations is unable to access ports such as https://example.com:9001 How do I let them go into port 9001? They can ssh, ftp, telnet and everything else. Is this a VPN issue or ACL access issue? I put permit ip host... (0 Replies)
Discussion started by: photon
0 Replies

3. Shell Programming and Scripting

How to check site access in shell script

Hello every one, I have a little issue that has been killing me now for the past couple of days, I have tried to find solutions online, but its been hard to, ok here it goes... I have created a site that is based on amount of user that have access at a time, based on cookie. So if the browser... (1 Reply)
Discussion started by: heman007
1 Replies

4. Shell Programming and Scripting

Unable to access http site using wget through proxy

Hi there I am currently trying to access an http site using the wget utility from a solaris box. I am going through proxies to do this and we have two types of proxies. For the first one, which is a netcache proxy, I am able to use the wget command to export the proxy information export... (2 Replies)
Discussion started by: memonks
2 Replies

5. Programming

Unable to use libcurl to access a site requiring client authentication

I’m using the below snipped for setting the certificate and key for client authentication. curl_easy_setopt(curl,CURLOPT_SSLCERT,"clientCert.pem"); curl_easy_setopt(curl,CURLOPT_SSLCERTPASSWD,"changeit"); curl_easy_setopt(curl,CURLOPT_SSLCERTTYPE,"PEM"); ... (2 Replies)
Discussion started by: old_as_a_fossil
2 Replies

6. Programming

Need best forum site for java (as for unix its unix.com)

Hi All, Can anyone help me for knowing the java best side forums. where i will get a quick responce like here , as i am having lot of question. Thanks (1 Reply)
Discussion started by: aish11
1 Replies

7. Solaris

Access Sharepoint site using SOAP request in unix

Hi, We are using a java application (Java 6 , Using JAX-WS 2.0 to Create a Simple Web Service) that accesses SharePoint API through web services. We were able to get the data in windows and do all operations the API allows. When we deploy this application on UNIX environment (Solaris 10)... (0 Replies)
Discussion started by: johninweb
0 Replies

8. UNIX for Advanced & Expert Users

squid: Allow access to only one site and only via 80 or 443

Can someone please give me the conf file line to allow access to myexample.com and only that site, and only through http and https? So far I have only that site accessible via http, but all https sites are opened. Squid 3.1 on Cent 6 ---------- Post updated at 12:06 PM ---------- Previous... (0 Replies)
Discussion started by: glev2005
0 Replies

9. IP Networking

iptables allow access to one site

Hi all I need help with a set of iptables rules that would allow a portion of a bank of ipaddresses acces to only one or two named wbsites. Please advise Thank You Ed (3 Replies)
Discussion started by: wa1ed
3 Replies
Perlbal::Plugin::Throttle(3pm)				User Contributed Perl Documentation			    Perlbal::Plugin::Throttle(3pm)

NAME
Perlbal::Plugin::Throttle - Perlbal plugin that throttles connections from hosts that connect too frequently. SYNOPSIS
# in perlbal.conf LOAD Throttle CREATE POOL web POOL web ADD 10.0.0.1:80 CREATE SERVICE throttler SET role = reverse_proxy SET listen = 0.0.0.0:80 SET pool = web # adjust throttler aggressiveness SET initial_delay = 10 SET max_delay = 60 SET throttle_threshold_seconds = 3 SET max_concurrent = 2 SET ban_threshold = 4 SET ban_expiration = 180 # limit which requests are throttled SET path_regex = ^/webapp/ SET method_regex = ^GET$ # allow or ban specific addresses or range (requires Net::CIDR::Lite) SET whitelist_file = conf/whitelist.txt SET blacklist_file = conf/blacklist.txt # granular logging (requires Perlbal::Plugin::Syslogger) SET log_events = ban,unban,throttled,banned SET log_only = false # share state between perlbals (requires Cache::Memcached::Async) SET memcached_servers = 10.0.2.1:11211,10.0.2.2:11211 SET memcached_async_clients = 4 SET instance_name = mywebapp SET plugins = Throttle ENABLE throttler DESCRIPTION
This plugin intercepts HTTP requests to a Perlbal service and slows or drops connections from IP addresses which are determined to be connecting too fast. BEHAVIOR
An IP address address may be in one of four states depending on its recent activity; that state determines how new requests from the IP are handled: o allowed An IP begins in the allowed state. When a request is received from an IP in this state, the request is handled immediately and the IP enters the probation state. o probation If no requests are received from an IP in the probation state for throttle_threshold_seconds, it returns to the allowed state. When a new request is received from an IP in the probation state, the IP enters the throttled state and is assigned a delay property initially equal to initial_delay. Connection to a backend is postponed for delay seconds while perlbal continues to work. If the connection is still open after the delay, the request is then handled normally. A dropped connection does not change the IP's delay value. o throttled If no requests are received from an IP in the throttled state for delay seconds, it returns to the probation state. When a new request is received from an IP in the throttled state, its violations property is incremented, and its delay property is doubled (up to a maximum of max_delay). The request is postponed for the new value of delay. Only after the most recently created connection from a given IP exits the throttled state do violations and delay reset to 0. Furthermore, if the violations exceeds ban_threshold, the connection is closed and the IP moves to the banned state. IPs in the throttled state may have no more than max_concurrent connections being delayed at once. Any additional requests received in that circumstance are sent a "503 Too many connections" response. Long-running requests which have already been connected to a backend do not count towards this limit. o banned New connections from IPs in the banned state are immediately closed with a 403 error response. An IP leaves the banned state after ban_expiration seconds have elapsed. FEATURES
o IP whitelist Connections from IPs/CIDRs listed in the file specified by whitelist_file are always allowed. o IP blacklist Connections from IPs/CIDRs listed in the file specified by blacklist_file immediately sent a "403 Forbidden" response. o Flexible attack response For services where throttling should not normally be enabled, use the default_action tunable. When default_action is set to "allow", new connections from non-white/blacklisted IPs will not be throttled. Furthermore, if throttling should only apply to specific clients, set blacklist_action to "throttle". Blacklisted connections will then be throttled instead of denied. o Dynamic configuration Most service tunables may be updated from the management port, after which the new values will be respected (although see "CAVEATS"). To reload the whitelist and blacklist files, issue the throttle reload whitelist or throttle reload blacklist command to the service. o Path specificity Throttling may be restricted to URI paths matching the path_regex regex. o External shared state The plugin stores state which IPs have been seen in a memcached(1) instance. This allows many throttlers to share their state and also minimizes memory use within the perlbal. If state exceeds the capacity of the memcacheds, the least-recently seen IPs will be forgotten, effectively resetting them to the allowed state. Orthogonally, multiple throttlers which need to share memcacheds but not state may specify distinct instance_name values. o Logging If Perlbal::Plugin::Syslogger is installed and registered with the service, Throttle can use it to send syslog messages regarding actions that are taken. Granular control for which events are logged is available via the log_events parameter. log_events is composed of one or more of the following events, separated by commas: o ban Log when a temporary local ban is added for an IP address. o unban Log when a temporary local ban is removed for an IP address. o whitelisted Log when a request is allowed because the source IP is on the whitelist. o blacklisted Log when a request is denied or throttled because the source IP is on the blacklist. o banned Log when a request is denied because the source IP is on the temporary ban list for connecting excessively. o concurrent Log when a request is denied because the source IP has too many open connections waiting to be unthrottled. o throttled Log when a request is throttled because the source IP was not on the whitelist or blacklist. o all Enables all the above logging options. o none Disables all the above logging options. CAVEATS
o Dynamic configuration changes Changes to certain service tunables will not be noticed until the throttle reload config management command is issued. These include log_events, path_regex, and method_regex). Changes to certain other tunables will not be respected after the plugin has been registered. These include memcached_servers and memcached_async_clients. o List loading is blocking The throttle reload whitelist and throttle reload blacklist management commands load the whitelist and blacklist files synchronously, which will cause the perlbal to hang until it completes. o Redirects If a handled request returns a 30x response code and the redirect URI is also throttled, then the client's attempt to follow the redirect will necessarily be delayed by initial_delay. Fixing this would require that the plugin inspect the HTTP response headers, which would incur a lot of overhead. To workaround, try to have your backend not return 30x's if both the original and redirect URI are proxied by the same throttler instance (yes, this is difficult for the case where a backend 302s to add a trailing / to a directory). OPTIONAL DEPENDENCIES
o Cache::Memcached::Async Required for memcached support. This is the supported way to share state between different perlbal instances. o Net::CIDR::Lite Required for blacklist/whitelist support. o Perlbal::Plugin::Syslogger Required for event logging support. SEE ALSO
o List of tunables in Throttle.pm. TODO
o Fix white/blacklist loading Load CIDR lists asynchronously (perhaps in the manner of Perlbal::Pool::_load_nodefile_async). AUTHOR
Adam Thomason, <athomason@cpan.org> COPYRIGHT AND LICENSE
Copyright (C) 2007-2011 by Say Media Inc, <cpan@sixapart.com> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2012-02-01 Perlbal::Plugin::Throttle(3pm)
All times are GMT -4. The time now is 09:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy