strace
Is there strace for FreeBSD? To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
echo request deny
Is there anyway to deny echo request on FreeBSD (except ipfw add deny icmp from any to any) ? On Linux It was simple,just echo 1>/proc/.../icmp_echo_request To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
huh
-BEGIN PGP SIGNED MESSAGE- Huh thanks those who helped me with some ptrace() examples for Linux. But I cann't still figure how to trace programm execution under FreeBSD... please can anybody help me or give me some source example to see:o) Thank you - -- Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOomhKC3gPLld8IkLAQF40gf/WFbgRs2B3uXVQMtegz9JVfRd19VOboxB /ER3e0usC9tsoBiQ/t+qSoVcZgTT+ARSEqAkmb1vo+dzaACu676G+mrdDo64eDcI TBWtimmAPUjhjc3kWasBaSi5RITm/E5Sw0dRt0ToAN7YcXoZxvQ5bxQuaMr6/ZMX LRdHdNbK2K3H4BQoknuCu/f7br/TcwXct+vF8Cn6iwXoUhpzOmU5Bkec4O1lBqTN TVmDQLRP6dRE0t/NX1TGSwoz6o2dCO/OtSnM9HCZ8eknOkl/nhKd2KxT8X8h7t6T V4tKi5syqrPZBBkP0v9P3AWcLaFDbSO6s9plJXbaYrijT0N/gqnFmQ== =KdCL -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Staticaly allocated buffers in library. Is it correct?
-BEGIN PGP SIGNED MESSAGE- On Fri, 16 Feb 2001, Andrey Simonenko wrote: > I patched some library files and noted that some functions, which parse some > configuration files, use staticaly allocated buffers. Sizes of such > staticaly allocated buffers are 8k, 10k and so on. These buffers are used to > hold one line from parsed file. Usually it is enough for one line, but > really this is error (I think). Well since config files can be only changed by root,I don't think that root will use too long lines to case heap overflow.So this isn't big problem. Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOo5o5C3gPLld8IkLAQGaTQf/TNY5ODLUYmylF1KEuIsw2u7CvB4MSlRu H63ZIbWtWcuwc1Dlhuqp7H8biXamtvGcOC5gpvHUMMN/6BjdOyXAmXLxNKS+X+n6 MYZ3ODXwJkhqyUxPbfz46t3VUHH95Zo6aT26odhJy2PG4ttitzS+x3cnDfIaG15C FZQE3MYhTwT1A/cjSx9T1+uWwjMvrTXeHuDZMysCyNsjAilsoZ2+jty1jDibpa15 7D8+4aEC3RWisUPaQXWPCmCoT6C9j7YXWAi/J+O0olJn/Je21GvCeSVt2pp09B0L Dv6lenAMB2/OCXruSMnmtOfxI8iSCpSeNa16DH14neqZ0fA8loOEOQ== =ggia -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
blow fish
-BEGIN PGP SIGNED MESSAGE- Does anybody have blow fish for FreeBSD or know wehere to find it? I just want to change password encription from MD5 to blow fish:o) Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOp+QqC3gPLld8IkLAQEYoAf7B03lKgYhL1ClCKPIJphHqYrIjfs+SYpJ 0FJxkVK23azHyioDVXwSUH5i6C7GMkmFsiuW+xcNNrwY91IRBmJr7iwfJgdZovT2 8GJxxb0z9ByV5CtWGSYdoFF91grgsduaBFMXGOmFTjL5BDD9sA19SP5cppqB0i1k 7d0/fDrg8Pja7DBFYMOoZ51POBn9upvp0XecIoMkxk13axRE/JU/2Ugi/eEPvkoF jdaEqrPzjfjjC1qENhzSk2An6SIY640njyj0iJocgOj/Qa1fMvpPH72quw8vQkw2 icAasJU82JhiAUNHdKe87KnDUM/3vpyJfzG6cMBFhT3AqMWzzDUy5Q== =aNKQ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: blow fish
-BEGIN PGP SIGNED MESSAGE- On Fri, 2 Mar 2001, Peter Pentchev wrote: > A little question: why? MD5 seems to be secure enough. Just to try it:o) Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOp+XMy3gPLld8IkLAQGGwgf6A3vwNZt14RitgklZG6GCCZCVoO18PZbX TRzwnOf25wD0noHcoSknwbVJ8T+A0/DMMUoMhIMjJ9vElXDXVIML92N46WICbYBj tZX1Ofb34jg/f5mK+eXqKagjqFUge8FVTzqfOeqp7Kkh40IwRGG96eWgJdzvI3e8 Ablcyr8hFC1ouXDLBfu3/hj5zBWx38VsabBgrMvMTwyPkGqsID5IBWH6X4k6odO5 sp1nCfOjZA8d4/yl1gofSSKmX2sAdUGE//RJJlAVBhDrCYR6AGHdlwF6Sn5fywdt NFgISDlJiCMRBjHXoIqRhdEIgkQudgyxUYCvWXA/JeU2a0u3sL1t5g== =DELV -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: blow fish
-BEGIN PGP SIGNED MESSAGE- On Fri, 2 Mar 2001, Paul Herman wrote: > but this has got to be the 3rd or 4th time somebody has asked for it. sorry I didn't know :o( Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOqCxLi3gPLld8IkLAQE+3QgAhGJdUuPROmUgrS8cHA2WieQlq/RYzYlV t9nqMFNPT/V5xC8jKhjLgDTnCoQSJyVhKGtZbx/eiMEniykMXT7Ct2oqTwuW+62M rO4Vgc7IQq4UFhGtZBhUtUd6lpuk9w9FByo/Toc+phzMNyw8K4yMnK4+612harbN dPjiZtTrtR8v8liKQIxBNJhC/FyoYTMPgbAAK8igWuZFeLmFEnetalckbEq3qVvQ 4S7ahMTvt4FRoGtJto8Zsld+KdIirW41kJVRP8JV2oVjqAS9onVfEaquqyOoRW5R Xc9ZXRafFviioQdmWARBoj4yGKjrp+aXrGF0U2jGLSo+/vuHdyPvCg== =qheC -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD asm problem
-BEGIN PGP SIGNED MESSAGE- On Tue, 13 Mar 2001, Nickolay A. Kritsky wrote: > Hi all! > It seems to me that you guys are my last hope, but if i am asking in the > wrong place - sorry. > > I wrote my first asm program for FreeBSD: > > section.code > global _start > _start: > push dword envp > push dword argvp > push dword fname > mov eax,59 ; execve Here you must push long (dword) because int 0x80 expects EIP main : pushl 3rd pushl 2nd pushl 1st call execve <--- call will push EIP on stack execve : leal $0x3b,%eax int $0x80 Stack should be -> [EIP][1st][2nd][3rd] but instead EIP you can just push anything you want. Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOq486y3gPLld8IkLAQEy2gf9HLvwmii7QTyNuHBt6qQqf5jBqMPFPw8j kcW/5Oss05kfayh6tmrLVRCzP3MYNYXXKSgxjAKzH+OmN/FHlaTsZIIfQFnU561z a1Qau+CWjJ5hUuIfE1xGPPVDaWC8e3MF83ZwH9CN3pnIZVUh/3OectyiTGwgwyEV iGo65HAlgW9GBZznmzYK7PXOkWrRV3olcflIverL1dKMZbow0MCOQ57LMLnNY4ck Kl6dt8lVLd+K1sHnXdO09eqogiyXPmJEmIJJGRiR2iKMo3Zl5ptGfN/pb00NnNiT 5eNeOQbVEmDJg0swig6VrY2kSqUsMjCpWFW2TDItvtUp8nW9uJ1mtA== =6Qs3 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Little confused
-BEGIN PGP SIGNED MESSAGE- I'm reading kernel source,but I don't understand something like this -> example: #define GG(x,y) \ static void * const blabla_##x_blabla_##y = &y; As I see this should make something like this GG(foo,bar) should make static void * const blabla_foo_blabla_bar = &bar; I never saw something like this in programs.Does anybody have any link where I could find more about this kind of making macros? Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOrDj6i3gPLld8IkLAQHu0AgAhYj8Rr2rdj4JENBMczExysebFi3MzzX3 Ca31TFfCD5DJAVksrzhmszHKFiCAA76Ry+n4aWnsnh92JKFdplI7jDHjzgWYiHJd GyjsiSOnhizdalznDNarz2MwEn+/P5U96cX+/meNkK0DZ+Q4kJdd2e8WLiJboKFw 5w739DIFXCpJVpJ7dHTltbI8DzwTvJiFHRH1QpbCz4fsoyuOGr8DvrFTCvQp4v7X fJqqAb7wNDHPc5UfG8rmDFKrjASPvsA6RMlkB+DOPfs5dZdqQrJJbauyaZvsvfHY lE78PX/MAvukl5U88rDGGidFlWOpuEgvnGHLVZx2UbPJu5WEbqYUZw== =m13h -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Problem with device rl
-BEGIN PGP SIGNED MESSAGE- Maybe this isn't right mailing list to send this problem but here it is: I have D-Link DFE-530TX+ and in LINT I read that I should use device rl for this Network card but kernel don't want to find it only output off kernel is : pci0: (vendor=0x1186, dev=0x1300) at 13.0 irq 11 This should be that card.I read all posts from docs.freebsd.org and I couldn't find how to solve this problem. Version of FreeBSD is 4.2 and line in kernel is : device miibus device rl I don't know what should I do.Please help. Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOu4OAS3gPLld8IkLAQFgqggAiL0WcP7FDTTYyNI1fqeMS7ozn219wuTF gnGQtAo7g9B/dWf2MIsol9C0Aj+i9TyGX833q/me9GynSkZIwT7Pi8CVoHWfrd6k wFzUKIMI8o7Bta4518FIgrlrLpMSB0q5lioxhwo5irsRaYDTfv1g3JZEegxPyyLD D2A+j9oO90SNNXqcIqCVZ6J9DPrHzxFPhMzQGSdEg2KuYX1XU5lz5JqNUB7lLJIC 99Z6KNSYYFzv+vfDEQnnq0pVpkwIyAMxVJ7DH7tkJ9rYMRRnAnfdjbMQBBq/07tG k/CAc1kAS07Chl5tCUvkiPrOdM2Wfnu37Ai/9IZsN/cBLkItLR4ZvA== =bQV2 -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Problem with device rl
-BEGIN PGP SIGNED MESSAGE- On Mon, 30 Apr 2001, Matthew Emmerton wrote: Thank you,this patch is working > *** if_rl.c.orig Sun Mar 25 19:08:34 2001 > --- if_rl.c Sun Mar 25 23:14:00 2001 > *** > *** 149,154 > --- 149,156 > "Delta Electronics 8139 10/100BaseTX" }, > { ADDTRON_VENDORID, ADDTRON_DEVICEID_8139, > "Addtron Technolgy 8139 10/100BaseTX" }, > + { DLINK_VENDORID, DLINK_DEVICEID_530TXPLUS, > + "D-Link DFE-530TX+ 10/100BaseTX" }, > { 0, 0, NULL } > }; > *** > *** 898,904 > rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0); > > if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 || > ! rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139) > sc->rl_type = RL_8139; > else if (rl_did == RT_DEVICEID_8129) > sc->rl_type = RL_8129; > --- 903,910 > rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0); > > if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 || > ! rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139 || > ! rl_did == DLINK_DEVICEID_530TXPLUS) > sc->rl_type = RL_8139; > else if (rl_did == RT_DEVICEID_8129) > sc->rl_type = RL_8129; > > *** if_rlreg.h.orig Sun Mar 25 19:08:34 2001 > --- if_rlreg.h Sun Mar 25 19:10:12 2001 > *** > *** 433,438 > --- 433,448 > #define ADDTRON_DEVICEID_8139 0x1360 > > /* > + * D-Link vendor ID. > + */ > + #define DLINK_VENDORID 0x1186 > + > + /* > + * D-Link DFE-530TX+ device ID > + */ > + #define DLINK_DEVICEID_530TXPLUS 0x1300 > + > + /* >* PCI low memory base and low I/O base register, and >* other PCI registers. >*/ > > > > Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOu6A1i3gPLld8IkLAQH6Vgf9GKRPN5J2Wt6ty/I/dLyTmYkrUDU+TlLK eS+o+dpvaDGKAGRDx+5yuxYfoxb40ZFar/mu29JSfCZ4SzLm8NJGWMi6Fshkt7Hn ECdtZfZHOxVey51jobD1h+ipr33taj+8Wz8RMLMigE8wID3eQ/bY4TveXxYkal/B aMOhHXy0SWIGLHp0AzyWomxByW0m8ye8BwiEktOx2Z7pAlBAl9FVd8TfgHzs+hJd LVc2Goi4VCZ7vhhCpB097ier46tgcAH9eGavR4BPfT/RYOrmgOwsROW4B8bn7NI/ 2CpHNGn7tY7gt1/kUSk+SYFr5Ot49Z1Ua7TrLV4o3hVXGNuPE+bcsQ== =TdYO -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
ELF p_offset & p_vaddr
-BEGIN PGP SIGNED MESSAGE- I'm little confused.I'm reading ELF specification and I found that p_offset and p_vaddr should be congrunet to module PAGE_SIZE. So is this correct ? If it isn't can anybody tell me what is correct. #define PAGE_SIZE 4096 p_offset % PAGE_SIZE == p_vaddr % PAGE_SIZE Vojislav Milunovic [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGPfreeware 5.0i for non-commercial use Charset: noconv iQEVAwUBOyEaby3gPLld8IkLAQFB6Af/Y5jFvo4/YOLuawln6JBsavjG3AtxbxVd gMMow39Jy1npYhmb+bzn7Dm2U4flhdlnLjF7j4Q02959uDH0qe1NHO665wu3dRoj SjgzfV/sG/eO+0QDc5gVMQmvJUZLlDn4weThqlBzzrRusexxndOeiXC6VkQJI21z eWKaB4cHSZ5QXIM3dCXyihNjEEMki9hLXwThtnd4jb83RRh6EWxkMsJn3lxJMSon B8H482ldbUv2GK3hnfV2V7AaMqgcitcLpdkpNQTqrRtZkLXHjcFBSKYumhXwfX4g cgTHJ01QTwQcdz2kd1Nlhfj017aZZK+iVYd57/13TEwfpZpT34Q5mg== =wCU+ -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
ptrace()
Does anyone have some sourcecodes or some papers for ptrace() on FreeBSD? I'm little incurious about this function.I read man but seems that I don't understand it:o( -- Vojislav Milunovic [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: ptrace()
On Wed, 31 Jan 2001, AARON J MARKS wrote: > > There's a good (albeit small) treatment of ptrace() in the Bach book (The > Design of the UNIX Operating System). If you need some examples, I can > send you some code you can look at. Yes I need some exapmles:o) If you can,please send me those sources. Thank you -- Vojislav Milunovic [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message