LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-03-2005, 09:12 AM   #1
Demaron
LQ Newbie
 
Registered: Apr 2005
Distribution: Debian
Posts: 3

Rep: Reputation: 0
Connection reset Error with Dante-Client


Hi.
I'm playing arround with Dante-Client for some time now but I'm not able to configure it properly because every software I start via Dante-Client ends with the error "Connection reset by peer" or "network unreachable".
My Lan consists only of 2 Pc's . One running WinXp and the Proxyserver (192.168.1.1) and one running Debian Linux (192.168.1.2).
The strange thing is, my Linux Pc can use the built-in proxy configuration of Firefox and similar programs. If I start Firefox with Dante , in the Proxyserver logs i can see that it is resolving the IP for the given hostname, but the client never gets this Information. (Connection reset by peer).
I think that I have to set the routes for accepting connections, but I don't know how I have to set them.
The explanation in the dante.conf file down below does not help me either. Perhaps someone can explain to me what I am doing wrong.

#debug: 1 # uncomment to enable debugging

logoutput: stdout # users usually don't want to be bothered with that.

# What protocol should be used for resolving hostnames? It's important
# to set this right.
resolveprotocol: udp # default
#resolveprotocol: tcp # set this if your socksserver only supports socksv4.
#resolveprotocol: fake # set this if your clients can't access nameserver,
# neither directly nor proxied.

#
# the routes
#

# specifying routes for accepting remote connections (via bind()) is
# difficult since we can't know what the "to:" address is
# until we actually get the connection Since we support letting
# the client accept connections both via the proxyserver and
# "directly" at the same time, we have two options though:
# a) specify a route for bind (only) first going via the proxyserver.
# This will also handle "direct" connections.
# b) specify a route for bind (only) first going "direct".
# This means clients will only be able to accept "direct"
# connections.

# we want to accept remote connections via the proxyserver.
#route {
# from: 0.0.0.0/0 to: 0.0.0.0/0 via: 192.168.1.1 port = 1080
# command: bind
#}

# we do not want to accept remote connections via the proxyserver.
#route {
# from: 0.0.0.0/0 to: 0.0.0.0/0 via: direct
# command: bind
#}

# have a route making all connections to loopback addresses be direct.
route {
from: 0.0.0.0/0 to: 127.0.0.1/0 via: direct
command: connect udpassociate # everything but bind, bind confuses us.
}

# Our net is the 10.0.0.0/8 net, let clients going to local address go
# direct, not via server.
route {
from: 192.168.1.0/0 to: 192.168.1.0/255.255.255.0 via: direct
}

# clients going anywhere else go via server listening at
# IP address 10.1.1.1, port 1080. Note that unless you have
# specified a direct connection for DNS, or the socksserver is resolvable
# without network traffic, you can't give a hostname for the socksserver,
# you must give a IP address. (the reasons for that are logical enough,
# you would create a loop otherwise.)
route {
from: 0.0.0.0/0 to: 0.0.0.0/0 via: 192.168.1.1 port = 1080
protocol: tcp udp # server supports tcp and udp.
proxyprotocol: socks_v5 # server supports socks v4 and v5.
method: none #username # we are willing to authenticate via
# method "none", not "username".
}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP SERVER - CLIENT CONNECTION on suse 9.2 - connection error nicolasdiogo Suse/Novell 0 03-01-2005 06:43 AM
welcome response error + connection reset by peer rnj Linux - Software 0 10-20-2004 11:04 AM
Network error: Connection reset by peer jeffpoulsen Linux - Networking 0 10-09-2003 07:31 PM
Dante as proxy client. troopern Linux - Networking 0 07-18-2003 05:28 AM
Network Error: Connection Reset by Peer Bob Welch Linux - Networking 3 12-09-2002 02:07 PM


All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration