TCPdump of curl_xml connection
Hello, I am trying to write a simple server for xcurl_xml which will do the minimal work needed and with maximum security. Hence, I do not use any existing server, but write my own one on C. Can someone please send me a TCPdump of one such transaction, so I can see what needs to be included in the reply? Thanks! __Yehavi:
You should look in wiki. http://wiki.freeswitch.org/wiki/Mod_xml_curl#Reply Miha On Sun, 21 Oct 2012 16:55:34 +0200 Yehavi Bourvine <yehavi.bourvine@gmail.com> wrote:
Hello,
I am trying to write a simple server for xcurl_xml which will do the minimal work needed and with maximum security. Hence, I do not use any existing server, but write my own one on C.
Can someone please send me a TCPdump of one such transaction, so I can see what needs to be included in the reply?
Thanks! __Yehavi:
Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump. 2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
http://wiki.freeswitch.org/wiki/Mod_xml_curl#Reply
Miha
On Sun, 21 Oct 2012 16:55:34 +0200 Yehavi Bourvine <yehavi.bourvine@gmail.com> wrote:
Hello,
I am trying to write a simple server for xcurl_xml which will do the minimal work needed and with maximum security. Hence, I do not use any existing server, but write my own one on C.
Can someone please send me a TCPdump of one such transaction, so I can see what needs to be included in the reply?
Thanks! __Yehavi:
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
If you are planning on writing in C, why aren't you writing a mod directly? -Avi On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" <anton.jugatsu@gmail.com> wrote: Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump. 2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Because writing a webserver from scratch is easier than writing any module for any framework. You don't have to study the api, just the rfcs. On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus <avi@avimarcus.net> wrote:
If you are planning on writing in C, why aren't you writing a mod directly?
-Avi
On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" <anton.jugatsu@gmail.com> wrote:
Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump.
2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You really think you're going to write a more secure and more efficient HTTP server than *any* of the ones already freely available under open source licences? Really? On 22 October 2012 02:38, Daniel Ivanov <sertys@gmail.com> wrote:
Because writing a webserver from scratch is easier than writing any module for any framework. You don't have to study the api, just the rfcs.
On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus <avi@avimarcus.net> wrote:
If you are planning on writing in C, why aren't you writing a mod directly?
-Avi
On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" <anton.jugatsu@gmail.com> wrote:
Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump.
2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Mon, 22 Oct 2012 08:17:12 -0700 Ben Langfeld <ben@langfeld.co.uk> wrote:
You really think you're going to write a more secure and more efficient HTTP server than *any* of the ones already freely available under open source licences? Really?
Although, there's _the_ exception to what you said: g-wan :) -- Eurynome : Your family's weird! Lokan : May I remind you that you convinced your own dad to buy you a laptop 'cos it could be useful in case of zombie attack? Eurynome : ...
All I need is a very simple server to do a very specific job; why use a big hammer for that?... Thanks, __Yehavi: 2012/10/22 Ben Langfeld <ben@langfeld.co.uk>
You really think you're going to write a more secure and more efficient HTTP server than *any* of the ones already freely available under open source licences? Really?
On 22 October 2012 02:38, Daniel Ivanov <sertys@gmail.com> wrote:
Because writing a webserver from scratch is easier than writing any module for any framework. You don't have to study the api, just the rfcs.
On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus <avi@avimarcus.net> wrote:
If you are planning on writing in C, why aren't you writing a mod directly?
-Avi
On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" <anton.jugatsu@gmail.com> wrote:
Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump.
2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Because that "big hammer" has a million eyeballs on it and is probably going to be far more stable than what you write, and is highly unlikely to be your bottleneck anyway, so you're fairly likely to be wasting your time which you could be using on more interesting unsolved problems ;) Regards, Ben Langfeld On 22 October 2012 11:02, Yehavi Bourvine <yehavi.bourvine@gmail.com> wrote:
All I need is a very simple server to do a very specific job; why use a big hammer for that?...
Thanks, __Yehavi:
2012/10/22 Ben Langfeld <ben@langfeld.co.uk>
You really think you're going to write a more secure and more efficient HTTP server than *any* of the ones already freely available under open source licences? Really?
On 22 October 2012 02:38, Daniel Ivanov <sertys@gmail.com> wrote:
Because writing a webserver from scratch is easier than writing any module for any framework. You don't have to study the api, just the rfcs.
On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus <avi@avimarcus.net> wrote:
If you are planning on writing in C, why aren't you writing a mod directly?
-Avi
On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" <anton.jugatsu@gmail.com> wrote:
Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump.
2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
use lighttpd or nginx with all the options you don't need disabled if weight is an issue for you. On 22 October 2012 19:02, Yehavi Bourvine <yehavi.bourvine@gmail.com> wrote:
All I need is a very simple server to do a very specific job; why use a big hammer for that?...
Thanks, __Yehavi:
2012/10/22 Ben Langfeld <ben@langfeld.co.uk>
You really think you're going to write a more secure and more efficient HTTP server than *any* of the ones already freely available under open source licences? Really?
On 22 October 2012 02:38, Daniel Ivanov <sertys@gmail.com> wrote:
Because writing a webserver from scratch is easier than writing any module for any framework. You don't have to study the api, just the rfcs.
On Mon, Oct 22, 2012 at 8:44 AM, Avi Marcus <avi@avimarcus.net> wrote:
If you are planning on writing in C, why aren't you writing a mod directly?
-Avi
On Oct 22, 2012 6:13 AM, "Anton Kvashenkin" <anton.jugatsu@gmail.com> wrote:
Just point mod_xml_curl to lighttpd web-server with fake cgi script @ config and dump all traffic with ngrep or tcpdump.
2012/10/21 Miha <miha@softnet.si>
You should look in wiki.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Andrew Cassidy BSc (Hons) MBCS SSCA* Managing Director *T <info@cassidywebservices.co.uk> *03300 100 960 *F<info@cassidywebservices.co.uk> *03300 100 961 *E <info@cassidywebservices.co.uk> *andrew@cassidywebservices.co.uk *W <info@cassidywebservices.co.uk> *www.cassidywebservices.co.uk
participants (8)
-
Andrew Cassidy
-
Anton Kvashenkin
-
Avi Marcus
-
Ben Langfeld
-
Bzzz
-
Daniel Ivanov
-
Miha
-
Yehavi Bourvine