View previous topic :: View next topic |
Author |
Message |
KintaroBC n00b
Joined: 15 Feb 2014 Posts: 63 Location: Australia
|
Posted: Tue Aug 30, 2016 10:03 am Post subject: danted configured wrong, not listening for connections |
|
|
I am trying to get danted running. There is something wrong with the configuration because netstat reports that it isn't listening on the desired port. It would be good if someone could spot my mistake. I'm not sure what I've done wrong.
Code: |
# netstat -lp | grep danted
|
That returns nothing, danted is meant to be listening on port 1080 on localhost.
Code: |
logoutput: syslog stdout /var/log/danted.log
logoutput: stderr
internal: lo port = 1080
external: OBFUSCATED
method: username none #rfc931
clientmethod: none
user.privileged: proxy
user.notprivileged: nobody
user.libwrap: nobody
srchost: nounknown nomismatch
client pass {
from: 127.0.0.0/24 port 1-65535 to: 0.0.0.0/0
}
client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
pass {
from: 0.0.0.0/0 to: 127.0.0.0/24
command: bindreply udpreply
log: connect error
}
pass {
from: 127.0.0.0/24 to: 0.0.0.0/0
protocol: tcp udp
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
|
That is the config, which isn't working. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21494
|
Posted: Wed Aug 31, 2016 1:21 am Post subject: |
|
|
Why are you using netstat to list the listening ports instead of connecting to the expected port? What does lsof say about the danted process? |
|
Back to top |
|
|
|
|
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
|
|