Thread: proxy comand line in c

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    6

    proxy comand line in c

    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

  2. #2
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    Wouldn't this be much more appropriate in the Linux forum?
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    88

    Re: proxy comand line in c

    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!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. proxy.pac (proxy auto config) question
    By boreder in forum C Programming
    Replies: 2
    Last Post: 01-20-2009, 03:13 AM
  2. Force connection through proxy
    By ShadowBeast in forum C# Programming
    Replies: 6
    Last Post: 05-02-2007, 01:35 PM
  3. Simple Proxy
    By Lina in forum C Programming
    Replies: 0
    Last Post: 04-01-2007, 12:36 PM
  4. Connecting through a proxy...
    By jverkoey in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-20-2005, 11:53 AM