SwiftSurf is a web proxy that can handle http (1.0 and 1.1) and homepage Moreover, it allows page filtering and authentication through a password.
All the configuration of SwiftSurf is made using the configuration file. Comments start by "#" and finish at the end of the line.
the default file provided with the program should be fine for most users. You just need to add the urls you want to filter in the file named "forbidden". If you want an example of configuration file using profiles, see swiftsurf.conf.school.
General configurations
Here are the configurations that will be used by all connections (all the keywords are case insensitive) :
- port : port on which the proxy is running (8080 by default)
- logFile : allow to write the log to a file (default : stdout)
- connectFrom : addresses from where it is allowed to connect : a regexp describing the local network.
- authentication : give a login and a password that will be required for using the proxy.
- maxConns : maximum number of simultaneous connections accepted by the proxy.
- nextProxy : If this proxy has to connect to another proxy to have access to internet, give its name and port on which to connect. A third optionnal argument specifies the authentication for the next proxy. This last argument should look like user:passwd.
- noProxy : If nextProxy is set : list of sites which do not need to be accessed through the proxy. This list can be finished by "end" for clarity. You can use * and ?.
- forbiddenReqHeader : list of headers you want to ban from request. It can be used to ignore all cookies for instance.
- forbiddenAnsHeader : idem for the answer.
- addReqHeader : add a header to every request the proxy sends to the server. http require the header to look like this : "xxx: yyyyy".
- addAnsHeader : add a header to every answer the proxy replies to the client. http require the header to look like this : "xxx: yyyyy".
- overrideUseragent : change the User-Agent sent by your browser. This can be usefull with sites such as msn.com filtering access with User-Agent (ex : overrideUseragent Mozilla/4.76).
- timeout : timeout for inactive connections in seconds (default : 30 sec). A value of 0 set timeout to infinite.
- maxConns : set a maximum number of simultaneous connections (default : infinity).
- stats : 0 indicates you don't want any stats output, 1 a little (display all the urls and tells if it has been accepted), 2 a little more (display date, time and ip of client for each request).
- debug : display some debugging output. If you want to submit a bug please give me the output with debug set to 2.
Top 4 Download periodically updates information of SwiftSurf 1.2.5 script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. SwiftSurf 1.2.5 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!