PDA

View Full Version : proxy comand line in c



enlinux
07-18-2003, 01:07 PM
i read beej's tutorial on socket programming. great reading. learned a lot about socket programming. got the basics down.

now i would like to know if there is something out there that will teach me how to proxy programs and the command line. i used proxychains in linux and i like it a lot. but i would like to learn how to write my own simple proxychain program.

it would be used like this.

bash$ ./proxyme ping ipaddress

the ping command would go through a proxy server then ping ipaddress. also would like to use mozilla like this.

bash$ ./proxyme mozilla

when mozilla starts it will be proxied through a chain.

does any body know any reading on the web or a book. the book must have a proxy example for me to learn from.

better yet. if their are any advanced socket programmers out their that would like to be a tutor for this project then let me know. i will pay for you to teach me this. instead of taking a c course i will pay someone to teach me how to write this program.

if someone writes a tutorial for me then i will pay you. it must be in the c language.

thanks,

enlinux

damonbrinkley
07-18-2003, 01:32 PM
Wouldn't this be much more appropriate in the Linux forum?

lithium
07-18-2003, 11:21 PM
hi

i read beej's guide too...
now you should look into raw sockets
they are powerful and this seems like its what you need (capture outgoing packets from mozilla and redirect them blah blah blah...)
start with something simple like my ping program a few posts down and move ahead.
then you should probably learn a well known library like libnet and libpcap

take it slow...this shouldnt be the first thing you do with raw sockets...




Originally posted by enlinux

if someone writes a tutorial for me then i will pay you. it must be in the c language.


thats kinda dumb...this is linux, you should never pay for knowledge.

good luck and have fun!