Discussion:
[squid-users] want to change squid name
--Ahmad--
2018-09-30 18:55:51 UTC
Permalink
Hey Folks
my question may be crazy a little bit .

i want to change everything in squid config files and rename it to ahmad.

so i want change eveverythingeytng in folders , files from squid to —> stinger and have stinger conf files and run instance as stinger instead of squid .

so i changed recursively everything and replace squid with “stinger”



here what i made :

find /root/squid-3.5.22 -type f -exec sed -i -e 's/squid/stinger/g' {} \;
find /root/squid-3.5.22 -type f -exec sed -i -e 's/Squid/Stinger/g' {} \;
find /root/squid-3.5.22 -type f -exec sed -i -e 's/SQUID/STINGER/g' {} \;

find . -iname "*squid*" -exec rename squid stinger '{}' \;
find . -iname "*squid*" -exec rename squid stinger '{}' \;
find . -iname "*squid*" -exec rename Squid Stinger '{}' \;

###################





but compilation give me error



lo heap.lo iso3307.lo radix.lo rfc1035.lo rfc1123.lo rfc2671.lo rfc3596.lo Splay.lo stub_memaccount.lo util.lo xusleep.lo
libtool: link: /usr/bin/ar cru .libs/libmiscutil.a .libs/MemPool.o .libs/MemPoolChunked.o .libs/MemPoolMalloc.o .libs/getfullhostname.o .libs/heap.o .libs/iso3307.o .libs/radix.o .libs/rfc1035.o .libs/rfc1123.o .libs/rfc2671.o .libs/rfc3596.o .libs/Splay.o .libs/stub_memaccount.o .libs/util.o .libs/xusleep.o
libtool: link: ranlib .libs/libmiscutil.a
libtool: link: ( cd ".libs" && rm -f "libmiscutil.la" && ln -s "../libmiscutil.la" "libmiscutil.la" )
make[2]: Leaving directory `/root/squid-3.5.22/lib'
make[1]: Leaving directory `/root/squid-3.5.22/lib'
Making all in libltdl
make[1]: Entering directory `/root/squid-3.5.22/libltdl'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/squid-3.5.22/cfgaux/missing aclocal-1.15 -I m4
/root/squid-3.5.22/cfgaux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[1]: *** [aclocal.m4] Error 127
make[1]: Leaving directory `/root/squid-3.5.22/libltdl'
make: *** [all-recursive] Error 1
[***@li1802-227 squid-3.5.22]#



any help ?
Alex Rousskov
2018-09-30 22:50:50 UTC
Permalink
Post by --Ahmad--
i want to change everything in squid config files and rename it to ahmad.
Generally useful Squid code modifications should be discussed on the
squid-dev mailing list, not squid-users. The modification you are
describing is not generally useful so it is probably out of Squid
Project support scope.

However, if you formulate the actual problem you are trying to solve,
then somebody on this mailing list may know a solution that does not
include blind (and, in some cases, illegal) changes of Squid sources.

What are you trying to accomplish? In other words, what problem do you
think replacing "squid" to "ahmad" in Squid sources would solve?

Alex.
--Ahmad--
2018-10-01 13:08:37 UTC
Permalink
i just need to have something not squid to run it on linux

i dont want squid

i want identical thing to all stuff

want to use other word than squid in footprints and config files

can you help ?
Post by Alex Rousskov
Post by --Ahmad--
i want to change everything in squid config files and rename it to ahmad.
Generally useful Squid code modifications should be discussed on the
squid-dev mailing list, not squid-users. The modification you are
describing is not generally useful so it is probably out of Squid
Project support scope.
However, if you formulate the actual problem you are trying to solve,
then somebody on this mailing list may know a solution that does not
include blind (and, in some cases, illegal) changes of Squid sources.
What are you trying to accomplish? In other words, what problem do you
think replacing "squid" to "ahmad" in Squid sources would solve?
Alex.
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users
Antony Stone
2018-10-01 13:52:16 UTC
Permalink
Post by --Ahmad--
i just need to have something not squid to run it on linux
i dont want squid
i want identical thing to all stuff
want to use other word than squid in footprints and config files
What problems does the word "Squid" create for you?

It's still not clear what you are trying to achieve by making such a change.


Antony.
Post by --Ahmad--
Post by Alex Rousskov
Post by --Ahmad--
i want to change everything in squid config files and rename it to ahmad.
Generally useful Squid code modifications should be discussed on the
squid-dev mailing list, not squid-users. The modification you are
describing is not generally useful so it is probably out of Squid
Project support scope.
However, if you formulate the actual problem you are trying to solve,
then somebody on this mailing list may know a solution that does not
include blind (and, in some cases, illegal) changes of Squid sources.
What are you trying to accomplish? In other words, what problem do you
think replacing "squid" to "ahmad" in Squid sources would solve?
Alex.
--
I want to build a machine that will be proud of me.

- Danny Hillis, creator of The Connection Machine

Please reply to the list;
please *don't* CC me.
--Ahmad--
2018-10-01 18:22:29 UTC
Permalink
no problem at all antony



just want to try something new .

thats all
Post by Antony Stone
Post by --Ahmad--
i just need to have something not squid to run it on linux
i dont want squid
i want identical thing to all stuff
want to use other word than squid in footprints and config files
What problems does the word "Squid" create for you?
It's still not clear what you are trying to achieve by making such a change.
Antony.
Post by --Ahmad--
Post by Alex Rousskov
Post by --Ahmad--
i want to change everything in squid config files and rename it to ahmad.
Generally useful Squid code modifications should be discussed on the
squid-dev mailing list, not squid-users. The modification you are
describing is not generally useful so it is probably out of Squid
Project support scope.
However, if you formulate the actual problem you are trying to solve,
then somebody on this mailing list may know a solution that does not
include blind (and, in some cases, illegal) changes of Squid sources.
What are you trying to accomplish? In other words, what problem do you
think replacing "squid" to "ahmad" in Squid sources would solve?
Alex.
--
I want to build a machine that will be proud of me.
- Danny Hillis, creator of The Connection Machine
Please reply to the list;
please *don't* CC me.
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users <http://lists.squid-cache.org/listinfo/squid-users>
Leonardo Rodrigues
2018-10-01 20:08:03 UTC
Permalink
Post by --Ahmad--
i just need to have something not squid to run it on linux
i dont want squid
    so don't run squid ?!?! If someone finding that you're running
squid and that's a problem to you, don't run it, period :)
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br

Minha armadilha de SPAM, NÃO mandem email
***@solutti.com.br
My SPAMTRAP, do not email it
--Ahmad--
2018-10-01 20:41:46 UTC
Permalink
@ Atenciosamente


im not forcing you to give us help , BTW thank you for your magic words !
Post by --Ahmad--
i just need to have something not squid to run it on linux
i dont want squid
so don't run squid ?!?! If someone finding that you're running squid and that's a problem to you, don't run it, period :)
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
My SPAMTRAP, do not email it
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users
Matus UHLAR - fantomas
2018-10-01 20:55:30 UTC
Permalink
Post by --Ahmad--
im not forcing you to give us help , BTW thank you for your magic words !
we just don't understand the reason you are asking for this.

As was already mentioned (iirc), technically you can change the name
"squid" to something else, but it is not supported (which means, there's no
standard way to do that) and you may expect problems (and we even don't know
what kind of problems).
Post by --Ahmad--
Post by --Ahmad--
i just need to have something not squid to run it on linux
i dont want squid
so don't run squid ?!?! If someone finding that you're running squid and that's a problem to you, don't run it, period :)
--
Matus UHLAR - fantomas, ***@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol.
Alex Crow
2018-10-02 06:02:28 UTC
Permalink
What about this?

http://www.squid-cache.org/Doc/config/via/
Post by Matus UHLAR - fantomas
we just don't understand the reason you are asking for this.
As was already mentioned (iirc), technically  you can change the name
"squid" to something else, but it is not supported (which means, there's no
standard way to do that) and you may expect problems (and we even don't know
what kind of problems).
Amos Jeffries
2018-10-02 07:40:41 UTC
Permalink
Post by Alex Crow
What about this?
http://www.squid-cache.org/Doc/config/via/
Irrelevant?

Amos
--Ahmad--
2018-10-03 15:07:44 UTC
Permalink
@Amos

can you help me ?


Thanks
Post by Amos Jeffries
Post by Alex Crow
What about this?
http://www.squid-cache.org/Doc/config/via/
Irrelevant?
Amos
_______________________________________________
squid-users mailing list
http://lists.squid-cache.org/listinfo/squid-users
Amos Jeffries
2018-10-03 16:37:00 UTC
Permalink
Post by --Ahmad--
@Amos
can you help me ?
@Ahmed, can you ask reasonable questions with supporting detail?


Amos
--Ahmad--
2018-10-03 17:29:07 UTC
Permalink
i just want to have my own copy that i can run under my name i put


thats all
Post by Amos Jeffries
Post by --Ahmad--
@Amos
can you help me ?
@Ahmed, can you ask reasonable questions with supporting detail?
Amos
Alex Crow
2018-10-03 17:49:28 UTC
Permalink
Hi Ahmad,

I still don't understand properly. Do you want to run Squid as your own
nonprivileged user, "ahmad" or "stinger", instead of the "squid" or
"webproxy" user that is the usual in distros? That is easy, but trying
to sed squid to <something else> in the codebase is likely to fail,
imagine trying to do that with the Linux kernel!

If that is the case, just set the user and group in the squid.conf and
make sure that said user/group has the right privileges to access the
various directories and files it needs. No problem at all, I've done it
myself.

There should be no need to edit all the source code and recompile for
this. Then for "hiding" your proxy use there are the other parameters in
squid.conf that remove HTTP headers (but by doing do, be aware it's an
RFC violation and hiding that your clients are behind a proxy can cause
lots of issues, no. 1 being that Google will keep telling you that
you're launching a DoS attack). It may also have legal implications in
some countries, especially if you're forwarding for devices/clients not
owned by you or your organisation.

I'm just curious as to why you have so little detail of what you need in
this request when other posts you have made have supplied much more
detail, logs, etc.

I'm sorry if this is all down to a language barrier and English is not
your first language.  I've posted to German mailing lists when I only
did 2 years of it at school and it's really hard!

I hope this helps you,

Best regards

Alex
Amos Jeffries
2018-10-03 18:12:30 UTC
Permalink
Post by --Ahmad--
i just want to have my own copy that i can run under my name i put
Lets be blunt then ...

Most of the things I see you asking about are ways to make the Squid
software unidentifiable as being Squid.

Your earlier queries could be mistaken attempts to use Squid as an
"anonymous proxy" for evading local legal issues.


This request though is to obfuscate details right down to names of ABI
symbols used when building Squid. Details which are only visible to the
person or people compiling Squid, not even people looking at binary code
of the built binaries ever see those names.


The obvious conclusion one is led to by the extreme nature of that
changing and the details you provided so far - is that you likely intend
to take the Squid code and present it as some proprietary software of
your own making. In direct violation of the GPL copyright and great
disrespect for the many hundreds of contributors whose work has built
Squid over the past 40 years.

Yet you are expecting our community of people who use and care about
Squid to assist your doing such an action.


Neither that nor other less likely scenarios I can think give me any
confidence that this is a reasonable way to spend my time. So no, I will
not be helping you with this.

Amos
--Ahmad--
2018-10-03 20:13:06 UTC
Permalink
Dear Amos thats not correct at all .

i no longer need help on my question .



i apologise if i make any disturbance .

Thank you all guys .
Post by Amos Jeffries
Lets be blunt then ...
Most of the things I see you asking about are ways to make the Squid
software unidentifiable as being Squid.
Your earlier queries could be mistaken attempts to use Squid as an
"anonymous proxy" for evading local legal issues.
This request though is to obfuscate details right down to names of ABI
symbols used when building Squid. Details which are only visible to the
person or people compiling Squid, not even people looking at binary code
of the built binaries ever see those names.
The obvious conclusion one is led to by the extreme nature of that
changing and the details you provided so far - is that you likely intend
to take the Squid code and present it as some proprietary software of
your own making. In direct violation of the GPL copyright and great
disrespect for the many hundreds of contributors whose work has built
Squid over the past 40 years.
Yet you are expecting our community of people who use and care about
Squid to assist your doing such an action.
Neither that nor other less likely scenarios I can think give me any
confidence that this is a reasonable way to spend my time. So no, I will
not be helping you with this.
Amos
--Ahmad--
2018-10-03 18:05:32 UTC
Permalink
Guys i apologise if im making any disturbance .
consider this question answered .

thank you all for your time .
Post by Amos Jeffries
Post by --Ahmad--
@Amos
can you help me ?
@Ahmed, can you ask reasonable questions with supporting detail?
Amos
Continue reading on narkive:
Loading...