LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2015, 03:21 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Thumbs down tsocks show me an error about Malformed configuration


Hello.
I configured "tsocks" for use "127.0.0.1" and port "8080" and want forward all my connection via tsocks into this address but show me below information :

[DATA] max 16 tasks per 1 server, overall 64 tasks, 8184548359848 login tries (l:1/p:8184548359848), ~7992723007 tries per task
[DATA] attacking service http-get on port 80
12:44:30 12:44:30 libtsockslibtsocks12:44:30 (10914)(10911)libtsocks: : (10913): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 12:44:30 libtsockslibtsocks(10915)(10916): : Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10912): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10918)12:44:30 : libtsocksMalformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
(10917): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10919): 12:44:30 libtsocksMalformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
(10920): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10921): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10923): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10922): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10924): 12:44:30 Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
libtsocks(10925): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:44:30 libtsocks(10926): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10949): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10950): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks12:45:02 (10954)libtsocks: (10952): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10953): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10955): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10959): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10958): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10961): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 12:45:02 libtsockslibtsocks(10960)(10963): : Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10956)12:45:02 : libtsocksMalformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
(10962): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 libtsocks(10964): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"
12:45:02 12:45:02 libtsocks(10965): Malformed configuration pair on line 1 in configuration file, "\# This is the configuration for libtsocks (transparent socks)"


What is my problem?
 
Old 06-27-2015, 04:19 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by hack3rcon View Post
What is my problem?
Your problem is you haven't posted your configuration file details:
Code:
ITEM="/path/to/configuration file"; file "${ITEM}"; stat "${ITEM}"; nl -ba "${ITEM}"
 
Old 06-27-2015, 06:01 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Configure is :

\# This is the configuration for libtsocks (transparent socks)
# Lines beginning with # and blank lines are ignored
#
# The basic idea is to specify:
# - Local subnets - Networks that can be accessed directly without
# assistance from a socks server
# - Paths - Paths are basically lists of networks and a socks server
# which can be used to reach these networks
# - Default server - A socks server which should be used to access
# networks for which no path is available
# Much more documentation than provided in these comments can be found in
# the man pages, tsocks(8) and tsocks.conf(8)

# Local networks
# For this example this machine can directly access 192.168.0.0/255.255.255.0
# (192.168.0.*) and 10.0.0.0/255.0.0.0 (10.*)

local = 192.168.0.0/255.255.255.0
local = 10.0.0.0/255.0.0.0

# Paths
# For this example this machine needs to access 150.0.0.0/255.255.0.0 as
# well as port 80 on the network 150.1.0.0/255.255.0.0 through
# the socks 5 server at 10.1.7.25 (if this machines hostname was
# "socks.hello.com" we could also specify that, unless --disable-hostnames
# was specified to ./configure).

path {
reaches = 150.0.0.0/255.255.0.0
reaches = 150.1.0.0:80/255.255.0.0
server = 10.1.7.25
server_type = 5
default_user = delius
default_pass = hello
}

# Default server
# For connections that aren't to the local subnets or to 150.0.0.0/255.255.0.0
# the server at 192.168.0.1 should be used (again, hostnames could be used
# too, see note above)

server = 127.0.0.1
# Server type defaults to 4 so we need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated it here for clarity
server_port = 8888
 
Old 06-29-2015, 12:34 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You haven't posted what I asked for and the first two chars of this file clearly read "\#" instead of starting with just "#".
 
1 members found this post helpful.
Old 06-29-2015, 02:15 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Silly Question . Sorry.
 
Old 06-30-2015, 11:32 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
It is not a silly question and you do not have to apologize for asking questions.
 
  


Reply



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
[SOLVED] Sqlite Error: database disk image is malformed Lobinho Programming 7 10-07-2011 05:13 AM
Nvidia error, Malformed conditional browser *BSD 1 09-18-2008 10:20 PM
zen-updater Error: database disk image is malformed mahantya SUSE / openSUSE 2 03-29-2007 06:29 AM
postfix malformed response error? taiwf Linux - Software 0 05-21-2006 08:21 PM
Error --malformed URL Dade Slackware 1 05-15-2004 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:42 AM.

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
Open Source Consulting | Domain Registration