10.02.2013 Views

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

v<br />

“Modifying<br />

request-body-max-read”<br />

Server-side<br />

cache<br />

parameters<br />

are<br />

also<br />

summarized<br />

in<br />

the<br />

configuration<br />

file<br />

reference<br />

appendix.<br />

See<br />

“Server<br />

configuration”<br />

on<br />

page<br />

384.<br />

Modifying<br />

max-client-read<br />

This<br />

parameter<br />

specifies<br />

the<br />

maximum<br />

number<br />

of<br />

bytes<br />

that<br />

<strong>WebSEAL</strong><br />

holds<br />

in<br />

internal<br />

buffers<br />

while<br />

reading<br />

from<br />

a<br />

client.<br />

It<br />

affects<br />

the<br />

maximum<br />

size<br />

of<br />

URLs,<br />

HTTP<br />

Headers,<br />

and<br />

the<br />

size<br />

of<br />

a<br />

request<br />

that<br />

will<br />

be<br />

cached.<br />

This<br />

parameter<br />

must<br />

be<br />

set<br />

to<br />

at<br />

least<br />

twice<br />

the<br />

value<br />

of<br />

request-body-max-read.<br />

The<br />

minimum<br />

value<br />

is<br />

32768.<br />

If<br />

the<br />

value<br />

is<br />

set<br />

to<br />

a<br />

number<br />

below<br />

32768,<br />

the<br />

value<br />

is<br />

ignored<br />

and<br />

a<br />

value<br />

of<br />

32768<br />

is<br />

used.<br />

The<br />

default<br />

value<br />

is<br />

32768<br />

[server]<br />

max-client-read<br />

=<br />

32768<br />

This<br />

value<br />

can<br />

be<br />

increased<br />

when<br />

your<br />

deployment<br />

needs<br />

to<br />

cache<br />

abnormally<br />

large<br />

requests.<br />

There<br />

is<br />

no<br />

maximum<br />

size<br />

other<br />

than<br />

the<br />

maximum<br />

imposed<br />

by<br />

the<br />

data<br />

type.<br />

However,<br />

increasing<br />

the<br />

size<br />

can<br />

possibly<br />

adversely<br />

affect<br />

per<strong>for</strong>mance<br />

and<br />

system<br />

security.<br />

Allocating<br />

larger<br />

buffers<br />

increases<br />

memory<br />

usage<br />

and<br />

thus<br />

could<br />

possibly<br />

decrease<br />

per<strong>for</strong>mance.<br />

More<br />

importantly,<br />

allocating<br />

very<br />

large<br />

buffers<br />

increases<br />

the<br />

risk<br />

of<br />

a<br />

successful<br />

denial-of-service<br />

attack<br />

by<br />

a<br />

malicious<br />

user.<br />

The<br />

risk<br />

is<br />

increased<br />

simply<br />

because<br />

<strong>WebSEAL</strong><br />

is<br />

loading<br />

and<br />

holding<br />

more<br />

data<br />

into<br />

memory,<br />

which<br />

provides<br />

the<br />

user<br />

with<br />

a<br />

larger<br />

buffer<br />

from<br />

which<br />

to<br />

attempt<br />

an<br />

attack.<br />

Modifying<br />

request-body-max-read<br />

This<br />

parameter<br />

specifies<br />

the<br />

maximum<br />

number<br />

of<br />

bytes<br />

to<br />

read<br />

in<br />

as<br />

content<br />

from<br />

the<br />

body<br />

of<br />

requests<br />

<strong>for</strong><br />

use<br />

in<br />

dynurl,<br />

authentication,<br />

and<br />

request<br />

caching.<br />

This<br />

affects<br />

the<br />

amount<br />

of<br />

data<br />

that<br />

<strong>WebSEAL</strong><br />

caches<br />

<strong>for</strong><br />

users<br />

who<br />

must<br />

authenticate<br />

be<strong>for</strong>e<br />

their<br />

request<br />

can<br />

be<br />

fulfilled.<br />

This<br />

affects<br />

all<br />

request<br />

that<br />

have<br />

bodies,<br />

such<br />

as<br />

POST<br />

and,<br />

PUT<br />

requests.<br />

This<br />

impacts<br />

<strong>for</strong>ms<br />

authentication,<br />

because<br />

this<br />

limits<br />

the<br />

size<br />

of<br />

the<br />

POST<br />

data<br />

that<br />

is<br />

processed<br />

when<br />

per<strong>for</strong>ming<br />

such<br />

authentication.<br />

To<br />

maintain<br />

a<br />

request<br />

body<br />

size<br />

sufficient<br />

<strong>for</strong><br />

<strong>for</strong>ms<br />

authentication,<br />

<strong>WebSEAL</strong><br />

sets<br />

a<br />

hard<br />

minimum<br />

of<br />

512<br />

bytes<br />

on<br />

request-body-max-read.<br />

When<br />

this<br />

value<br />

is<br />

set<br />

below<br />

that<br />

minimum,<br />

the<br />

setting<br />

will<br />

be<br />

ignored<br />

and<br />

the<br />

value<br />

512<br />

is<br />

used.<br />

This<br />

setting<br />

also<br />

impacts<br />

dynamic<br />

URL<br />

processing<br />

because<br />

the<br />

query<br />

portion<br />

of<br />

a<br />

POST<br />

request<br />

URI<br />

is<br />

contained<br />

in<br />

the<br />

request<br />

body.<br />

Note:<br />

This<br />

setting<br />

does<br />

not<br />

limit<br />

the<br />

maximum<br />

POST<br />

size.<br />

The<br />

maximum<br />

POST<br />

size<br />

is<br />

unlimited.<br />

The<br />

value<br />

of<br />

request-body-max-read<br />

is<br />

related<br />

to<br />

the<br />

value<br />

of<br />

max-client-read.<br />

When<br />

request-body-max-read<br />

is<br />

set<br />

to<br />

a<br />

value<br />

higher<br />

than<br />

16384,<br />

max-client-read<br />

must<br />

be<br />

increased<br />

to<br />

at<br />

least<br />

twice<br />

the<br />

value<br />

of<br />

request-body-max-read.<br />

When<br />

the<br />

value<br />

of<br />

max-client-read<br />

is<br />

less<br />

than<br />

double<br />

the<br />

value<br />

of<br />

request-body-max-read,<br />

<strong>WebSEAL</strong><br />

ignores<br />

request-body-max-read<br />

and<br />

imposes<br />

a<br />

value<br />

of<br />

half<br />

the<br />

value<br />

of<br />

max-client-read.<br />

The<br />

default<br />

value<br />

is<br />

4096:<br />

[server]<br />

request-body-max-read<br />

=<br />

4096<br />

You<br />

can<br />

set<br />

this<br />

parameter<br />

to<br />

zero<br />

(0).<br />

202<br />

<strong>IBM</strong><br />

<strong>Tivoli</strong><br />

<strong>Access</strong><br />

<strong>Manager</strong><br />

<strong>for</strong><br />

e-<strong>business</strong>:<br />

<strong>WebSEAL</strong><br />

<strong>Administration</strong><br />

Guide

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!