الحشد الشعبي

Recent Products RSS Feeds

فريق الهكر العراقي KAMINDOZ

TOOLS & EXPLOIT KAMINDOZ

DOWNLOAD VIDEO
 

اخر التغريدات
مقاطع الفيديو
‏إظهار الرسائل ذات التسميات Cross Site Scripting Scanner » Linux » Python » Scanner » Vulnerability Scanner » XSS » XSS scanner » XSSYA ». إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات Cross Site Scripting Scanner » Linux » Python » Scanner » Vulnerability Scanner » XSS » XSS scanner » XSSYA ». إظهار كافة الرسائل

HAProxy The Reliable, High Performance TCP/HTTP Load Balancer

الموقع يدعم الحشد الشعبي

News

September, 2nd, 2014 : 1.5.4
July 25th, 2014 : 1.5.3

    Version 1.5.3 fixes a few issues on top of 1.5.2. Essentialy, a possible memory leak un SSL DHE exchanges, and a possible memory corruption when building the proxy protocol v2 header. For sure few people will feel impacted, but better release a new version while everything else is calm. The source code and changelog are available here.
July 12th, 2014 : 1.5.2

    Two extra important issues were discovered since 1.5.1 which were fixed in 1.5.2. The first one can cause some sample fetch combinations to fail together in a same expression, and one artificial case (but totally useless) may even crash the process. The second one is an incomplete fix in 1.5-dev23 for the request body forwarding. Hash-based balancing algorithms and http-send-name-header may fail if a request contains a body which starts to be forwarded before the contents are used. A few other bugs were fixed, and the max syslog line length is now configurable per logger. As usual, the source code and changelog are available here.
June 24th, 2014 : 1.5.1

    Version 1.5.1 fixes a few bugs from 1.5.0 among which a really annoying one which can cause some file descriptor leak when dealing with clients which disappear from the net, resulting in the impossibility to accept new connections after some time. This bug was introduced in 1.5-dev25, so affected users are strongly encouraged to upgrade. For more information, please consult the source code and changelog here. Also today I was pleased to receive a bottle of Champagne sent by our friends at Loadbalancer.org! Thank you guys!
June 19th, 2014 : HAProxy 1.5.0 released!

    After 4 years of hard work, HAProxy 1.5.0 is finally released!
    For people who don't follow the development versions, 1.5 expands 1.4 with many new features and performance improvements, including native SSL support on both sides with SNI/NPN/ALPN and OCSP stapling, IPv6 and UNIX sockets are supported everywhere, full HTTP keep-alive for better support of NTLM and improved efficiency in static farms, HTTP/1.1 compression (deflate, gzip) to save bandwidth, PROXY protocol versions 1 and 2 on both sides, data sampling on everything in request or response, including payload, ACLs can use any matching method with any input sample maps and dynamic ACLs updatable from the CLI stick-tables support counters to track activity on any input sample custom format for logs, unique-id, header rewriting, and redirects, improved health checks (SSL, scripted TCP, check agent, ...), much more scalable configuration supports hundreds of thousands of backends and certificates without sweating.
    Since dev26, a few bugs were fixed, and some low-importance things were integrated. Basic OCSP stapling support from Dirkjan and Emeric was finally merged. Sasha's header replace actions were merged as well. I've added a few more info in the stats page (avg response times) and CSV output (health check status), added support for PROXY v2 on the accept side, and added the "capture" action on tcp-request in order to log contents such as SNI or payload. Rémi's dh-param was finally integrated.
    People love numbers, so here are a few. From 1.4.0 to 1.5.0, we had :
    • 1574 calendar days (4 yr 3 mon)
    • 26 development versions (one every 2 months on average)
    • 540 bugs fixed (387 added during 1.5, 153 affecting 1.4 as well)
    • 2549 commits
    • 683 unique commit dates (at least this many days worked)
    • up to 24 commits per day
    • 69712 lines removed, 122279 lines added
    • many extremely useful bug reports (too many to list)
    • 73 code/doc contributors : Adrian Bridgett, Alex Davies, Aman Gupta, Andreas Kohn, Apollon Oikonomopoulos, Arnaud Cornet, Baptiste Assmann, Bertrand Jacquin, Bhaskar Maddala, Conrad Hoffmann, Cyril Bonté, Daniel Schultze, David BERARD, David Cournapeau, Dave McCowan, David du Colombier, Delta Yeh, Dirkjan Bussink, Dmitry Sivachenko, Emeric Brun, Emmanuel Hocdet, Evan Broder, Finn Arne Gangstad, Gabor Lekeny, Geoff Bucar, Wei Zhao, Guillaume Castagnino, Guillaume de Lafond, Hervé COMMOWICK, Hiroaki Nakamura, James Voth, Jamie Gloudon, Jarno Huuskonen, Joe Williams, Joshua M. Clulow, Julien Vehent, Justin Karneges, Kevin Hester, Kevin Musker, Kristoffer Grönlund, Krzysztof Piotr Oledzki, Lukas Tribus, Marc-Antoine Perennou, Mark Lamourine, Mathieu Trudel, Michael Scherer, Neil Prockter, Nenad Merdanovic, Nick Chalk, Olivier Burgard, Oskar Stolc, Patrick Mézard, Pieter Baauw, Prach Pongpanich, Rauf Kuliyev, Remi Gacogne, Sagi Bashari, Sasha Pachev, Sean Carey, Sergiy Prykhodko, Simon Horman, Simone Gotti, Stathis Voukelatos, Tait Clarridge, Thierry Fournier, Todd Lyons, Vincent Bernat, William Lallemand, William Turner, Willy Tarreau, Yuxans Yao, Yves Lafon.
    Additionally, we are very thankful to a few organisations who have sponsored the development of certain advanced features which required to dedicate a person or a team for a significant amount of time (I hope I have not missed any) :
    Don't forget to offer a beer to your distro packagers who make your life easier. It's hard to list them all, but if you don't build from sources, you're likely running a package made and maintained by one of these people :
    • debian: Vincent Bernat, Apollon Oikonomopoulos, Prach Pongpanich
    • Fedora: Ryan O'hara
    • OpenSuSE: Marcus Rückert
    • Other?: contact me to mention you
    And last, I'd like to assign a special mention to our most active mailing list supporters during that period who make the project a reality by off- loading the support task from developers and kindly help our 800 permanent subscribers on a daily basis, BIG THANKS to you guys :
    • Baptiste Assmann
    • Lukas Tribus
    • Cyril Bonté
    • Jonathan Matthews
    • Thomas Heil
    For the HAProxy development team here in France, it will be time to do some errands and buy some Champagne to celebrate the event :-)
Recent news...

Latest versions


BranchDescriptionLast versionReleasedLinksNotes
Development 1.6-dev 1.6-dev0 2014/06/19 git / web / dir may be broken
1.5 1.5-stable 1.5.4 2014/09/02 git / web / dir Stable version
1.4 1.4-stable 1.4.25 2014/03/27 git / web / dir Stable version
1.3 1.3-stable 1.3.26 2011/08/05 git / web / dir Critical fixes only
1.3.15 1.3.15-maint 1.3.15.13 2011/08/05 git / web / dir Critical fixes only
1.3.14 1.3.14-maint 1.3.14.14 2009/07/27 git / web / dir Unmaintained
1.2 1.2-stable 1.2.18 2008/05/25 git / web / dir Unmaintained
1.1 1.1-stable 1.1.34 2006/01/29 git / web / dir Unmaintained
1.0 1.0-old 1.0.2 2001/12/30 git / web / dir Unmaintained

Description

HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones. Over the years it has become the de-facto standard opensource load balancer, is now shipped with most mainstream Linux distributions, and is often deployed by default in cloud platforms. Since it does not advertise itself, we only know it's used when the admins report it :-)
Its mode of operation makes its integration into existing architectures very easy and riskless, while still offering the possibility not to expose fragile web servers to the net, such as below :

We always support at least two active versions in parallel and an extra old one in critical fixes mode only. The currently supported versions are :
  • version 1.5 : the most featureful version, supports SSL, IPv6, keep-alive, DDoS protection, etc...
  • version 1.4 : the most stable version for people who don't need SSL. Still provides client-side keep-alive
  • version 1.3 : the old stable version for companies who cannot upgrade for internal policy reasons.

Main features

Each version brought its set of features on top of the previous one. Upwards compatibility is a very important aspect of HAProxy, and even the lastest stable version (1.5) is able to run with configurations made for version 1.0 13 years ago. The most differenciating features of each version are listed below :
  • version 1.5, released in 2014 This version further expands 1.4 with 4 years of hard work : native SSL support on both sides with SNI/NPN/ALPN and OCSP stapling, IPv6 and UNIX sockets are supported everywhere, full HTTP keep-alive for better support of NTLM and improved efficiency in static farms, HTTP/1.1 compression (deflate, gzip) to save bandwidth, PROXY protocol versions 1 and 2 on both sides, data sampling on everything in request or response, including payload, ACLs can use any matching method with any input sample maps and dynamic ACLs updatable from the CLI stick-tables support counters to track activity on any input sample custom format for logs, unique-id, header rewriting, and redirects, improved health checks (SSL, scripted TCP, check agent, ...), much more scalable configuration supports hundreds of thousands of backends and certificates without sweating
  • version 1.4, released in 2010 This version has brought its share of new features over 1.3, most of which were long awaited : client-side keep-alive to reduce the time to load heavy pages for clients over the net, TCP speedups to help the TCP stack save a few packets per connection, response buffering for an even lower number of concurrent connections on the servers, RDP protocol support with server stickiness and user filtering, source-based stickiness to attach a source address to a server, a much better stats interface reporting tons of useful information, more verbose health checks reporting precise statuses and responses in stats and logs, traffic-based health to fast-fail a server above a certain error threshold, support for HTTP authentication for any request including stats, with support for password encryption, server management from the CLI to enable/disable and change a server's weight without restarting haproxy, ACL-based persistence to maintain or disable persistence based on ACLs, regardless of the server's state, log analyzer to generate fast reports from logs parsed at 1 Gbyte/s,
  • version 1.3, released in 2006 This version has brought a lot of new features and improvements over 1.2, among which content switching to select a server pool based on any request criteria, ACL to write content switching rules, wider choice of load-balancing algorithms for better integration, content inspection allowing to block unexpected protocols, transparent proxy under Linux, which allows to directly connect to the server using the client's IP address, kernel TCP splicing to forward data between the two sides without copy in order to reach multi-gigabit data rates, layered design separating sockets, TCP and HTTP processing for more robust and faster processing and easier evolutions, fast and fair scheduler allowing better QoS by assigning priorities to some tasks, session rate limiting for colocated environments, etc...
Version 1.2 has been in production use since 2006 and provided an improved performance level on top of 1.1. It is not maintained anymore, as most of its users have switched to 1.3 a long time ago. Version 1.1, which has been maintaining critical sites online since 2002, is not maintained anymore either. Users should upgrade to 1.4 or 1.5.
However, I'm planning on implementing both features in future versions, because it appears that there are users who mostly need availability above performance, and for them, it's understandable that having both features will not impact their performance, and will reduce the number of components.

Supported platforms

HAProxy is known to reliably run on the following OS/Platforms :
Highest performance is achieved with modern operating systems supporting scalable polling mechanisms such as epoll on Linux 2.6/3.x or kqueue on FreeBSD and OpenBSD. This requires haproxy version newer than 1.2.5. Fast data transfers are made possible on Linux 3.x using TCP splicing and haproxy 1.4 or 1.5. Forwarding rates of up to 40 Gbps have already been achieved on such platforms after a very careful tuning. While Solaris and AIX are supported, they should not be used if extreme performance is required.
Current typical 1U servers equipped with a dual-core Opteron or Xeon generally achieve between 15000 and 40000 hits/s and have no trouble saturating 2 Gbps under Linux.

Performance

Well, since a user's testimony is better than a long demonstration, please take a look at Chris Knight's experience with haproxy saturating a gigabit fiber in 2007 on a video download site. Since then, the performance has significantly increased and the hardware has become much more capable, as my experiments with Myricom's 10-Gig NICs have shown two years later. Now as of 2014, 10-Gig NICs are too limited and are hardly suited for 1U servers since they do rarely provide enough port density to reach speeds above 40-60 Gbps in a 1U server. 100-Gig NICs are coming and I expect to run new series of tests when they are available.
HAProxy involves several techniques commonly found in Operating Systems architectures to achieve the absolute maximal performance :
  • a single-process, event-driven model considerably reduces the cost of context switch and the memory usage. Processing several hundreds of tasks in a millisecond is possible, and the memory usage is in the order of a few kilobytes per session while memory consumed in preforked or threaded servers is more in the order of megabytes per process.
  • O(1) event checker on systems that allow it (Linux and FreeBSD) allowing instantaneous detection of any event on any connection among tens of thousands.
  • Delayed updates to the event checker using a lazy event cache ensures that we never update an event unless absolutely required. This saves a lot of system calls.
  • Single-buffering without any data copy between reads and writes whenever possible. This saves a lot of CPU cycles and useful memory bandwidth. Often, the bottleneck will be the I/O busses between the CPU and the network interfaces. At 10-100 Gbps, the memory bandwidth can become a bottleneck too.
  • Zero-copy forwarding is possible using the splice() system call under Linux, and results in real zero-copy starting with Linux 3.5. This allows a small sub-3 Watt device such as a Seagate Dockstar to forward HTTP traffic at one gigabit/s.
  • MRU memory allocator using fixed size memory pools for immediate memory allocation favoring hot cache regions over cold cache ones. This dramatically reduces the time needed to create a new session.
  • Work factoring, such as multiple accept() at once, and the ability to limit the number of accept() per iteration when running in multi-process mode, so that the load is evenly distributed among processes.
  • CPU-affinity is supported when running in multi-process mode, or simply to adapt to the hardware and be the closest possible to the CPU core managing the NICs while not conflicting with it.
  • Tree-based storage, making heavy use of the Elastic Binary tree I have been developping for several years. This is used to keep timers ordered, to keep the runqueue ordered, to manage round-robin and least-conn queues, to look up ACLs or keys in tables, with only an O(log(N)) cost.
  • Optimized timer queue : timers are not moved in the tree if they are postponed, because the likeliness that they are met is close to zero since they're mostly used for timeout handling. This further optimizes the ebtree usage.
  • optimized HTTP header analysis : headers are parsed an interpreted on the fly, and the parsing is optimized to avoid an re-reading of any previously read memory area. Checkpointing is used when an end of buffer is reached with an incomplete header, so that the parsing does not start again from the beginning when more data is read. Parsing an average HTTP request typically takes half a microsecond on a fast Xeon E5.
  • careful reduction of the number of expensive system calls. Most of the work is done in user-space by default, such as time reading, buffer aggregation, file-descriptor enabling/disabling.
  • Content analysis is optimized to carry only pointers to original data and never copy unless the data needs to be transformed. This ensures that very small structures are carried over and that contents are never replicated when not absolutely necessary.
All these micro-optimizations result in very low CPU usage even on moderate loads. And even at very high loads, when the CPU is saturated, it is quite common to note figures like 5% user and 95% system, which means that the HAProxy process consumes about 20 times less than its system counterpart. This explains why the tuning of the Operating System is very important. This is the reason why we ended up building our own appliances, in order to save that complex and critical task from the end-user.
In production, HAProxy has been installed several times as an emergency solution when very expensive, high-end hardware load balancers suddenly failed on Layer 7 processing. Some hardware load balancers still do not use proxies and process requests at the packet level and have a great difficulty at supporting requests across multiple packets and high response times because they do no buffering at all. On the other side, software load balancers use TCP buffering and are insensible to long requests and high response times. A nice side effect of HTTP buffering is that it increases the server's connection acceptance by reducing the session duration, which leaves room for new requests.
There are 3 important factors used to measure a load balancer's performance :
  • The session rate
    This factor is very important, because it directly determines when the load balancer will not be able to distribute all the requests it receives. It is mostly dependant on the CPU. Sometimes, you will hear about requests/s or hits/s, and they are the same as sessions/s in HTTP/1.0 or HTTP/1.1 with keep-alive disabled. Requests/s with keep-alive enabled is generally much higher (since it significantly reduces system-side work) but is often meaningless for internet-facing deployments since clients often open a large amount of connections and do not send many requests per connection on avertage. This factor is measured with varying object sizes, the fastest results generally coming from empty objects (eg: HTTP 302, 304 or 404 response codes). Session rates around 100,000 sessions/s can be achieved on Xeon E5 systems in 2014.
  • The session concurrency
    This factor is tied to the previous one. Generally, the session rate will drop when the number of concurrent sessions increases (except with the epoll or kqueue polling mechanisms). The slower the servers, the higher the number of concurrent sessions for a same session rate. If a load balancer receives 10000 sessions per second and the servers respond in 100 ms, then the load balancer will have 1000 concurrent sessions. This number is limited by the amount of memory and the amount of file-descriptors the system can handle. With 16 kB buffers, HAProxy will need about 34 kB per session, which results in around 30000 sessions per GB of RAM. In practise, socket buffers in the system also need some memory and 20000 sessions per GB of RAM is more reasonable. Layer 4 load balancers generally announce millions of simultaneous sessions because they need to deal with the TIME_WAIT sockets that the system handles for free in a proxy. Also they don't process any data so they don't need any buffer. Moreover, they are sometimes designed to be used in Direct Server Return mode, in which the load balancer only sees forward traffic, and which forces it to keep the sessions for a long time after their end to avoid cutting sessions before they are closed.
  • The data forwarding rate
    This factor generally is at the opposite of the session rate. It is measured in Megabytes/s (MB/s), or sometimes in Gigabits/s (Gbps). Highest data rates are achieved with large objects to minimise the overhead caused by session setup and teardown. Large objects generally increase session concurrency, and high session concurrency with high data rate requires large amounts of memory to support large windows. High data rates burn a lot of CPU and bus cycles on software load balancers because the data has to be copied from the input interface to memory and then back to the output device. Hardware load balancers tend to directly switch packets from input port to output port for higher data rate, but cannot process them and sometimes fail to touch a header or a cookie. Haproxy on a typical Xeon E5 of 2014 can forward data up to about 40 Gbps. A fanless 1.6 GHz Atom CPU is slightly above 1 Gbps.
A load balancer's performance related to these factors is generally announced for the best case (eg: empty objects for session rate, large objects for data rate). This is not because of lack of honnesty from the vendors, but because it is not possible to tell exactly how it will behave in every combination. So when those 3 limits are known, the customer should be aware that it will generally perform below all of them. A good rule of thumb on software load balancers is to consider an average practical performance of half of maximal session and data rates for average sized objects.
You might be interested in checking the 10-Gigabit/s page.

Reliability - keeping high-traffic sites online since 2002

Being obsessed with reliability, I tried to do my best to ensure a total continuity of service by design. It's more difficult to design something reliable from the ground up in the short term, but in the long term it reveals easier to maintain than broken code which tries to hide its own bugs behind respawning processes and tricks like this.
In single-process programs, you have no right to fail : the smallest bug will either crash your program, make it spin like mad or freeze. There has not been any such bug found in stable versions for the last 13 years, though it happened a few times with development code running in production.
HAProxy has been installed on Linux 2.4 systems serving millions of pages every day, and which have only known one reboot in 3 years for a complete OS upgrade. Obviously, they were not directly exposed to the Internet because they did not receive any patch at all. The kernel was a heavily patched 2.4 with Robert Love's jiffies64 patches to support time wrap-around at 497 days (which happened twice). On such systems, the software cannot fail without being immediately noticed !
Right now, it's being used in many Fortune 500 companies around the world to reliably serve billions of pages per day or relay huge amounts of money. Some people even trust it so much that they use it as the default solution to solve simple problems (and I often tell them that they do it the dirty way). Such people sometimes still use versions 1.1 or 1.2 which sees very limited evolutions and which targets mission-critical usages. HAProxy is really suited for such environments because the indicators it returns provide a lot of valuable information about the application's health, behaviour and defects, which are used to make it even more reliable. Version 1.3 has now received far more testing than 1.1 and 1.2 combined, so users are strongly encouraged to migrate to a stable 1.3 or 1.4 for mission-critical usages.
As previously explained, most of the work is executed by the Operating System. For this reason, a large part of the reliability involves the OS itself. Latest versions of Linux 2.4 have been known for offering the highest level of stability ever. However, it requires a bunch of patches to achieve a high level of performance, and this kernel is really outdated now so running it on recent hardware will often be difficult (though some people still do). Linux 2.6 and 3.x include the features needed to achieve this level of performance, but old LTS versions only should be considered for really stable operations without upgrading more than once a year. Some people prefer to run it on Solaris (or do not have the choice). Solaris 8 and 9 are known to be really stable right now, offering a level of performance comparable to legacy Linux 2.4 (without the epoll patch). Solaris 10 might show performances closer to early Linux 2.6. FreeBSD shows good performance but pf (the firewall) eats half of it and needs to be disabled to come close to Linux. OpenBSD sometimes shows socket allocation failures due to sockets staying in FIN_WAIT2 state when client suddenly disappears. Also, I've noticed that hot reconfiguration does not work under OpenBSD.
The reliability can significantly decrease when the system is pushed to its limits. This is why finely tuning the sysctls is important. There is no general rule, every system and every application will be specific. However, it is important to ensure that the system will never run out of memory and that it will never swap. A correctly tuned system must be able to run for years at full load without slowing down nor crashing.

Security - Not even one intrusion in 13 years

Security is an important concern when deploying a software load balancer. It is possible to harden the OS, to limit the number of open ports and accessible services, but the load balancer itself stays exposed. For this reason, I have been very careful about programming style. Vulnerabilities are very rarely encountered on haproxy, and its architecture significantly limits their impact and often allows easy workarounds. Its remotely unpredictable even processing makes it very hard to reliably exploit any bug, and if the process ever crashes, the bug is discovered. All of them were discovered by reverse-analysis of an accidental crash BTW.
Anyway, much care is taken when writing code to manipulate headers. Impossible state combinations are checked and returned, and errors are processed from the creation to the death of a session. A few people around the world have reviewed the code and suggested cleanups for better clarity to ease auditing. By the way, I'm used to refuse patches that introduce suspect processing or in which not enough care is taken for abnormal conditions.
I generally suggest starting HAProxy as root because it can then jail itself in a chroot and drop all of its privileges before starting the instances. This is not possible if it is not started as root because only root can execute chroot(), contrary to what some admins believe.
Logs provide a lot of information to help maintain a satisfying security level. They are commonly sent over UDP because once chrooted, the /dev/log UNIX socket is unreachable, and it must not be possible to write to a file. The following information are particularly useful :
  • source IP and port of requestor make it possible to find their origin in firewall logs ;
  • session set up date generally matches firewall logs, while tear down date often matches proxies dates ;
  • proper request encoding ensures the requestor cannot hide non-printable characters, nor fool a terminal.
  • arbitrary request and response header and cookie capture help to detect scan attacks, proxies and infected hosts.
  • timers help to differentiate hand-typed requests from browsers's.
HAProxy also provides regex-based header control. Parts of the request, as well as request and response headers can be denied, allowed, removed, rewritten, or added. This is commonly used to block dangerous requests or encodings (eg: the Apache Chunk exploit), and to prevent accidental information leak from the server to the client. Other features such as Cache-control checking ensure that no sensible information gets accidentely cached by an upstream proxy consecutively to a bug in the application server for example.

Download

The source code is covered by GPL v2. Source code and pre-compiled binaries for Linux/x86 and Solaris/Sparc can be downloaded right here :

Documentation

There are three types of documentation now : the Reference Manual which explains how to configure HAProxy but which is outdated, the Architecture Guide which will guide you through various typical setups, and the new Configuration Manual which replaces the Reference Manual with more a explicit configuration language explanation. The official documentation is the pure-text one provided with the sources. However, Cyril Bonté's automated conversion to HTML is much easier to use and constantly up to date, so it is the preferred one when available. In addition to Cyril's HTML converter above, an automated format converter is being developed by Pavel Lang. At the time of writing these lines, it is able to produce a PDF from the documentation, and some heavy work is ongoing to support other output formats. Please consult the project's page for more information. Here's an example of what it is able to do on version 1.5 configuration manual.

Commercial Support and availability

If you think you don't have the time and skills to setup and maintain a free load balancer, or if you're seeking for commercial support to satisfy your customers or your boss, you have the following options :
  1. contact HAProxy Technologies to hire some professional services or subscribe a support contract ;
  2. install HAProxy Enterprise Edition (HAPEE), which is a long-term maintained HAProxy package accompanied by a well-polished collection of software, scripts, configuration files and documentation which significantly simplifies the setup and maintenance of a completely operational solution ; it is particularly suited to Cloud environments where deployments must be fast.
  3. try an ALOHA appliance (hardware or virtual), which will even save you from having to worry about the system, hardware and from managing a Unix-like system.
I also find it important to credit Loadbalancer.org. I am not affiliated with them at all but like us, they have contributed a fair amount of time and money to the project to add new features and they help users on the mailing list, so I have some respect for what they do. They're a UK-based company and their load balancer also employs HAProxy, though it is somewhat different from the ALOHA.

Add-on features and contributions

Some happy users have contributed code which may or may not be included. Others spent a long time analysing the code, and there are some who maintain ports up to date. The most difficult internal changes have been contributed in the form of paid time by some big customers who can afford to pay a developer for several months working on an opensource project. Unfortunately some of them do not want to be listed, which is the case for the largest of them.
Some contributions were developped and not merged, most often by lack of sign of interest from the users or simply because they overlap with some pending changes in a way that could make it harder to maintain future compatibility.
This table enumerates all known significant contributions that led to version 1.4, as well as proposed fundings and features yet to be developped but waiting for spare time. It is not more up to date though.
Some older code contributions which possibly do not appear in the table above are still listed here.
  • Application Cookies Aleksandar Lazic and Klaus Wagner implemented this feature which was merged in 1.2. It allows the proxy to learn cookies sent by the server to the client, and to find it back in the URL to direct the client to the right server. The learned cookies are automatically purged after some inactive time.
  • Least Connections load balancing algorithm This patch for haproxy-1.2.14 was submitted by Oleksandr Krailo. It implements a basic least connection algorithm. I've not merged this version into 1.3 because of scalability concerns, but I'm leaving it here for people who are tempted to include it into version 1.2, and the patch is really clean.
  • Soft Server-Stop Aleksandar Lazic sent me this patch against 1.1.28 which in fact does two things. The first interesting part allows one to write a file enumerating servers which will have to be stopped, and then sending a signal to the running proxy to tell it to re-read the file and stop using these servers. This will not be merged into mainline because it has indirect implications on security since the running process will have to access a file on the file-system, while current version can run in a chrooted, empty, read-only directory. What is really needed is a way to send commands to the running process. However, I understand that some people might need this feature, so it is provided here. The second part of the patch has been merged. It allowed both an active and a backup server to share a same cookie. This may sound obvious but it was not possible earlier.
    Usage: Aleks says that you just have to write the server names that you want to stop in the file, then kill -USR2 the running process. I have not tested it though.
  • Server Weight Sébastien Brize sent me this patch against 1.1.27 which adds the 'weight' option to a server to provide smoother balancing between fast and slow servers. It is available here because there may be other people looking for this feature in version 1.1.

    I did not include this change because it has a side effect that with high or unequal weights, some servers might receive lots of consecutive requests. A different concept to provide a smooth and fair balancing has been implemented in 1.2.12, which also supports weighted hash load balancing.
    Usage: specify "weight X" on a server line.
    Note: configurations written with this patch applied will normally still work with future 1.2 versions.
  • IPv6 support for 1.1.27 I implemented IPv6 support on client side for 1.1.27, and merged it into haproxy-1.2. Anyway, the patch is still provided here for people who want to experiment with IPv6 on HAProxy-1.1.
  • Other patches Please browse the directory for other useful contributions.

Other Solutions

If you don't need all of HAProxy's features and are looking for a simpler solution, you may find what you need here :
  • Linux Virtual Servers (LVS)
    Very fast layer 3/4 load balancing merged in Linux 2.4 and 2.6 kernels. Should be coupled with Keepalived to monitor servers. This generally is the solution embedded by default in most IP-based load balancers.
  • Nginx ("engine X")
    Nginx is an excellent piece of software. Initially it's a very fast and reliable web server, but it has grown into a full-featured proxy which can also offer load-balancing capabilities. Nginx's load balancing features are less advanced than haproxy's but it can do extra things (eg: caching, running FCGI apps), which explains why they are very commonly found together. I strongly recommend it to whoever needs a fast, reliable and flexible web server !
  • Pound
    Pound is very small and reasonably good. It aims at remaining small and auditable prior to being fast. It used to support SSL and keep-alive before HAProxy. Its configuration file is small and simple. It's thread-based, but can be a simpler alternative to HAProxy for a small site when the flexibility and performance of HAProxy are not required.
  • Pen
    Pen is a very simple load balancer for TCP protocols. It supports source IP-based persistence for up to 2048 clients. Supports IP-based ACLs. Uses select() and supports higher loads than Pound but will not scale very well to thousands of simultaneous connections. It's more versatile however, and could be considered as the missing link between HAProxy and socat.

Contacts

Feel free to contact me at for any questions or comments :
Some people regularly ask if it is possible to send donations, so I have set up a Paypal account for this. Click here if you want to donate.
An IRC channel for haproxy has been opened on FreeNode (but don't seek me there, I'm not) :


External links

Here are some links to possibly useful external contents I gathered on the net. I have found most of them due to their link to haproxy's site ;-)

شرح ل اداة wpscan ل اختراق المواقع والوصول الى الهدف

الموقع يدعم الحشد الشعبي
 <phrase 1=
بسم الله الرحمن الرحيم
.....
اليوم سويت شرح ل اداة الـ wpscan

ل اختراق المواقع المركبه wordpress
طبعآ الشرح مطول شويه ... بس المفيد به انو حتى المبتداء راح يخترق موقع ...
ننتقل الى الشرح ...

تحميل الشرح


http://www.gulfup.com/?zZPore

مشاهدة الشرح

لتحميل الشرح الكتابي
http://www.gulfup.com/?z9t2bT
لتحميل اداة استخراج ايبي السيرفر
http://www.gulfup.com/?Ggrp6J
<

كاتب الموضوع

 ضياء مشكله

http://ar.r00tnetwork.org/kamindoz893

كيف يتعقب جوجل مستخدميه

الموقع يدعم الحشد الشعبي
 #جوجل
لابد أنّك لاحظت خلال تصفحك لبعض مواقع الانترنت أن هناك إعلانات تقوم هذا المواقع بعرضها متعلقة بموضوع بحثت عنه في الانترنت. هذه المقالة سوف تشرح لك ما الذي يجري في الخلفية حتى تقوم المواقع بطرح هكذا اعلانات.
أحمد طالب جامعي متخصص في علم الحاسوب، ويريد ان يطوّر من مهاراته. قام باستخدام جوجل بالبحث عن فيديوهات تعليمية من انتاج شركة #TrainSignal
نتائج البحث في جوجل عن Trainsignal
الكلمات المفتاحية التي استخدمها احمد يتمّ ارسالها الى موقع TrainSignal  مرفقاً معها معلومات حول الحاسوب والمتصفح…إلخ. هذه المعلومات يمكن أن تقوم بتحديد الشخص (احمد في هذا المثال). يمكن القراءة حول هذا الموضوع في هذا موضوع الدكتور علي الشمري هل تعتقد بإن إعدادات متصفحك نادر نوعه أو فريد من نوعه؟
نسب زوّار الموقع
أحمد يقوم بزيارة موقع آخر، كموقع يوتيوب فتظهر له إعلانات حول منتجات شركة TrainSignal
إعلانات لمنتجات TrainSignal
قد يقول قائل وماذا يعني ذلك؟ الموقع الذي زرته موقع عام وموقع عشوائي. وهذا صحيح، ولكن الاعلان يقوم به طرف ثالث. هذا الطرف الثالث يقوم ببناء ملف حولك. كجنسك، عمرك، موقعك، الأشياء التي تحبها..إلخ. ولهذا ترى هذه الاعلانات ترافقك اثناء تصفحك.
جميل يقول أحمد، ولكن ما المقلق في أن يقوم طرف ثالث بعمل ملف عني؟ هذا الملف يتمّ بيعه سواء للشركات التجارية أو البنوك أو شركات البطاقات الائتمانية. وقد يتمّ طلبه من قبل أطراف امنية أو حكومية. لهذا من الأفضل استخدام محركات بحث و اضافات تقوم بحماية خصوصية المستخدم. وهذا ما سوف نقوم بتغطيته إن شاء الله في مقال قادم.

هذا المقال مبني على المادة الموجودة هنا

كيف تبدأء في مجال أمن المعلومات

الموقع يدعم الحشد الشعبي

Security concept: Lock on digital screen
#امن_المعلومات
في البدايه احب اوضح ان مجال امن المعلومات مجال واسع وهو يضم العديد من المهارات  وابضاً يتفرع منه عده مجالات فرعيه فأذا كنت من العاشقين لهذا المجال فستفيدك هذه المقالة بأذن الرحمن
هذا المجال الرائع يتطلب الكثير من الدراسه والجهد وكل شىء يعتمد على الأساسيات  فكما يقال (الأساسيات تصنع المعجزات ) فى مقالتنا هذه سنركز على الأساسيات الذى يستطيع أى شخص بدأ فعلياً فى امن المعلومات أن يشق بها طريقه بكل سهوله ويسر
الباحث الامنى يجب أن يكون مطلع على كل الجديد والمستحدث فى هذا المجال  من أخبار الأمن الالكترونى وأخر أخبار الثغرات ألخ  وهذا لن يتم إلا عن طريق تعلم اللغه الانجليزية
فأول العوامل هذه هو تعلم اللغه بشكل عام حتى يتمكن الباحث الأمني من متابعه اخر التطورات التى تطرأ على مجالنا هذا  فيمكننا الأن تعلم الانجليزية ببساطه عن طريق الانترنت  فالم يعد ذلك صعباً بعد الأن  وبعيداً عن الكثير من الحديث عن مزايا اللغه أنصحكم بكورس معهد Berlitz   فهو كورس قوى جداً بالبحث وتحميله والاستفادة منه فهو اكثر من رائع ويناسب جميع المجالات
أما بالنسبه لمحبين الشرح المباشر والمدرس أمامك مباشره فأنصحكم بالبحث عن كورس English4u عن طريق موقع  Youtube وبالنسبه للأساسيات اللغه فأنصحكم بهذا الموقع   http://ar.talkenglish.com  فهو يحتوى على كثير من الدروس المفيدة ويمكن ان تستمع لها صوتياً وبهذا نكون قد انتهينا من احد اهم النقاط في موضوعنا
ونأتى للنقطه الثانية فماذا بعد تعلم اللغه نأتى للعامل الثانى إلا وهو القاعده التقنية الكافية للدخول فى هذا المجال فمثلا الشخص الأمني بحق يجب أن يكون ملماً ببعض انظمه التشغيل أو الشائع منها وأيضاً الشبكات وبنائها لنرى معاً الصورة او الخريطة التى يجب أن يضعها الباحث الأمنى لنفسه
Nfg7c

 المرحله الاولى

وهى دراسه كورس مثل Mcitp  أو Mcsa  وذلك حتى يصل الدارس الى مستوى الـ Administrator وذلك فى بيئه العمل ويندوز فعلينا الانتقال من مجرد مستخدمين عاديين للنظام (users) إلى مستوى الـ Admin  للتحكم الكامل بالنظام ومعرفه خبايا وطرق الحمايه وأيضاً الاختراق لهدف معرفه طريقه المخترقين . ومن وجهه نظرى أرجح دراسه دوره الـ Mcitp  فهى شامله وقويه لعديد من المهارات وينبثق منها الكثير من المجالات  فأذا كنت مقبل على دراسه الدورة فأنصحك بدراسه Enterprise administrator فهو جزء شامل وستتعلم الكثير منه بأذن الله
وللراغب دراسه Mcsa  فهو حر والدورة مفيده أيضاً  أما الجزء الثاني من المرحله الآولى  هو دوره RHCE وهو مهندس انظمه الريد هات  الدورة مفيده جداً للوصول لمستوى Admin فى انظمه Linux فعلى على الباحث الأمنى فى البدايه ان يتقن ويندوز ولينكس  وكما قلت فى السابق يتقنها كا مستوى Admin  وليس User
وبهكذا نكون قد انتهينا من المرحله الأولى وتأتى المرحله الثانيه

المرحلة الثانية

المرحلة الثانية وهى دراسه الشبكات ومعرفتها جيداً  فكيف هو حال الباحث الامنى بدون معرفه الشبكات جيداً فهنا علينا أيضا دراسه Network + الخاصه بشركه Compita  فهى دوره رائعة وتغطى خلفيتك بشكل ممتاز عن الشبكات
اما بالنسبه لدوره CCna  فهى خاصه بسيسكو  فأذا اتممت هذه الشهاده ونجحت فى اختباراتها  فأنت بلا شك عالم بشئون الشبكات جيداً  ولكن هناك ينقصك سلاح الخبره  و الخبره عن طريق انغماسك بالعمل الحقيقى فى بيئات شركات حقيقيه  تعطيك الأفضلية بين الناس لأن مؤهل بشهاده الدوره و مؤهل أيضاً بخبرتك فعليك الاختيار الحر بين الشهاديتن كما تريد
ملحوظه : جميع الشهادات التى نتكلم عنها موجوده بالفعل بشكل مجانى عبر مواقع عده ويمكنك البحث عنها على Google او Youtube

المرحله الثالثه

هنا هى عباره عن بداية الدخول فى عالم أمن المعلومات  دوره Security+  هى احدى دورات شركه Comptia  وتعطيك الدوره المفاهيم للبدايه فى هذا المجال  فاذا سرت على هذا الدرب من البدايه  ستجد معلوماتك قد تطورت بشكل سريع وقوى  ويمكنك أن تفهم مبادىء وأساسيات الأمن المعلوماتى

المرحله الرابعه

فهى عباره عن دوره CEH  وهى خاصه بمفاهيم عمليات الاختراق واساليب المخترقين  حتى وأن كنت رأيت الدوره مجرد مفاهيم  ففائدتها مساعدتك فى تحديد أى مجال من مجال الحمايه  تريد دراسته فهى مهمه جداً فى تحديد مجالك  فعند دراسه هذه الدوره  حاول أن تجد اى مجال سيحذبك أكتر  هل على سبيل المثال WEB APPLICATION  من فحص وحمايه  فعليك هنا بالقراءه عن اى مقال تقع فى يدك عن  الثغرات فى تطبيقات المواقع  والكثير غير هذا المجال  وكما قلنا فان شهاده CEH  هى بوصلتك التى ستعرف بها ماذا ستدرس فى مجال أمن المعلومات تحديداً
نكون هنا قد انتهينا من موضوعنا  اسئل الله عز وجل أن يوفقنا الى ما يحبه ويرضاه
بعض روابط الدورات التى تضمنها فى موضوعنا

كتاب : XSS Attacks: Cross Site Scripting Exploits and Defense

الموقع يدعم الحشد الشعبي

#كتاب

 : #XSS #Attacks: #Cross #Site #Scripting #Exploits and #Defense

 


XSS attacks Exploits and Defenseيغطي هذا لكتاب #ثغرات XSS والتي تعد  اكثر #الثغرات_الأمنية #خطورة ، ولا تنحصر خطورتها على تطبيق الويب او السيرفر فقط ولكن قد تستغل لتضر كل من يزور الموقع المصاب كذلك ، يشرح الكتاب كيف اكتشاف واستغلال هذه الثغرات على عدة مستويات ابتداء بالمبتدئين كذلك المحترفين ، ويغطي جميع أنواع ثغرات XSS ، الجميل في الكتاب أيضا انه غطى لشرح كيف التعامل مع الثغرة بعد اكتشافها من ناحية مطور تطبيق الويب أو من ناحية المهاجم ثم وضع الكثير من الأمثلة لهذه الثغرات بكافة أنواعها ، بعد وضع الأمثلة البرمجية التي تجعل القارئ يستوعب هذه الثغرات وكيف يتم اكتشافها واستغلالها تم وضع أمثلة حقيقه من مواقع مشهوره حقيقه لهذه الثغرات واسببها ومناقشة هذه الأمثلة ، يختتم الكتاب بالنصائح والمعلومات والسبل لكافية المطورين لعدم الوقوع في مثل هذه الثغرات ،
صفحات هذه الكتاب 428 تتلخص في الفصول التاليه  :
Chapter 1 Cross-site Scripting Fundamentals.
Chapter 2 The XSS Discovery Toolkit
Chapter 3 XSS Theory.
Chapter 4 XSS Attack Methods .
Chapter 5 Advanced XSS Attack Vectors .
Chapter 6 XSS Exploited .
Chapter 7 Exploit Frameworks .
Chapter 8 XSS Worms
Chapter 9 Preventing XSS Attacks .
الكتاب يخاطب القارئ على اساس ان لدية ولو خبره بسيطه في لغات برمجه الويب مثل
HTML
JAVASCRIPT

 



http://rogunix.com/docs/WebSecurity/XSS%20Attacks%20-%20Exploits%20and%20Defense.pdf

كتاب : #OpenVPN: #Building and #Integrating #Virtual #Private #Networks

الموقع يدعم الحشد الشعبي
#كتاب


OpenVPN: Building and Integrating Virtual Private Networks
يعتبر هذا #الكتاب هو الدليل الشامل  للتعامل مع #OpenVPN وبناء خوادم vpn# امنة ومعدة بشكل دقيق ، الكتاب يتميز بشرح سلسل وأسلوب رائع يسهل الأمور المعقدة وشرحها بطريقة #مفهومه وبسيطة ، تمنيت لو ان كاتب هذا الكتاب قام بكتابة العديد من الكتب في مختلف مجال امن المعلومات ،، بسبب شرحه الرائع وأسلوبه السلسل وإيصال المعلومة ، الكتاب يغطي مفاهم الأساسية لــ VPN وجعلها مقدمة تمهيدية للبدء والدخول في OpenVPN وكيف تنصيبه وأعداده وتغطية الكثير من الخيارات والنقاط المهمة في OpenVPN ، ثم يبدا الكتاب بالدخول في الأمور المتقدمة والتي تخص بناء خوادم VPN ، مطلوب من القارئ ان يكون ملم بأساسيات التعامل مع انظمه وخوادم لينكس ، وليس مطلوب منه أي خلفية عن VPN لان الكتاب يوفر الأساسيات  وبدا من الصفر .
فصول الكتاب تنقسم إلى :
Chapter 1: VPN Virtual Private Network
Chapter 2: VPN Security
Chapter 3: OpenVPN
Chapter 4: Installing OpenVPN
Chapter 5: Configuring an OpenVPN Server—The First Tunnel
Chapter 6: Setting Up OpenVPN with X509 Certificates
Chapter 7: The Command openvpn and its Configuration File
Chapter 8: Securing OpenVPN Tunnels and Servers
Chapter 9: Advanced Certificate Management
Chapter 10: Advanced OpenVPN Configuration
Chapter 11: Troubleshooting and Monitoring





http://ebook.cna.ilkom.unsri.ac.id/linux/Building%20and%20Integrating%20Virtual%20Private%20Networks.pdf

كتاب : #تعلم_البرمجة_مع_بايثون

الموقع يدعم الحشد الشعبي


learn_programming_with_python3
#كتاب
لغة #بايثون هي أحد أبرز وأهم #لغات_البرمجة على مستوى العالم، والتي تُستخدم في كتابة برمجيات الكثير من المؤسسات العالمية الشهيرة ومجموعة كبيرة من البرمجيات والألعاب المتنوعة التي يتعامل معها كثير من المستخدمين اليوم. تتميز كذلك “بايثون” بسهولة تعلمها وكتابة وقراءة شفراتها، مما سمح لشريحة عريضة من المبرمجين استخدامها بشكل رئيسي في أعمالهم البرمجية.
يتناول الكتاب الإصدار الثالث من لغة بايثون حيث يتحدث فيه المؤلف عن أساسيات اللغة التي تشترك فيها مع اللغات الأخرى، كالمتغيرات والدوال والمصفوفات وحلقات التكرار والقواميس وكيفية كتابتهم، بالإضافة لأنواع البيانات وأهمها، والتطرق للحديث عن كيفية صنع برنامج ذو واجهة رسومية. كذلك تناول المؤلف الحديث عن البرمجة الكائنية OOP، والحديث عن كيفية التعامل مع قواعد البيانات، مع التعرض لطريقة الربط مع قاعدة البيانات #PostgresQL ، وتطبيقات الويب، مع الختم بفصل لحل التمارين التي جاءت في الكتاب بصورة كاملة.

اهمية لغة بايثون في امن المعلومات .

بعد المقدمة التي تحدثت عن اللغة واهمتيها كلغة برمجة لبناء البرمجيات المختلفة وقوتها في الكثير من المشاريع هل بايثون مهمة في امن المعلومات ؟
تعد لغة بايثون من اهم اللغات التي يجب ان يكون مختبر الاختراق متقنها ويجيدها لاهميتها في مجال امن المعلومات الكثير من الأدوات الأمنية التي تعمل على بيئة لينكس مبرمجة بلغة البرمجة بايثون ، كذلك سوف تسهل لك اللغة عملية اختبار الاختراق عند الحاجة لكتابة سكربتات تسهل عليك عمل أمور معينه في الاختبار أو تقوم بمهام كانت للاختبار أو الحماية بمختلف جوانب الحماية والاختراق سواء كانت لتطبيقات الويب ، أو السيرفرات أو غيرها من الجوانب الأخرى في امن المعلومات ، تقريباً كل شيئ تستطيع برمجته بواسطة بايثون . شئت أم أبيت إذا أردت أن تصبح مختبر اختراق محترف  فلا بد من بايثون .
فصول الكتاب :
  • ‫‪ .1‬في مدرسة السحرة‬‬
  • ‫‪ .2‬الخطوات الولى‬‬
  • ‫‪ .3‬التحكم في تلقيم التنفيذ
  • ‫‪ .4‬تعليمات التكرار
  • ‫‪ .5‬أهم أنواع البيانات‬‬
  • ‫‪ .6‬الدوال المعرفة مسبقا
  • ‫‪ .7‬الدوال الصلية
  • ‫‪ .8‬استخدام النوافذ والرسومات‬‬
  • ‫‪ .9‬التعامل مع الملفات
  • ‫‪ .10‬المزيد من هياكل البيانات ‪‬‬
  • ‫‪ .11‬الصناف‪ ،‬الكائنات‪ ،‬الصفات
  • ‫‪ .12‬الصناف والساليب والميراث‬‬
  • ‫‪ .13‬الصناف وواجهات المستخدم الرسومية ‬‬
  • ‫‪ .14‬مع يبعض الويدجات الضافية‬‬
  • ‫‪ .15‬تحليل يبرنامج محدد‬‬
  • ‫‪ .16‬إدارة قواعد البيانات
  • ‫‪ .17‬تطبيقات الوب
  • ‫‪ .18‬الطباعة مع يبيثون ‬‬
  • ‫‪ .19‬االتصال عبر الشبكة وخاصية التعدد))‪ multithreading‬‬
  • ‫‪ .20‬تثبيت يبيثون‬‬

الخلاصة عن كتاب تعلم البرمجة مع بايثون ٣.

كتاب تعلم البرمجة مع بايثون 3 إضافة هامة وقوية للمكتبة العربية، يسهل بواسطته لكل مبرمج مبتدئ الدخول إلى عالم اللغة بشكل سهل ويسير، والتعرف على جوانبها المختلفة، كبداية وانطلاقة للغوص بصورة أكبر في عالم البايثون الرائع.
الكتاب مجاني وحر ضمن رخصة المشاع الابداعي .
صفحة الكتاب على مكتبة الكتب العربية الحرة

كتاب : Social Engineering: The Art of Human Hacking

الموقع يدعم الحشد الشعبي


social engineering book#الهندسة-الاجتماعية أو ما يعرف بفن اختراق #العقول هي عبارة عن مجموعة من #التقنيات المستخدمة لجعل الناس يقومون بعمل ما أو يفضون بمعلومات #سرية. تـُستخدم الهندسة الاجتماعية أحياناً ضمن احتيال الإنترنت لتحقيق الغرض المنشود من الضحية، حيث أن الهدف الأساسي للهندسة الاجتماعية هو طرح أسئلة بسيطة أو تافهة (عن طريق الهاتف أو البريد الإلكتروني مع انتحال شخصية ذي سلطة أو ذات عمل يسمح له بطرح هكذا أسئلة دون إثارة الشبهات). تعرف اكثر عن الهندسة الاجتماعية  من هنا .
كتاب : Social Engineering: The Art of Human Hacking ، اول كتاب وافضلهم في تفصيل الهجمات الاجتماعية والتعريف بطرقها وأساليبها في للجانب الأمني ، من تحليل واستنباط وتلاعب بالبشر واستخراج معلوماتهم وسرقتها ، ناقش الكاتب هجمات اجتماعية حقيقة ، وكذلك أضاف خبرته الشخصية في المجال للكشف عن أسرار الهندسة الاجتماعية .
Kevin Mitnick من اشهر الشخصيات في الهندسة الاجتماعية يقول : من السهل كثيرا أن تجعل شخص يخبرك باسورد حسابه أو الأنظمة التي يملكها بواسطة تكتيكات الهندسة الاجتماعية ، توفير الجهد لاختراق النظام ، ويقول أيضا ان الهندسة الاجتماعية هو اقوى هجمات الاختراق على الإطلاق ويستطيع بواسطتها اختراق اي شبكة يريد أو شركة ببساطة ودون بذل أي جهد .
يبدأ الكتاب بالتعريف بــ مصطلح الهندسة الاجتماعية ثم يوضح علم التأثير لتنفيذ مهمة وفن استخراج المعلومات واستغلالها ، ثم يوضح اساليب الهندسة الاجتماعية ويوضح لك مدى قوة ما يمكن أن تقوم به بالهندسة الاجتماعية ، ثم ينتهي الكتاب بمناقشة الطرق والأساليب لتجنب الوقوع في هندسة اجتماعية والحماية منها .




ftp://91.193.236.10/pub/docs/linux-support/security/The Art of Human Hacking.pdf

#كتاب : سطر أوامر لينكس

الموقع يدعم الحشد الشعبي
cover

يعتبر سطر الأوامر في #لينكس من أهم مميزات هذا النظام الرائع  لأنه يسمح لك بتنفيذ أشياء معقدة بطرق بسيطة جدا لذا من #الطبيعي أن تجد نافذة سطر الأوامر دائمة مفتوحة عند مستخدمي لينكس ، فعلى الرغم من كون سطر الأوامر لغة برمجة تفسيرية إلا نه يمكن لغير الخبراء والمبرمجين استعماله بدون أي صعوبة وبسهولة جدا والتعامل مع كل خصائص النظام من سطر الاوامر . يمكنك ادارة النظام بالكامل دون فتح نافذة واحده وهنا تاتي المتعة الحقيقة للتعامل مع نظام لينكس , بالعكس هناك بعض المهام التي يصعب تنفيذها بواجهة رسومية يمكن تنفيذها بسرعة ومرونة بواسطة سطر الاوامر .

تم اصدار كتاب : سطر اوامر لينكس  المترجم من الكتاب The Linux Command Line اكثر الكتب مبيعاً التي تتحدث عن لينكس للمؤلف : Willam E. Shotts, Jr.‎ . الذي تمت ترجمته بالكامل إلى اللغة العربية بواسطة الأخ عبد اللطيف أيمش وبدعم من موقع وادي التقنية، الكتاب يعد المرجع العربي الأضخم حاليًا لسطر الأوامر في نظام لينكس ويتكون من 537 صفحة .
يبدأ الكتاب بشرح المفاهيم الأساسية في سطر الأوامر كالصدفة (Shell)، ومحاكيات الطرفية (Terminal Emulator)، وآلية التنقل في نظام الملفات، والقيام بالعمليات الأساسية على الملفات و المجلدات… ثم يتدرج إلى شرح التوسعات (Expansion)، وإعادة توجيه (Redirect) المدخلات والمخرجات، والأذونات (Permissions)، والعمليات (Processes)، والبيئة (Environment)، ومحرر vi.
ثم ينتقل إلى شرح المهام الأساسية في استخدام الحاسوب كإدارة البرمجيات، ومعالجة النصوص وتنسيقها، والطباعة، وبناء البرامج من المصدر.
ثم يتناول الباب الأخير برمجة الشِل (Shell Scripting) التي هي تقنيةٌ تُستخدم لأتمتة المهام؛ فيبدأ بشرح المفاهيم الأساسية في البرمجة، وطريقة إنشاء البرامج، ثم ينتقل إلى شرح بُنى التحكم والمعاملات الموضعية والمصفوفات. ثم ينتهي الكتاب بفصل يجمع ما بقي من الأمور المتفرقة. وكل ذلك موزعٌ على 36 فصلًا وما يزيد عن 500 صفحة.
رُخِّص هذا الكتاب برخصة المشاع الإبداعي (بنفس رخصة الكتاب الأصل) النسبة، غير تجاري، بلا اشتقاق الإصدار الثالث؛ لذا، يمكن تنزيل ونشر وتوزيع هذا الكتاب مجانًا دون قيود.

 
::جميع المشاركات المكتوبة تعبّر عن وجهة نظر كاتبها ... ولا تعبّر عن وجهة نظر إدارة الموقع::

C0DED BY IRAQ Electronic Army 2015-2016

iraq , syria , iran ,Afghanistan,Albania , Algeria , Andorra , Angola , Antigua , and , Barbuda , Argentina , Armenia , Aruba , Australia , Austria , Azerbaijan

Bahamas, , The , Bahrain , Bangladesh , Barbados , Belarus , Belgium , Belize , Benin , Bhutan , Bolivia , Bosnia , and , Herzegovina , Botswana , Brazil ,Brunei , Bulgaria , Burkina , Faso , Burma , BurundiCambodia , Cameroon , Canada , Cape , Verde , Central , African , Republic , Chad , Chile , China , Colombia , Comoros , Congo, , Democratic , Republic , of , the , Congo, , Republic , of , the , Costa , Rica , Cote , d'Ivoire , Croatia , Cuba , Curacao ,,,Cyprus , Czech , Republic.Denmark , Djibouti , Dominica , Dominican Republic

Ecuador , Egypt , El , Salvador , Equatorial , Guinea , Eritrea , Estonia , Ethiopia , Fiji Finland France , Gabon , Gambia, , The , Georgia , Germany , Ghana , Greece , Grenada , Guatemala , Guinea , Guinea-Bissau , Guyana , Haiti , Holy , See , Honduras , Hong , Kong , Hungary ,

Iceland,India, Indonesia Ireland Italy