Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how secure am i, if homepage shows that infos about me?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Jul 09, 2003 10:46 am    Post subject: how secure am i, if homepage shows that infos about me? Reply with quote

first of all have a look at http://www.leader.ru/secure/who.html
because this homepage shows me:
os
browser
proxy
external ip
internal ip (!!, my eth0)
date (my ~)
time (my local ~)

everything as it really is

i'm running the iptables-firewall script from http://projectfiles.com/firewall and have squid as a proxy (the homepage also shows me the version) with adzapper
can someone explain to me, how they can get my internal-ip(!!) and my time/date and all the other things (ok, maybe they are guessing from nearest something ..., but my time is that from my handclock and not from some server so it differs about one minute, as shown in the homepage)
till now i felt rather secure
can i block some of this information with iptables?

on other pages (like shieldsup) all my ports etc are blocked/stealthed ... , scan.sygate.com won't even start - so i think this part of the iptables-script is working correctly

please tell me that i'm not the only one having this lack of security
Back to top
View user's profile Send private message
To
Veteran
Veteran


Joined: 12 Apr 2003
Posts: 1145
Location: Coimbra, Portugal

PostPosted: Wed Jul 09, 2003 10:59 am    Post subject: Reply with quote

If you like pre-made firewalls you can try:
Code:
*  net-firewall/shorewall
      Latest version available: 1.4.5
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 2,002 kB
      Homepage:    http://www.shorewall.net
      Description: Full state iptables firewall



_________________

------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------
Back to top
View user's profile Send private message
niki
n00b
n00b


Joined: 25 May 2003
Posts: 19
Location: Switzerland

PostPosted: Wed Jul 09, 2003 1:04 pm    Post subject: Reply with quote

Hi

"COLLECTED INFORMATION"
Most of these infos are sent by your browser. When you request a page you browser sends a http request. In this request there fields like "User agent" or "OS". This page only reads this info and prints it out.

"ADDITIONAL INFORMATION"
The time is printed out with a JavaScript which is executed on you pc. With JavaScript you can read the time, Screen resolution, plugins .....

Normaly all of these infos aren't important.
These infos haven't anything to do with you Firewall script!!
If you feel paranoid you can disble JavaScript, Java.
I never Used squid but probably you can change the http request.

cu
niki
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9625
Location: beyond the rim

PostPosted: Wed Jul 09, 2003 1:15 pm    Post subject: Reply with quote

Firewalls won't bring you much here as most or all these informations are provided by the browser, it's easy to get them from the HTTP headers or via javascript. Some of them are necessary, some are useful and some are nice to have, but none is IMO security sensitive.
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Jul 09, 2003 2:30 pm    Post subject: Reply with quote

and how do they get my internal ip? as mentioned above, by disabling javascript i can get rid of the additional infos, but i'm interested how much information can be gattered from my internal network, cause i thought, the firewall would keep informations from my network out of sight from the internet
Back to top
View user's profile Send private message
69link
n00b
n00b


Joined: 18 Apr 2003
Posts: 53
Location: Sweden

PostPosted: Wed Jul 09, 2003 2:48 pm    Post subject: Reply with quote

It seems SQUID does this as default:
# TAG: forwarded_for on|off
# If set, Squid will include your system's IP address or name
# in the HTTP requests it forwards. By default it looks like
# this:
#
# X-Forwarded-For: 192.1.2.3
#
# If you disable this, it will appear as
#
# X-Forwarded-For: unknown
#
#Default:
# forwarded_for on

Set this to off:
forwarded_for off
Back to top
View user's profile Send private message
Qubax
Guru
Guru


Joined: 19 Jul 2002
Posts: 451
Location: Tirol, Austria

PostPosted: Wed Jul 09, 2003 3:22 pm    Post subject: Reply with quote

thx, a little point in the configs, that can be overseeen easily
Back to top
View user's profile Send private message
paranode
l33t
l33t


Joined: 06 Mar 2003
Posts: 679
Location: Texas

PostPosted: Wed Jul 09, 2003 4:41 pm    Post subject: Reply with quote

Some browsers can turn this "feature" off if you want them to. In Konqueror, you go to Settings -> Configure Konqueror -> Browser Identification and you can change what it sends or doesn't send in its requests.
_________________
Meh.
Back to top
View user's profile Send private message
Crg
Guru
Guru


Joined: 29 May 2002
Posts: 345
Location: London

PostPosted: Wed Jul 09, 2003 5:05 pm    Post subject: Reply with quote

Qubax wrote:
and how do they get my internal ip? as mentioned above, by disabling javascript i can get rid of the additional infos, but i'm interested how much information can be gattered from my internal network, cause i thought, the firewall would keep informations from my network out of sight from the internet


I always get squid to sanitise my web traffic.

Normally at least:

Code:

anonymize_headers deny From Referer Server User-Agent
anonymize_headers deny Link Via X-Forwarded-For
anonymize_headers deny Proxy-Connection Host Accept
anonymize_headers deny Accept-Language

fake_user_agent Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)


A firewall doesn't (normally) inspect your packets to make sure you're not sending information inside them that you shouldn't.
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Wed Jul 09, 2003 5:15 pm    Post subject: Reply with quote

my analysis:
Quote:
Reported remote address: xxx
Browser: Nutscrape/1.0 (CP/M; 8-bit)
It's probably:MSIE v 4.x or higher
OS: Windows
AtGuard/NIS or Proxomitron used: yes
Proxy used: yes
Client's address we got: xxx


actually it's mozilla on gentoo behind a squid proxy. i don't use a firewall (just some QoS with iptables, but no ports blocked (as all services are bound to 127.0.0.1 or my eth0/lan).

date and time are transmitted via javascript (turn it off and reload, it's gone).
as you can see above, the other stuff is pretty wrong (well, they had to guess), as my squid is configured to screw up quite everything.
i activated this in my squid.conf:
Code:
#       Or, to reproduce the old 'http_anonymizer paranoid' feature
#       you should use:
#
                header_access Allow allow all
                [..]
header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)

btw: i also added header_access WWW-Authenticate allow all

this setting is quite restrictive, but may also break some things (and you probably shouldn't do that if you're using the proxy for yourself, but some company).
you could also check http://www.privacy.net/analyze/ , they show quite a lot of information that is sent.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum