Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

x-forwarded-for field

Status
Not open for further replies.

azzie23

IS-IT--Management
Jan 21, 2002
16
IE
Hi,

Apologies if this is in the wrong forum - but I thought I'd start here!

We have a webservice which seems to be having a problem when there are multiple proxy IP addresses in the x-forwarded-for field. If there is only one proxy there is no problem but with 2 an error is received:
FormatException An invalid IP address was specified. at system.net.IPaddress.internalparse......
The multiple proxies are separated by a comma - but we think that it's all being read as one single address.

Is it possible to configure this field to recognise the comma a separator or that there is more than one IP?

Are there security implications?

This isn't an area I've any previous experience in so I'm a bit in the dark!

Thanks

A
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top