summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-08Break at 80 columnsMukund Sivaraman11-35/+69
2008-12-01Reformat code to GNU coding styleMukund Sivaraman47-5029/+5372
This is a commit which simply ran all C source code files through GNU indent. No other modifications were made.
2008-12-01Don't disable the creation of core filesMukund Sivaraman1-12/+0
Creation of core files can be disabled in the OS environment such as by using the ulimit program.
2008-10-16Update Tinyproxy website URLsMukund Sivaraman3-10/+11
2008-08-24Tweak configure.ac a bitMukund Sivaraman1-18/+4
2008-08-24Update the bugmail fieldMukund Sivaraman1-1/+1
2008-08-24Add more calls to umask() before mkstemp()Mukund Sivaraman2-0/+10
2008-08-24Move buffer to the heap due to its sizeMukund Sivaraman1-7/+15
2008-08-24Set umask before mkstemp() for some versions of glibcMukund Sivaraman2-1/+6
2008-08-24pos can never be less than 0 as it's of type size_tMukund Sivaraman4-4/+4
Also fix the type which is passed in from various places.
2008-08-24Remove useless check as data can't be NULL at this pointMukund Sivaraman1-10/+6
2008-07-30Add whitespaceMukund Sivaraman1-1/+1
2008-07-30Update the bug-report fieldMukund Sivaraman1-1/+1
2008-07-14Add missing commaMukund Sivaraman1-1/+1
2008-07-14Change bug report address to email address in AC_INITMukund Sivaraman1-1/+1
2008-07-14Allow numeric uid/gids in User and Group directivesMukund Sivaraman3-23/+52
This change allows numeric uid/gids to be specified in the User and Group directives in tinyproxy.conf. Formerly, only username and group names were accepted. This fixes bug #15, which was created after looking at a case on the OpenWrt wiki. X-Banu-Bugzilla-Ids: 15
2008-07-14Fix error variable names that stats.html expectsMukund Sivaraman1-2/+2
2008-07-14Fix a regression where empty error variables caused strlen() to crashMukund Sivaraman1-5/+13
This fixes a regression (bug #16) introduced in 95c1f39f6039dc82346f3e024e86a23b7103a0a6, where a NULL check was removed. This caused NULL error variable values to be sent to add_error_variable() in which strlen() segfaulted. With this fix, custom stats pages should be displayed properly. X-Banu-Bugzilla-Ids: 16
2008-07-14Make the embedded error message display valid XHTML tooMukund Sivaraman1-11/+18
Also fix the information that is displayed.
2008-07-14Add version info in embedded stats pageMukund Sivaraman1-1/+4
2008-07-14Add error number as a template parameter for error pagesMukund Sivaraman3-10/+16
2008-07-14Make the embedded stats message display valid XHTML tooMukund Sivaraman1-10/+15
2008-07-14Spruce up error page footers a bitMukund Sivaraman4-4/+9
2008-07-14Replace h2 with h1 for the main headingMukund Sivaraman1-1/+1
2008-07-14Remove ltmain.sh from dist targetMukund Sivaraman1-1/+1
2008-07-14Remove title attributeMukund Sivaraman1-1/+1
2008-07-14Update error pages to valid XHTML formatMukund Sivaraman3-58/+137
Also change some text and how the messages are displayed, to look better.
2008-07-14Remove unused autoconf macro callsMukund Sivaraman2-6933/+0
2008-06-20Fix tinyproxy homepage linkMukund Sivaraman1-1/+1
2008-06-19Remove Id tag from configure.acMukund Sivaraman1-3/+1
2008-06-19Removed obsolete ignore rulesMukund Sivaraman2-4/+0
2008-06-17Include values.h to use LONG_MAX and LONG_MINMukund Sivaraman2-1/+5
2008-06-17Add strtol conversion error checkingRobert James Kaes1-4/+15
Moved the strtol() call into fill_netmask_array() and added additional error checking to ensure that the strtol() call succeeded. Error checking code taken from strtol() manpage. Signed-off-by: Robert James Kaes <rjk@wormbytes.ca>
2008-06-17Refactored netmask array fill with range checkRobert James Kaes1-8/+39
When building a numeric ACL with netmask, range check the supplied value. In addition, the code to walk the array has been extracted and "simplified". Signed-off-by: Robert James Kaes <rjk@wormbytes.ca>
2008-06-10Don't check the value to be inserted as it's already checkedMukund Sivaraman1-6/+7
This change primarily avoids a gcc warning where timebuf is never non-NULL. There is no need to check the value to be inserted as it's checked inside hashmap_insert(). This changeset also lets error return values from hashmap_insert() propogate instead of clamping them to -1 (not that these are currently used anyway).
2008-06-09Moved transparent proxy code into its own fileRobert James Kaes6-114/+194
Extracted the transparent proxy logic from reqs.c and placed it into a separate file. Signed-off-by: Robert James Kaes <rjk@wormbytes.ca>
2008-06-04Change tinyproxy Bugzilla component to productMukund Sivaraman1-1/+1
2008-06-03Ignore profiling generated filesRobert James Kaes1-0/+1
The *.pcno files are generated as part of the profiling code. Signed-off-by: Robert James Kaes <rjk@wormbytes.ca>
2008-05-24Another minor README updateMukund Sivaraman1-1/+1
2008-05-24Updated READMEMukund Sivaraman1-26/+18
2008-05-24Added .gitignore entriesMukund Sivaraman1-0/+2
2008-05-24Updated toplevel Makefile.am to reflect recent automake changesMukund Sivaraman1-3/+3
2008-05-24Updated copyright header in Makefile.amMukund Sivaraman1-12/+13
2008-05-24Removed unnecessary LDFLAGS variableMukund Sivaraman1-2/+0
2008-05-24Quoted TP_ARG_ENABLEMukund Sivaraman1-1/+1
2008-05-24configure.ac changesMukund Sivaraman1-4/+4
2008-05-24Restructured automake macrosMukund Sivaraman6-107/+3
2008-05-24Renamed htmlerror.[ch] to html-error.[ch]Mukund Sivaraman7-10/+10
2008-05-24Updated copyright, license notices in source codeMukund Sivaraman45-604/+736
The notices have been changed to a more GNU look. Documentation comments have been separated from the copyright header. I've tried to keep all copyright notices intact. Some author contact details have been updated.
2008-05-05Fixed links in spec fileMukund Sivaraman1-2/+2