Daniel Roethlisberger
3c7fe37583
Mark params as unused if Darwin libproc unavailable
10 years ago
Daniel Roethlisberger
a906147943
Fix memory leak and handle failure of pathspec formatting
10 years ago
Daniel Roethlisberger
86f509d2ea
Skip realloc and elem access for elem_len == 0
...
Besides obvious benefits, this prevents passing NULL to strncat().
10 years ago
Daniel Roethlisberger
1ce0ee8b12
Safeguard against elem == NULL
...
This should not normally happen but in theory it can (if match wraps
around in the match++ instruction).
10 years ago
Daniel Roethlisberger
966fe80c0c
Move process information code from sys to proc
10 years ago
Daniel Roethlisberger
6adaf00540
Fix pid_t removal for non-pf engines
10 years ago
Daniel Roethlisberger
c3922d9852
Refactor process lookup out of NAT engine code
...
Local process lookup is independent of the NAT engine used, it depends
only on the operating system's process enumeration API. Moving the code
out of NAT lookup also makes it work for static and SNI proxyspecs.
10 years ago
Daniel Roethlisberger
18aca24a2c
Return 0 with pid -1 if no process matches
10 years ago
Daniel Roethlisberger
8c21170cd3
Break lines to 80 cols
10 years ago
Daniel Roethlisberger
dc7a3ee9e3
Break line to 80 cols
10 years ago
Daniel Roethlisberger
f656bcabb7
Update NEWS.md
10 years ago
Daniel Roethlisberger
ff8ef9528d
Merge branch 'issue/55'
10 years ago
Daniel Roethlisberger
0d07aeff7e
Don't automatically drop to nobody if logspec is used
10 years ago
Daniel Roethlisberger
38314ea16d
Formatting changes
10 years ago
Daniel Roethlisberger
81241139c7
Merge branch 'logspec_path_support' of git://github.com/fix-macosx/sslsplit into issue/55
10 years ago
Daniel Roethlisberger
767f02aadb
Merge branch 'issue/54'
10 years ago
Daniel Roethlisberger
2cc353f274
Check malloc retval and mark ptr arguments non-null
10 years ago
Daniel Roethlisberger
a5ccfa3d4b
Remove SSLv2 bug section and add contributors
10 years ago
Daniel Roethlisberger
6a072e48e3
Make contribution section more clear and refer to NEWS.md
10 years ago
Daniel Roethlisberger
c8ba26f60d
Update documentation after merging #56
10 years ago
Daniel Roethlisberger
ed4134487c
Merge pull request #56 from wjjensen/master
...
Fix memory leaks in ssl_x509_load() and ssl_key_load()
10 years ago
wjensen
cc0b57d341
Fix memory leaks in ssl_x509_load() and ssl_key_load(), remove unnecessary condition in ssl_x509chain_load()
10 years ago
Daniel Roethlisberger
3579fb6891
Merge branch 'sys_proc_info' of git://github.com/fix-macosx/sslsplit into issue/54
10 years ago
Daniel Roethlisberger
40a2b7c2c3
Merge branch 'issue/53'
10 years ago
Daniel Roethlisberger
d9d8674792
Fix memory leak in libproc lookup code
10 years ago
Daniel Roethlisberger
f8867368ee
Detect presence of Darwin libproc.h
10 years ago
Landon Fuller
afd32151d8
Merge branch 'sys_proc_info' into logspec_path_support
10 years ago
Landon Fuller
5225ec50b7
Merge branch 'nat_local_pid' into sys_proc_info
10 years ago
Landon Fuller
6e860472d1
Remove debugging statement.
10 years ago
Landon Fuller
bea605d7ca
Update the man page to include the -F option and its logspec directives.
10 years ago
Landon Fuller
7ce301a60f
Fix incorrect format specifiers used in the -F usage example.
10 years ago
Landon Fuller
be4be4a054
Merge branch 'sys_proc_info' into logspec_path_support
10 years ago
Landon Fuller
afe6b87d80
Merge branch 'nat_local_pid' into sys_proc_info
10 years ago
Landon Fuller
137d10aa6e
Define HAVE_DARWIN_LIBPROC on Darwin.
10 years ago
Landon Fuller
02c6e6e605
Adopt the new oom_die() usage.
10 years ago
Landon Fuller
a4c518c8a0
Merge remote-tracking branch 'origin/fix-macosx' into logspec_path_support
10 years ago
Landon Fuller
efca8d73c9
Remove debugging statement.
10 years ago
Landon Fuller
81bf954c17
Merge commit '5ed49c498596995c79a5b7fda3d1ee1eb09ce8ec' into sys_proc_info
10 years ago
Landon Fuller
fe5eb66b53
Merge commit '9204418c806fc85ba04c3650dc4002bd440083ca' into nat_local_pid
10 years ago
Daniel Roethlisberger
2de17692f0
Avoid casting !NULL to ptr types to silence clang
10 years ago
Daniel Roethlisberger
375bf2a13c
Clarify comment about logging
10 years ago
Daniel Roethlisberger
206c688219
Refactor SSL/TLS debug code
10 years ago
Daniel Roethlisberger
601cdf5b52
Add SSL/TLS protocol selection debug code
10 years ago
Daniel Roethlisberger
6b0e47dc89
Allow more control over used SSL/TLS versions
...
Add -r to force a specific SSL/TLS protocol version.
Add -R to disable one or several SSL/TLS protocol versions.
Replace WANT_SSLV2_CLIENT and WANT_SSLV2_SERVER to WITH_SSLV2.
Issue: #30
Reported by: @Apollo2342
10 years ago
Daniel Roethlisberger
53e3d593c8
Move build status into h1
10 years ago
Daniel Roethlisberger
67ed768fec
Migrate documentation to markdown
...
Issue: #33
10 years ago
Daniel Roethlisberger
50001e5458
Avoid apparently common misunderstandings
10 years ago
Daniel Roethlisberger
0648f84bfc
Remove legacy TODO file; move to Github issues
10 years ago
Daniel Roethlisberger
fb2841f645
Zero allocated elements before initializing them
...
For some error conditions, the error handler depends on
ctx->thr[idx]->dnsbase to be zeroed expicitly after allocation.
To prevent this type of error, zero all allocated memory even
though it will get written to in any case.
10 years ago
Daniel Roethlisberger
508435d929
Use correct pointer type in sizeof()
10 years ago